summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev2024-10-05 22:25:08 +0000
committerRobert Marko2024-10-21 18:54:55 +0000
commit7754924c9ea828939f9528ba7afe8ed3c3c9f46e (patch)
tree6ff030dd8775fad2a0a66c4e22dd69d91707a9af
parent8b42827b4cf4a33f76447b9ebc132c841ac0ee2b (diff)
downloadopenwrt-7754924c9ea828939f9528ba7afe8ed3c3c9f46e.tar.gz
apm821xx: remove ethernet0 node
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>
-rw-r--r--target/linux/apm821xx/dts/meraki-mr24.dts1
-rw-r--r--target/linux/apm821xx/dts/meraki-mx60.dts3
2 files changed, 4 insertions, 0 deletions
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;
};