Skip to content

Commit

Permalink
ARM: sun4i: dt: Move the aliases to the DTSI
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Maxime Ripard committed Dec 29, 2013
1 parent 2c6b473 commit 10b302a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
4 changes: 0 additions & 4 deletions arch/arm/boot/dts/sun4i-a10-a1000.dts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
model = "Mele A1000";
compatible = "mele,a1000", "allwinner,sun4i-a10";

aliases {
serial0 = &uart0;
};

soc@01c00000 {
emac: ethernet@01c0b000 {
pinctrl-names = "default";
Expand Down
5 changes: 0 additions & 5 deletions arch/arm/boot/dts/sun4i-a10-cubieboard.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/sun4i-a10.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

aliases {
ethernet0 = &emac;
serial0 = &uart0;
serial1 = &uart1;
};

cpus {
Expand Down

0 comments on commit 10b302a

Please sign in to comment.