aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun5i-a10s.dtsi
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2013-11-16 13:17:29 -0500
committerMaxime Ripard <maxime.ripard@free-electrons.com>2013-11-22 15:19:07 -0500
commite751cce9b7b106b62c6d2c4f098c28c7feb10ef6 (patch)
tree464a3092b832e1270203fcb92238b756e730d492 /arch/arm/boot/dts/sun5i-a10s.dtsi
parentb5d905c79a3f26bfe2ba755135b4d41e5b364572 (diff)
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 @@
16/ { 16/ {
17 interrupt-parent = <&intc>; 17 interrupt-parent = <&intc>;
18 18
19 aliases {
20 ethernet0 = &emac;
21 };
22
19 cpus { 23 cpus {
20 cpu@0 { 24 cpu@0 {
21 compatible = "arm,cortex-a8"; 25 compatible = "arm,cortex-a8";