File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 88#include <arm/armv8-m.dtsi>
99#include <dt-bindings/clock/stm32_clock.h>
1010#include <dt-bindings/gpio/gpio.h>
11+ #include <dt-bindings/i2c/i2c.h>
1112#include <freq.h>
1213
1314/ {
280281 status = "disabled";
281282 label = "SPI_3";
282283 };
284+
285+ i2c1: i2c@40005400 {
286+ compatible = "st,stm32-i2c-v2";
287+ clock-frequency = <I2C_BITRATE_STANDARD>;
288+ #address-cells = <1>;
289+ #size-cells = <0>;
290+ reg = <0x40005400 0x400>;
291+ clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00200000>;
292+ interrupts = <55 0>, <56 0>;
293+ interrupt-names = "event", "error";
294+ status = "disabled";
295+ label= "I2C_1";
296+ };
297+
298+ i2c2: i2c@40005800 {
299+ compatible = "st,stm32-i2c-v2";
300+ clock-frequency = <I2C_BITRATE_STANDARD>;
301+ #address-cells = <1>;
302+ #size-cells = <0>;
303+ reg = <0x40005800 0x400>;
304+ clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00400000>;
305+ interrupts = <57 0>, <58 0>;
306+ interrupt-names = "event", "error";
307+ status = "disabled";
308+ label= "I2C_2";
309+ };
283310 };
284311};
285312
You can’t perform that action at this time.
0 commit comments