sunxi: Add EMAC ethernet0 alias for H3 dtsi

The sunxi ethernet address generation code looks for ethernet[0-3]
aliases to find ethernet controllers to generate MAC addresses for.

Without a valid address, the driver fails to register.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
Chen-Yu Tsai 2016-07-22 18:16:08 +08:00 committed by Hans de Goede
parent 2a5adc5b3c
commit 6d7b22a5d8

View file

@ -48,6 +48,10 @@
/ {
interrupt-parent = <&gic>;
aliases {
ethernet0 = <&emac>;
};
cpus {
#address-cells = <1>;
#size-cells = <0>;