[openwrt/openwrt] apm821xx: remove ethernet0 node
LEDE Commits
lede-commits at lists.infradead.org
Mon Oct 21 11:55:03 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/7754924c9ea828939f9528ba7afe8ed3c3c9f46e
commit 7754924c9ea828939f9528ba7afe8ed3c3c9f46e
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sat Oct 5 15:25:08 2024 -0700
apm821xx: remove ethernet0 node
This is needed in order to get a MAC address from UBI.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16580
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
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;
};
More information about the lede-commits
mailing list