projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a5adc5
)
sunxi: Add EMAC ethernet0 alias for H3 dtsi
author
Chen-Yu Tsai
<wens@csie.org>
Fri, 22 Jul 2016 10:16:08 +0000
(18:16 +0800)
committer
Hans de Goede
<hdegoede@redhat.com>
Tue, 26 Jul 2016 19:56:02 +0000
(21:56 +0200)
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>
arch/arm/dts/sun8i-h3.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm/dts/sun8i-h3.dtsi
b/arch/arm/dts/sun8i-h3.dtsi
index 72c0920466a76273b01fca1533c3ed5b99f072a4..84e52b9cdb2976fea32b1c39df3c2524ab9ee939 100644
(file)
--- 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>;