mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: da850-lcdk: Add ethernet0 alias to DT
@ 2016-11-24 14:35 Fabien Parent
  2016-11-28  5:26 ` Sekhar Nori
  0 siblings, 1 reply; 2+ messages in thread
From: Fabien Parent @ 2016-11-24 14:35 UTC (permalink / raw)
  To: devicetree, linux-arm-kernel, linux-kernel
  Cc: khilman, nsekhar, robh+dt, mark.rutland, Fabien Parent

In order to avoid Linux generating a random mac address on every boot,
add an ethernet0 alias that will allow u-boot to patch the dtb with
the MAC address programmed into the EEPROM.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
---
 arch/arm/boot/dts/da850-lcdk.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts
index 7b8ab21..18dfec93 100644
--- a/arch/arm/boot/dts/da850-lcdk.dts
+++ b/arch/arm/boot/dts/da850-lcdk.dts
@@ -13,6 +13,7 @@
 
 	aliases {
 		serial2 = &serial2;
+		ethernet0 = &eth0;
 	};
 
 	chosen {
-- 
2.10.2

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: da850-lcdk: Add ethernet0 alias to DT
  2016-11-24 14:35 [PATCH] ARM: dts: da850-lcdk: Add ethernet0 alias to DT Fabien Parent
@ 2016-11-28  5:26 ` Sekhar Nori
  0 siblings, 0 replies; 2+ messages in thread
From: Sekhar Nori @ 2016-11-28  5:26 UTC (permalink / raw)
  To: Fabien Parent, devicetree, linux-arm-kernel, linux-kernel
  Cc: khilman, robh+dt, mark.rutland

On Thursday 24 November 2016 08:05 PM, Fabien Parent wrote:
> In order to avoid Linux generating a random mac address on every boot,
> add an ethernet0 alias that will allow u-boot to patch the dtb with
> the MAC address programmed into the EEPROM.
> 
> Signed-off-by: Fabien Parent <fparent@baylibre.com>

Applied to v4.10/dt. Thanks!

Regards,
Sekhar

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-28  5:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-24 14:35 [PATCH] ARM: dts: da850-lcdk: Add ethernet0 alias to DT Fabien Parent
2016-11-28  5:26 ` Sekhar Nori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®