summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun7i-a20.dtsi
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2014-02-10 11:35:54 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-02-10 20:46:33 +0100
commit18428f7782920171fbcf0ccedcf6a146e7cc2e6f (patch)
tree88bd6f0e6707898093610a8b2a4b2abef6ec40e4 /arch/arm/boot/dts/sun7i-a20.dtsi
parentARM: dts: sun7i: a20-olinuxino-micro: Enable GMAC instead of EMAC (diff)
downloadlinux-18428f7782920171fbcf0ccedcf6a146e7cc2e6f.tar.xz
linux-18428f7782920171fbcf0ccedcf6a146e7cc2e6f.zip
ARM: dts: sun7i: Add ethernet alias for GMAC
All Allwinner A20 boards we support can only use either EMAC or GMAC, as they share the same pins. As we have switched all supported to GMAC, we should alias GMAC (the active controller) as ethernet0, so u-boot will insert the MAC address for the correct controller. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20.dtsi')
-rw-r--r--arch/arm/boot/dts/sun7i-a20.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 68c889c9fd38..1b5fb880435c 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -17,7 +17,7 @@
interrupt-parent = <&gic>;
aliases {
- ethernet0 = &emac;
+ ethernet0 = &gmac;
serial0 = &uart0;
serial1 = &uart1;
serial2 = &uart2;