From: Rosen Penev Date: Sat, 5 Oct 2024 22:25:08 +0000 (-0700) Subject: apm821xx: remove ethernet0 node X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7754924c9ea828939f9528ba7afe8ed3c3c9f46e;p=openwrt%2Fstaging%2Fblocktrron.git 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 --- 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; };