]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
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 4c005b811233b74824445a3f58451b93a682c181..0ea0bd83cb8e1210f4f9187e99337697bee9676e 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 90b6ea5467fadc2625abc18e8b9f4ca2936b08bc..4d8a0e10250fa5df1d69f2d6555eb9a1ea6d1b82 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";
                };