]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
arm64: tegra: Populate EEPROMs for Jetson Xavier NX
authorJon Hunter <jonathanh@nvidia.com>
Wed, 16 Sep 2020 09:49:52 +0000 (10:49 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Sep 2020 15:45:42 +0000 (17:45 +0200)
Populate the EEPROMs that are present on the Jetson Xavier NX developer
platform.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra194-p3509-0000+p3668-0000.dts
arch/arm64/boot/dts/nvidia/tegra194-p3668-0000.dtsi

index c1c589805d6b4d1a769502af63a0cc85fc123360..7f97b34216a0d80ec5a915d66c688103f850596a 100644 (file)
                        status = "okay";
                };
 
+               i2c@3160000 {
+                       eeprom@57 {
+                               compatible = "atmel,24c02";
+                               reg = <0x57>;
+
+                               label = "system";
+                               vcc-supply = <&vdd_1v8>;
+                               address-width = <8>;
+                               pagesize = <8>;
+                               size = <256>;
+                               read-only;
+                       };
+               };
+
                hda@3510000 {
                        nvidia,model = "jetson-xavier-nx-hda";
                        status = "okay";
index 10cb836aea7eac2901e17e59d93436d30dab65d7..a2893be80507e2fab569a47e8cfb26d7fac151b9 100644 (file)
                        status = "okay";
                };
 
+               i2c@3160000 {
+                       status = "okay";
+
+                       eeprom@50 {
+                               compatible = "atmel,24c02";
+                               reg = <0x50>;
+
+                               label = "module";
+                               vcc-supply = <&vdd_1v8ls>;
+                               address-width = <8>;
+                               pagesize = <8>;
+                               size = <256>;
+                               read-only;
+                       };
+               };
+
                /* SDMMC1 (SD/MMC) */
                mmc@3400000 {
                        status = "okay";