[openwrt/openwrt] ramips: fix wifi nodes to upstream standards

LEDE Commits lede-commits at lists.infradead.org
Fri Jul 4 13:01:44 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/f95571634161f70d6cb6a1d4f3492aa8dfd8a4ae

commit f95571634161f70d6cb6a1d4f3492aa8dfd8a4ae
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sat Jun 7 16:46:07 2025 -0700

    ramips: fix wifi nodes to upstream standards
    
    Replaced all mt76@ with wifi@ per upstream requirement for all wifi
    nodes.
    
    Added missing compatible string where appropriate as stated by mt76.yaml
    upstream.
    
    Also updated reg value to be consistent everywhere.
    
    Replace all pci14c3 entries to use mediatek,mt76.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/19067
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 target/linux/ramips/dts/mt7620a_alfa-network_ac1200rm.dts      | 3 ++-
 target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts              | 1 +
 target/linux/ramips/dts/mt7620a_asus_rt-ac54u.dts              | 1 +
 target/linux/ramips/dts/mt7620a_bdcom_wap2100-sk.dts           | 1 +
 target/linux/ramips/dts/mt7620a_bolt_bl100.dts                 | 3 ++-
 target/linux/ramips/dts/mt7620a_cameo_810.dtsi                 | 1 +
 target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts             | 3 ++-
 target/linux/ramips/dts/mt7620a_dlink_dir-806a-b1.dts          | 1 +
 target/linux/ramips/dts/mt7620a_dlink_dwr-118-a1.dts           | 1 +
 target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts           | 1 +
 target/linux/ramips/dts/mt7620a_domywifi.dtsi                  | 1 +
 target/linux/ramips/dts/mt7620a_dovado_tiny-ac.dts             | 3 ++-
 target/linux/ramips/dts/mt7620a_edimax_br-6208ac-v2.dts        | 1 +
 target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts        | 1 +
 target/linux/ramips/dts/mt7620a_edimax_ew-7478apc.dts          | 1 +
 target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi            | 1 +
 target/linux/ramips/dts/mt7620a_fon_fon2601.dts                | 2 +-
 target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts            | 3 ++-
 target/linux/ramips/dts/mt7620a_iodata_wn-ac1167gr.dts         | 1 +
 target/linux/ramips/dts/mt7620a_lava_lr-25g001.dts             | 3 ++-
 target/linux/ramips/dts/mt7620a_lenovo_newifi-y1.dtsi          | 3 ++-
 target/linux/ramips/dts/mt7620a_netgear_ex3x00_ex61xx.dtsi     | 3 ++-
 target/linux/ramips/dts/mt7620a_phicomm_k2x.dtsi               | 3 ++-
 target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts            | 3 ++-
 target/linux/ramips/dts/mt7620a_planex_mzk-750dhp.dts          | 3 ++-
 target/linux/ramips/dts/mt7620a_planex_mzk-ex750np.dts         | 3 ++-
 target/linux/ramips/dts/mt7620a_ralink_mt7620a-mt7610e-evb.dts | 1 +
 target/linux/ramips/dts/mt7620a_tplink_8m.dtsi                 | 3 ++-
 target/linux/ramips/dts/mt7620a_tplink_archer-mr200.dts        | 3 ++-
 target/linux/ramips/dts/mt7620a_tplink_re2x0-v1.dtsi           | 3 ++-
 target/linux/ramips/dts/mt7620a_trendnet_tha103ac.dts          | 1 +
 target/linux/ramips/dts/mt7620a_wavlink_wl-wn530hg4.dts        | 3 ++-
 target/linux/ramips/dts/mt7620a_wavlink_wl-wn531g3-a2.dts      | 2 +-
 target/linux/ramips/dts/mt7620a_wavlink_wl-wn531g3.dts         | 2 +-
 target/linux/ramips/dts/mt7620a_wavlink_wl-wn535k1.dts         | 1 +
 target/linux/ramips/dts/mt7620a_wavlink_wl-wn579x3.dts         | 1 +
 target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts         | 3 ++-
 target/linux/ramips/dts/mt7620a_zbtlink_zbt-ape522ii.dts       | 3 ++-
 target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi     | 2 +-
 target/linux/ramips/dts/mt7621_ampedwireless_ally.dtsi         | 4 ++--
 target/linux/ramips/dts/mt7621_arcadyan_we420223-99.dts        | 3 ++-
 target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi              | 4 ++--
 target/linux/ramips/dts/mt7621_beeline_smartbox-turbo.dts      | 4 ++++
 target/linux/ramips/dts/mt7621_bolt_arion.dts                  | 4 ++--
 target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts         | 6 ++++--
 target/linux/ramips/dts/mt7621_buffalo_wsr-2533dhplx.dtsi      | 2 ++
 target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts          | 6 ++++--
 target/linux/ramips/dts/mt7621_cudy_wr1300-v1.dts              | 4 ++--
 target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts            | 6 ++++--
 target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts               | 6 ++++--
 target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts           | 6 ++++--
 target/linux/ramips/dts/mt7621_firefly_firewrt.dts             | 6 ++++--
 target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts             | 2 ++
 target/linux/ramips/dts/mt7621_huasifei_ws1208v2.dts           | 4 ++--
 target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts          | 6 ++++--
 target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts           | 3 ++-
 target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts            | 6 ++++--
 target/linux/ramips/dts/mt7621_linksys_e5600.dts               | 4 ++--
 target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi             | 4 ++--
 target/linux/ramips/dts/mt7621_linksys_re6500.dts              | 6 ++++--
 target/linux/ramips/dts/mt7621_linksys_re7000.dts              | 6 ++++--
 target/linux/ramips/dts/mt7621_meig_slt866.dts                 | 4 ++--
 target/linux/ramips/dts/mt7621_mqmaker_witi.dts                | 6 ++++--
 target/linux/ramips/dts/mt7621_mtc_wr1201.dts                  | 2 ++
 target/linux/ramips/dts/mt7621_netgear_ex6150.dts              | 2 ++
 target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi        | 4 ++--
 target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi        | 4 ++--
 target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi        | 4 ++--
 target/linux/ramips/dts/mt7621_netgear_wac104.dts              | 4 ++--
 target/linux/ramips/dts/mt7621_rostelecom_rt-sf-1.dts          | 4 ++++
 target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts        | 6 ++++--
 target/linux/ramips/dts/mt7621_sercomm_na502.dts               | 2 +-
 target/linux/ramips/dts/mt7621_sercomm_na502s.dts              | 2 +-
 target/linux/ramips/dts/mt7621_telco-electronics_x1.dts        | 4 ++--
 target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts          | 2 +-
 target/linux/ramips/dts/mt7621_tozed_zlt-s12-pro.dts           | 4 ++--
 target/linux/ramips/dts/mt7621_tplink_archer-c6u-v1.dts        | 4 ++--
 target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts       | 2 ++
 target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts          | 4 ++--
 target/linux/ramips/dts/mt7621_tplink_re350-v1.dts             | 6 ++++--
 target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts           | 2 --
 target/linux/ramips/dts/mt7621_ubnt_unifi-flexhd.dts           | 6 ++++--
 target/linux/ramips/dts/mt7621_ubnt_unifi.dtsi                 | 6 ++++--
 target/linux/ramips/dts/mt7621_wavlink_wl-wn53xax.dtsi         | 4 ++--
 target/linux/ramips/dts/mt7621_wavlink_ws-wn572hp3-4g.dts      | 4 ++--
 target/linux/ramips/dts/mt7621_xiaomi_mi-router-3g.dts         | 4 ++--
 target/linux/ramips/dts/mt7621_xiaomi_mi-router-4.dts          | 4 ++--
 target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts       | 4 ++--
 target/linux/ramips/dts/mt7621_youhua_wr1200js.dts             | 6 ++++--
 target/linux/ramips/dts/mt7621_youku_yk-l2.dts                 | 4 ++--
 target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602-v04.dtsi     | 4 ++--
 target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602.dtsi         | 4 ++--
 target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts          | 6 ++++--
 target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi         | 4 ++--
 target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts          | 7 +++----
 target/linux/ramips/dts/mt7621_zyxel_nr7101.dts                | 3 ++-
 target/linux/ramips/dts/mt7621_zyxel_nwa-ax.dtsi               | 2 +-
 target/linux/ramips/dts/mt7621_zyxel_wap6805.dts               | 3 ++-
 target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dtsi           | 2 +-
 target/linux/ramips/dts/mt7628an_buffalo_wcr-1166ds.dts        | 3 ++-
 target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts       | 3 ++-
 target/linux/ramips/dts/mt7628an_motorola_mwr03.dts            | 1 +
 target/linux/ramips/dts/mt7628an_netgear_r6xxx.dtsi            | 1 +
 target/linux/ramips/dts/mt7628an_ravpower_rp-wd009.dts         | 1 +
 target/linux/ramips/dts/mt7628an_totolink_lr1200.dts           | 3 ++-
 target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts      | 3 ++-
 target/linux/ramips/dts/mt7628an_tplink_archer-c20-v5.dts      | 1 +
 target/linux/ramips/dts/mt7628an_tplink_archer-c50-v3.dts      | 3 ++-
 target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts      | 1 +
 target/linux/ramips/dts/mt7628an_tplink_archer-c50-v6.dts      | 1 +
 target/linux/ramips/dts/mt7628an_tplink_archer-mr200-v5.dts    | 3 ++-
 target/linux/ramips/dts/mt7628an_tplink_archer-mr200-v6.dts    | 1 +
 target/linux/ramips/dts/mt7628an_tplink_re200.dtsi             | 3 ++-
 target/linux/ramips/dts/mt7628an_tplink_re305.dtsi             | 2 +-
 target/linux/ramips/dts/mt7628an_tplink_re365-v1.dts           | 2 +-
 target/linux/ramips/dts/mt7628an_tplink_tl-wr902ac-v3.dts      | 3 ++-
 target/linux/ramips/dts/mt7628an_wavlink_wl-wn531a3.dts        | 3 ++-
 target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts       | 1 +
 target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts        | 3 ++-
 target/linux/ramips/dts/mt7628an_wavlink_wl-wn576a2.dts        | 1 +
 target/linux/ramips/dts/mt7628an_wavlink_wl-wn577a2.dts        | 3 ++-
 target/linux/ramips/dts/mt7628an_wavlink_wl-wn578a2.dts        | 1 +
 target/linux/ramips/dts/mt7628an_yuncore_cpe200.dts            | 3 ++-
 target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts   | 2 +-
 124 files changed, 246 insertions(+), 136 deletions(-)

