* [PATCH v2] ARM: dts: rockchip: Setup ethernet0 alias for u-boot
@ 2015-11-06 10:46 Sjoerd Simons
[not found] ` <1446806797-20912-1-git-send-email-sjoerd.simons-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Sjoerd Simons @ 2015-11-06 10:46 UTC (permalink / raw)
To: Heiko Stuebner
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
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 <sjoerd.simons-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>
---
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(+)
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index b905cf6..f7d4c6f 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -52,6 +52,7 @@
interrupt-parent = <&gic>;
aliases {
+ ethernet0 = &gmac;
i2c0 = &i2c0;
i2c1 = &i2c1;
i2c2 = &i2c2;
--
2.6.2
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread[parent not found: <1446806797-20912-1-git-send-email-sjoerd.simons-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>]
* Re: [PATCH v2] ARM: dts: rockchip: Setup ethernet0 alias for u-boot [not found] ` <1446806797-20912-1-git-send-email-sjoerd.simons-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org> @ 2015-11-07 22:44 ` Heiko Stuebner 0 siblings, 0 replies; 2+ messages in thread From: Heiko Stuebner @ 2015-11-07 22:44 UTC (permalink / raw) To: Sjoerd Simons Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Am Freitag, 6. November 2015, 11:46:37 schrieb Sjoerd Simons: > 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 <sjoerd.simons-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org> 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 <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org> 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. Signed-off-by: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org> --- arch/arm/boot/dts/rk3xxx.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/rk3xxx.dtsi b/arch/arm/boot/dts/rk3xxx.dtsi index 4497d28..99eeea7 100644 --- a/arch/arm/boot/dts/rk3xxx.dtsi +++ b/arch/arm/boot/dts/rk3xxx.dtsi @@ -49,6 +49,7 @@ interrupt-parent = <&gic>; aliases { + ethernet0 = &emac; i2c0 = &i2c0; i2c1 = &i2c1; i2c2 = &i2c2; -- 2.6.2 ------------ 8< -------------- From: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org> 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 <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org> --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index cc093a4..1f10b85 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi @@ -53,6 +53,7 @@ #size-cells = <2>; aliases { + ethernet0 = &gmac; i2c0 = &i2c0; i2c1 = &i2c1; i2c2 = &i2c2; -- 2.6.2 ------------ 8< -------------- ^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-07 22:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-06 10:46 [PATCH v2] ARM: dts: rockchip: Setup ethernet0 alias for u-boot Sjoerd Simons
[not found] ` <1446806797-20912-1-git-send-email-sjoerd.simons-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>
2015-11-07 22:44 ` Heiko Stuebner
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox