Add an ethernet0 alias pointing to the /aix/usb/hub/ethernet node. This

is required for u-boot to locate the ethernet node when it's doing fixup
of the mac-address property when the user has overridden the default addr.
This commit is contained in:
ian 2016-11-26 17:55:46 +00:00
parent 7fc09585c4
commit 20c0c7da7b
2 changed files with 4 additions and 2 deletions

View File

@ -298,7 +298,7 @@
reg = <0x00000001>;
#address-cells = <1>;
#size-cells = <0>;
ethernet {
ethernet: ethernet {
compatible = "net,ethernet",
"usb,device";
reg = <0x00000001>;
@ -386,6 +386,7 @@
aliases {
uart0 = &uart0;
ethernet0 = &ethernet;
};
chosen {

View File

@ -315,7 +315,7 @@
reg = <0x00000001>;
#address-cells = <1>;
#size-cells = <0>;
ethernet {
ethernet: ethernet {
compatible = "net,ethernet",
"usb,device";
reg = <0x00000001>;
@ -397,6 +397,7 @@
aliases {
uart0 = &uart0;
ethernet0 = &ethernet;
};
chosen {