]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: tegra: p2371-2180: add I2C nodes to DT
authorStephen Warren <swarren@nvidia.com>
Thu, 26 Mar 2020 22:20:45 +0000 (15:20 -0700)
committerTom Warren <twarren@nvidia.com>
Thu, 2 Apr 2020 21:30:01 +0000 (14:30 -0700)
This adds to the DT the I2C controllers that connect to the board ID EEPROM,
etc. With this change, you can now probe all I2C devices on a TX1 board.

Signed-off-by: Tom Warren <twarren@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
arch/arm/dts/tegra210-p2371-2180.dts

index c2f497c524affd1245ebe9ac17278fa19e5e73a5..649c163152e200df4f1bf3c13547b41b9495d196 100644 (file)
@@ -12,6 +12,8 @@
 
        aliases {
                i2c0 = "/i2c@7000d000";
+               i2c2 = "/i2c@7000c400";
+               i2c3 = "/i2c@7000c500";
                mmc0 = "/sdhci@700b0600";
                mmc1 = "/sdhci@700b0000";
                usb0 = "/usb@7d000000";
                non-removable;
        };
 
+       i2c@7000c400 {
+               status = "okay";
+               clock-frequency = <400000>;
+       };
+
+       i2c@7000c500 {
+               status = "okay";
+               clock-frequency = <400000>;
+       };
+
        i2c@7000d000 {
                status = "okay";
                clock-frequency = <400000>;