All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: armada-370-rn102: add pinmuxing for i2c0
@ 2016-10-20 19:19 Uwe Kleine-König
  2016-11-04 12:33 ` Gregory CLEMENT
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2016-10-20 19:19 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
 arch/arm/boot/dts/armada-370-netgear-rn102.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/armada-370-netgear-rn102.dts b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
index 3ca6330a1752..a9e3810aea65 100644
--- a/arch/arm/boot/dts/armada-370-netgear-rn102.dts
+++ b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
@@ -121,6 +121,10 @@
 
 			i2c at 11000 {
 				clock-frequency = <100000>;
+
+				pinctrl-0 = <&i2c0_pins>;
+				pinctrl-names = "default";
+
 				status = "okay";
 
 				isl12057: isl12057 at 68 {
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-04 12:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-20 19:19 [PATCH] ARM: dts: armada-370-rn102: add pinmuxing for i2c0 Uwe Kleine-König
2016-11-04 12:33 ` Gregory CLEMENT

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.