Commit e751cce9 authored by Emilio López's avatar Emilio López Committed by Maxime Ripard

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: default avatarEmilio López <emilio@elopez.com.ar>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent b5d905c7
......@@ -15,6 +15,10 @@
/ {
interrupt-parent = <&intc>;
aliases {
ethernet0 = &emac;
};
cpus {
#address-cells = <1>;
#size-cells = <0>;
......
......@@ -16,6 +16,10 @@
/ {
interrupt-parent = <&intc>;
aliases {
ethernet0 = &emac;
};
cpus {
cpu@0 {
compatible = "arm,cortex-a8";
......
......@@ -16,6 +16,10 @@
/ {
interrupt-parent = <&gic>;
aliases {
ethernet0 = &emac;
};
cpus {
#address-cells = <1>;
#size-cells = <0>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment