diff mbox series

[5/6] arm: dts: k3-am642: Add I2C GPIO Expander

Message ID 20230704181008.305561-6-rogerq@kernel.org
State Deferred
Delegated to: Tom Rini
Headers show
Series ti: k3-am642: Add daughtercard support | expand

Commit Message

Roger Quadros July 4, 2023, 6:10 p.m. UTC
The I2C GPIO expander at address 0x38 is used for card detect GPIOs.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
---
 arch/arm/dts/k3-am642-evm-u-boot.dtsi | 4 ++++
 arch/arm/dts/k3-am642-evm.dts         | 8 ++++++++
 2 files changed, 12 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi
index 80c04d0117..f274d11697 100644
--- a/arch/arm/dts/k3-am642-evm-u-boot.dtsi
+++ b/arch/arm/dts/k3-am642-evm-u-boot.dtsi
@@ -40,6 +40,10 @@ 
 	bootph-pre-ram;
 };
 
+&tca9554 {
+	bootph-pre-ram;
+};
+
 &main_uart0 {
 	bootph-pre-ram;
 };
diff --git a/arch/arm/dts/k3-am642-evm.dts b/arch/arm/dts/k3-am642-evm.dts
index 529eb81538..bc7e6f29b0 100644
--- a/arch/arm/dts/k3-am642-evm.dts
+++ b/arch/arm/dts/k3-am642-evm.dts
@@ -353,6 +353,14 @@ 
 		compatible = "atmel,24c1024";
 		reg = <0x50>;
 	};
+
+	tca9554: gpio@38 {
+		/* TCA9554 */
+		compatible = "nxp,pca9554";
+		reg = <0x38>;
+		gpio-controller;
+		#gpio-cells = <2>;
+	 };
 };
 
 &main_i2c1 {