Skip to content

Commit eeb815f

Browse files
committed
dts: arm: ti: cc23x0: Add GPIO support
Add support for GPIO to cc23x0 SoC. Signed-off-by: Lars Thalian Morstad <[email protected]> Signed-off-by: Vebjorn Myklebust <[email protected]> Signed-off-by: Stoyan Bogdanov <[email protected]> Signed-off-by: Julien Panis <[email protected]>
1 parent 4c0636d commit eeb815f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

dts/arm/ti/cc23x0.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@
6060
compatible = "ti,cc23x0-pinctrl";
6161
reg = <0x40003000 0xc14>;
6262
};
63+
64+
gpio0: gpio@40023000 {
65+
compatible = "ti,cc23x0-gpio";
66+
reg = <0x40023000 0x804>;
67+
interrupts = <5 0>; /* GPIO combined on CPUIRQ5 */
68+
status = "disabled";
69+
gpio-controller;
70+
#gpio-cells = <2>; /* Pin (ID), and flags */
71+
ngpios = <26>; /* Only [DIO0, DIO25] are available */
72+
};
6373
};
6474
};
6575

0 commit comments

Comments
 (0)