ARM: dts: rockchip: Setup ethernet0 alias for u-boot
Subsystems (2)
PATCH v2 1/1 ARM: dts: rockchip: Setup ethernet0 alias for u-boot
Add an ethernet0 alias for the RK3288 mac interface so that u-boot can find the device-node and fill in the mac address on board that support a wired network interface.
---
Changes in v2:
- Move alias from a board specific dts to the general rk3288.dtsi
- Don't define an all-zero mac-address property, u-boot will always add the local-mac-address property which linux also uses.
arch/arm/boot/dts/rk3288.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/rk3288.dtsi +1 -0
@@ -52,6 +52,7 @@ interrupt-parent = <&gic>; aliases { + ethernet0 = &gmac; i2c0 = &i2c0; i2c1 = &i2c1; i2c2 = &i2c2;
Signature · 1 line
2.6.2
PATCH v2 1/1 ARM: dts: rockchip: Setup ethernet0 alias for u-boot
Am Freitag, 6. November 2015, 11:46:37 schrieb Sjoerd Simons:
Quoted 5 lines
Add an ethernet0 alias for the RK3288 mac interface so that u-boot can find the device-node and fill in the mac address on board that support a wired network interface.
Signed-off-by Sjoerd Simons <[email protected]>
applied to me dts32 branch for 4.5
while at it, I also added the alias for other supported Rockchip Socs the CortexA9 ones and the rk3368, like below:
------------ 8< --------------
From: Heiko Stuebner <[email protected]>
Date: Sat, 7 Nov 2015 22:37:26 +0100
Subject: [PATCH] ARM: dts: rockchip: Setup rk3066/rk3188 ethernet0 alias for
u-boot
Add an ethernet0 alias for the RK3066/RK3188 mac interface so that u-boot can find the device-node and fill in the mac address on boards that support a wired network interface.
--- arch/arm/boot/dts/rk3xxx.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/rk3xxx.dtsi +1 -0
@@ -49,6 +49,7 @@ interrupt-parent = <&gic>; aliases { + ethernet0 = &emac; i2c0 = &i2c0; i2c1 = &i2c1; i2c2 = &i2c2;
Signature · 15 lines
2.6.2 ------------ 8< -------------- From: Heiko Stuebner <[email protected]> Date: Sat, 7 Nov 2015 22:39:26 +0100 Subject: [PATCH] arm64: dts: rockchip: Setup rk3368 ethernet0 alias for u-boot Add an ethernet0 alias for the RK3368 mac interface so that u-boot can find the device-node and fill in the mac address on boards that support a wired network interface. Signed-off-by: Heiko Stuebner <[email protected]> --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/rockchip/rk3368.dtsi +1 -0
@@ -53,6 +53,7 @@ #size-cells = <2>; aliases { + ethernet0 = &gmac; i2c0 = &i2c0; i2c1 = &i2c1; i2c2 = &i2c2;
Signature · 3 lines
2.6.2 ------------ 8< --------------