diff options
author | Emilio López <emilio@elopez.com.ar> | 2013-11-16 15:17:29 -0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-11-22 21:19:07 +0100 |
commit | e751cce9b7b106b62c6d2c4f098c28c7feb10ef6 (patch) | |
tree | 464a3092b832e1270203fcb92238b756e730d492 /arch/arm/boot/dts/sun4i-a10.dtsi | |
parent | b5d905c79a3f26bfe2ba755135b4d41e5b364572 (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/sun4i-a10.dtsi')
-rw-r--r-- | arch/arm/boot/dts/sun4i-a10.dtsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index f11f292aa193..0bf70ee041ed 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm/boot/dts/sun4i-a10.dtsi @@ -15,6 +15,10 @@ / { interrupt-parent = <&intc>; + aliases { + ethernet0 = &emac; + }; + cpus { #address-cells = <1>; #size-cells = <0>; |