devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@gmail.com>
To: Thierry Reding <thierry.reding@gmail.com>
Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Jon Hunter <jonathanh@nvidia.com>
Subject: [PATCH 3/4] arm64: tegra: Add ID EEPROM for Jetson TX1 module
Date: Thu, 13 Jun 2019 18:53:30 +0200	[thread overview]
Message-ID: <20190613165331.8689-3-thierry.reding@gmail.com> (raw)
In-Reply-To: <20190613165331.8689-1-thierry.reding@gmail.com>

From: Thierry Reding <treding@nvidia.com>

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.

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

diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
index 4dcd0d36189a..e8654061ce03 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
@@ -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;
 	};
-- 
2.21.0

  parent reply	other threads:[~2019-06-13 16:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Thierry Reding [this message]
2019-06-19 10:36   ` [PATCH 3/4] arm64: tegra: Add ID EEPROM for Jetson TX1 module 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190613165331.8689-3-thierry.reding@gmail.com \
    --to=thierry.reding@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-tegra@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).