diff mbox

ARM: dts: da850-lcdk: Add ethernet0 alias to DT

Message ID 20161124143545.12817-1-fparent@baylibre.com
State Accepted
Commit e177e7307c47f7276626b0c36e8b10e90e7321d2
Headers show

Commit Message

Fabien Parent Nov. 24, 2016, 2:35 p.m. UTC
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(+)

-- 
2.10.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Sekhar Nori Nov. 28, 2016, 5:26 a.m. UTC | #1
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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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 {