mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 22:14:41 +08:00
10b6c0c2e2
An alias name should have an index number even when it is the only of its type.
This allows U-Boot to add the local-mac-address property. Otherwise U-Boot
skips the alias.
Fixes: 6a93792774
("ARM: bcm2835: dt: Add the ethernet to the device trees")
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Eric Anholt <eric@anholt.net>
20 lines
236 B
Plaintext
20 lines
236 B
Plaintext
/ {
|
|
aliases {
|
|
ethernet0 = ðernet;
|
|
};
|
|
};
|
|
|
|
&usb {
|
|
usb1@1 {
|
|
compatible = "usb424,9514";
|
|
reg = <1>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
ethernet: usbether@1 {
|
|
compatible = "usb424,ec00";
|
|
reg = <1>;
|
|
};
|
|
};
|
|
};
|