devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] arm64: tegra: Add ID EEPROM for Jetson TX2 module
@ 2019-06-13 16:53 Thierry Reding
  2019-06-13 16:53 ` [PATCH 2/4] arm64: tegra: Add ID EEPROM for Jetson TX2 Developer Kit Thierry Reding
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Thierry Reding @ 2019-06-13 16:53 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, devicetree, linux-arm-kernel, Jon Hunter

From: Thierry Reding <treding@nvidia.com>

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.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
index 38ad1053f21a..4bbee83d9943 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
@@ -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 {
-- 
2.21.0

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-06-19 10:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-13 16:53 [PATCH 1/4] arm64: tegra: Add ID EEPROM for Jetson TX2 module Thierry Reding
2019-06-13 16:53 ` [PATCH 2/4] arm64: tegra: Add ID EEPROM for Jetson TX2 Developer Kit Thierry Reding
2019-06-19 10:39   ` Jon Hunter
2019-06-13 16:53 ` [PATCH 3/4] arm64: tegra: Add ID EEPROM for Jetson TX1 module Thierry Reding
2019-06-19 10:36   ` Jon Hunter
2019-06-13 16:53 ` [PATCH 4/4] arm64: tegra: Add ID EEPROM for Jetson TX1 Developer Kit Thierry Reding
2019-06-19 10:37   ` Jon Hunter
2019-06-19 10:40 ` [PATCH 1/4] arm64: tegra: Add ID EEPROM for Jetson TX2 module Jon Hunter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).