summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2016-09-29 20:22:05 +0200
committerGregory CLEMENT <gregory.clement@free-electrons.com>2016-10-17 17:08:33 +0200
commit83a70ff01a25eaf0761f30451a8335946a33c59e (patch)
tree92c0145809c46c6a4fe0e8f4f029ff228aed9d75
parent1001354ca34179f3db924eb66672442a173147dc (diff)
ARM: dts: armada-370-rn104: add pinmuxing for i2c0
Up to now a working i2c bus depended on the bootloader to configure the pinmuxing. Make it explicit. As a side effect this change makes i2c work in barebox. Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/armada-370-netgear-rn104.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-netgear-rn104.dts b/arch/arm/boot/dts/armada-370-netgear-rn104.dts
index 11565752b9f6..d44a850d879c 100644
--- a/arch/arm/boot/dts/armada-370-netgear-rn104.dts
+++ b/arch/arm/boot/dts/armada-370-netgear-rn104.dts
@@ -128,6 +128,10 @@
i2c@11000 {
compatible = "marvell,mv64xxx-i2c";
clock-frequency = <100000>;
+
+ pinctrl-0 = <&i2c0_pins>;
+ pinctrl-names = "default";
+
status = "okay";
isl12057: isl12057@68 {