diff --git a/target/linux/ramips/dts/mt7620a_alfa-network_ac1200rm.dts b/target/linux/ramips/dts/mt7620a_alfa-network_ac1200rm.dts
index 1b04903ef5..8b6ccd9e21 100644
--- a/target/linux/ramips/dts/mt7620a_alfa-network_ac1200rm.dts
+++ b/target/linux/ramips/dts/mt7620a_alfa-network_ac1200rm.dts
@@ -84,7 +84,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts b/target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts
index b482b6dfc9..a3dbbb3c4e 100644
--- a/target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts
+++ b/target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts
@@ -7,6 +7,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_asus_rt-ac54u.dts b/target/linux/ramips/dts/mt7620a_asus_rt-ac54u.dts
index 2a94f5d29d..12208935cf 100644
--- a/target/linux/ramips/dts/mt7620a_asus_rt-ac54u.dts
+++ b/target/linux/ramips/dts/mt7620a_asus_rt-ac54u.dts
@@ -9,6 +9,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_bdcom_wap2100-sk.dts b/target/linux/ramips/dts/mt7620a_bdcom_wap2100-sk.dts
index 39d79c8ed6..2080db6757 100644
--- a/target/linux/ramips/dts/mt7620a_bdcom_wap2100-sk.dts
+++ b/target/linux/ramips/dts/mt7620a_bdcom_wap2100-sk.dts
@@ -155,6 +155,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_bolt_bl100.dts b/target/linux/ramips/dts/mt7620a_bolt_bl100.dts
index fefa95b3e6..ec1b531063 100644
--- a/target/linux/ramips/dts/mt7620a_bolt_bl100.dts
+++ b/target/linux/ramips/dts/mt7620a_bolt_bl100.dts
@@ -238,7 +238,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_cameo_810.dtsi b/target/linux/ramips/dts/mt7620a_cameo_810.dtsi
index 2ca25d2179..ac4a379041 100644
--- a/target/linux/ramips/dts/mt7620a_cameo_810.dtsi
+++ b/target/linux/ramips/dts/mt7620a_cameo_810.dtsi
@@ -176,6 +176,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_28 2>;
diff --git a/target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts b/target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts
index 03f5739091..a2a427192a 100644
--- a/target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts
+++ b/target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts
@@ -134,7 +134,8 @@
 };
 
 &pcie0 {
-	mt76x0e at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_config_e05d>, <&macaddr_config_e490 2>;
 		nvmem-cell-names = "eeprom", "mac-address";
diff --git a/target/linux/ramips/dts/mt7620a_dlink_dir-806a-b1.dts b/target/linux/ramips/dts/mt7620a_dlink_dir-806a-b1.dts
index 3faabba9be..63e245f133 100644
--- a/target/linux/ramips/dts/mt7620a_dlink_dir-806a-b1.dts
+++ b/target/linux/ramips/dts/mt7620a_dlink_dir-806a-b1.dts
@@ -157,6 +157,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_8004 (-3)>;
diff --git a/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a1.dts b/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a1.dts
index 9eadc0e387..7e9b302168 100644
--- a/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a1.dts
+++ b/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a1.dts
@@ -163,6 +163,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_config_e083>, <&macaddr_config_e496 2>;
 		nvmem-cell-names = "eeprom", "mac-address";
diff --git a/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts b/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts
index 4d4b68908e..23fadb3009 100644
--- a/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts
+++ b/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts
@@ -156,6 +156,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&macaddr_config_e4a8 2>;
diff --git a/target/linux/ramips/dts/mt7620a_domywifi.dtsi b/target/linux/ramips/dts/mt7620a_domywifi.dtsi
index 844c1a4ee4..6b4409deb7 100644
--- a/target/linux/ramips/dts/mt7620a_domywifi.dtsi
+++ b/target/linux/ramips/dts/mt7620a_domywifi.dtsi
@@ -183,6 +183,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_dovado_tiny-ac.dts b/target/linux/ramips/dts/mt7620a_dovado_tiny-ac.dts
index 03d88051e0..618c2e1233 100644
--- a/target/linux/ramips/dts/mt7620a_dovado_tiny-ac.dts
+++ b/target/linux/ramips/dts/mt7620a_dovado_tiny-ac.dts
@@ -162,7 +162,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_edimax_br-6208ac-v2.dts b/target/linux/ramips/dts/mt7620a_edimax_br-6208ac-v2.dts
index 23af7db0d4..7bf682fbbc 100644
--- a/target/linux/ramips/dts/mt7620a_edimax_br-6208ac-v2.dts
+++ b/target/linux/ramips/dts/mt7620a_edimax_br-6208ac-v2.dts
@@ -213,6 +213,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts b/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts
index d3b3f1b09c..c82cc4f5e4 100644
--- a/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts
+++ b/target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts
@@ -215,6 +215,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_edimax_ew-7478apc.dts b/target/linux/ramips/dts/mt7620a_edimax_ew-7478apc.dts
index 091f6ecd78..1c328fb22a 100644
--- a/target/linux/ramips/dts/mt7620a_edimax_ew-7478apc.dts
+++ b/target/linux/ramips/dts/mt7620a_edimax_ew-7478apc.dts
@@ -207,6 +207,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi b/target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi
index 65b69a576a..5e36026f4e 100644
--- a/target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi
+++ b/target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi
@@ -208,6 +208,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_4 2>;
diff --git a/target/linux/ramips/dts/mt7620a_fon_fon2601.dts b/target/linux/ramips/dts/mt7620a_fon_fon2601.dts
index 2e81c2038b..11de9df76b 100644
--- a/target/linux/ramips/dts/mt7620a_fon_fon2601.dts
+++ b/target/linux/ramips/dts/mt7620a_fon_fon2601.dts
@@ -175,7 +175,7 @@
 };
 &pcie0 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7662";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts b/target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts
