ramips: netgear_r6xxx: cleaning up nvmem-cells definitions
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Sun, 16 Jun 2024 07:19:26 +0000 (09:19 +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/mt7628an_netgear_r6020.dts
target/linux/ramips/dts/mt7628an_netgear_r6080.dts
target/linux/ramips/dts/mt7628an_netgear_r6120.dts
target/linux/ramips/dts/mt7628an_netgear_r6xxx.dtsi

index 6ae74743312c003853a6dfc32f4ae2da8c272066..e6c887453224ae19d4ce089ce6a68c968f2297fd 100644 (file)
@@ -60,3 +60,8 @@
 &ohci {
        status = "disabled";
 };
+
+&wifi5 {
+       nvmem-cells = <&eeprom_factory_8000>;
+       nvmem-cell-names = "eeprom";
+};
index 73cfc47a6cc8dfeb5792c9b8ea2fdc1e83aecde1..bc665c7dd491c5274d3f53055811db289c9a7ba0 100644 (file)
@@ -40,3 +40,8 @@
 &ohci {
        status = "disabled";
 };
+
+&wifi5 {
+       nvmem-cells = <&eeprom_factory_8000>;
+       nvmem-cell-names = "eeprom";
+};
index e3ee55873e969e659fa7e4f4d6773752c0c1d666..8a27f0d1efc16df5fc7cd1b5836e8d8a773b6440 100644 (file)
@@ -44,6 +44,6 @@
 };
 
 &wifi5 {
-       nvmem-cells = <&macaddr_factory_4 2>;
-       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_4 2>;
+       nvmem-cell-names = "eeprom", "mac-address";
 };
index 7e75950acbf8103069fc9afa221fad7df3c30cc5..41e5fb7e4b722ef3cd4aea7b768ec077bb245c58 100644 (file)
 &pcie0 {
        wifi5: wifi@0,0 {
                reg = <0x0000 0 0 0 0>;
-               nvmem-cells = <&eeprom_factory_8000>;
-               nvmem-cell-names = "eeprom";
                ieee80211-freq-limit = <5000000 6000000>;
        };
 };