Commit f22a291e authored by Stoyan Bogdanov's avatar Stoyan Bogdanov Committed by Benjamin Cabé
Browse files

dts: arm: ti: cc23x0: Add GPIO support



Add support for GPIO to cc23x0 SoC.

Signed-off-by: default avatarLars Thalian Morstad <l-morstad@ti.com>
Signed-off-by: default avatarVebjorn Myklebust <v.myklebust@ti.com>
Signed-off-by: default avatarStoyan Bogdanov <sbogdanov@baylibre.com>
Signed-off-by: default avatarJulien Panis <jpanis@baylibre.com>
parent 4b63ef0e
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -61,6 +61,16 @@
			compatible = "ti,cc23x0-pinctrl";
			reg = <0x40003000 0xc14>;
		};

		gpio0: gpio@40023000 {
			compatible = "ti,cc23x0-gpio";
			reg = <0x40023000 0x804>;
			interrupts = <5 0>;	/* GPIO combined on CPUIRQ5 */
			status = "disabled";
			gpio-controller;
			#gpio-cells = <2>;	/* Pin (ID), and flags */
			ngpios = <26>;		/* Only [DIO0, DIO25] are available */
		};
	};
};