Bladeren bron

arm/dt: tegra: Fix I2C nodes to match board files

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>
Stephen Warren 13 jaren geleden
bovenliggende
commit
88950f3b6d
3 gewijzigde bestanden met toevoegingen van 36 en 0 verwijderingen
  1. 16 0
      arch/arm/boot/dts/tegra-seaboard.dts
  2. 4 0
      arch/arm/boot/dts/tegra-trimslice.dts
  3. 16 0
      arch/arm/boot/dts/tegra-ventana.dts

+ 16 - 0
arch/arm/boot/dts/tegra-seaboard.dts

@@ -11,6 +11,22 @@
 		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 >;
 	};

+ 4 - 0
arch/arm/boot/dts/tegra-trimslice.dts

@@ -22,6 +22,10 @@
 		clock-frequency = <400000>;
 	};
 
+	i2c@7000d000 {
+		status = "disable";
+	};
+
 	serial@70006000 {
 		clock-frequency = < 216000000 >;
 	};

+ 16 - 0
arch/arm/boot/dts/tegra-ventana.dts

@@ -10,6 +10,22 @@
 		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 >;
 	};