]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
arm64: tegra: Add ID EEPROM for Jetson TX2 module
authorThierry Reding <treding@nvidia.com>
Thu, 13 Jun 2019 16:53:28 +0000 (18:53 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 19 Jun 2019 15:51:37 +0000 (17:51 +0200)
There is an ID EEPROM in the Jetson TX2 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/tegra186-p3310.dtsi

index 38ad1053f21a413859b115f4e6f618e391f4a5ff..4bbee83d9943fe27d69e283004b0c18f7905f1c3 100644 (file)
 
        i2c@c250000 {
                status = "okay";
+
+               /* module ID EEPROM */
+               eeprom@50 {
+                       compatible = "atmel,24c02";
+                       reg = <0x50>;
+
+                       address-bits = <8>;
+                       page-size = <8>;
+                       size = <256>;
+                       read-only;
+               };
        };
 
        rtc@c2a0000 {