};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
};
partition@50000 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
led {
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- read-only;
-
- compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
+ read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
partition@50000 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
led {
led-active-low;
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
+
+ macaddr_factory_8004: macaddr@8004 {
+ reg = <0x8004 0x6>;
+ };
};
partition@50000 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
- };
-
- macaddr_factory_8004: macaddr@8004 {
- reg = <0x8004 0x6>;
- };
-};
};
factory: partition@200000 {
+ compatible = "nvmem-cells";
label = "Factory";
reg = <0x200000 0x100000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
sercomm,scpart-id = <2>;
read-only;
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
macaddr_factory_21000: macaddr@21000 {
reg = <0x21000 0x6>;
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0>;
ieee80211-freq-limit = <2400000 2500000>;
- nvmem-cells = <&macaddr_factory_21000>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_21000>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <(4)>;
};
};
};
factory: partition@200000 {
+ compatible = "nvmem-cells";
label = "Factory";
reg = <0x200000 0x100000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
sercomm,scpart-id = <2>;
read-only;
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
macaddr_factory_21000: macaddr@21000 {
reg = <0x21000 0x6>;
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0>;
ieee80211-freq-limit = <2400000 2500000>;
- nvmem-cells = <&macaddr_factory_21000>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_21000>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <(4)>;
};
};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_28: macaddr@28 {
+ reg = <0x28 0x6>;
+ };
};
partition@50000 {
wifi@0,0 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_28: macaddr@28 {
- reg = <0x28 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
};
partition@50000 {
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ 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_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
partition@50000 {
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
&xhci {
status = "disabled";
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
- };
-};
compatible = "nvmem-cells";
reg = <0x40000 0x10000>;
read-only;
+
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
macaddr_factory_e000: macaddr@e000 {
compatible = "mac-base";
reg = <0xe000 0x6>;
wifi_2_4_ghz: wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
// Wi-Fi device reads it's MAC address from EEPROM (&factory + 4)
// adding anything related to mac-address here will cause use random MAC
};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
};
partition@50000 {
};
bdinfo: partition@ff0000 {
+ compatible = "nvmem-cells";
label = "bdinfo";
reg = <0xff0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ macaddr_bdinfo_de00: macaddr@de00 {
+ reg = <0xde00 0x6>;
+ };
};
};
};
wifi@0,0 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
- nvmem-cells = <&macaddr_bdinfo_de00>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_0>, <&macaddr_bdinfo_de00>;
+ nvmem-cell-names = "eeprom", "mac-address";
ieee80211-freq-limit = <2400000 2500000>;
led {
function = "gpio";
};
};
-
-&bdinfo {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_bdinfo_de00: macaddr@de00 {
- reg = <0xde00 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
};
partition@50000 {
};
bdinfo: partition@ff0000 {
+ compatible = "nvmem-cells";
label = "bdinfo";
reg = <0xff0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ macaddr_bdinfo_de00: macaddr@de00 {
+ reg = <0xde00 0x6>;
+ };
};
};
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
- nvmem-cells = <&macaddr_bdinfo_de00>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_0>, <&macaddr_bdinfo_de00>;
+ nvmem-cell-names = "eeprom", "mac-address";
};
};
function = "gpio";
};
};
-
-&bdinfo {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_bdinfo_de00: macaddr@de00 {
- reg = <0xde00 0x6>;
- };
-};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
};
partition@50000 {
};
bdinfo: partition@ff0000 {
+ compatible = "nvmem-cells";
label = "bdinfo";
reg = <0xff0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ macaddr_bdinfo_de00: macaddr@de00 {
+ reg = <0xde00 0x6>;
+ };
};
};
};
};
};
};
-
-&bdinfo {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_bdinfo_de00: macaddr@de00 {
- reg = <0xde00 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
partition@50000 {
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
partition@50000 {
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
};
factory: partition@200000 {
+ compatible = "nvmem-cells";
label = "Factory";
reg = <0x200000 0x100000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
sercomm,scpart-id = <2>;
read-only;
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
macaddr_factory_21000: macaddr@21000 {
reg = <0x21000 0x6>;
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0>;
ieee80211-freq-limit = <2400000 2500000>;
- nvmem-cells = <&macaddr_factory_21000>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_21000>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <(2)>;
};
};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
};
partition@50000 {
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-};
};
factory: partition@100000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x100000 0x40000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
};
partition@140000 {
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- read-only;
-
- compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
+ read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
macaddr_factory_e000: macaddr@e000 {
reg = <0xe000 0x6>;
wifi@0,0 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
iNIC_rf: partition@50000 {
+ compatible = "nvmem-cells";
label = "iNIC_rf";
reg = <0x50000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_iNIC_rf_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_iNIC_rf_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
partition@60000 {
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&iNIC_rf 0x0>;
+ nvmem-cells = <&eeprom_iNIC_rf_0>;
+ nvmem-cell-names = "eeprom";
};
};
&xhci {
status = "disabled";
};
-
-&iNIC_rf {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_iNIC_rf_4: macaddr@4 {
- reg = <0x4 0x6>;
- };
-};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
- };
-};
};
factory: partition@200000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x200000 0x200000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_1e000: macaddr@1e000 {
+ reg = <0x1e000 0x6>;
+ };
+
+ macaddr_factory_1e006: macaddr@1e006 {
+ reg = <0x1e006 0x6>;
+ };
};
partition@400000 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
-
- mediatek,mtd-eeprom = <&factory 0x0>;
ieee80211-freq-limit = <2400000 2500000>;
+
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
&xhci {
status = "disabled";
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_1e000: macaddr@1e000 {
- reg = <0x1e000 0x6>;
- };
-
- macaddr_factory_1e006: macaddr@1e006 {
- reg = <0x1e006 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
partition@50000 {
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
&xhci {
status = "disabled";
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "rf-eeprom";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
+
+ macaddr_factory_28: macaddr@28 {
+ reg = <0x28 0x6>;
+ };
};
firmware1: partition@50000 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
};
};
ieee80211-freq-limit = <5000000 6000000>;
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
- };
-
- macaddr_factory_28: macaddr@28 {
- reg = <0x28 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
partition@50000 {
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
};
factory: partition@c0000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0xc0000 0x40000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
};
partition@100000 {
mt76@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ 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_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_2e: macaddr@2e {
+ reg = <0x2e 0x6>;
+ };
};
partition@50000 {
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_2e: macaddr@2e {
- reg = <0x2e 0x6>;
- };
-};
};
factory: partition@2e00000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x2e00000 0x100000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
partition@4200000 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
};
};
&xhci {
status = "disabled";
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};
partition@50000 {
wifi0: wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
- nvmem-cells = <&macaddr_factory_4>;
- nvmem-cell-names = "mac-address";
};
};
&xhci {
status = "disabled";
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
partition@50000 {
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
};
factory: partition@200000 {
+ compatible = "nvmem-cells";
label = "Factory";
reg = <0x200000 0x100000>;
sercomm,scpart-id = <2>;
- read-only;
-
- compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
+ read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
macaddr_factory_21000: macaddr@21000 {
reg = <0x21000 0x6>;
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
factory: partition@100000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x100000 0x40000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
};
partition@140000 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
- nvmem-cells = <&macaddr_factory_e000>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_e000>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <2>;
ieee80211-freq-limit = <2400000 2500000>;
};
&uartlite3 {
status = "okay";
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-};
};
factory: partition@100000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x100000 0x40000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
};
partition@140000 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
- nvmem-cells = <&macaddr_factory_e000>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_e000>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <2>;
ieee80211-freq-limit = <2400000 2500000>;
};
&uartlite2 {
status = "okay";
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "Factory";
reg = <0x40000 0x10000>;
- read-only;
-
- compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
+ read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
macaddr_factory_e000: macaddr@e000 {
reg = <0xe000 0x6>;
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
partition@50000 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
};
};
ieee80211-freq-limit = <5000000 6000000>;
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
firmware: partition@50000 {
wifi@0,0 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- read-only;
-
- compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
+ read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
macaddr_factory_e000: macaddr@e000 {
reg = <0xe000 0x6>;
wifi1: mt76@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
config: partition@fa0000 {
+ compatible = "nvmem-cells";
label = "config";
reg = <0xfa0000 0x010000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ macaddr_config_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
};
partition@fb0000 {
};
radio: partition@ff0000 {
+ compatible = "nvmem-cells";
label = "radio";
reg = <0xff0000 0x010000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_radio_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
};
};
};
mt76@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&radio 0x0>;
- nvmem-cells = <&macaddr_config_8>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_8>;
+ nvmem-cell-names = "eeprom", "mac-address";
ieee80211-freq-limit = <2400000 2500000>;
};
};
&xhci {
vbus-supply = <®_usb_vbus>;
};
-
-&config {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_config_8: macaddr@8 {
- reg = <0x8 0x6>;
- };
-};
};
config: partition@fa0000 {
+ compatible = "nvmem-cells";
label = "config";
reg = <0xfa0000 0x50000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ macaddr_config_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
};
radio: partition@ff0000 {
+ compatible = "nvmem-cells";
label = "radio";
reg = <0xff0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_radio_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
};
};
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&radio 0x0>;
- nvmem-cells = <&macaddr_config_8>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_8>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <1>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
};
-
-&config {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_config_8: macaddr@8 {
- reg = <0x8 0x6>;
- };
-};
};
radio: partition@ff0000 {
+ compatible = "nvmem-cells";
label = "radio";
reg = <0xff0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_radio_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
};
};
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&radio 0x0>;
+ nvmem-cells = <&eeprom_radio_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
info: partition@90000 {
+ compatible = "nvmem-cells";
label = "product-info";
reg = <0x90000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
};
partition@a0000 {
};
radio: partition@ff0000 {
+ compatible = "nvmem-cells";
label = "radio";
reg = <0xff0000 0x010000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_radio_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
};
};
};
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&radio 0x0>;
- nvmem-cells = <&macaddr_info_8>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_radio_0>, <&macaddr_info_8>;
+ nvmem-cell-names = "eeprom", "mac-address";
};
};
};
};
};
-
-&info {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_info_8: macaddr@8 {
- reg = <0x8 0x6>;
- };
-};
};
romfile: partition@fc0000 {
+ compatible = "nvmem-cells";
label = "romfile";
reg = <0xfc0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ macaddr_romfile_f100: romfile@f100 {
+ reg = <0xf100 0x6>;
+ };
};
partition@fd0000 {
};
radio: partition@fe0000 {
+ compatible = "nvmem-cells";
label = "radio";
reg = <0xfe0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_radio_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
};
};
};
mt76@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- nvmem-cells = <&macaddr_romfile_f100>;
- nvmem-cell-names = "mac-address";
- mediatek,mtd-eeprom = <&radio 0x0>;
- mtd-mac-address = <&romfile 0xf100>;
+ nvmem-cells = <&eeprom_radio_0>, <&macaddr_romfile_f100>;
+ nvmem-cell-names = "eeprom", "mac-address";
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
};
};
-
-&romfile {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_romfile_f100: romfile@f100 {
- reg = <0xf100 0x6>;
- };
-};
};
config: partition@600000 {
+ compatible = "nvmem-cells";
label = "config";
reg = <0x600000 0x50000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ macaddr_config_10008: macaddr@10008 {
+ reg = <0x10008 0x6>;
+ };
};
radio: partition@7f0000 {
+ compatible = "nvmem-cells";
label = "radio";
reg = <0x7f0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_radio_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
};
};
};
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&radio 0x0>;
- nvmem-cells = <&macaddr_config_10008>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_10008>;
+ nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <1>;
};
};
function = "gpio";
};
};
-
-&config {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_config_10008: macaddr@10008 {
- reg = <0x10008 0x6>;
- };
-};
};
config: partition@730000 {
+ compatible = "nvmem-cells";
label = "config";
reg = <0x730000 0xc0000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ macaddr_config_2008: macaddr@2008 {
+ reg = <0x2008 0x6>;
+ };
};
radio: partition@7f0000 {
+ compatible = "nvmem-cells";
label = "radio";
reg = <0x7f0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_radio_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
};
};
};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&radio 0x0>;
- nvmem-cells = <&macaddr_config_2008>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_2008>;
+ nvmem-cell-names = "eeprom", "mac-address";
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
};
};
-
-&config {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_config_2008: macaddr@2008 {
- reg = <0x2008 0x6>;
- };
-};
};
factory: partition@70000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x70000 0x40000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
};
eeprom: partition@b0000 {
+ compatible = "nvmem-cells";
label = "eeprom";
reg = <0xb0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ macaddr_eeprom_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_eeprom_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
};
partition@c0000 {
};
&wlan_2g {
- mediatek,mtd-eeprom = <&factory 0x0>;
-
- nvmem-cells = <&macaddr_eeprom_0>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&eeprom_factory_0>, <&macaddr_eeprom_0>;
+ nvmem-cell-names = "eeprom", "mac-address";
};
&wlan_5g {
mediatek,disable-radar-background;
};
-
-&eeprom {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_eeprom_0: macaddr@0 {
- reg = <0x0 0x6>;
- };
-
- macaddr_eeprom_6: macaddr@6 {
- reg = <0x6 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
partition@50000 {
nvmem-cells = <&macaddr_factory_e006>;
nvmem-cell-names = "mac-address";
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
partition@50000 {
};
&pcie0 {
- wifi0: mt76@0,0 {
+ mt76@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0>;
+ ieee80211-freq-limit = <2400000 2500000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
};
};
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
-
-&wifi0{
- ieee80211-freq-limit = <2400000 2500000>;
-};
-
&wifi1{
ieee80211-freq-limit = <5000000 6000000>;
};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_2e: macaddr@2e {
+ reg = <0x2e 0x6>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
};
partition@50000 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
led {
led-sources = <0>;
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_2e: macaddr@2e {
- reg = <0x2e 0x6>;
- };
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
partition@50000 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
&xhci {
status = "disabled";
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
};
partition@50000 {
wifi@0,0 {
compatible = "pci1400,7603";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
partition@50000 {
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
partition@50000 {
wifi@0,0 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
led {
led-active-low;
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
partition@50000 {
wifi1: wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
ieee80211-freq-limit = <2400000 2500000>;
led {
&sdhci {
status = "okay";
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
firmware: partition@50000 {
wifi@0,0 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
firmware: partition@50000 {
wifi0: wifi@0,0 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
+
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
firmware: partition@50000 {
wifi0: wifi@0,0 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
- };
-};
};
factory: partition@40000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
- read-only;
-
- compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
+ read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
macaddr_factory_e000: macaddr@e000 {
reg = <0xe000 0x6>;
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ 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_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
};
firmware: partition@50000 {
wifi0: wifi@0,0 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-};
};
factory: partition@100000 {
+ compatible = "nvmem-cells";
label = "Factory";
reg = <0x100000 0x40000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
};
partition@140000 {
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-};
};
factory: partition@200000 {
+ compatible = "nvmem-cells";
label = "Factory";
reg = <0x200000 0x100000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x400>;
+ };
+
+ macaddr_factory_e000: macaddr@e000 {
+ reg = <0xe000 0x6>;
+ };
};
partition@300000 {
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};
function = "gpio";
};
};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_e000: macaddr@e000 {
- reg = <0xe000 0x6>;
- };
-};