summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2012-10-30 11:41:24 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-21 23:18:43 +0100
commit9eab21cffcdfc7869e2342651b276141b335fb89 (patch)
tree0471dacd01b952cfde4cc74f1a0da8efc4303d86
parentARM: mvebu: Add support for I2C controllers in Armada 370/XP (diff)
downloadlinux-9eab21cffcdfc7869e2342651b276141b335fb89.tar.xz
linux-9eab21cffcdfc7869e2342651b276141b335fb89.zip
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>
-rw-r--r--arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts b/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts
index 638fb68d47b2..cb7f0d972c6f 100644
--- a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts
+++ b/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>;
+ };
};
};