Skip to contentSkip to conversation

ARM: sunxi: cubieboard: Add UART muxing

PATCH New Emilio López 2 participants 2 messages Mar 8, 2013 – Mar 29, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: sunxi: cubieboard: Add UART muxing

We previously relied on the bootloader to do the muxing of the UART for the Cubieboard. Don't rely on it anymore and use pinctrl.

Also remove uart1, as it is not enabled by default and it's not exposed on the board headers.

---

This is a followup patch to Maxime Ripard's "Extend UART support for Allwinner SoCs" series.

 arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
arch/arm/boot/dts/sun4i-a10-cubieboard.dts +2 -4
index 88e2dc1..dc760d0 100644
@@ -37,10 +37,8 @@
 		};
 
 		uart0: uart at 01c28000 {
-			status = "okay";
-		};
-
-		uart1: uart at 01c28400 {
+			pinctrl-names = "default";
+			pinctrl-0 = <&uart0_pins_a>;
 			status = "okay";
 		};
 	};
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 1/1 ARM: sunxi: cubieboard: Add UART muxing

Le 08/03/2013 12:18, Emilio L?pez a ?crit :

Quoted 5 lines

We previously relied on the bootloader to do the muxing of the UART for the Cubieboard. Don't rely on it anymore and use pinctrl.

Also remove uart1, as it is not enabled by default and it's not exposed on the board headers.

Applied, thanks.

Maxime

Signature · 3 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com