Skip to content

Commit de0ef82

Browse files
miggazElquezdanieldegrasse
authored andcommitted
dts: wch: add gpioe bank to ch32v303
Adds the gpioe bank to the ch32v303 devicetree. Signed-off-by: Miguel Gazquez <[email protected]>
1 parent 1f5a281 commit de0ef82

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

dts/riscv/wch/ch32v303/ch32v303.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,15 @@
108108
ngpios = <16>;
109109
clocks = <&rcc CH32V20X_V30X_CLOCK_IOPD>;
110110
};
111+
112+
gpioe: gpio@40011800 {
113+
compatible = "wch,gpio";
114+
reg = <0x40011800 0x20>;
115+
gpio-controller;
116+
#gpio-cells = <2>;
117+
ngpios = <16>;
118+
clocks = <&rcc CH32V20X_V30X_CLOCK_IOPE>;
119+
};
111120
};
112121

113122
usart1: uart@40013800 {

0 commit comments

Comments
 (0)