All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: sun4i: dt: Move the aliases to the DTSI
@ 2013-12-20 21:53 Maxime Ripard
  2013-12-20 21:53 ` [PATCH 2/2] ARM: sun4i: dt: Remove chosen nodes Maxime Ripard
  2013-12-29 22:36 ` [PATCH 1/2] ARM: sun4i: dt: Move the aliases to the DTSI Maxime Ripard
  0 siblings, 2 replies; 4+ messages in thread
From: Maxime Ripard @ 2013-12-20 21:53 UTC (permalink / raw)
  To: linux-arm-kernel

The aliases are shared across boards are really belong to the DTSI.
Move them there.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/sun4i-a10-a1000.dts      | 4 ----
 arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 5 -----
 arch/arm/boot/dts/sun4i-a10.dtsi           | 2 ++
 3 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/arch/arm/boot/dts/sun4i-a10-a1000.dts b/arch/arm/boot/dts/sun4i-a10-a1000.dts
index eb4d73b..d4b081d 100644
--- a/arch/arm/boot/dts/sun4i-a10-a1000.dts
+++ b/arch/arm/boot/dts/sun4i-a10-a1000.dts
@@ -18,10 +18,6 @@
 	model = "Mele A1000";
 	compatible = "mele,a1000", "allwinner,sun4i-a10";
 
-	aliases {
-		serial0 = &uart0;
-	};
-
 	soc at 01c00000 {
 		emac: ethernet at 01c0b000 {
 			pinctrl-names = "default";
diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
index 425a7db..f1c77e0 100644
--- a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
+++ b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
@@ -17,11 +17,6 @@
 	model = "Cubietech Cubieboard";
 	compatible = "cubietech,a10-cubieboard", "allwinner,sun4i-a10";
 
-	aliases {
-		serial0 = &uart0;
-		serial1 = &uart1;
-	};
-
 	chosen {
 		bootargs = "earlyprintk console=ttyS0,115200";
 	};
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index 0bf70ee..c164d6c 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -17,6 +17,8 @@
 
 	aliases {
 		ethernet0 = &emac;
+		serial0 = &uart0;
+		serial1 = &uart1;
 	};
 
 	cpus {
-- 
1.8.4.2

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

end of thread, other threads:[~2013-12-29 22:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-20 21:53 [PATCH 1/2] ARM: sun4i: dt: Move the aliases to the DTSI Maxime Ripard
2013-12-20 21:53 ` [PATCH 2/2] ARM: sun4i: dt: Remove chosen nodes Maxime Ripard
2013-12-29 22:36   ` Maxime Ripard
2013-12-29 22:36 ` [PATCH 1/2] ARM: sun4i: dt: Move the aliases to the DTSI Maxime Ripard

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.