ramips: cudy_x6: cleaning up nvmem-cells definitions
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Sun, 16 Jun 2024 07:11:25 +0000 (09:11 +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_cudy_x6-v1.dts
target/linux/ramips/dts/mt7621_cudy_x6-v2.dts
target/linux/ramips/dts/mt7621_cudy_x6.dtsi

index 940a0598c10f1e8551970909dd4decabed76e945..fa89fd1efdc669b72061a36600fce78f90bd7ead 100644 (file)
@@ -56,6 +56,6 @@
 };
 
 &wifi {
-       nvmem-cells = <&macaddr_bdinfo_de00 0>;
-       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&eeprom_factory_0>, <&macaddr_bdinfo_de00 0>;
+       nvmem-cell-names = "eeprom", "mac-address";
 };
index 70e6a845a4bbda65c8cc855dc1d6165eb587cf64..fe8dada5c32392c9caa9c4ff52da712e3bd2c392 100644 (file)
@@ -56,6 +56,6 @@
 };
 
 &wifi {
-       nvmem-cells = <&macaddr_bdinfo_de00 0>;
-       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&eeprom_factory_0>, <&macaddr_bdinfo_de00 0>;
+       nvmem-cell-names = "eeprom", "mac-address";
 };
index 0542640f13f81cdf14a7599c5fda1c7fd1d6f13b..5da11e89456f67fda502a020853c9df8d6025a2e 100644 (file)
        wifi:wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
-               nvmem-cells = <&eeprom_factory_0>;
-               nvmem-cell-names = "eeprom";
                mediatek,disable-radar-background;
        };
 };