[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230920053834.21399-1-r-gunasekaran@ti.com>
Date: Wed, 20 Sep 2023 11:08:34 +0530
From: Ravi Gunasekaran <r-gunasekaran@...com>
To: <nm@...com>, <vigneshr@...com>, <afd@...com>
CC: <kristo@...nel.org>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <conor+dt@...nel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<r-gunasekaran@...com>
Subject: [PATCH v2] arm64: dts: ti: k3-am654-base-board: Add I2C I/O expander
AM654 baseboard has two TCA9554 I/O expander on the WKUP_I2C0 bus.
The expander at address 0x38 is used to detect daughter cards.
Add a node for this I/O expander.
Signed-off-by: Ravi Gunasekaran <r-gunasekaran@...com>
---
Changes from v1:
---------------
* Moved the expander node @38 to appear before the one at address 39.
* Removed the label pca9554_1 for the node as it is not used.
v1: https://lore.kernel.org/all/20230919050340.16156-1-r-gunasekaran@ti.com/
arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
index f5c26e9fba98..1637ec5ab5ed 100644
--- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
@@ -369,6 +369,13 @@
ti,enable-vout-discharge;
};
+ gpio@38 {
+ compatible = "nxp,pca9554";
+ reg = <0x38>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ };
+
pca9554: gpio@39 {
compatible = "nxp,pca9554";
reg = <0x39>;
base-commit: dfa449a58323de195773cf928d99db4130702bf7
--
2.17.1
Powered by blists - more mailing lists