Browse Source

ARM: dts: armada-370-rn102: 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 <u.kleine-koenig@pengutronix.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Uwe Kleine-König 9 years ago
parent
commit
ebbd9896a6
1 changed files with 4 additions and 0 deletions
  1. 4 0
      arch/arm/boot/dts/armada-370-netgear-rn102.dts

+ 4 - 0
arch/arm/boot/dts/armada-370-netgear-rn102.dts

@@ -121,6 +121,10 @@
 
 			i2c@11000 {
 				clock-frequency = <100000>;
+
+				pinctrl-0 = <&i2c0_pins>;
+				pinctrl-names = "default";
+
 				status = "okay";
 
 				isl12057: isl12057@68 {