summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun5i-a10s.dtsi
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2013-11-16 19:17:29 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2013-11-22 21:19:07 +0100
commite751cce9b7b106b62c6d2c4f098c28c7feb10ef6 (patch)
tree464a3092b832e1270203fcb92238b756e730d492 /arch/arm/boot/dts/sun5i-a10s.dtsi
parentARM: dts: sun4i/sun7i: add RTC node (diff)
downloadlinux-e751cce9b7b106b62c6d2c4f098c28c7feb10ef6.tar.xz
linux-e751cce9b7b106b62c6d2c4f098c28c7feb10ef6.zip
ARM: sunxi: dt: add EMAC aliases
U-Boot uses the ethernet0 alias to locate the right node to fill in the MAC address of the first ethernet interface. This patch adds the alias on all the sunxi SoCs with EMAC. In this way, people using ethernet in U-Boot (eg, for tftp) can keep a consistent address on both U-Boot and Linux with no additional effort. Signed-off-by: Emilio López <emilio@elopez.com.ar> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun5i-a10s.dtsi')
-rw-r--r--arch/arm/boot/dts/sun5i-a10s.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi
index 52476742a104..b4764be10a60 100644
--- a/arch/arm/boot/dts/sun5i-a10s.dtsi
+++ b/arch/arm/boot/dts/sun5i-a10s.dtsi
@@ -16,6 +16,10 @@
/ {
interrupt-parent = <&intc>;
+ aliases {
+ ethernet0 = &emac;
+ };
+
cpus {
cpu@0 {
compatible = "arm,cortex-a8";