2017-03-06 18:11:19 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Linaro Limited
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2017-07-24 20:06:49 +08:00
|
|
|
#include <st/stm32f3.dtsi>
|
2018-02-10 22:27:25 +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 = <33 0>, <34 0>;
|
|
|
|
interrupt-names = "event", "error";
|
|
|
|
status = "disabled";
|
|
|
|
label= "I2C_2";
|
|
|
|
};
|
2018-02-10 07:31:00 +08:00
|
|
|
|
|
|
|
spi2: spi@40003800 {
|
|
|
|
compatible = "st,stm32-spi-fifo";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x40003800 0x400>;
|
|
|
|
interrupts = <36 5>;
|
|
|
|
status = "disabled";
|
|
|
|
label = "SPI_2";
|
|
|
|
};
|
|
|
|
|
|
|
|
spi3: spi@40003C00 {
|
|
|
|
compatible = "st,stm32-spi-fifo";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x40003C00 0x400>;
|
|
|
|
interrupts = <51 5>;
|
|
|
|
status = "disabled";
|
|
|
|
label = "SPI_3";
|
|
|
|
};
|
2018-02-10 22:27:25 +08:00
|
|
|
};
|
|
|
|
};
|