[v2,2/2] arm64: dts: ti: k3-am64: Add GPIO expander on I2C0

Message ID 20230923080046.5373-3-rogerq@kernel.org
State New
Headers
Series arm64: dts: ti: Add overlay for AM642-EVM NAND expansion card |

Commit Message

Roger Quadros Sept. 23, 2023, 8 a.m. UTC
  A TCA9554 GPIO expander is present on I2C0. Add it.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
---
 arch/arm64/boot/dts/ti/k3-am642-evm.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
  

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am642-evm.dts b/arch/arm64/boot/dts/ti/k3-am642-evm.dts
index b4a1f73d4fb1..3dccc597f516 100644
--- a/arch/arm64/boot/dts/ti/k3-am642-evm.dts
+++ b/arch/arm64/boot/dts/ti/k3-am642-evm.dts
@@ -392,6 +392,15 @@  &main_i2c0 {
 	pinctrl-0 = <&main_i2c0_pins_default>;
 	clock-frequency = <400000>;
 
+	gpio@38 {
+		/* TCA9554 */
+		compatible = "nxp,pca9554";
+		reg = <0x38>;
+		gpio-controller;
+		#gpio-cells = <2>;
+		gpio-line-names = "HSE_DETECT";
+	};
+
 	eeprom@50 {
 		/* AT24CM01 */
 		compatible = "atmel,24c1024";