]> Pileus Git - ~andy/linux/commitdiff
ARM: sun4i: dt: Move the aliases to the DTSI
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 17 Nov 2013 09:03:04 +0000 (10:03 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 29 Dec 2013 22:03:16 +0000 (23:03 +0100)
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
arch/arm/boot/dts/sun4i-a10-cubieboard.dts
arch/arm/boot/dts/sun4i-a10.dtsi

index eb4d73b6a0904fafa03308e16eb4ce1389a8340a..d4b081d6a16772cbac6835abd4bec6c21753c3c1 100644 (file)
        model = "Mele A1000";
        compatible = "mele,a1000", "allwinner,sun4i-a10";
 
-       aliases {
-               serial0 = &uart0;
-       };
-
        soc@01c00000 {
                emac: ethernet@01c0b000 {
                        pinctrl-names = "default";
index 425a7db898c553b043798d953451cb9b00a5d146..f1c77e0ff44c26fb48978724853e5d30073af036 100644 (file)
        model = "Cubietech Cubieboard";
        compatible = "cubietech,a10-cubieboard", "allwinner,sun4i-a10";
 
-       aliases {
-               serial0 = &uart0;
-               serial1 = &uart1;
-       };
-
        chosen {
                bootargs = "earlyprintk console=ttyS0,115200";
        };
index 3ba2b4675f0348ac28a82c295a01e4209d1b72b8..0adbbe347646b5da60f3f42fd86c046a5ae00f9f 100644 (file)
@@ -17,6 +17,8 @@
 
        aliases {
                ethernet0 = &emac;
+               serial0 = &uart0;
+               serial1 = &uart1;
        };
 
        cpus {