ARM: dts: armada-370-rn104: add pinmuxing for i2c0
authorUwe Kleine-König <uwe@kleine-koenig.org>
Thu, 29 Sep 2016 18:22:05 +0000 (20:22 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 17 Oct 2016 15:08:33 +0000 (17:08 +0200)
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>
arch/arm/boot/dts/armada-370-netgear-rn104.dts

index 11565752b9f6b7f83ea56187ebcac73deaf91a36..d44a850d879c80cf237c2cb58768d601ac3a6273 100644 (file)
                        i2c@11000 {
                                compatible = "marvell,mv64xxx-i2c";
                                clock-frequency = <100000>;
+
+                               pinctrl-0 = <&i2c0_pins>;
+                               pinctrl-names = "default";
+
                                status = "okay";
 
                                isl12057: isl12057@68 {