]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
arm/dt: tegra: Fix I2C nodes to match board files
authorStephen Warren <swarren@nvidia.com>
Mon, 21 Nov 2011 21:44:09 +0000 (14:44 -0700)
committerOlof Johansson <olof@lixom.net>
Thu, 8 Dec 2011 04:48:04 +0000 (20:48 -0800)
With board files, all I2C busses run at 400KHz. Fix the device-tree
to be consistent with this. It's possible this is incorrect, but at
least it keeps the board files and device-tree consistent.

Also, disable any I2C controllers that the board files don't register,
also for consistency.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/tegra-seaboard.dts
arch/arm/boot/dts/tegra-trimslice.dts
arch/arm/boot/dts/tegra-ventana.dts

index d1ada26b7b90265ded64dbd5105a82c7e5ec9295..92da1f1ed3a3a1e378d8a05c833daf96379b4145 100644 (file)
                reg = < 0x00000000 0x40000000 >;
        };
 
+       i2c@7000c000 {
+               clock-frequency = <400000>;
+       };
+
+       i2c@7000c400 {
+               clock-frequency = <400000>;
+       };
+
+       i2c@7000c500 {
+               clock-frequency = <400000>;
+       };
+
+       i2c@7000d000 {
+               clock-frequency = <400000>;
+       };
+
        serial@70006300 {
                clock-frequency = < 216000000 >;
        };
index cf8e5617f3bd7469430552e204837aa03ac27455..b1aaa45407d44194d300860114a6bfac2f2ea760 100644 (file)
                clock-frequency = <400000>;
        };
 
+       i2c@7000d000 {
+               status = "disable";
+       };
+
        serial@70006000 {
                clock-frequency = < 216000000 >;
        };
index 1c0948541806a4deb33c9ed0d84da1285772bd0d..0f14ee373e76a4dd1d051ab6c76a1c984a730102 100644 (file)
                reg = < 0x00000000 0x40000000 >;
        };
 
+       i2c@7000c000 {
+               clock-frequency = <400000>;
+       };
+
+       i2c@7000c400 {
+               clock-frequency = <400000>;
+       };
+
+       i2c@7000c500 {
+               clock-frequency = <400000>;
+       };
+
+       i2c@7000d000 {
+               clock-frequency = <400000>;
+       };
+
        serial@70006300 {
                clock-frequency = < 216000000 >;
        };