ARM: dts: bcm2835: add index to the ethernet alias

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 <[email protected]>
Acked-by: Lubomir Rintel <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
This commit is contained in:
Baruch Siach authored and Eric Anholt committed 2017-03-27 10:10:39 -07:00
1 parent e1be65a5e4
commit 10b6c0c2e2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
/ {
aliases {
ethernet = &ethernet;
ethernet0 = &ethernet;
};
};
+1 -1
View File
@@ -1,6 +1,6 @@
/ {
aliases {
ethernet = &ethernet;
ethernet0 = &ethernet;
};
};