diff mbox series

ARM: tegra: p2371-2180: add I2C nodes to DT

Message ID 1584569896-4020-1-git-send-email-twarren@nvidia.com
State Accepted
Commit 9eb15cbe5c94fca24519b5d89d934eeb34a68e5d
Headers show
Series ARM: tegra: p2371-2180: add I2C nodes to DT | expand

Commit Message

Tom Warren March 18, 2020, 10:18 p.m. UTC
From: Tom Warren <twarren at nvidia.com>

This adds to the DT the I2C controllers that connect to the board ID 
EEPROM, camera board EEPROM, etc. With this change, you can now probe 
all I2C devices on a TX1 board.

Signed-off-by: Tom Warren <twarren at nvidia.com>
---
 arch/arm/dts/tegra210-p2371-2180.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Comments

Stephen Warren March 18, 2020, 11:17 p.m. UTC | #1
On 3/18/20 4:18 PM, twarren at nvidia.com wrote:
> From: Tom Warren <twarren at nvidia.com>
> 
> This adds to the DT the I2C controllers that connect to the board ID 
> EEPROM, camera board EEPROM, etc. With this change, you can now probe 
> all I2C devices on a TX1 board.

Acked-by: Stephen Warren <swarren at nvidia.com>
diff mbox series

Patch

diff --git a/arch/arm/dts/tegra210-p2371-2180.dts b/arch/arm/dts/tegra210-p2371-2180.dts
index c2f497c..d982b5f 100644
--- a/arch/arm/dts/tegra210-p2371-2180.dts
+++ b/arch/arm/dts/tegra210-p2371-2180.dts
@@ -12,6 +12,9 @@ 
 
 	aliases {
 		i2c0 = "/i2c at 7000d000";
+		i2c2 = "/i2c at 7000c400";
+		i2c3 = "/i2c at 7000c500";
+		i2c5 = "/i2c at 546c0c00";
 		mmc0 = "/sdhci at 700b0600";
 		mmc1 = "/sdhci at 700b0000";
 		usb0 = "/usb at 7d000000";
@@ -33,6 +36,11 @@ 
 		};
 	};
 
+	i2c at 546c0c00 {
+		status = "okay";
+		clock-frequency = <400000>;
+	};
+
 	padctl at 7009f000 {
 		pinctrl-0 = <&padctl_default>;
 		pinctrl-names = "default";
@@ -85,6 +93,16 @@ 
 		non-removable;
 	};
 
+	i2c at 7000c400 {
+		status = "okay";
+		clock-frequency = <400000>;
+	};
+
+	i2c at 7000c500 {
+		status = "okay";
+		clock-frequency = <400000>;
+	};
+
 	i2c at 7000d000 {
 		status = "okay";
 		clock-frequency = <400000>;