Skip to content

Commit 15aa152

Browse files
dnltzjhedberg
authored andcommitted
dts: riscv: aesc: elemrv-n: Add GPIO Controller
ElemRV-N has a GPIO controller with a total of 12 pins. Signed-off-by: Daniel Schultz <[email protected]>
1 parent 15d2990 commit 15aa152

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

dts/riscv/aesc/elemrv-n.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@
1616
compatible = "aesc,elemrv-n-soc", "simple-bus";
1717
ranges;
1818

19+
gpio0: gpio@f0000000 {
20+
compatible = "aesc,gpio";
21+
reg = <0xf0000000 0x1000>;
22+
gpio-controller;
23+
#gpio-cells = <2>;
24+
ngpios = <12>;
25+
status = "disabled";
26+
};
27+
1928
uart0: uart0@f0006000 {
2029
compatible = "aesc,uart";
2130
reg = <0xf0006000 0x1000>;

0 commit comments

Comments
 (0)