index 177cd7873d..4c40156f72 100644
--- a/target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts
+++ b/target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts
@@ -156,7 +156,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_iodata_wn-ac1167gr.dts b/target/linux/ramips/dts/mt7620a_iodata_wn-ac1167gr.dts
index e80ff16f31..b4e8985c56 100644
--- a/target/linux/ramips/dts/mt7620a_iodata_wn-ac1167gr.dts
+++ b/target/linux/ramips/dts/mt7620a_iodata_wn-ac1167gr.dts
@@ -228,6 +228,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_iNIC_rf_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_lava_lr-25g001.dts b/target/linux/ramips/dts/mt7620a_lava_lr-25g001.dts
index 1f51462d95..dc76aea2a9 100644
--- a/target/linux/ramips/dts/mt7620a_lava_lr-25g001.dts
+++ b/target/linux/ramips/dts/mt7620a_lava_lr-25g001.dts
@@ -165,7 +165,8 @@
 };
 
 &pcie0 {
-	mt76x0e at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_config_e08a>, <&macaddr_config_e07e 2>;
 		nvmem-cell-names = "eeprom", "mac-address";
diff --git a/target/linux/ramips/dts/mt7620a_lenovo_newifi-y1.dtsi b/target/linux/ramips/dts/mt7620a_lenovo_newifi-y1.dtsi
index 8b9d147021..65288c60f4 100644
--- a/target/linux/ramips/dts/mt7620a_lenovo_newifi-y1.dtsi
+++ b/target/linux/ramips/dts/mt7620a_lenovo_newifi-y1.dtsi
@@ -100,7 +100,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_netgear_ex3x00_ex61xx.dtsi b/target/linux/ramips/dts/mt7620a_netgear_ex3x00_ex61xx.dtsi
index d06a89821a..028865741b 100644
--- a/target/linux/ramips/dts/mt7620a_netgear_ex3x00_ex61xx.dtsi
+++ b/target/linux/ramips/dts/mt7620a_netgear_ex3x00_ex61xx.dtsi
@@ -151,7 +151,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_phicomm_k2x.dtsi b/target/linux/ramips/dts/mt7620a_phicomm_k2x.dtsi
index ce53781e60..fcd1c24883 100644
--- a/target/linux/ramips/dts/mt7620a_phicomm_k2x.dtsi
+++ b/target/linux/ramips/dts/mt7620a_phicomm_k2x.dtsi
@@ -111,7 +111,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts b/target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts
index b032cd9d4f..0ffd4fb773 100644
--- a/target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts
+++ b/target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts
@@ -130,7 +130,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_planex_mzk-750dhp.dts b/target/linux/ramips/dts/mt7620a_planex_mzk-750dhp.dts
index 4a1d589ab6..b82184ec39 100644
--- a/target/linux/ramips/dts/mt7620a_planex_mzk-750dhp.dts
+++ b/target/linux/ramips/dts/mt7620a_planex_mzk-750dhp.dts
@@ -146,7 +146,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_planex_mzk-ex750np.dts b/target/linux/ramips/dts/mt7620a_planex_mzk-ex750np.dts
index c51739d94a..4791d54be4 100644
--- a/target/linux/ramips/dts/mt7620a_planex_mzk-ex750np.dts
+++ b/target/linux/ramips/dts/mt7620a_planex_mzk-ex750np.dts
@@ -171,7 +171,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_ralink_mt7620a-mt7610e-evb.dts b/target/linux/ramips/dts/mt7620a_ralink_mt7620a-mt7610e-evb.dts
index f67c825183..ecf23a0c71 100644
--- a/target/linux/ramips/dts/mt7620a_ralink_mt7620a-mt7610e-evb.dts
+++ b/target/linux/ramips/dts/mt7620a_ralink_mt7620a-mt7610e-evb.dts
@@ -91,6 +91,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_tplink_8m.dtsi b/target/linux/ramips/dts/mt7620a_tplink_8m.dtsi
index 4bcefd2346..e48b86b97c 100644
--- a/target/linux/ramips/dts/mt7620a_tplink_8m.dtsi
+++ b/target/linux/ramips/dts/mt7620a_tplink_8m.dtsi
@@ -137,7 +137,8 @@
 };
 
 &pcie0 {
-	wifi: mt76 at 0,0 {
+	wifi: wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 	};
diff --git a/target/linux/ramips/dts/mt7620a_tplink_archer-mr200.dts b/target/linux/ramips/dts/mt7620a_tplink_archer-mr200.dts
index 31220167ba..a851f0989c 100644
--- a/target/linux/ramips/dts/mt7620a_tplink_archer-mr200.dts
+++ b/target/linux/ramips/dts/mt7620a_tplink_archer-mr200.dts
@@ -218,7 +218,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_radio_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_tplink_re2x0-v1.dtsi b/target/linux/ramips/dts/mt7620a_tplink_re2x0-v1.dtsi
index 371b9f7373..08c2e35dc7 100644
--- a/target/linux/ramips/dts/mt7620a_tplink_re2x0-v1.dtsi
+++ b/target/linux/ramips/dts/mt7620a_tplink_re2x0-v1.dtsi
@@ -115,7 +115,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_radio_8000>, <&macaddr_uboot_1fc00 2>;
diff --git a/target/linux/ramips/dts/mt7620a_trendnet_tha103ac.dts b/target/linux/ramips/dts/mt7620a_trendnet_tha103ac.dts
index c7587550b0..547d88c547 100644
--- a/target/linux/ramips/dts/mt7620a_trendnet_tha103ac.dts
+++ b/target/linux/ramips/dts/mt7620a_trendnet_tha103ac.dts
@@ -193,6 +193,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_8004 0>;
diff --git a/target/linux/ramips/dts/mt7620a_wavlink_wl-wn530hg4.dts b/target/linux/ramips/dts/mt7620a_wavlink_wl-wn530hg4.dts
index dde6d32585..bf21192c8d 100644
--- a/target/linux/ramips/dts/mt7620a_wavlink_wl-wn530hg4.dts
+++ b/target/linux/ramips/dts/mt7620a_wavlink_wl-wn530hg4.dts
@@ -145,7 +145,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_wavlink_wl-wn531g3-a2.dts b/target/linux/ramips/dts/mt7620a_wavlink_wl-wn531g3-a2.dts
index 1a12005c92..af9fd40547 100644
--- a/target/linux/ramips/dts/mt7620a_wavlink_wl-wn531g3-a2.dts
+++ b/target/linux/ramips/dts/mt7620a_wavlink_wl-wn531g3-a2.dts
@@ -175,7 +175,7 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_radio_8000>;
diff --git a/target/linux/ramips/dts/mt7620a_wavlink_wl-wn531g3.dts b/target/linux/ramips/dts/mt7620a_wavlink_wl-wn531g3.dts
index d48f27fdc7..fbe95d17f5 100644
--- a/target/linux/ramips/dts/mt7620a_wavlink_wl-wn531g3.dts
+++ b/target/linux/ramips/dts/mt7620a_wavlink_wl-wn531g3.dts
@@ -181,7 +181,7 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_radio_8000>;
diff --git a/target/linux/ramips/dts/mt7620a_wavlink_wl-wn535k1.dts b/target/linux/ramips/dts/mt7620a_wavlink_wl-wn535k1.dts
index e1ce8e5834..dc0eaa41bf 100644
--- a/target/linux/ramips/dts/mt7620a_wavlink_wl-wn535k1.dts
+++ b/target/linux/ramips/dts/mt7620a_wavlink_wl-wn535k1.dts
@@ -141,6 +141,7 @@
 
 &pcie0 {
 	wifi0: wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_wavlink_wl-wn579x3.dts b/target/linux/ramips/dts/mt7620a_wavlink_wl-wn579x3.dts
index 4ee8de90cd..a336be4562 100644
--- a/target/linux/ramips/dts/mt7620a_wavlink_wl-wn579x3.dts
+++ b/target/linux/ramips/dts/mt7620a_wavlink_wl-wn579x3.dts
@@ -175,6 +175,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts b/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts
index 41221891f7..ac0e26a06e 100644
--- a/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts
+++ b/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts
@@ -179,7 +179,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_zbtlink_zbt-ape522ii.dts b/target/linux/ramips/dts/mt7620a_zbtlink_zbt-ape522ii.dts
index 8197e6539b..4ffa5844a6 100644
--- a/target/linux/ramips/dts/mt7620a_zbtlink_zbt-ape522ii.dts
+++ b/target/linux/ramips/dts/mt7620a_zbtlink_zbt-ape522ii.dts
@@ -135,7 +135,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi b/target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi
index b5065aa97b..1c1abdcb5e 100644
--- a/target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi
+++ b/target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi
@@ -46,7 +46,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7662";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_ampedwireless_ally.dtsi b/target/linux/ramips/dts/mt7621_ampedwireless_ally.dtsi
index b4c4feacb6..8a5d4fa8d6 100644
--- a/target/linux/ramips/dts/mt7621_ampedwireless_ally.dtsi
+++ b/target/linux/ramips/dts/mt7621_ampedwireless_ally.dtsi
@@ -66,7 +66,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7615";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -76,7 +76,7 @@
 
 &pcie1 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7615";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_arcadyan_we420223-99.dts b/target/linux/ramips/dts/mt7621_arcadyan_we420223-99.dts
index 6895052eb9..0b314cc38d 100644
--- a/target/linux/ramips/dts/mt7621_arcadyan_we420223-99.dts
+++ b/target/linux/ramips/dts/mt7621_arcadyan_we420223-99.dts
@@ -212,7 +212,8 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi b/target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi
index bee8afdc90..722cdddf3e 100644
--- a/target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi
+++ b/target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi
@@ -134,7 +134,7 @@
 
 &pcie0 {
 	wifi0: wifi at 0,0 {
-		compatible = "pci14c3,7615";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -144,7 +144,7 @@
 
 &pcie1 {
 	wifi1: wifi at 0,0 {
-		compatible = "pci14c3,7615";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_beeline_smartbox-turbo.dts b/target/linux/ramips/dts/mt7621_beeline_smartbox-turbo.dts
index eee7ab65db..8b1ff39823 100644
--- a/target/linux/ramips/dts/mt7621_beeline_smartbox-turbo.dts
+++ b/target/linux/ramips/dts/mt7621_beeline_smartbox-turbo.dts
@@ -9,6 +9,8 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
+		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_21000 5>;
 		nvmem-cell-names = "eeprom", "mac-address";
 	};
@@ -16,6 +18,8 @@
 
 &pcie1 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
+		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_21000 4>;
 		nvmem-cell-names = "eeprom", "mac-address";
 	};
diff --git a/target/linux/ramips/dts/mt7621_bolt_arion.dts b/target/linux/ramips/dts/mt7621_bolt_arion.dts
index 869aba69bf..ee9c368f77 100644
--- a/target/linux/ramips/dts/mt7621_bolt_arion.dts
+++ b/target/linux/ramips/dts/mt7621_bolt_arion.dts
@@ -143,7 +143,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7603";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -153,7 +153,7 @@
 
 &pcie1 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7662";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts b/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts
index 4346e4b9d2..859d95b6a4 100644
--- a/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts
+++ b/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts
@@ -214,7 +214,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
@@ -223,7 +224,8 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_buffalo_wsr-2533dhplx.dtsi b/target/linux/ramips/dts/mt7621_buffalo_wsr-2533dhplx.dtsi
index 33d23d4675..d3ca47f170 100644
--- a/target/linux/ramips/dts/mt7621_buffalo_wsr-2533dhplx.dtsi
+++ b/target/linux/ramips/dts/mt7621_buffalo_wsr-2533dhplx.dtsi
@@ -147,6 +147,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -156,6 +157,7 @@
 
 &pcie1 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts b/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts
index 00b2165836..9b95525020 100644
--- a/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts
+++ b/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts
@@ -179,7 +179,8 @@
 };
 
 &pcie0 {
-	rt5592 at 0,0 {
+	wifi at 0,0 {
+		compatible = "pci1814,5592";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
@@ -187,7 +188,8 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_cudy_wr1300-v1.dts b/target/linux/ramips/dts/mt7621_cudy_wr1300-v1.dts
index 265b48143e..af04e033a1 100644
--- a/target/linux/ramips/dts/mt7621_cudy_wr1300-v1.dts
+++ b/target/linux/ramips/dts/mt7621_cudy_wr1300-v1.dts
@@ -152,7 +152,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7603";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>, <&macaddr_bdinfo_de00 0>;
 		nvmem-cell-names = "eeprom", "mac-address";
@@ -166,7 +166,7 @@
 
 &pcie1 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7662";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>, <&macaddr_bdinfo_de00 2>;
 		nvmem-cell-names = "eeprom", "mac-address";
diff --git a/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts b/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts
index 22e8ca4807..7ab619c64f 100644
--- a/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts
+++ b/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts
@@ -149,7 +149,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
@@ -158,7 +159,8 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts b/target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts
index 1037a648dc..65f4a19c1f 100644
--- a/target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts
+++ b/target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts
@@ -171,7 +171,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
@@ -180,7 +181,8 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts
index 589669c36a..a75d6a10a9 100644
--- a/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts
+++ b/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts
@@ -180,7 +180,8 @@
 };
 
 &pcie0 {
-	wifi0: mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_radio_2000>;
 		nvmem-cell-names = "eeprom";
@@ -189,7 +190,8 @@
 };
 
 &pcie1 {
-	wifi1: mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_radio_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_firefly_firewrt.dts b/target/linux/ramips/dts/mt7621_firefly_firewrt.dts
index 7afec5e554..785ad315d6 100644
--- a/target/linux/ramips/dts/mt7621_firefly_firewrt.dts
+++ b/target/linux/ramips/dts/mt7621_firefly_firewrt.dts
@@ -111,7 +111,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
@@ -120,7 +121,8 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts b/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts
index a017baa1ba..ee8fae6eab 100644
--- a/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts
+++ b/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts
@@ -110,6 +110,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -118,6 +119,7 @@
 
 &pcie1 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_huasifei_ws1208v2.dts b/target/linux/ramips/dts/mt7621_huasifei_ws1208v2.dts
index e764139451..6cf4905b20 100644
--- a/target/linux/ramips/dts/mt7621_huasifei_ws1208v2.dts
+++ b/target/linux/ramips/dts/mt7621_huasifei_ws1208v2.dts
@@ -134,7 +134,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7603";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -143,7 +143,7 @@
 
 &pcie1 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7662";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts b/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts
index 9e64077e0c..ffafb031b5 100644
--- a/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts
+++ b/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts
@@ -214,7 +214,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_iNIC_rf_0>;
 		nvmem-cell-names = "eeprom";
@@ -222,7 +223,8 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts b/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts
index 519c52065b..d6c3fcf42a 100644
--- a/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts
+++ b/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts
@@ -200,7 +200,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts b/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
index 8b05b122b9..1886e84635 100644
--- a/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
+++ b/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
@@ -132,7 +132,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
@@ -141,7 +142,8 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_linksys_e5600.dts b/target/linux/ramips/dts/mt7621_linksys_e5600.dts
index 08fcbbc515..6acc50bbeb 100644
--- a/target/linux/ramips/dts/mt7621_linksys_e5600.dts
+++ b/target/linux/ramips/dts/mt7621_linksys_e5600.dts
@@ -152,7 +152,7 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
@@ -161,7 +161,7 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
diff --git a/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi b/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi
index 70cf425b2c..07aa44c9fb 100644
--- a/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi
+++ b/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi
@@ -180,7 +180,7 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
@@ -189,7 +189,7 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
diff --git a/target/linux/ramips/dts/mt7621_linksys_re6500.dts b/target/linux/ramips/dts/mt7621_linksys_re6500.dts
index 3c026a41a5..3eb5f1dc68 100644
--- a/target/linux/ramips/dts/mt7621_linksys_re6500.dts
+++ b/target/linux/ramips/dts/mt7621_linksys_re6500.dts
@@ -117,7 +117,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -126,7 +127,8 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_linksys_re7000.dts b/target/linux/ramips/dts/mt7621_linksys_re7000.dts
index c016f5753b..f0f7e42705 100644
--- a/target/linux/ramips/dts/mt7621_linksys_re7000.dts
+++ b/target/linux/ramips/dts/mt7621_linksys_re7000.dts
@@ -131,7 +131,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -140,7 +141,8 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_meig_slt866.dts b/target/linux/ramips/dts/mt7621_meig_slt866.dts
index e49f7c1d4a..23e09f41cb 100644
--- a/target/linux/ramips/dts/mt7621_meig_slt866.dts
+++ b/target/linux/ramips/dts/mt7621_meig_slt866.dts
@@ -217,7 +217,7 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>, <&macaddr_custom_100 0>;
@@ -226,7 +226,7 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
diff --git a/target/linux/ramips/dts/mt7621_mqmaker_witi.dts b/target/linux/ramips/dts/mt7621_mqmaker_witi.dts
index 0fbf51169c..16755af383 100644
--- a/target/linux/ramips/dts/mt7621_mqmaker_witi.dts
+++ b/target/linux/ramips/dts/mt7621_mqmaker_witi.dts
@@ -96,7 +96,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_e000 0>;
@@ -105,7 +106,8 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <2400000 2500000>;
 		nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_e000 0>;
diff --git a/target/linux/ramips/dts/mt7621_mtc_wr1201.dts b/target/linux/ramips/dts/mt7621_mtc_wr1201.dts
index 24303ec5b3..e5d9325d27 100644
--- a/target/linux/ramips/dts/mt7621_mtc_wr1201.dts
+++ b/target/linux/ramips/dts/mt7621_mtc_wr1201.dts
@@ -182,6 +182,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_factory_8000>;
@@ -196,6 +197,7 @@
 
 &pcie1 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <2400000 2500000>;
 		nvmem-cells = <&eeprom_factory_0>;
diff --git a/target/linux/ramips/dts/mt7621_netgear_ex6150.dts b/target/linux/ramips/dts/mt7621_netgear_ex6150.dts
index 7ad421d1a0..68a11d0f1d 100644
--- a/target/linux/ramips/dts/mt7621_netgear_ex6150.dts
+++ b/target/linux/ramips/dts/mt7621_netgear_ex6150.dts
@@ -235,6 +235,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
@@ -244,6 +245,7 @@
 
 &pcie1 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi b/target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi
index b192352037..1c8e255ed1 100644
--- a/target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi
+++ b/target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi
@@ -82,7 +82,7 @@
 &pcie0 {
 	wifi at 0,0 {
 		compatible = "mediatek,mt76";
-		reg = <0x0 0 0 0 0>;
+		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom1>;
 		nvmem-cell-names = "eeprom";
@@ -92,7 +92,7 @@
 &pcie2 {
 	wifi at 0,0 {
 		compatible = "mediatek,mt76";
-		reg = <0x0 0 0 0 0>;
+		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <2400000 2500000>;
 		nvmem-cells = <&eeprom0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi b/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi
index c125bcc4e3..d605c06df3 100644
--- a/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi
+++ b/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi
@@ -153,7 +153,7 @@
 &pcie0 {
 	wifi at 0,0 {
 		compatible = "mediatek,mt76";
-		reg = <0x0 0 0 0 0>;
+		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
 		ieee80211-freq-limit = <2400000 2500000>;
@@ -163,7 +163,7 @@
 &pcie1 {
 	wifi at 0,0 {
 		compatible = "mediatek,mt76";
-		reg = <0x0 0 0 0 0>;
+		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
 		ieee80211-freq-limit = <5000000 6000000>;
diff --git a/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi b/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi
index 6d70b3b557..704e03d079 100644
--- a/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi
+++ b/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi
@@ -71,7 +71,7 @@
 &pcie0 {
 	wifi at 0,0 {
 		compatible = "mediatek,mt76";
-		reg = <0x0 0 0 0 0>;
+		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
 		ieee80211-freq-limit = <5000000 6000000>;
@@ -81,7 +81,7 @@
 &pcie1 {
 	wifi at 0,0 {
 		compatible = "mediatek,mt76";
-		reg = <0x0 0 0 0 0>;
+		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
 		ieee80211-freq-limit = <2400000 2500000>;
diff --git a/target/linux/ramips/dts/mt7621_netgear_wac104.dts b/target/linux/ramips/dts/mt7621_netgear_wac104.dts
index 01583e8887..f8fe3fe921 100644
--- a/target/linux/ramips/dts/mt7621_netgear_wac104.dts
+++ b/target/linux/ramips/dts/mt7621_netgear_wac104.dts
@@ -137,7 +137,7 @@
 &pcie0 {
 	wifi at 0,0 {
 		compatible = "mediatek,mt76";
-		reg = <0x0 0 0 0 0>;
+		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
 		ieee80211-freq-limit = <5000000 6000000>;
@@ -147,7 +147,7 @@
 &pcie2 {
 	wifi at 0,0 {
 		compatible = "mediatek,mt76";
-		reg = <0x0 0 0 0 0>;
+		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
 		ieee80211-freq-limit = <2400000 2500000>;
diff --git a/target/linux/ramips/dts/mt7621_rostelecom_rt-sf-1.dts b/target/linux/ramips/dts/mt7621_rostelecom_rt-sf-1.dts
index 1932a12548..cd2cda900f 100644
--- a/target/linux/ramips/dts/mt7621_rostelecom_rt-sf-1.dts
+++ b/target/linux/ramips/dts/mt7621_rostelecom_rt-sf-1.dts
@@ -9,6 +9,8 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
+		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_21000 3>;
 		nvmem-cell-names = "eeprom", "mac-address";
 	};
@@ -16,6 +18,8 @@
 
 &pcie1 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
+		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_21000 2>;
 		nvmem-cell-names = "eeprom", "mac-address";
 	};
diff --git a/target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts b/target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts
index 2eeb932752..1f9248d5fb 100644
--- a/target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts
+++ b/target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts
@@ -116,7 +116,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
@@ -125,7 +126,8 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_sercomm_na502.dts b/target/linux/ramips/dts/mt7621_sercomm_na502.dts
index a8a7f5e389..b267e6ee1f 100644
--- a/target/linux/ramips/dts/mt7621_sercomm_na502.dts
+++ b/target/linux/ramips/dts/mt7621_sercomm_na502.dts
@@ -206,7 +206,7 @@
 &pcie2 {
 	wifi at 0,0 {
 		compatible = "mediatek,mt76";
-		reg = <0x0 0 0 0 0>;
+		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_e000 2>;
 		nvmem-cell-names = "eeprom", "mac-address";
 		ieee80211-freq-limit = <2400000 2500000>;
diff --git a/target/linux/ramips/dts/mt7621_sercomm_na502s.dts b/target/linux/ramips/dts/mt7621_sercomm_na502s.dts
index 9d16449148..026f3cbac0 100644
--- a/target/linux/ramips/dts/mt7621_sercomm_na502s.dts
+++ b/target/linux/ramips/dts/mt7621_sercomm_na502s.dts
@@ -310,7 +310,7 @@
 &pcie2 {
 	wifi at 0,0 {
 		compatible = "mediatek,mt76";
-		reg = <0x0 0 0 0 0>;
+		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_e000 2>;
 		nvmem-cell-names = "eeprom", "mac-address";
 		ieee80211-freq-limit = <2400000 2500000>;
diff --git a/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts b/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts
index 2ec5992de1..5ad867bfbb 100644
--- a/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts
+++ b/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts
@@ -193,7 +193,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7603";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -203,7 +203,7 @@
 
 &pcie1 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7662";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts b/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts
index 42e39c3152..2e139a1344 100644
--- a/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts
+++ b/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts
@@ -104,7 +104,7 @@
 &pcie1 {
 	wifi at 0,0 {
 		compatible = "mediatek,mt76";
-		reg = <0x0 0 0 0 0>;
+		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
 		mediatek,disable-radar-background;
diff --git a/target/linux/ramips/dts/mt7621_tozed_zlt-s12-pro.dts b/target/linux/ramips/dts/mt7621_tozed_zlt-s12-pro.dts
index 0c3079f097..6996bf6027 100644
--- a/target/linux/ramips/dts/mt7621_tozed_zlt-s12-pro.dts
+++ b/target/linux/ramips/dts/mt7621_tozed_zlt-s12-pro.dts
@@ -199,7 +199,7 @@
 };
 
 &pcie0 {
-	wifi0: mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
@@ -209,7 +209,7 @@
 };
 
 &pcie1 {
-	wifi1: mt76 at 0,0 {
+	wifi1: wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
diff --git a/target/linux/ramips/dts/mt7621_tplink_archer-c6u-v1.dts b/target/linux/ramips/dts/mt7621_tplink_archer-c6u-v1.dts
index ab20c13966..2e2812b43f 100644
--- a/target/linux/ramips/dts/mt7621_tplink_archer-c6u-v1.dts
+++ b/target/linux/ramips/dts/mt7621_tplink_archer-c6u-v1.dts
@@ -164,7 +164,7 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_8 0>;
@@ -174,7 +174,7 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_8 (-1)>;
diff --git a/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts b/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts
index bc56b82cd1..3163fd4932 100644
--- a/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts
+++ b/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts
@@ -160,6 +160,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_radio_0>, <&macaddr_info_8 0>;
 		nvmem-cell-names = "eeprom", "mac-address";
@@ -168,6 +169,7 @@
 
 &pcie1 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_radio_8000>, <&macaddr_info_8 1>;
diff --git a/target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts b/target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts
index 165b48d209..be68471b44 100644
--- a/target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts
+++ b/target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts
@@ -165,7 +165,7 @@
 
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_radio_0>, <&macaddr_romfile_f100 0>;
@@ -175,7 +175,7 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
diff --git a/target/linux/ramips/dts/mt7621_tplink_re350-v1.dts b/target/linux/ramips/dts/mt7621_tplink_re350-v1.dts
index 6437cba7b1..bf22618946 100644
--- a/target/linux/ramips/dts/mt7621_tplink_re350-v1.dts
+++ b/target/linux/ramips/dts/mt7621_tplink_re350-v1.dts
@@ -157,7 +157,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_10008 1>;
 		nvmem-cell-names = "eeprom", "mac-address";
@@ -165,7 +166,8 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_10008 2>;
diff --git a/target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts b/target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts
index 9149904809..fd9f214f68 100644
--- a/target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts
+++ b/target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts
@@ -118,8 +118,6 @@
 };
 
 &wlan_5g {
-	compatible = "mediatek,mt76";
-
 	/* This is a workaround.
 	 *
 	 * Ubiquiti uses a +2 offset in the first octet relative
diff --git a/target/linux/ramips/dts/mt7621_ubnt_unifi-flexhd.dts b/target/linux/ramips/dts/mt7621_ubnt_unifi-flexhd.dts
index 2451545a5e..bdd00f5f2a 100644
--- a/target/linux/ramips/dts/mt7621_ubnt_unifi-flexhd.dts
+++ b/target/linux/ramips/dts/mt7621_ubnt_unifi-flexhd.dts
@@ -141,7 +141,8 @@
 
 &pcie0 {
 	wifi at 0,0 {
-		reg = <0x0 0 0 0 0>;
+		compatible = "mediatek,mt76";
+		reg = <0x0000 0 0 0 0>;
 		// On newer devices there is a MediaTek MAC in the above
 		// device EEPROM, so override it with a calculated one.
 		nvmem-cells = <&eeprom_factory_0>, <&macaddr_eeprom_0 1>;
@@ -151,7 +152,8 @@
 
 &pcie1 {
 	wifi at 0,0 {
-		reg = <0x0 0 0 0 0>;
+		compatible = "mediatek,mt76";
+		reg = <0x0000 0 0 0 0>;
 		// On newer devices there is a MediaTek MAC in the above
 		// device EEPROM, so override it with a calculated one.
 		nvmem-cells = <&eeprom_factory_8000>, <&macaddr_eeprom_0 2>;
diff --git a/target/linux/ramips/dts/mt7621_ubnt_unifi.dtsi b/target/linux/ramips/dts/mt7621_ubnt_unifi.dtsi
index 8a0109f91b..a95f917119 100644
--- a/target/linux/ramips/dts/mt7621_ubnt_unifi.dtsi
+++ b/target/linux/ramips/dts/mt7621_ubnt_unifi.dtsi
@@ -49,13 +49,15 @@
 
 &pcie0 {
 	wlan_2g: wifi at 0,0 {
-		reg = <0x0 0 0 0 0>;
+		compatible = "mediatek,mt76";
+		reg = <0x0000 0 0 0 0>;
 	};
 };
 
 &pcie1 {
 	wlan_5g: wifi at 0,0 {
-		reg = <0x0 0 0 0 0>;
+		compatible = "mediatek,mt76";
+		reg = <0x0000 0 0 0 0>;
 	};
 };
 
diff --git a/target/linux/ramips/dts/mt7621_wavlink_wl-wn53xax.dtsi b/target/linux/ramips/dts/mt7621_wavlink_wl-wn53xax.dtsi
index d082a15f06..397bc5a55e 100644
--- a/target/linux/ramips/dts/mt7621_wavlink_wl-wn53xax.dtsi
+++ b/target/linux/ramips/dts/mt7621_wavlink_wl-wn53xax.dtsi
@@ -142,7 +142,7 @@
 };
 
 &pcie0 {
-	wifi0: mt76 at 0,0 {
+	wifi0: wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
@@ -151,7 +151,7 @@
 };
 
 &pcie1 {
-	wifi1: mt76 at 0,0 {
+	wifi1: wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
diff --git a/target/linux/ramips/dts/mt7621_wavlink_ws-wn572hp3-4g.dts b/target/linux/ramips/dts/mt7621_wavlink_ws-wn572hp3-4g.dts
index 78bc0ba4b0..6db349fe14 100644
--- a/target/linux/ramips/dts/mt7621_wavlink_ws-wn572hp3-4g.dts
+++ b/target/linux/ramips/dts/mt7621_wavlink_ws-wn572hp3-4g.dts
@@ -133,7 +133,7 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <2400000 2500000>;
@@ -143,7 +143,7 @@
 };
 
 &pcie1 {
-	wifi1: mt76 at 0,0 {
+	wifi1: wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3g.dts b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3g.dts
index 539bfadc5a..3e31b24095 100644
--- a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3g.dts
+++ b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3g.dts
@@ -65,7 +65,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7603";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -75,7 +75,7 @@
 
 &pcie1 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7662";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4.dts b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4.dts
index 3b377fca7c..3879bf0a9d 100644
--- a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4.dts
+++ b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4.dts
@@ -53,7 +53,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7603";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -63,7 +63,7 @@
 
 &pcie1 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7662";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts b/target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts
index 89a1635b28..699da23260 100644
--- a/target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts
+++ b/target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts
@@ -146,7 +146,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
-		compatible = "pci1400,7603";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -155,7 +155,7 @@
 
 &pcie1 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7662";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_youhua_wr1200js.dts b/target/linux/ramips/dts/mt7621_youhua_wr1200js.dts
index 6475c142e7..aadaf17005 100644
--- a/target/linux/ramips/dts/mt7621_youhua_wr1200js.dts
+++ b/target/linux/ramips/dts/mt7621_youhua_wr1200js.dts
@@ -130,7 +130,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -138,7 +139,8 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_youku_yk-l2.dts b/target/linux/ramips/dts/mt7621_youku_yk-l2.dts
index 9d2491f634..acffe52c54 100644
--- a/target/linux/ramips/dts/mt7621_youku_yk-l2.dts
+++ b/target/linux/ramips/dts/mt7621_youku_yk-l2.dts
@@ -136,7 +136,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7603";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -149,7 +149,7 @@
 
 &pcie1 {
 	wifi at 0,0 {
-		compatible = "pci14c3,7662";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602-v04.dtsi b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602-v04.dtsi
index 2e76d21ae1..255e54fc67 100644
--- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602-v04.dtsi
+++ b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602-v04.dtsi
@@ -145,7 +145,7 @@
 
 &pcie0 {
 	wifi0: wifi at 0,0 {
-		compatible = "pci14c3,7603";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -154,7 +154,7 @@
 
 &pcie1 {
 	wifi1: wifi at 0,0 {
-		compatible = "pci14c3,7662";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602.dtsi b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602.dtsi
index d77fd2f14f..c689ff6a96 100644
--- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602.dtsi
+++ b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602.dtsi
@@ -144,7 +144,7 @@
 
 &pcie0 {
 	wifi0: wifi at 0,0 {
-		compatible = "pci14c3,7603";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -153,7 +153,7 @@
 
 &pcie1 {
 	wifi1: wifi at 0,0 {
-		compatible = "pci14c3,7662";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts
index af91279cfa..890b50be5c 100644
--- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts
+++ b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts
@@ -116,7 +116,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
@@ -125,7 +126,8 @@
 };
 
 &pcie1 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi
index 8b6739e801..276deda8f0 100644
--- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi
+++ b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi
@@ -113,7 +113,7 @@
 
 &pcie0 {
 	wifi0: wifi at 0,0 {
-		compatible = "pci14c3,7603";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
@@ -122,7 +122,7 @@
 
 &pcie1 {
 	wifi1: wifi at 0,0 {
-		compatible = "pci14c3,7662";
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts b/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts
index 4b4e142b58..f3cbf90545 100644
--- a/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts
+++ b/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts
@@ -189,10 +189,9 @@
 };
 
 &pcie0 {
-	status = "okay";
-	mt7615d at 0,0 {
-		/* In reality  at hangs at pcie1, this is a driver bug */
-		compatible = "pci14c3,7615";
+	/* In reality  at hangs at pcie1, this is a driver bug */
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		mediatek,firmware-eeprom = "mt7615e_eeprom.bin";
 		nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_fe6e 1>;
diff --git a/target/linux/ramips/dts/mt7621_zyxel_nr7101.dts b/target/linux/ramips/dts/mt7621_zyxel_nr7101.dts
index 070ea4a13f..7bab38a2ee 100644
--- a/target/linux/ramips/dts/mt7621_zyxel_nr7101.dts
+++ b/target/linux/ramips/dts/mt7621_zyxel_nr7101.dts
@@ -151,7 +151,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7621_zyxel_nwa-ax.dtsi b/target/linux/ramips/dts/mt7621_zyxel_nwa-ax.dtsi
index 499d166890..cd6f63a78e 100644
--- a/target/linux/ramips/dts/mt7621_zyxel_nwa-ax.dtsi
+++ b/target/linux/ramips/dts/mt7621_zyxel_nwa-ax.dtsi
@@ -130,8 +130,8 @@
 
 &pcie1 {
 	wlan_5g: wifi at 0,0 {
-		reg = <0x0 0 0 0 0>;
 		compatible = "mediatek,mt76";
+		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>, <&precal_factory_e10>;
 		nvmem-cell-names = "eeprom", "precal";
 		/* MAC-Address set in userspace */
diff --git a/target/linux/ramips/dts/mt7621_zyxel_wap6805.dts b/target/linux/ramips/dts/mt7621_zyxel_wap6805.dts
index b3e8f6db74..40cdf7c6a9 100644
--- a/target/linux/ramips/dts/mt7621_zyxel_wap6805.dts
+++ b/target/linux/ramips/dts/mt7621_zyxel_wap6805.dts
@@ -138,7 +138,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dtsi b/target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dtsi
index e56648d4d1..4d5fb072ac 100644
--- a/target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dtsi
+++ b/target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dtsi
@@ -138,7 +138,7 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
diff --git a/target/linux/ramips/dts/mt7628an_buffalo_wcr-1166ds.dts b/target/linux/ramips/dts/mt7628an_buffalo_wcr-1166ds.dts
index b6d2416f60..6ded1c29e9 100644
--- a/target/linux/ramips/dts/mt7628an_buffalo_wcr-1166ds.dts
+++ b/target/linux/ramips/dts/mt7628an_buffalo_wcr-1166ds.dts
@@ -102,7 +102,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts b/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts
index e189dbf5ff..84132018a0 100644
--- a/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts
+++ b/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts
@@ -121,7 +121,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_art_1000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7628an_motorola_mwr03.dts b/target/linux/ramips/dts/mt7628an_motorola_mwr03.dts
index 7b288701c9..7384cc50f5 100644
--- a/target/linux/ramips/dts/mt7628an_motorola_mwr03.dts
+++ b/target/linux/ramips/dts/mt7628an_motorola_mwr03.dts
@@ -140,6 +140,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7628an_netgear_r6xxx.dtsi b/target/linux/ramips/dts/mt7628an_netgear_r6xxx.dtsi
index a8e7353967..34eead2c9f 100644
--- a/target/linux/ramips/dts/mt7628an_netgear_r6xxx.dtsi
+++ b/target/linux/ramips/dts/mt7628an_netgear_r6xxx.dtsi
@@ -137,6 +137,7 @@
 
 &pcie0 {
 	wifi5: wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 	};
diff --git a/target/linux/ramips/dts/mt7628an_ravpower_rp-wd009.dts b/target/linux/ramips/dts/mt7628an_ravpower_rp-wd009.dts
index 71c77d7ae6..884188baa0 100644
--- a/target/linux/ramips/dts/mt7628an_ravpower_rp-wd009.dts
+++ b/target/linux/ramips/dts/mt7628an_ravpower_rp-wd009.dts
@@ -127,6 +127,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7628an_totolink_lr1200.dts b/target/linux/ramips/dts/mt7628an_totolink_lr1200.dts
index 8ee4dd3314..5f7d512e39 100644
--- a/target/linux/ramips/dts/mt7628an_totolink_lr1200.dts
+++ b/target/linux/ramips/dts/mt7628an_totolink_lr1200.dts
@@ -98,7 +98,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts b/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts
index 6e6d7253bd..8dc05dc92e 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts
@@ -112,7 +112,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
diff --git a/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v5.dts b/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v5.dts
index eef9635e16..469f111145 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v5.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v5.dts
@@ -100,6 +100,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100 (-1)>;
diff --git a/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v3.dts b/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v3.dts
index 0e9159402e..12ebccee5b 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v3.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v3.dts
@@ -111,7 +111,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
diff --git a/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts b/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts
index 59a61e3d86..711f51691e 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts
@@ -98,6 +98,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100 (-1)>;
diff --git a/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v6.dts b/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v6.dts
index b2571a06d1..1f2b823e78 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v6.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v6.dts
@@ -92,6 +92,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100 (-1)>;
diff --git a/target/linux/ramips/dts/mt7628an_tplink_archer-mr200-v5.dts b/target/linux/ramips/dts/mt7628an_tplink_archer-mr200-v5.dts
index 065987d653..084f274ce4 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_archer-mr200-v5.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_archer-mr200-v5.dts
@@ -183,7 +183,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_radio_8000>, <&macaddr_romfile_f100 (-1)>;
diff --git a/target/linux/ramips/dts/mt7628an_tplink_archer-mr200-v6.dts b/target/linux/ramips/dts/mt7628an_tplink_archer-mr200-v6.dts
index c33b885c7e..95df2a997a 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_archer-mr200-v6.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_archer-mr200-v6.dts
@@ -184,6 +184,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_f100 (-1)>;
diff --git a/target/linux/ramips/dts/mt7628an_tplink_re200.dtsi b/target/linux/ramips/dts/mt7628an_tplink_re200.dtsi
index 3e22273d3f..a9e072127d 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_re200.dtsi
+++ b/target/linux/ramips/dts/mt7628an_tplink_re200.dtsi
@@ -165,7 +165,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_2008 2>;
diff --git a/target/linux/ramips/dts/mt7628an_tplink_re305.dtsi b/target/linux/ramips/dts/mt7628an_tplink_re305.dtsi
index 13f8d89fd2..b3e373956e 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_re305.dtsi
+++ b/target/linux/ramips/dts/mt7628an_tplink_re305.dtsi
@@ -76,7 +76,7 @@
 };
 
 &pcie0 {
-	wlan5g: mt76 at 0,0 {
+	wlan5g: wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
diff --git a/target/linux/ramips/dts/mt7628an_tplink_re365-v1.dts b/target/linux/ramips/dts/mt7628an_tplink_re365-v1.dts
index 17fa9c0b5a..9ed81f761d 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_re365-v1.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_re365-v1.dts
@@ -119,7 +119,7 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr902ac-v3.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr902ac-v3.dts
index bebb02d0f4..6d03e5b2f2 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr902ac-v3.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr902ac-v3.dts
@@ -108,7 +108,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
diff --git a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn531a3.dts b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn531a3.dts
index 73db7796e2..666c674a1a 100644
--- a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn531a3.dts
+++ b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn531a3.dts
@@ -78,7 +78,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts
index e6bc5f4b39..9751434545 100644
--- a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts
+++ b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts
@@ -69,6 +69,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts
index 96d5366375..430ca2f0c6 100644
--- a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts
+++ b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts
@@ -62,7 +62,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn576a2.dts b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn576a2.dts
index 16a089a7f1..1214a6b512 100644
--- a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn576a2.dts
+++ b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn576a2.dts
@@ -103,6 +103,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn577a2.dts b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn577a2.dts
index 04c62b25c2..17c4499e5d 100644
--- a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn577a2.dts
+++ b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn577a2.dts
@@ -68,7 +68,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn578a2.dts b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn578a2.dts
index 1b84005583..dc4a39c6ac 100644
--- a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn578a2.dts
+++ b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn578a2.dts
@@ -99,6 +99,7 @@
 
 &pcie0 {
 	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;
 		nvmem-cell-names = "eeprom";
diff --git a/target/linux/ramips/dts/mt7628an_yuncore_cpe200.dts b/target/linux/ramips/dts/mt7628an_yuncore_cpe200.dts
index f6c26a7bd9..41125a2618 100644
--- a/target/linux/ramips/dts/mt7628an_yuncore_cpe200.dts
+++ b/target/linux/ramips/dts/mt7628an_yuncore_cpe200.dts
@@ -137,7 +137,8 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		ieee80211-freq-limit = <5000000 6000000>;
 		nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_8004>;
diff --git a/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts b/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts
index 72f0e280cf..e04865df17 100644
--- a/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts
+++ b/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts
@@ -222,7 +222,7 @@
 };
 
 &pcie0 {
-	mt76 at 0,0 {
+	wifi at 0,0 {
 		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_8000>;




More information about the lede-commits mailing list