Skip to content

Commit f22a291

Browse files
bogdanovskartben
authored andcommitted
dts: arm: ti: cc23x0: Add GPIO support
Add support for GPIO to cc23x0 SoC. Signed-off-by: Lars Thalian Morstad <l-morstad@ti.com> Signed-off-by: Vebjorn Myklebust <v.myklebust@ti.com> Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com> Signed-off-by: Julien Panis <jpanis@baylibre.com>
1 parent 4b63ef0 commit f22a291

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)