26 lines
733 B
Diff
26 lines
733 B
Diff
|
From dfd4430579f5e53324c00e9e21fb0929bb46542c Mon Sep 17 00:00:00 2001
|
||
|
From: Chen-Yu Tsai <wens@csie.org>
|
||
|
Date: Sat, 7 Dec 2013 01:29:43 +0800
|
||
|
Subject: [PATCH] ARM: dts: sun7i: Add ethernet alias for GMAC
|
||
|
|
||
|
U-Boot will insert MAC address into the device tree image.
|
||
|
It looks up ethernet[0-5] aliases to find the ethernet nodes.
|
||
|
Alias GMAC as ethernet0, as it is the only ethernet controller used.
|
||
|
|
||
|
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
|
||
|
---
|
||
|
arch/arm/boot/dts/sun7i-a20.dtsi | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
--- 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;
|
||
|
};
|
||
|
|
||
|
cpus {
|