Skip to contentSkip to conversation

arm64: tegra: Add ID EEPROM for Jetson TX2 module

PATCH In review Thierry Reding 2 participants 8 messages Jun 13, 2019 – Jun 19, 2019

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

PATCH 1/4 arm64: tegra: Add ID EEPROM for Jetson TX2 module

From: Thierry Reding <[email protected]>

There is an ID EEPROM in the Jetson TX2 module that stores various bits of information to indentify the module. Add the device tree node so that operating systems can access this EEPROM.

---
 arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi +11 -0
index 38ad1053f21a..4bbee83d9943 100644
@@ -124,6 +124,17 @@
 
 	i2c@c250000 {
 		status = "okay";
+
+		/* module ID EEPROM */
+		eeprom@50 {
+			compatible = "atmel,24c02";
+			reg = <0x50>;
+
+			address-bits = <8>;
+			page-size = <8>;
+			size = <256>;
+			read-only;
+		};
 	};
 
 	rtc@c2a0000 {
Signature · 1 line
2.21.0
#1 lore raw

PATCH 2/4 arm64: tegra: Add ID EEPROM for Jetson TX2 Developer Kit

From: Thierry Reding <[email protected]>

There is an ID EEPROM on the Jetson TX2 carrier board, part of the Jetson TX2 Developer Kit, that exposes information that can be used to identify the carrier board. Add the device tree node so that operating systems can access this EEPROM.

---
 arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts +13 -0
index 837218e83e69..ab6648c72ad5 100644
@@ -149,6 +149,19 @@
 		phy-names = "usb2-0", "usb2-1", "usb3-0";
 	};
 
+	i2c@c250000 {
+		/* carrier board ID EEPROM */
+		eeprom@57 {
+			compatible = "atmel,24c02";
+			reg = <0x57>;
+
+			address-bits = <8>;
+			page-size = <8>;
+			size = <256>;
+			read-only;
+		};
+	};
+
 	pcie@10003000 {
 		status = "okay";
 
Signature · 1 line
2.21.0
#3 lore raw

PATCH 3/4 arm64: tegra: Add ID EEPROM for Jetson TX1 module

In reply to Thierry Reding

From: Thierry Reding <[email protected]>

There is an ID EEPROM in the Jetson TX1 module that stores various bits of information to indentify the module. Add the device tree node so that operating systems can access this EEPROM.

---
 arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi +13 -0
index 4dcd0d36189a..e8654061ce03 100644
@@ -264,6 +264,19 @@
 		};
 	};
 
+	i2c@7000c500 {
+		/* module ID EEPROM */
+		eeprom@50 {
+			compatible = "atmel,24c02";
+			reg = <0x50>;
+
+			address-bits = <8>;
+			page-size = <8>;
+			size = <256>;
+			read-only;
+		};
+	};
+
 	pmc@7000e400 {
 		nvidia,invert-interrupt;
 	};
Signature · 1 line
2.21.0
#5 lore raw

PATCH 4/4 arm64: tegra: Add ID EEPROM for Jetson TX1 Developer Kit

In reply to Thierry Reding

From: Thierry Reding <[email protected]>

There is an ID EEPROM on the Jetson TX1 carrier board, part of the Jetson TX1 Developer Kit, that exposes information that can be used to identify the carrier board. Add the device tree node so that operating systems can access this EEPROM.

---
 arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts +13 -0
index 5a57396b5948..a3cafe39ba4c 100644
@@ -79,6 +79,19 @@
 		};
 	};
 
+	i2c@7000c500 {
+		/* carrier board ID EEPROM */
+		eeprom@57 {
+			compatible = "atmel,24c02";
+			reg = <0x57>;
+
+			address-bits = <8>;
+			page-size = <8>;
+			size = <256>;
+			read-only;
+		};
+	};
+
 	clock@70110000 {
 		status = "okay";
 
Signature · 1 line
2.21.0
maintainer Acked-by on v1 3/4
#4 lore raw

Re: [PATCH 3/4] arm64: tegra: Add ID EEPROM for Jetson TX1 module

In reply to Thierry Reding
Quoted 26 lines · Thierry Reding

From: Thierry Reding <[email protected]>

There is an ID EEPROM in the Jetson TX1 module that stores various bits of information to indentify the module. Add the device tree node so that operating systems can access this EEPROM.

---
 arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi +6 -0
index 4dcd0d36189a..e8654061ce03 100644
@@ -264,6 +264,19 @@
 		};
 	};
 
