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 Lepore 2016-11-26 17:55:46 +00:00
parent dd83a7df85
commit 2e3bf68492
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309195
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 {