sunxi: initial 3.13 support
[openwrt/openwrt.git] / target / linux / sunxi / patches-3.13 / 132-dt-sun7i-update-eth-aliases.patch
1 From dfd4430579f5e53324c00e9e21fb0929bb46542c Mon Sep 17 00:00:00 2001
2 From: Chen-Yu Tsai <wens@csie.org>
3 Date: Sat, 7 Dec 2013 01:29:43 +0800
4 Subject: [PATCH] ARM: dts: sun7i: Add ethernet alias for GMAC
5
6 U-Boot will insert MAC address into the device tree image.
7 It looks up ethernet[0-5] aliases to find the ethernet nodes.
8 Alias GMAC as ethernet0, as it is the only ethernet controller used.
9
10 Signed-off-by: Chen-Yu Tsai <wens@csie.org>
11 ---
12 arch/arm/boot/dts/sun7i-a20.dtsi | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
16 index a0d6ef7..d718f65 100644
17 --- a/arch/arm/boot/dts/sun7i-a20.dtsi
18 +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
19 @@ -17,7 +17,7 @@
20 interrupt-parent = <&gic>;
21
22 aliases {
23 - ethernet0 = &emac;
24 + ethernet0 = &gmac;
25 };
26
27 cpus {
28 --
29 1.8.5.1
30