Patchwork [7/7] ARM: sunxi: hackberry: Add UART muxing

login
register
mail settings
Submitter Maxime Ripard
Date March 19, 2013, 10:35 a.m.
Message ID <1363689316-7847-8-git-send-email-maxime.ripard@free-electrons.com>
Download mbox | patch
Permalink /patch/229002/
State New
Headers show

Comments

Maxime Ripard - March 19, 2013, 10:35 a.m.
We previously relied on the bootloader to do the muxing of the UART for
the Hackberry. Don't rely on it anymore and use pinctrl.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Emilio López <emilio@elopez.com.ar>
---
 arch/arm/boot/dts/sun4i-a10-hackberry.dts |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/arch/arm/boot/dts/sun4i-a10-hackberry.dts b/arch/arm/boot/dts/sun4i-a10-hackberry.dts
index 9ab6875..2046000 100644
--- a/arch/arm/boot/dts/sun4i-a10-hackberry.dts
+++ b/arch/arm/boot/dts/sun4i-a10-hackberry.dts
@@ -24,6 +24,8 @@ 
 
 	soc {
 		uart0: serial@01c28000 {
+			pinctrl-names = "default";
+			pinctrl-0 = <&uart0_pins_a>;
 			status = "okay";
 		};
 	};