]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: sun7i: Add ethernet alias for GMAC
authorChen-Yu Tsai <wens@csie.org>
Mon, 10 Feb 2014 10:35:54 +0000 (18:35 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 10 Feb 2014 19:46:33 +0000 (20:46 +0100)
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>
arch/arm/boot/dts/sun7i-a20.dtsi

index 68c889c9fd385f6dc2598c5aa60ce242b950324a..1b5fb880435cfd36a12381530d34684d1f85ef35 100644 (file)
@@ -17,7 +17,7 @@
        interrupt-parent = <&gic>;
 
        aliases {
-               ethernet0 = &emac;
+               ethernet0 = &gmac;
                serial0 = &uart0;
                serial1 = &uart1;
                serial2 = &uart2;