+	i2c@7000c500 {
+		/* module ID EEPROM */
+		eeprom@50 {
+			compatible = "atmel,24c02";
+			reg = <0x50>;
+

arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi line 282

Quoted 10 lines
arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi +7 -0
+			address-bits = <8>;
+			page-size = <8>;
+			size = <256>;
+			read-only;
+		};
+	};
+
 	pmc@7000e400 {
 		nvidia,invert-interrupt;
 	};

Cheers
Jon

Signature · 1 line
nvpublic
maintainer Acked-by on v1 4/4
#6 lore raw

Re: [PATCH 4/4] arm64: tegra: Add ID EEPROM for Jetson TX1 Developer Kit

In reply to Thierry Reding
Quoted 27 lines · Thierry Reding

From: Thierry Reding <[email protected]>

There is an ID EEPROM on the Jetson TX1 carrier board, part of the Jetson TX1 Developer Kit, that exposes information that can be used to identify the carrier board. Add the device tree node so that operating systems can access this EEPROM.

---
 arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts +6 -0
index 5a57396b5948..a3cafe39ba4c 100644
@@ -79,6 +79,19 @@
 		};
 	};
 
+	i2c@7000c500 {
+		/* carrier board ID EEPROM */
+		eeprom@57 {
+			compatible = "atmel,24c02";
+			reg = <0x57>;
+

arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts line 97

Quoted 10 lines
arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts +7 -0
+			address-bits = <8>;
+			page-size = <8>;
+			size = <256>;
+			read-only;
+		};
+	};
+
 	clock@70110000 {
 		status = "okay";
 

Cheers
Jon

Signature · 1 line
nvpublic
maintainer Acked-by on v1 2/4
#2 lore raw

Re: [PATCH 2/4] arm64: tegra: Add ID EEPROM for Jetson TX2 Developer Kit

In reply to Thierry Reding
Quoted 25 lines · Thierry Reding

From: Thierry Reding <[email protected]>

There is an ID EEPROM on the Jetson TX2 carrier board, part of the Jetson TX2 Developer Kit, that exposes information that can be used to identify the carrier board. Add the device tree node so that operating systems can access this EEPROM.

---
 arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts +5 -0
index 837218e83e69..ab6648c72ad5 100644
@@ -149,6 +149,19 @@
 		phy-names = "usb2-0", "usb2-1", "usb3-0";
 	};
 
+	i2c@c250000 {
+		/* carrier board ID EEPROM */
+		eeprom@57 {
+			compatible = "atmel,24c02";
+			reg = <0x57>;

arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts line 166

Quoted 10 lines
arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts +8 -0
+
+			address-bits = <8>;
+			page-size = <8>;
+			size = <256>;
+			read-only;
+		};
+	};
+
 	pcie@10003000 {
 		status = "okay";

Cheers
Jon

Signature · 1 line
nvpublic
maintainer Acked-by on v1 1/4
#7 lore raw
In reply to Thierry Reding
Quoted 24 lines · Thierry Reding

From: Thierry Reding <[email protected]>

There is an ID EEPROM in the Jetson TX2 module that stores various bits of information to indentify the module. Add the device tree node so that operating systems can access this EEPROM.

---
 arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi +4 -0
index 38ad1053f21a..4bbee83d9943 100644
@@ -124,6 +124,17 @@
 
 	i2c@c250000 {
 		status = "okay";
+
+		/* module ID EEPROM */
+		eeprom@50 {
+			compatible = "atmel,24c02";

arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi line 140

Quoted 10 lines
arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi +7 -0
+			reg = <0x50>;
+
+			address-bits = <8>;
+			page-size = <8>;
+			size = <256>;
+			read-only;
+		};
 	};
 
 	rtc@c2a0000 {

Cheers
Jon

Signature · 1 line
nvpublic