public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2] ARM: dts: rockchip: Setup ethernet0 alias for u-boot
@ 2015-11-06 10:46 Sjoerd Simons
  2015-11-07 22:44 ` Heiko Stuebner
  0 siblings, 1 reply; 2+ messages in thread
From: Sjoerd Simons @ 2015-11-06 10:46 UTC (permalink / raw)
  To: linux-arm-kernel

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@collabora.co.uk>

---

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

^ 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
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