ramips: fix nvmem-cells for routers based on TP-Link Archer
[openwrt/staging/mans0n.git] / target / linux / ramips / dts / mt7620a_tplink_archer-c20i.dts
index 86205464abce8c7a836d73b0d4535e055116c3b8..a977156e5fa8fc702dd6450a2042b6e72f0fb4db 100644 (file)
@@ -1,3 +1,5 @@
+#include <dt-bindings/leds/common.h>
+
 #include "mt7620a_tplink_archer.dtsi"
 
 / {
 };
 
 &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";
-#include <dt-bindings/leds/common.h>
-
+       nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100 (-1)>;
+       nvmem-cell-names = "eeprom", "mac-address";
 };