diff options
author | Baruch Siach <baruch@tkos.co.il> | 2017-01-30 20:44:39 +0200 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2017-03-27 10:10:39 -0700 |
commit | 10b6c0c2e2bb8cd1be682f8d36ef597e3419cb88 (patch) | |
tree | 8412caa2827dcd49e85890f368de0bafe53c7ea7 /arch/arm/boot | |
parent | e1be65a5e426460ab567076107311e83532904e9 (diff) | |
download | op-kernel-dev-10b6c0c2e2bb8cd1be682f8d36ef597e3419cb88.zip op-kernel-dev-10b6c0c2e2bb8cd1be682f8d36ef597e3419cb88.tar.gz |
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi b/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi index 12c981e..9a0599f 100644 --- a/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi +++ b/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi @@ -1,6 +1,6 @@ / { aliases { - ethernet = ðernet; + ethernet0 = ðernet; }; }; diff --git a/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi b/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi index 3f0a56e..dc7ae77 100644 --- a/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi +++ b/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi @@ -1,6 +1,6 @@ / { aliases { - ethernet = ðernet; + ethernet0 = ðernet; }; }; |