From 7754924c9ea828939f9528ba7afe8ed3c3c9f46e Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 5 Oct 2024 15:25:08 -0700 Subject: [PATCH] apm821xx: remove ethernet0 node This is needed in order to get a MAC address from UBI. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/16580 Signed-off-by: Robert Marko --- target/linux/apm821xx/dts/meraki-mr24.dts | 1 + target/linux/apm821xx/dts/meraki-mx60.dts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/target/linux/apm821xx/dts/meraki-mr24.dts b/target/linux/apm821xx/dts/meraki-mr24.dts index ef4fc562d9..088372057a 100644 --- a/target/linux/apm821xx/dts/meraki-mr24.dts +++ b/target/linux/apm821xx/dts/meraki-mr24.dts @@ -17,6 +17,7 @@ compatible = "meraki,mr24", "meraki,ikarem", "apm,bluestone"; aliases { + /delete-property/ ethernet0; serial0 = &UART1; }; diff --git a/target/linux/apm821xx/dts/meraki-mx60.dts b/target/linux/apm821xx/dts/meraki-mx60.dts index 9f3ecf124b..0471bd609d 100644 --- a/target/linux/apm821xx/dts/meraki-mx60.dts +++ b/target/linux/apm821xx/dts/meraki-mx60.dts @@ -17,6 +17,9 @@ compatible = "meraki,mx60", "meraki,buckminster", "apm,bluestone"; aliases { + /* U-Boot env has a bad ethaddr MAC address that is sent to + * the kernel. The real MAC is in UBI */ + /delete-property/ ethernet0; serial0 = &UART1; }; -- 2.30.2