From 76c9c2b113a8d372b4b4c1a5ccc941fb895dbdf5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= Date: Sat, 31 Dec 2022 13:41:53 +0100 Subject: [PATCH] rampis: fix Reference to non-existent node for GB-PC2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 [ rework commit message, add more fixes tag ] Signed-off-by: Christian Marangi --- target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts | 3 +-- 1 file changed, 1 insertion(+), 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 = <ðphy5>; - nvmem-cells = <&macaddr_factory_e000>; - nvmem-cell-names = "mac-address"; + mtd-mac-address = <&factory 0xe000>; }; &mdio { -- 2.30.2