]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
arm64: tegra: Add ID EEPROM for Jetson TX1 module
authorThierry Reding <treding@nvidia.com>
Thu, 13 Jun 2019 16:53:30 +0000 (18:53 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 19 Jun 2019 15:50:57 +0000 (17:50 +0200)
There is an ID EEPROM in the Jetson TX1 module that stores various bits
of information to indentify the module. 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-p2180.dtsi

index 4dcd0d36189a46d4239c77807595cf8c7e150d16..e8654061ce032ef75a4442d40be781cf24403558 100644 (file)
                };
        };
 
+       i2c@7000c500 {
+               /* module ID EEPROM */
+               eeprom@50 {
+                       compatible = "atmel,24c02";
+                       reg = <0x50>;
+
+                       address-bits = <8>;
+                       page-size = <8>;
+                       size = <256>;
+                       read-only;
+               };
+       };
+
        pmc@7000e400 {
                nvidia,invert-interrupt;
        };