]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: armada-370-rn102: add pinmuxing for i2c0
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 20 Oct 2016 19:19:42 +0000 (21:19 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 4 Nov 2016 12:30:44 +0000 (13:30 +0100)
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 <u.kleine-koenig@pengutronix.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/armada-370-netgear-rn102.dts

index 3ca6330a1752e097dc444d7952c60c091481fc34..a9e3810aea65de06056bb67ed7b77beb43169184 100644 (file)
 
                        i2c@11000 {
                                clock-frequency = <100000>;
+
+                               pinctrl-0 = <&i2c0_pins>;
+                               pinctrl-names = "default";
+
                                status = "okay";
 
                                isl12057: isl12057@68 {