[PATCH 21.02] ramips: mt7621-dts: revert nvmem implementation to mtd-mac-address

Arınç ÜNAL arinc.unal at arinc9.com
Wed Nov 30 00:31:00 PST 2022


There's no nvmem implementation on 21.02. Revert to mtd-mac-address.

Fixes: d604032c2a50 ("ramips: fix GB-PC1 and GB-PC2 device support")
Signed-off-by: Arınç ÜNAL <arinc.unal at arinc9.com>
---
 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 = <&ethphy5>;
 
-	nvmem-cells = <&macaddr_factory_e000>;
-	nvmem-cell-names = "mac-address";
+	mtd-mac-address = <&factory 0xe000>;
 };
 
 &mdio {
-- 
2.34.1




More information about the openwrt-devel mailing list