Skip to contentSkip to conversation

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

PATCH New twarren at nvidia.com 2 participants 2 messages Mar 18, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: tegra: p2371-2180: add I2C nodes to DT

From: Tom Warren <[email protected]>

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.

---
 arch/arm/dts/tegra210-p2371-2180.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm/dts/tegra210-p2371-2180.dts +18 -0
index c2f497c..d982b5f 100644
@@ -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>;
Signature · 9 lines
1.8.2.1.610.g562af5b


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
#1 lore raw

PATCH 1/1 ARM: tegra: p2371-2180: add I2C nodes to DT

Quoted 5 lines · twarren at nvidia.com

From: Tom Warren <[email protected]>

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.