Parcourir la source

ramips: cudy_x6: cleaning up nvmem-cells definitions

Move nvmem-cells definitions to dts files to prevent overwriting

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
Mieczyslaw Nalewaj il y a 1 an
Parent
commit
c54ce12a74

+ 2 - 2
target/linux/ramips/dts/mt7621_cudy_x6-v1.dts

@@ -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";
 };

+ 2 - 2
target/linux/ramips/dts/mt7621_cudy_x6-v2.dts

@@ -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";
 };

+ 0 - 2
target/linux/ramips/dts/mt7621_cudy_x6.dtsi

@@ -104,8 +104,6 @@
 	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;
 	};
 };