Skip to content

Commit 71f6c20

Browse files
feilongflcarlescufi
authored andcommitted
dts: gd32e103: add exti support
add exti for gd32e103 Signed-off-by: YuLong Yao <[email protected]>
1 parent 1ad0b19 commit 71f6c20

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

dts/arm/gigadevice/gd32e10x/gd32e10x.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,20 @@
9494
label = "AFIO";
9595
};
9696

97+
exti: interrupt-controller@40010400 {
98+
compatible = "gd,gd32-exti";
99+
interrupt-controller;
100+
#interrupt-cells = <1>;
101+
reg = <0x40010400 0x400>;
102+
num-lines = <19>;
103+
interrupts = <6 0>, <7 0>, <8 0>, <9 0>, <10 0>, <23 0>,
104+
<40 0>;
105+
interrupt-names = "line0", "line1", "line2", "line3",
106+
"line4", "line5-9", "line10-15";
107+
status = "okay";
108+
label = "EXTI";
109+
};
110+
97111
pinctrl: pin-controller@40010800 {
98112
compatible = "gd,gd32-pinctrl-afio";
99113
reg = <0x40010800 0x1c00>;

0 commit comments

Comments
 (0)