summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArınç ÜNAL <arinc.unal@arinc9.com>2022-12-31 13:41:53 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2022-12-31 13:56:59 +0100
commit76c9c2b113a8d372b4b4c1a5ccc941fb895dbdf5 (patch)
treef98ea9e128496cfa6cf030e50e15a3039c43894c
parent18f05da13dcb4283f61c5a03fbdc48411df6b0f7 (diff)
downloadopenwrt-76c9c2b113a8d372b4b4c1a5ccc941fb895dbdf5.tar.gz
rampis: fix Reference to non-existent node for GB-PC2
Fix cannot build: Reference to non-existent node or label "macaddr_factory_e000" dtb compilation error. The cherry-pick had to be reworked to use the old mtd-mac-address way as openwrt-21.02 still wasn't migrated to nvmem implementation. Fixes: d604032c2a50 ("ramips: fix GB-PC1 and GB-PC2 device support") Fixes: #11654 Fixes: #11385 Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> [ rework commit message, add more fixes tag ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts b/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts
index 8d0eaee1d4..e27c4e4d47 100644
--- a/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts
+++ b/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts
@@ -119,8 +119,7 @@
label = "ethyellow";
phy-handle = <&ethphy5>;
- nvmem-cells = <&macaddr_factory_e000>;
- nvmem-cell-names = "mac-address";
+ mtd-mac-address = <&factory 0xe000>;
};
&mdio {