From: Chen-Yu Tsai Date: Fri, 22 Jul 2016 10:16:08 +0000 (+0800) Subject: sunxi: Add EMAC ethernet0 alias for H3 dtsi X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=6d7b22a5d83ca5ea507d9a644c368771463aa070;p=u-boot.git 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 Signed-off-by: Hans de Goede --- diff --git a/arch/arm/dts/sun8i-h3.dtsi b/arch/arm/dts/sun8i-h3.dtsi index 72c0920466..84e52b9cdb 100644 --- a/arch/arm/dts/sun8i-h3.dtsi +++ b/arch/arm/dts/sun8i-h3.dtsi @@ -48,6 +48,10 @@ / { interrupt-parent = <&gic>; + aliases { + ethernet0 = <&emac>; + }; + cpus { #address-cells = <1>; #size-cells = <0>;