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 2/4] arm64: tegra: Add ID EEPROM for Jetson TX2 Developer Kit
Date: Thu, 13 Jun 2019 18:53:29 +0200	[thread overview]
Message-ID: <20190613165331.8689-2-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 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.

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

diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
index 837218e83e69..ab6648c72ad5 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
@@ -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";
 
-- 
2.21.0

  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 ` Thierry Reding [this message]
2019-06-19 10:39   ` [PATCH 2/4] arm64: tegra: Add ID EEPROM for Jetson TX2 Developer Kit 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

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-2-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).