rampis: fix Reference to non-existent node for GB-PC2
authorArınç ÜNAL <arinc.unal@arinc9.com>
Sat, 31 Dec 2022 12:41:53 +0000 (13:41 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Sat, 31 Dec 2022 12:56:59 +0000 (13:56 +0100)
commit76c9c2b113a8d372b4b4c1a5ccc941fb895dbdf5
treef98ea9e128496cfa6cf030e50e15a3039c43894c
parent18f05da13dcb4283f61c5a03fbdc48411df6b0f7
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>
target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts