Explorar o código

ARM: mvebu: Add support for I2C on OpenBlocks AX3-4

The OpenBlocks AX3-4 board, based on the Armada XP SoC, has an I2C
bus. This patch enables this bus and sets the clock frequency of the
bus.

[Thomas Petazzoni: updated with other changes on OpenBlocks, rephrased
commit log.]
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Nobuhiro Iwamatsu %!s(int64=12) %!d(string=hai) anos
pai
achega
9eab21cffc
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts

+ 8 - 0
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts

@@ -104,5 +104,13 @@
 			phy = <&phy3>;
 			phy-mode = "sgmii";
 		};
+		i2c@d0011000 {
+			status = "okay";
+			clock-frequency = <400000>;
+		};
+		i2c@d0011100 {
+			status = "okay";
+			clock-frequency = <400000>;
+		};
 	};
 };