&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
led {
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
};
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
led {
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
wifi@0,0 {
compatible = "pci0,0";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&macaddr_factory_28>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_28>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <2>;
};
};
};
config: partition@ff0000 {
+ compatible = "nvmem-cells";
label = "config";
reg = <0xff0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_config_e05d: eeprom@e05d {
+ reg = <0xe05d 0x200>;
+ };
+
+ macaddr_config_e490: macaddr@e490 {
+ reg = <0xe490 0x6>;
+ };
};
};
};
&pcie0 {
mt76x0e@0,0 {
reg = <0x0000 0 0 0 0>;
- nvmem-cells = <&macaddr_config_e490>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_config_e05d>, <&macaddr_config_e490>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <(2)>;
- mediatek,mtd-eeprom = <&config 0xe05d>;
};
};
function = "gpio";
};
};
-
-&config {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_config_e490: macaddr@e490 {
- reg = <0xe490 0x6>;
- };
-};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
-
- nvmem-cells = <&macaddr_factory_8004>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_8004>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <(-3)>;
led {
};
config: partition@ff0000 {
+ compatible = "nvmem-cells";
label = "config";
reg = <0xff0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_config_e083: eeprom@e083 {
+ reg = <0xe083 0x200>;
+ };
+
+ macaddr_config_e496: macaddr@e496 {
+ reg = <0xe496 0x6>;
+ };
};
};
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- nvmem-cells = <&macaddr_config_e496>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_config_e083>, <&macaddr_config_e496>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <(2)>;
- mediatek,mtd-eeprom = <&config 0xe083>;
led {
led-sources = <0>;
mediatek,port4-gmac;
mediatek,ephy-base = /bits/ 8 <8>;
};
-
-&config {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_config_e496: macaddr@e496 {
- reg = <0xe496 0x6>;
- };
-};
};
&wifi {
- mediatek,mtd-eeprom = <&config 0xe08e>;
+ nvmem-cells = <&eeprom_config_e08e>, <&macaddr_config_e50e>;
+ nvmem-cell-names = "eeprom", "mac-address";
+ mac-address-increment = <2>;
};
};
&wifi {
- mediatek,mtd-eeprom = <&config 0xe29e>;
+ nvmem-cells = <&eeprom_config_e29e>, <&macaddr_config_e50e>;
+ nvmem-cell-names = "eeprom", "mac-address";
+ mac-address-increment = <2>;
};
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&macaddr_config_e50e>;
- nvmem-cell-names = "mac-address";
- mac-address-increment = <(2)>;
};
};
config: partition@ff0000 {
compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
label = "config";
reg = <0xff0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+ eeprom_config_e08e: eeprom@e08e {
+ reg = <0xe08e 0x200>;
+ };
+
+ eeprom_config_e29e: eeprom@e29e {
+ reg = <0xe29e 0x200>;
+ };
+
macaddr_config_e50e: macaddr@e50e {
reg = <0xe50e 0x6>;
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
led {
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
};
partition@50000 {
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
mediatek,2ghz = <0>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
mediatek,2ghz = <0>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&macaddr_factory_4>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_4>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <2>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
wifi@0,0 {
compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4000: macaddr@4000 {
reg = <0x4000 0x6>;
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
wifi@0,0 {
compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_10007: macaddr@10007 {
reg = <0x10007 0x6>;
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
iNIC_rf: partition@48000 {
+ compatible = "nvmem-cells";
label = "iNIC_rf";
reg = <0x48000 0x8000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_iNIC_rf_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
};
partition@50000 {
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&iNIC_rf 0x0>;
+ nvmem-cells = <&eeprom_iNIC_rf_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
iNIC_rf: partition@48000 {
+ compatible = "nvmem-cells";
label = "iNIC_rf";
reg = <0x48000 0x8000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_iNIC_rf_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
};
partition@50000 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&iNIC_rf 0x0>;
+ nvmem-cells = <&eeprom_iNIC_rf_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x1f400 0x200>;
};
+ eeprom_uboot_1f800: eeprom@1f800 {
+ reg = <0x1f800 0x200>;
+ };
+
macaddr_uboot_1fc20: macaddr@1fc20 {
reg = <0x1fc20 0x6>;
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&uboot 0x1f800>;
+ nvmem-cells = <&eeprom_uboot_1f800>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
led {
};
config: partition@ff0000 {
+ compatible = "nvmem-cells";
label = "config";
reg = <0xff0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_config_e08a: eeprom@e08a {
+ reg = <0xe08a 0x200>;
+ };
+
+ macaddr_config_e07e: macaddr@e07e {
+ reg = <0xe07e 0x6>;
+ };
};
};
};
&pcie0 {
mt76x0e@0,0 {
reg = <0x0000 0 0 0 0>;
- nvmem-cells = <&macaddr_config_e07e>;
- nvmem-cell-names = "mac-address";
- mac-address-increment = <(2)>;
- mediatek,mtd-eeprom = <&config 0xe08a>;
+ nvmem-cells = <&eeprom_config_e08a>, <&macaddr_config_e07e>;
+ nvmem-cell-names = "eeprom", "mac-address";
+ mac-address-increment = <2>;
};
};
function = "gpio";
};
};
-
-&config {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_config_e07e: macaddr@e07e {
- reg = <0xe07e 0x6>;
- };
-};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
led {
led-sources = <2>;
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
};
};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
};
partition@50000 {
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
eeprom_radio_0: eeprom@0 {
reg = <0x0 0x200>;
};
+
+ eeprom_radio_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
};
};
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&radio 0x8000>;
- nvmem-cells = <&macaddr_rom_f100>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <(-1)>;
};
};
eeprom_radio_0: eeprom@0 {
reg = <0x0 0x200>;
};
+
+ eeprom_radio_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
};
};
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&radio 0x8000>;
+ nvmem-cells = <&eeprom_radio_8000>;
+ nvmem-cell-names = "eeprom";
};
};
eeprom_radio_0: eeprom@0 {
reg = <0x0 0x200>;
};
+
+ eeprom_radio_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
};
};
};
&pcie0 {
wifi: mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&radio 0x8000>;
+ nvmem-cells = <&eeprom_radio_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
eeprom_radio_0: eeprom@0 {
reg = <0x0 0x200>;
};
+
+ eeprom_radio_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
};
};
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&radio 0x8000>;
- nvmem-cells = <&macaddr_uboot_1fc00>;
- nvmem-cell-names = "mac-address";
- mac-address-increment = <2>;
ieee80211-freq-limit = <5000000 6000000>;
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "eeprom", "mac-address";
+ mac-address-increment = <2>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
&pcie0 {
wifi0: wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
led {
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
led {
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
wifi@0,0 {
compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x200>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
model = "ASUS RT-AC1200 V2";
};
+&eeprom_factory_8000 {
+ /* V2 has different eeprom size '0x4da8' for MT7613 */
+ reg = <0x8000 0x4da8>;
+};
+
&state_default {
spis {
groups = "spis";
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
mt76@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
led {
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x400>;
};
+
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
};
partition@50000 {
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_8004: macaddr@8004 {
reg = <0x8004 0x6>;
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&macaddr_factory_8004>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_8004>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <2>;
};
};
compatible = "comfast,cf-wr758ac-v2", "mediatek,mt7628an-soc";
model = "COMFAST CF-WR758AC V2";
};
+
+&eeprom_factory_8000 {
+ /* V2 has different eeprom size '0x4da8' for MT7613 */
+ reg = <0x8000 0x4da8>;
+};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_e000: macaddr@e000 {
reg = <0xe000 0x6>;
};
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
led {
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
- nvmem-cells = <&macaddr_factory_2e>;
- nvmem-cell-names = "mac-address";
ieee80211-freq-limit = <5000000 6000000>;
+ nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_2e>;
+ nvmem-cell-names = "eeprom", "mac-address";
led {
led-sources = <2>;
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x400>;
};
+
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
};
partition@40000 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x400>;
};
+ eeprom_factory_400: eeprom@400 {
+ reg = <0x400 0x4da8>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0400>;
+ nvmem-cells = <&eeprom_factory_400>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
wifi5: wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&macaddr_factory_28>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_28>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <3>;
};
};
};
art: partition@1e000 {
+ compatible = "nvmem-cells";
label = "art";
reg = <0x1e000 0x2000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_art_1000: eeprom@1000 {
+ reg = <0x1000 0x200>;
+ };
};
partition@20000 {
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&art 0x1000>;
+ nvmem-cells = <&eeprom_art_1000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
&pcie0 {
wifi5: wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5470000 6000000>;
};
};
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
eeprom_radio_0: eeprom@0 {
reg = <0x0 0x400>;
};
+
+ eeprom_radio_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
};
};
};
eeprom_factory_20000: eeprom@20000 {
reg = <0x20000 0x400>;
};
+
+ eeprom_factory_28000: eeprom@28000 {
+ reg = <0x28000 0x200>;
+ };
};
};
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x28000>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&macaddr_factory_f100>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <(-1)>;
};
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&radio 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&macaddr_rom_f100>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <(-1)>;
};
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x28000>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&macaddr_factory_f100>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <(-1)>;
};
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&radio 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&macaddr_rom_f100>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <(-1)>;
};
};
eeprom_radio_0: eeprom@0 {
reg = <0x0 0x400>;
};
+
+ eeprom_radio_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
};
};
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&radio 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&macaddr_config_2008>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_2008>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <2>;
};
};
eeprom_radio_0: eeprom@0 {
reg = <0x0 0x400>;
};
+
+ eeprom_radio_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
};
};
};
};
&wlan5g {
- mediatek,mtd-eeprom = <&radio 0x8000>;
-
- nvmem-cells = <&macaddr_config_10008>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_10008>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <2>;
};
eeprom_radio_0: eeprom@0 {
reg = <0x0 0x400>;
};
+
+ eeprom_radio_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
};
};
};
};
&wlan5g {
- mediatek,mtd-eeprom = <&radio 0x8000>;
-
- nvmem-cells = <&macaddr_config_2008>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_2008>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <(-2)>;
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x28000>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&macaddr_factory_f100>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <(-1)>;
};
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_2e: macaddr@2e {
reg = <0x2e 0x6>;
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0 0x400>;
};
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
+
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
mt76@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x8000>;
+ nvmem-cells = <&eeprom_factory_8000>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <5000000 6000000>;
};
};