From: Mieczyslaw Nalewaj Date: Fri, 23 Feb 2024 20:23:05 +0000 (+0100) Subject: ramips: fix nvmem-cells for routers based on TP-Link Archer X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6e37f41e9efca70e3fac1933ec7c706cfdfd1b9f;p=openwrt%2Fopenwrt.git ramips: fix nvmem-cells for routers based on TP-Link Archer Added missing nvmem-cells located in the loaded file mt7620a_tplink_archer.dtsi Signed-off-by: Mieczyslaw Nalewaj --- diff --git a/target/linux/ramips/dts/mt7620a_tplink_archer-c20-v1.dts b/target/linux/ramips/dts/mt7620a_tplink_archer-c20-v1.dts index 514ab0534a..726a86ae17 100644 --- a/target/linux/ramips/dts/mt7620a_tplink_archer-c20-v1.dts +++ b/target/linux/ramips/dts/mt7620a_tplink_archer-c20-v1.dts @@ -81,11 +81,11 @@ 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"; }; diff --git a/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts b/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts index 9ad16e0cb2..a977156e5f 100644 --- a/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts +++ b/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts @@ -60,11 +60,11 @@ }; &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"; }; diff --git a/target/linux/ramips/dts/mt7620a_tplink_archer-c50-v1.dts b/target/linux/ramips/dts/mt7620a_tplink_archer-c50-v1.dts index fe1324378e..cfb31b47fe 100644 --- a/target/linux/ramips/dts/mt7620a_tplink_archer-c50-v1.dts +++ b/target/linux/ramips/dts/mt7620a_tplink_archer-c50-v1.dts @@ -81,11 +81,11 @@ 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"; };