aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/patches-3.13/132-dt-sun7i-update-eth-aliases.patch
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2014-02-05 08:42:28 +0000
committerZoltan Herpai <wigyori@uid0.hu>2014-02-05 08:42:28 +0000
commitc957af0a0f6a2c45b9b3c84f45f4a3aa44d293c6 (patch)
treef8e3bda571dab7f80fdd240541ed8bd1d39b179e /target/linux/sunxi/patches-3.13/132-dt-sun7i-update-eth-aliases.patch
parent66543935db1d7eab23fc43b381e56dbd4424b499 (diff)
downloadupstream-c957af0a0f6a2c45b9b3c84f45f4a3aa44d293c6.tar.gz
upstream-c957af0a0f6a2c45b9b3c84f45f4a3aa44d293c6.tar.bz2
upstream-c957af0a0f6a2c45b9b3c84f45f4a3aa44d293c6.zip
sunxi: initial 3.13 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39471
Diffstat (limited to 'target/linux/sunxi/patches-3.13/132-dt-sun7i-update-eth-aliases.patch')
-rw-r--r--target/linux/sunxi/patches-3.13/132-dt-sun7i-update-eth-aliases.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-3.13/132-dt-sun7i-update-eth-aliases.patch b/target/linux/sunxi/patches-3.13/132-dt-sun7i-update-eth-aliases.patch
new file mode 100644
index 0000000000..b4f5009c2f
--- /dev/null
+++ b/target/linux/sunxi/patches-3.13/132-dt-sun7i-update-eth-aliases.patch
@@ -0,0 +1,30 @@
+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(-)
+
+diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
+index a0d6ef7..d718f65 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;
+ };
+
+ cpus {
+--
+1.8.5.1
+