OSDN Git Service

ARM: mvebu: Add support for I2C on OpenBlocks AX3-4
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tue, 30 Oct 2012 10:41:24 +0000 (19:41 +0900)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 21 Nov 2012 22:18:43 +0000 (23:18 +0100)
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>
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts

index 638fb68..cb7f0d9 100644 (file)
                        phy = <&phy3>;
                        phy-mode = "sgmii";
                };
+               i2c@d0011000 {
+                       status = "okay";
+                       clock-frequency = <400000>;
+               };
+               i2c@d0011100 {
+                       status = "okay";
+                       clock-frequency = <400000>;
+               };
        };
 };