ramips: elecom_wrc-gs-1pci: cleaning up nvmem-cells definitions
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Sun, 16 Jun 2024 07:16:35 +0000 (09:16 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 16 Jun 2024 19:24:11 +0000 (21:24 +0200)
Move nvmem-cells definitions to dts files to prevent overwriting

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
target/linux/ramips/dts/mt7621_elecom_wmc-m1267gst2.dts
target/linux/ramips/dts/mt7621_elecom_wmc-s1267gs2.dts
target/linux/ramips/dts/mt7621_elecom_wrc-1167gs2-b.dts
target/linux/ramips/dts/mt7621_elecom_wrc-1167gst2.dts
target/linux/ramips/dts/mt7621_elecom_wrc-gs-1pci.dtsi

index 42517529afcbf787bfeb64fdd8443d12ba520ffe..b75c6fcde1a6f9dc4187ccb715d2cb0b08346ad8 100644 (file)
@@ -50,8 +50,8 @@
 };
 
 &wifi {
-       nvmem-cells = <&macaddr_factory_4 (-1)>;
-       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4 (-1)>;
+       nvmem-cell-names = "eeprom", "mac-address";
 };
 
 &factory {
index 942fa1cb46fb2ec3ca1a95046746b89e713738d6..e4ad8bf975ebe22dc1e49749b36441cd699d071f 100644 (file)
@@ -59,8 +59,8 @@
 };
 
 &wifi {
-       nvmem-cells = <&macaddr_factory_4 (-1)>;
-       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4 (-1)>;
+       nvmem-cell-names = "eeprom", "mac-address";
 };
 
 &factory {
index 9ed7acac9429b7ccdf46429aa4ac00e335aed368..6af993832afb17c8fbbb41fce59745af5deb426a 100644 (file)
@@ -50,8 +50,8 @@
 };
 
 &wifi {
-       nvmem-cells = <&macaddr_factory_4 (-1)>;
-       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4 (-1)>;
+       nvmem-cell-names = "eeprom", "mac-address";
 };
 
 &factory {
index d94d36e9a60bfae112ca14d6aaf5e5dcb9199087..9ed2de2ed934b3b1a6cc82d78b110237408e879b 100644 (file)
@@ -50,8 +50,8 @@
 };
 
 &wifi {
-       nvmem-cells = <&macaddr_factory_e006 1>;
-       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_e006 1>;
+       nvmem-cell-names = "eeprom", "mac-address";
 };
 
 &factory {
index 8901680bf5b8993414e20b0ea280ce9974e0eb48..42c85e79212538259b3550942332cd0b4a69b065 100644 (file)
@@ -25,7 +25,5 @@
        wifi: wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
-               nvmem-cells = <&eeprom_factory_0>;
-               nvmem-cell-names = "eeprom";
        };
 };