2018-03-11 22:47:30 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018 Ilya Tagunov <tagunil@gmail.com>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <st/stm32l0.dtsi>
|
2018-03-14 00:23:08 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
soc {
|
|
|
|
i2c2: i2c@40005800 {
|
|
|
|
compatible = "st,stm32-i2c-v2";
|
|
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x40005800 0x400>;
|
|
|
|
interrupts = <24 0>;
|
|
|
|
interrupt-names = "combined";
|
|
|
|
status = "disabled";
|
|
|
|
label= "I2C_2";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c3: i2c@40007800 {
|
|
|
|
compatible = "st,stm32-i2c-v2";
|
|
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x40007800 0x400>;
|
|
|
|
interrupts = <21 0>;
|
|
|
|
interrupt-names = "combined";
|
|
|
|
status = "disabled";
|
|
|
|
label= "I2C_3";
|
|
|
|
};
|
2018-03-15 20:23:10 +08:00
|
|
|
|
|
|
|
spi2: spi@40003800 {
|
|
|
|
compatible = "st,stm32-spi";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x40003800 0x400>;
|
|
|
|
interrupts = <26 3>;
|
|
|
|
status = "disabled";
|
|
|
|
label = "SPI_2";
|
|
|
|
};
|
2018-03-14 00:23:08 +08:00
|
|
|
};
|
|
|
|
};
|