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>
This commit is contained in:
Chen-Yu Tsai 2014-02-10 18:35:54 +08:00 committed by Maxime Ripard
parent 7164318297
commit 18428f7782

View File

@ -17,7 +17,7 @@
interrupt-parent = <&gic>;
aliases {
ethernet0 = &emac;
ethernet0 = &gmac;
serial0 = &uart0;
serial1 = &uart1;
serial2 = &uart2;