arm64: tegra: Add ID EEPROM for Jetson TX1 Developer Kit
authorThierry Reding <treding@nvidia.com>
Thu, 13 Jun 2019 16:53:31 +0000 (18:53 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 19 Jun 2019 15:51:34 +0000 (17:51 +0200)
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.

Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts

index 5a57396b5948924c2364e1ac2be542e1f04348c2..a3cafe39ba4c46f0b031db210d0bf9e7a3ab278b 100644 (file)
                };
        };
 
+       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";