Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <baruch@tkos.co.il>
Acked-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Eric Anholt <eric@anholt.net>

authored by

Baruch Siach and committed by
Eric Anholt
10b6c0c2 e1be65a5

+2 -2
+1 -1
arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi
··· 1 1 / { 2 2 aliases { 3 - ethernet = &ethernet; 3 + ethernet0 = &ethernet; 4 4 }; 5 5 }; 6 6
+1 -1
arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
··· 1 1 / { 2 2 aliases { 3 - ethernet = &ethernet; 3 + ethernet0 = &ethernet; 4 4 }; 5 5 }; 6 6