Skip to content

Commit b10aa5a

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 524298a commit b10aa5a

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
@@ -61,6 +61,16 @@
6161
compatible = "ti,cc23x0-pinctrl";
6262
reg = <0x40003000 0xc14>;
6363
};
64+
65+
gpio0: gpio@40023000 {
66+
compatible = "ti,cc23x0-gpio";
67+
reg = <0x40023000 0x804>;
68+
interrupts = <5 0>; /* GPIO combined on CPUIRQ5 */
69+
status = "disabled";
70+
gpio-controller;
71+
#gpio-cells = <2>; /* Pin (ID), and flags */
72+
ngpios = <26>; /* Only [DIO0, DIO25] are available */
73+
};
6474
};
6575
};
6676

0 commit comments

Comments
 (0)