ramips: fix nvmem-cells for routers based on TP-Link Archer
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Fri, 23 Feb 2024 20:23:05 +0000 (21:23 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 29 Feb 2024 20:24:56 +0000 (21:24 +0100)
Added missing nvmem-cells located in the loaded file mt7620a_tplink_archer.dtsi

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
target/linux/ramips/dts/mt7620a_tplink_archer-c20-v1.dts
target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts
target/linux/ramips/dts/mt7620a_tplink_archer-c50-v1.dts

index 514ab0534a17beb7f82eae1a4dab2e86ce772b0f..726a86ae1721288832d05ded497fc0ac4b324db9 100644 (file)
        pinctrl-0 = <&pa_pins>;
        pinctrl-1 = <&pa_gpio_pins>;
 
-       nvmem-cells = <&macaddr_rom_f100 (-2)>;
-       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&eeprom_radio_0>, <&macaddr_rom_f100 (-2)>;
+       nvmem-cell-names = "eeprom", "mac-address";
 };
 
 &wifi {
-       nvmem-cells = <&macaddr_rom_f100 (-1)>;
-       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100 (-1)>;
+       nvmem-cell-names = "eeprom", "mac-address";
 };
index 9ad16e0cb28f20166bbeb02d77ba574bd2dcc526..a977156e5fa8fc702dd6450a2042b6e72f0fb4db 100644 (file)
 };
 
 &wmac {
-       nvmem-cells = <&macaddr_rom_f100 0>;
-       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&eeprom_radio_0>, <&macaddr_rom_f100 0>;
+       nvmem-cell-names = "eeprom", "mac-address";
 };
 
 &wifi {
-       nvmem-cells = <&macaddr_rom_f100 (-1)>;
-       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100 (-1)>;
+       nvmem-cell-names = "eeprom", "mac-address";
 };
index fe1324378ef2b2a52bfa3bf8a35ef937c10b0158..cfb31b47fe0c9f7e96b2416e486ab62a8c83d169 100644 (file)
        pinctrl-0 = <&pa_pins>;
        pinctrl-1 = <&pa_gpio_pins>;
 
-       nvmem-cells = <&macaddr_rom_f100 (-2)>;
-       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&eeprom_radio_0>, <&macaddr_rom_f100 (-2)>;
+       nvmem-cell-names = "eeprom", "mac-address";
 };
 
 &wifi {
-       nvmem-cells = <&macaddr_rom_f100 (-1)>;
-       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100 (-1)>;
+       nvmem-cell-names = "eeprom", "mac-address";
 };