Skip to content

Commit f66e8af

Browse files
ene-stevenfabiobaltieri
authored andcommitted
dts: gpio: kb1200 gpio device nodes
Add GPIO device nodes for ENE KB1200 Signed-off-by: Steven Chang <[email protected]>
1 parent 64b4a3f commit f66e8af

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

dts/arm/ene/kb1200.dtsi

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,45 @@
5959
#size-cells = <1>;
6060
reg = <0x50000000 0x100>;
6161
status = "okay";
62+
gpio0x1x: gpio@50000000 {
63+
compatible = "ene,kb1200-gpio";
64+
reg = <0x50000000 0x04>, <0x50010000 0x04>;
65+
interrupts = <2 3>, <3 3>;
66+
gpio-controller;
67+
#gpio-cells = <2>;
68+
ngpios = <32>;
69+
status = "disabled";
70+
};
71+
72+
gpio2x3x: gpio@50000004 {
73+
compatible = "ene,kb1200-gpio";
74+
reg = <0x50000004 0x04>, <0x50010004 0x04>;
75+
interrupts = <4 3>, <5 3>;
76+
gpio-controller;
77+
#gpio-cells = <2>;
78+
ngpios = <32>;
79+
status = "disabled";
80+
};
81+
82+
gpio4x5x: gpio@50000008 {
83+
compatible = "ene,kb1200-gpio";
84+
reg = <0x50000008 0x04>, <0x50010008 0x04>;
85+
interrupts = <6 3>, <7 3>;
86+
gpio-controller;
87+
#gpio-cells = <2>;
88+
ngpios = <32>;
89+
status = "disabled";
90+
};
91+
92+
gpio6x7x: gpio@5000000c {
93+
compatible = "ene,kb1200-gpio";
94+
reg = <0x5000000C 0x04>, <0x5001000C 0x04>;
95+
interrupts = <8 3>, <9 3>;
96+
gpio-controller;
97+
#gpio-cells = <2>;
98+
ngpios = <32>;
99+
status = "disabled";
100+
};
62101
};
63102
};
64103
};

0 commit comments

Comments
 (0)