arm64: tegra: Add ID EEPROMs on Jetson AGX Xavier
authorThierry Reding <treding@nvidia.com>
Mon, 3 Aug 2020 15:44:30 +0000 (17:44 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 27 Aug 2020 15:31:55 +0000 (17:31 +0200)
The P2888 processor module contains an EEPROM that provides means of
identifying the module. The P2822 carrier board contains the same EEPROM
with information identifying the carrier board. Both of them ar accessed
via the GEN_I2C1 bus.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi
arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts

index 4c005b8..0ea0bd8 100644 (file)
                        status = "okay";
                };
 
+               i2c@3160000 {
+                       status = "okay";
+
+                       eeprom@50 {
+                               compatible = "atmel,24c02";
+                               reg = <0x50>;
+
+                               vcc-supply = <&vdd_1v8ls>;
+                               address-width = <8>;
+                               pagesize = <8>;
+                               size = <256>;
+                               read-only;
+                       };
+               };
+
                /* SDMMC1 (SD/MMC) */
                mmc@3400000 {
                        cd-gpios = <&gpio TEGRA194_MAIN_GPIO(A, 0) GPIO_ACTIVE_LOW>;
index 90b6ea5..4d8a0e1 100644 (file)
                        };
                };
 
+               i2c@3160000 {
+                       eeprom@56 {
+                               compatible = "atmel,24c02";
+                               reg = <0x56>;
+
+                               vcc-supply = <&vdd_1v8ls>;
+                               address-width = <8>;
+                               pagesize = <8>;
+                               size = <256>;
+                               read-only;
+                       };
+               };
+
                ddc: i2c@31c0000 {
                        status = "okay";
                };