From de0ef827cd36fbd0f94ac789cb3dcaa91f14f0a1 Mon Sep 17 00:00:00 2001 From: Miguel Gazquez Date: Tue, 3 Jun 2025 11:16:02 +0200 Subject: [PATCH] dts: wch: add gpioe bank to ch32v303 Adds the gpioe bank to the ch32v303 devicetree. Signed-off-by: Miguel Gazquez --- dts/riscv/wch/ch32v303/ch32v303.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dts/riscv/wch/ch32v303/ch32v303.dtsi b/dts/riscv/wch/ch32v303/ch32v303.dtsi index 2db0ab31b2f..7e5909301d9 100644 --- a/dts/riscv/wch/ch32v303/ch32v303.dtsi +++ b/dts/riscv/wch/ch32v303/ch32v303.dtsi @@ -108,6 +108,15 @@ ngpios = <16>; clocks = <&rcc CH32V20X_V30X_CLOCK_IOPD>; }; + + gpioe: gpio@40011800 { + compatible = "wch,gpio"; + reg = <0x40011800 0x20>; + gpio-controller; + #gpio-cells = <2>; + ngpios = <16>; + clocks = <&rcc CH32V20X_V30X_CLOCK_IOPE>; + }; }; usart1: uart@40013800 {