summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2012-10-30 19:41:24 +0900
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-21 23:18:43 +0100
commit9eab21cffcdfc7869e2342651b276141b335fb89 (patch)
tree0471dacd01b952cfde4cc74f1a0da8efc4303d86 /arch/arm
parent539eb5bca02ff0b93e17f110ffec18c5b5e744ee (diff)
downloadop-kernel-dev-9eab21cffcdfc7869e2342651b276141b335fb89.zip
op-kernel-dev-9eab21cffcdfc7869e2342651b276141b335fb89.tar.gz
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>
Diffstat (limited to 'arch/arm')
-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 638fb68..cb7f0d9 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>;
+ };
};
};
OpenPOWER on IntegriCloud