linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: sunxi: cubieboard: Add UART muxing
@ 2013-03-08 11:18 Emilio López
  2013-03-29  8:27 ` Maxime Ripard
  0 siblings, 1 reply; 2+ messages in thread
From: Emilio López @ 2013-03-08 11:18 UTC (permalink / raw)
  To: linux-arm-kernel

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.

Signed-off-by: Emilio L?pez <emilio@elopez.com.ar>
---

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(-)

diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
index 88e2dc1..dc760d0 100644
--- a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
+++ b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
@@ -37,10 +37,8 @@
 		};
 
 		uart0: uart at 01c28000 {
-			status = "okay";
-		};
-
-		uart1: uart at 01c28400 {
+			pinctrl-names = "default";
+			pinctrl-0 = <&uart0_pins_a>;
 			status = "okay";
 		};
 	};
-- 
1.8.1.5

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

* [PATCH] ARM: sunxi: cubieboard: Add UART muxing
  2013-03-08 11:18 [PATCH] ARM: sunxi: cubieboard: Add UART muxing Emilio López
@ 2013-03-29  8:27 ` Maxime Ripard
  0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2013-03-29  8:27 UTC (permalink / raw)
  To: linux-arm-kernel

Le 08/03/2013 12:18, Emilio L?pez a ?crit :
> 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

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

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

end of thread, other threads:[~2013-03-29  8:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-08 11:18 [PATCH] ARM: sunxi: cubieboard: Add UART muxing Emilio López
2013-03-29  8:27 ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).