浏览代码

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>
Baruch Siach 8 年之前
父节点
当前提交
10b6c0c2e2
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi
  2. 1 1
      arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi

+ 1 - 1
arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi

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

+ 1 - 1
arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi

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