diff options
author | Chen-Yu Tsai <wens@csie.org> | 2016-07-22 10:16:08 (GMT) |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2016-07-26 19:56:02 (GMT) |
commit | 6d7b22a5d83ca5ea507d9a644c368771463aa070 (patch) | |
tree | b73909781754bca1a1d78f002af60fe6e75897c1 | |
parent | 2a5adc5b3c1f532dc9ec6638e6696316c078b619 (diff) | |
download | u-boot-6d7b22a5d83ca5ea507d9a644c368771463aa070.tar.xz |
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>
-rw-r--r-- | arch/arm/dts/sun8i-h3.dtsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/dts/sun8i-h3.dtsi b/arch/arm/dts/sun8i-h3.dtsi index 72c0920..84e52b9 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>; |