File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
dts/arm/gigadevice/gd32e10x Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 77#include <arm/armv7-m.dtsi>
88#include <dt-bindings/gpio/gpio.h>
99#include <dt-bindings/pwm/pwm.h>
10+ #include <dt-bindings/i2c/i2c.h>
1011
1112/ {
1213 cpus {
8889 label = "USART_4";
8990 };
9091
92+ i2c0: i2c@40005400 {
93+ compatible = "gd,gd32-i2c";
94+ reg = <0x40005400 0x400>;
95+ #address-cells = <1>;
96+ #size-cells = <0>;
97+ clock-frequency = <I2C_BITRATE_STANDARD>;
98+ interrupts = <31 0>, <32 0>;
99+ interrupt-names = "event", "error";
100+ rcu-periph-clock = <0x715>;
101+ status = "disabled";
102+ label = "I2C_0";
103+ };
104+
105+ i2c1: i2c@40005800 {
106+ compatible = "gd,gd32-i2c";
107+ reg = <0x40005800 0x400>;
108+ #address-cells = <1>;
109+ #size-cells = <0>;
110+ clock-frequency = <I2C_BITRATE_STANDARD>;
111+ interrupts = <33 0>, <34 0>;
112+ interrupt-names = "event", "error";
113+ rcu-periph-clock = <0x716>;
114+ status = "disabled";
115+ label = "I2C_1";
116+ };
117+
91118 afio: afio@40010000 {
92119 compatible = "gd,gd32-afio";
93120 reg = <0x40010000 0x400>;
You can’t perform that action at this time.
0 commit comments