[openwrt/openwrt] ramips: fix nvmem-cells for routers based on TP-Link Archer
LEDE Commits
lede-commits at lists.infradead.org
Thu Feb 29 12:25:56 PST 2024
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/6e37f41e9efca70e3fac1933ec7c706cfdfd1b9f
commit 6e37f41e9efca70e3fac1933ec7c706cfdfd1b9f
Author: Mieczyslaw Nalewaj <namiltd at yahoo.com>
AuthorDate: Fri Feb 23 21:23:05 2024 +0100
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 <namiltd at yahoo.com>
---
target/linux/ramips/dts/mt7620a_tplink_archer-c20-v1.dts | 8 ++++----
target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts | 8 ++++----
target/linux/ramips/dts/mt7620a_tplink_archer-c50-v1.dts | 8 ++++----
3 files changed, 12 insertions(+), 12 deletions(-)
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";
};
More information about the lede-commits
mailing list