apm821xx: remove ethernet0 node
authorRosen Penev <rosenp@gmail.com>
Sat, 5 Oct 2024 22:25:08 +0000 (15:25 -0700)
committerRobert Marko <robimarko@gmail.com>
Mon, 21 Oct 2024 18:54:55 +0000 (20:54 +0200)
This is needed in order to get a MAC address from UBI.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16580
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/apm821xx/dts/meraki-mr24.dts
target/linux/apm821xx/dts/meraki-mx60.dts

index ef4fc562d989145d9f1035d1ccc11695679d4563..088372057af97af92e001e97649d0ae4bf54a7db 100644 (file)
@@ -17,6 +17,7 @@
        compatible = "meraki,mr24", "meraki,ikarem", "apm,bluestone";
 
        aliases {
+               /delete-property/ ethernet0;
                serial0 = &UART1;
        };
 
index 9f3ecf124bc5d7c6a6ac2745beda045444d90954..0471bd609dde8e2f6dec0ee0b308590fef31a780 100644 (file)
@@ -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;
        };