From 7196ca1d497b6f0727a285bc3ecd41d54aff3a81 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Wed, 3 Jul 2019 23:22:28 +0200 Subject: [PATCH] ramips/mt7621: Name DTS files based on scheme As introduced with ath79, DTS files for ramips will now be labelled soc_vendor_device.dts(i). With this change, DTS files can be selected automatically without further manual links. Signed-off-by: Adrian Schmutzler --- target/linux/ramips/dts/UBNT-ERX.dts | 7 -- ...{EW1200.dts => mt7621_afoundry_ew1200.dts} | 0 ...1-001.dts => mt7621_asiarf_ap7621-001.dts} | 0 ...166.dts => mt7621_buffalo_wsr-1166dhp.dts} | 0 ...-600.dts => mt7621_buffalo_wsr-600dhp.dts} | 0 ...ifi-D2.dts => mt7621_d-team_newifi-d2.dts} | 0 .../{PBR-M1.dts => mt7621_d-team_pbr-m1.dts} | 0 ...0L-B1.dts => mt7621_dlink_dir-860l-b1.dts} | 0 ....dts => mt7621_elecom_wrc-1167ghbk2-s.dts} | 0 ...0GST.dts => mt7621_elecom_wrc-1900gst.dts} | 2 +- ...3GST.dts => mt7621_elecom_wrc-2533gst.dts} | 2 +- ...rc-gst.dtsi => mt7621_elecom_wrc-gst.dtsi} | 0 ...FIREWRT.dts => mt7621_firefly_firewrt.dts} | 0 ...L-R-001.dts => mt7621_gehua_ghl-r-001.dts} | 0 .../{GB-PC1.dts => mt7621_gnubee_gb-pc1.dts} | 0 .../{GB-PC2.dts => mt7621_gnubee_gb-pc2.dts} | 0 .../{HC5962.dts => mt7621_hiwifi_hc5962.dts} | 0 ...67GR.dts => mt7621_iodata_wn-ax1167gr.dts} | 0 ...300GR.dts => mt7621_iodata_wn-gx300gr.dts} | 0 ...ifi-D1.dts => mt7621_lenovo_newifi-d1.dts} | 0 .../{RE6500.dts => mt7621_linksys_re6500.dts} | 0 ...dts => mt7621_mediatek_ap-mt7621a-v60.dts} | 0 ... => mt7621_mediatek_mt7621-eval-board.dts} | 0 ...50Gr3.dts => mt7621_mikrotik_rb750gr3.dts} | 0 ...{RBM11G.dts => mt7621_mikrotik_rbm11g.dts} | 0 ...{RBM33G.dts => mt7621_mikrotik_rbm33g.dts} | 0 ...-256M.dts => mt7621_mqmaker_witi-256m.dts} | 2 +- ...-512M.dts => mt7621_mqmaker_witi-512m.dts} | 2 +- .../{WITI.dtsi => mt7621_mqmaker_witi.dtsi} | 0 .../dts/{WR1201.dts => mt7621_mtc_wr1201.dts} | 0 .../{EX6150.dts => mt7621_netgear_ex6150.dts} | 0 .../{R6220.dts => mt7621_netgear_r6220.dts} | 2 +- .../{R6220.dtsi => mt7621_netgear_r6220.dtsi} | 0 .../{R6350.dts => mt7621_netgear_r6350.dts} | 0 ...0V5.dts => mt7621_netgear_wndr3700-v5.dts} | 4 +- .../{WF-2881.dts => mt7621_netis_wf-2881.dts} | 0 .../dts/{K2P.dts => mt7621_phicomm_k2p.dts} | 0 .../{VR500.dts => mt7621_planex_vr500.dts} | 0 ...B8.dts => mt7621_samknows_whitebox-v8.dts} | 0 ...3.dts => mt7621_storylink_sap-g3200u3.dts} | 0 ...X1.dts => mt7621_telco-electronics_x1.dts} | 0 ...cloud.dts => mt7621_thunder_timecloud.dts} | 0 ...-A7000R.dts => mt7621_totolink_a7000r.dts} | 0 .../{RE350.dts => mt7621_tplink_re350-v1.dts} | 0 ...ts => mt7621_ubiquiti_edgerouterx-sfp.dts} | 2 +- .../dts/mt7621_ubiquiti_edgerouterx.dts | 7 ++ ....dtsi => mt7621_ubiquiti_edgerouterx.dtsi} | 0 ...s => mt7621_unielec_u7621-06-256m-16m.dts} | 2 +- ...s => mt7621_unielec_u7621-06-512m-64m.dts} | 2 +- ...1-06.dtsi => mt7621_unielec_u7621-06.dtsi} | 0 .../{11ACNAS.dts => mt7621_wevo_11acnas.dts} | 2 +- ...914NSV2.dts => mt7621_wevo_w2914ns-v2.dts} | 2 +- ...4NSV2.dtsi => mt7621_wevo_w2914ns-v2.dtsi} | 0 .../{MIR3G.dts => mt7621_xiaomi_mir3g.dts} | 0 .../{MIR3P.dts => mt7621_xiaomi_mir3p.dts} | 0 ...1.dts => mt7621_xzwifi_creativebox-v1.dts} | 0 ...R1200JS.dts => mt7621_youhua_wr1200js.dts} | 0 .../{YOUKU-YK2.dts => mt7621_youku_yk-l2.dts} | 0 ...1326.dts => mt7621_zbtlink_zbt-we1326.dts} | 0 ...3526.dts => mt7621_zbtlink_zbt-we3526.dts} | 0 ...2626.dts => mt7621_zbtlink_zbt-wg2626.dts} | 0 ....dts => mt7621_zbtlink_zbt-wg3526-16m.dts} | 2 +- ....dts => mt7621_zbtlink_zbt-wg3526-32m.dts} | 2 +- ...26.dtsi => mt7621_zbtlink_zbt-wg3526.dtsi} | 0 target/linux/ramips/image/mt7621.mk | 109 +++++++++--------- 65 files changed, 74 insertions(+), 77 deletions(-) delete mode 100644 target/linux/ramips/dts/UBNT-ERX.dts rename target/linux/ramips/dts/{EW1200.dts => mt7621_afoundry_ew1200.dts} (100%) rename target/linux/ramips/dts/{AP7621-001.dts => mt7621_asiarf_ap7621-001.dts} (100%) rename target/linux/ramips/dts/{WSR-1166.dts => mt7621_buffalo_wsr-1166dhp.dts} (100%) rename target/linux/ramips/dts/{WSR-600.dts => mt7621_buffalo_wsr-600dhp.dts} (100%) rename target/linux/ramips/dts/{Newifi-D2.dts => mt7621_d-team_newifi-d2.dts} (100%) rename target/linux/ramips/dts/{PBR-M1.dts => mt7621_d-team_pbr-m1.dts} (100%) rename target/linux/ramips/dts/{DIR-860L-B1.dts => mt7621_dlink_dir-860l-b1.dts} (100%) rename target/linux/ramips/dts/{WRC-1167GHBK2-S.dts => mt7621_elecom_wrc-1167ghbk2-s.dts} (100%) rename target/linux/ramips/dts/{WRC-1900GST.dts => mt7621_elecom_wrc-1900gst.dts} (79%) rename target/linux/ramips/dts/{WRC-2533GST.dts => mt7621_elecom_wrc-2533gst.dts} (74%) rename target/linux/ramips/dts/{elecom_wrc-gst.dtsi => mt7621_elecom_wrc-gst.dtsi} (100%) rename target/linux/ramips/dts/{FIREWRT.dts => mt7621_firefly_firewrt.dts} (100%) rename target/linux/ramips/dts/{GHL-R-001.dts => mt7621_gehua_ghl-r-001.dts} (100%) rename target/linux/ramips/dts/{GB-PC1.dts => mt7621_gnubee_gb-pc1.dts} (100%) rename target/linux/ramips/dts/{GB-PC2.dts => mt7621_gnubee_gb-pc2.dts} (100%) rename target/linux/ramips/dts/{HC5962.dts => mt7621_hiwifi_hc5962.dts} (100%) rename target/linux/ramips/dts/{WN-AX1167GR.dts => mt7621_iodata_wn-ax1167gr.dts} (100%) rename target/linux/ramips/dts/{WN-GX300GR.dts => mt7621_iodata_wn-gx300gr.dts} (100%) rename target/linux/ramips/dts/{Newifi-D1.dts => mt7621_lenovo_newifi-d1.dts} (100%) rename target/linux/ramips/dts/{RE6500.dts => mt7621_linksys_re6500.dts} (100%) rename target/linux/ramips/dts/{AP-MT7621A-V60.dts => mt7621_mediatek_ap-mt7621a-v60.dts} (100%) rename target/linux/ramips/dts/{MT7621.dts => mt7621_mediatek_mt7621-eval-board.dts} (100%) rename target/linux/ramips/dts/{RB750Gr3.dts => mt7621_mikrotik_rb750gr3.dts} (100%) rename target/linux/ramips/dts/{RBM11G.dts => mt7621_mikrotik_rbm11g.dts} (100%) rename target/linux/ramips/dts/{RBM33G.dts => mt7621_mikrotik_rbm33g.dts} (100%) rename target/linux/ramips/dts/{WITI-256M.dts => mt7621_mqmaker_witi-256m.dts} (84%) rename target/linux/ramips/dts/{WITI-512M.dts => mt7621_mqmaker_witi-512m.dts} (86%) rename target/linux/ramips/dts/{WITI.dtsi => mt7621_mqmaker_witi.dtsi} (100%) rename target/linux/ramips/dts/{WR1201.dts => mt7621_mtc_wr1201.dts} (100%) rename target/linux/ramips/dts/{EX6150.dts => mt7621_netgear_ex6150.dts} (100%) rename target/linux/ramips/dts/{R6220.dts => mt7621_netgear_r6220.dts} (96%) rename target/linux/ramips/dts/{R6220.dtsi => mt7621_netgear_r6220.dtsi} (100%) rename target/linux/ramips/dts/{R6350.dts => mt7621_netgear_r6350.dts} (100%) rename target/linux/ramips/dts/{WNDR3700V5.dts => mt7621_netgear_wndr3700-v5.dts} (93%) rename target/linux/ramips/dts/{WF-2881.dts => mt7621_netis_wf-2881.dts} (100%) rename target/linux/ramips/dts/{K2P.dts => mt7621_phicomm_k2p.dts} (100%) rename target/linux/ramips/dts/{VR500.dts => mt7621_planex_vr500.dts} (100%) rename target/linux/ramips/dts/{SK-WB8.dts => mt7621_samknows_whitebox-v8.dts} (100%) rename target/linux/ramips/dts/{SAP-G3200U3.dts => mt7621_storylink_sap-g3200u3.dts} (100%) rename target/linux/ramips/dts/{Telco-Electronics-X1.dts => mt7621_telco-electronics_x1.dts} (100%) rename target/linux/ramips/dts/{Timecloud.dts => mt7621_thunder_timecloud.dts} (100%) rename target/linux/ramips/dts/{TOTOLINK-A7000R.dts => mt7621_totolink_a7000r.dts} (100%) rename target/linux/ramips/dts/{RE350.dts => mt7621_tplink_re350-v1.dts} (100%) rename target/linux/ramips/dts/{UBNT-ERX-SFP.dts => mt7621_ubiquiti_edgerouterx-sfp.dts} (90%) create mode 100644 target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dts rename target/linux/ramips/dts/{UBNT-ER-e50.dtsi => mt7621_ubiquiti_edgerouterx.dtsi} (100%) rename target/linux/ramips/dts/{U7621-06-256M-16M.dts => mt7621_unielec_u7621-06-256m-16m.dts} (98%) rename target/linux/ramips/dts/{U7621-06-512M-64M.dts => mt7621_unielec_u7621-06-512m-64m.dts} (98%) rename target/linux/ramips/dts/{U7621-06.dtsi => mt7621_unielec_u7621-06.dtsi} (100%) rename target/linux/ramips/dts/{11ACNAS.dts => mt7621_wevo_11acnas.dts} (91%) rename target/linux/ramips/dts/{W2914NSV2.dts => mt7621_wevo_w2914ns-v2.dts} (89%) rename target/linux/ramips/dts/{W2914NSV2.dtsi => mt7621_wevo_w2914ns-v2.dtsi} (100%) rename target/linux/ramips/dts/{MIR3G.dts => mt7621_xiaomi_mir3g.dts} (100%) rename target/linux/ramips/dts/{MIR3P.dts => mt7621_xiaomi_mir3p.dts} (100%) rename target/linux/ramips/dts/{CreativeBox-v1.dts => mt7621_xzwifi_creativebox-v1.dts} (100%) rename target/linux/ramips/dts/{WR1200JS.dts => mt7621_youhua_wr1200js.dts} (100%) rename target/linux/ramips/dts/{YOUKU-YK2.dts => mt7621_youku_yk-l2.dts} (100%) rename target/linux/ramips/dts/{ZBT-WE1326.dts => mt7621_zbtlink_zbt-we1326.dts} (100%) rename target/linux/ramips/dts/{ZBT-WE3526.dts => mt7621_zbtlink_zbt-we3526.dts} (100%) rename target/linux/ramips/dts/{ZBT-WG2626.dts => mt7621_zbtlink_zbt-wg2626.dts} (100%) rename target/linux/ramips/dts/{ZBT-WG3526-16M.dts => mt7621_zbtlink_zbt-wg3526-16m.dts} (80%) rename target/linux/ramips/dts/{ZBT-WG3526-32M.dts => mt7621_zbtlink_zbt-wg3526-32m.dts} (80%) rename target/linux/ramips/dts/{ZBT-WG3526.dtsi => mt7621_zbtlink_zbt-wg3526.dtsi} (100%) diff --git a/target/linux/ramips/dts/UBNT-ERX.dts b/target/linux/ramips/dts/UBNT-ERX.dts deleted file mode 100644 index 556d1156c3..0000000000 --- a/target/linux/ramips/dts/UBNT-ERX.dts +++ /dev/null @@ -1,7 +0,0 @@ -/dts-v1/; - -#include "UBNT-ER-e50.dtsi" - -/ { - model = "UBNT-ERX"; -}; diff --git a/target/linux/ramips/dts/EW1200.dts b/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts similarity index 100% rename from target/linux/ramips/dts/EW1200.dts rename to target/linux/ramips/dts/mt7621_afoundry_ew1200.dts diff --git a/target/linux/ramips/dts/AP7621-001.dts b/target/linux/ramips/dts/mt7621_asiarf_ap7621-001.dts similarity index 100% rename from target/linux/ramips/dts/AP7621-001.dts rename to target/linux/ramips/dts/mt7621_asiarf_ap7621-001.dts diff --git a/target/linux/ramips/dts/WSR-1166.dts b/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts similarity index 100% rename from target/linux/ramips/dts/WSR-1166.dts rename to target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts diff --git a/target/linux/ramips/dts/WSR-600.dts b/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts similarity index 100% rename from target/linux/ramips/dts/WSR-600.dts rename to target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts diff --git a/target/linux/ramips/dts/Newifi-D2.dts b/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts similarity index 100% rename from target/linux/ramips/dts/Newifi-D2.dts rename to target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts diff --git a/target/linux/ramips/dts/PBR-M1.dts b/target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts similarity index 100% rename from target/linux/ramips/dts/PBR-M1.dts rename to target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts diff --git a/target/linux/ramips/dts/DIR-860L-B1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts similarity index 100% rename from target/linux/ramips/dts/DIR-860L-B1.dts rename to target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts diff --git a/target/linux/ramips/dts/WRC-1167GHBK2-S.dts b/target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts similarity index 100% rename from target/linux/ramips/dts/WRC-1167GHBK2-S.dts rename to target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts diff --git a/target/linux/ramips/dts/WRC-1900GST.dts b/target/linux/ramips/dts/mt7621_elecom_wrc-1900gst.dts similarity index 79% rename from target/linux/ramips/dts/WRC-1900GST.dts rename to target/linux/ramips/dts/mt7621_elecom_wrc-1900gst.dts index c910bdeec7..2135f00ea2 100644 --- a/target/linux/ramips/dts/WRC-1900GST.dts +++ b/target/linux/ramips/dts/mt7621_elecom_wrc-1900gst.dts @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 /dts-v1/; -#include "elecom_wrc-gst.dtsi" +#include "mt7621_elecom_wrc-gst.dtsi" / { diff --git a/target/linux/ramips/dts/WRC-2533GST.dts b/target/linux/ramips/dts/mt7621_elecom_wrc-2533gst.dts similarity index 74% rename from target/linux/ramips/dts/WRC-2533GST.dts rename to target/linux/ramips/dts/mt7621_elecom_wrc-2533gst.dts index 7aecdccbf6..75c71c96d4 100644 --- a/target/linux/ramips/dts/WRC-2533GST.dts +++ b/target/linux/ramips/dts/mt7621_elecom_wrc-2533gst.dts @@ -1,6 +1,6 @@ /dts-v1/; -#include "elecom_wrc-gst.dtsi" +#include "mt7621_elecom_wrc-gst.dtsi" / { diff --git a/target/linux/ramips/dts/elecom_wrc-gst.dtsi b/target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi similarity index 100% rename from target/linux/ramips/dts/elecom_wrc-gst.dtsi rename to target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi diff --git a/target/linux/ramips/dts/FIREWRT.dts b/target/linux/ramips/dts/mt7621_firefly_firewrt.dts similarity index 100% rename from target/linux/ramips/dts/FIREWRT.dts rename to target/linux/ramips/dts/mt7621_firefly_firewrt.dts diff --git a/target/linux/ramips/dts/GHL-R-001.dts b/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts similarity index 100% rename from target/linux/ramips/dts/GHL-R-001.dts rename to target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts diff --git a/target/linux/ramips/dts/GB-PC1.dts b/target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts similarity index 100% rename from target/linux/ramips/dts/GB-PC1.dts rename to target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts diff --git a/target/linux/ramips/dts/GB-PC2.dts b/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts similarity index 100% rename from target/linux/ramips/dts/GB-PC2.dts rename to target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts diff --git a/target/linux/ramips/dts/HC5962.dts b/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts similarity index 100% rename from target/linux/ramips/dts/HC5962.dts rename to target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts diff --git a/target/linux/ramips/dts/WN-AX1167GR.dts b/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts similarity index 100% rename from target/linux/ramips/dts/WN-AX1167GR.dts rename to target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts diff --git a/target/linux/ramips/dts/WN-GX300GR.dts b/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts similarity index 100% rename from target/linux/ramips/dts/WN-GX300GR.dts rename to target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts diff --git a/target/linux/ramips/dts/Newifi-D1.dts b/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts similarity index 100% rename from target/linux/ramips/dts/Newifi-D1.dts rename to target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts diff --git a/target/linux/ramips/dts/RE6500.dts b/target/linux/ramips/dts/mt7621_linksys_re6500.dts similarity index 100% rename from target/linux/ramips/dts/RE6500.dts rename to target/linux/ramips/dts/mt7621_linksys_re6500.dts diff --git a/target/linux/ramips/dts/AP-MT7621A-V60.dts b/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts similarity index 100% rename from target/linux/ramips/dts/AP-MT7621A-V60.dts rename to target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts diff --git a/target/linux/ramips/dts/MT7621.dts b/target/linux/ramips/dts/mt7621_mediatek_mt7621-eval-board.dts similarity index 100% rename from target/linux/ramips/dts/MT7621.dts rename to target/linux/ramips/dts/mt7621_mediatek_mt7621-eval-board.dts diff --git a/target/linux/ramips/dts/RB750Gr3.dts b/target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts similarity index 100% rename from target/linux/ramips/dts/RB750Gr3.dts rename to target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts diff --git a/target/linux/ramips/dts/RBM11G.dts b/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts similarity index 100% rename from target/linux/ramips/dts/RBM11G.dts rename to target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts diff --git a/target/linux/ramips/dts/RBM33G.dts b/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts similarity index 100% rename from target/linux/ramips/dts/RBM33G.dts rename to target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts diff --git a/target/linux/ramips/dts/WITI-256M.dts b/target/linux/ramips/dts/mt7621_mqmaker_witi-256m.dts similarity index 84% rename from target/linux/ramips/dts/WITI-256M.dts rename to target/linux/ramips/dts/mt7621_mqmaker_witi-256m.dts index 4c12d8c3b5..c15d4f0a33 100644 --- a/target/linux/ramips/dts/WITI-256M.dts +++ b/target/linux/ramips/dts/mt7621_mqmaker_witi-256m.dts @@ -1,6 +1,6 @@ /dts-v1/; -#include "WITI.dtsi" +#include "mt7621_mqmaker_witi.dtsi" / { compatible = "mqmaker,witi-256m", "mqmaker,witi", "mediatek,mt7621-soc"; diff --git a/target/linux/ramips/dts/WITI-512M.dts b/target/linux/ramips/dts/mt7621_mqmaker_witi-512m.dts similarity index 86% rename from target/linux/ramips/dts/WITI-512M.dts rename to target/linux/ramips/dts/mt7621_mqmaker_witi-512m.dts index b249075534..8fb7bf3977 100644 --- a/target/linux/ramips/dts/WITI-512M.dts +++ b/target/linux/ramips/dts/mt7621_mqmaker_witi-512m.dts @@ -1,6 +1,6 @@ /dts-v1/; -#include "WITI.dtsi" +#include "mt7621_mqmaker_witi.dtsi" / { compatible = "mqmaker,witi-512m", "mqmaker,witi", "mediatek,mt7621-soc"; diff --git a/target/linux/ramips/dts/WITI.dtsi b/target/linux/ramips/dts/mt7621_mqmaker_witi.dtsi similarity index 100% rename from target/linux/ramips/dts/WITI.dtsi rename to target/linux/ramips/dts/mt7621_mqmaker_witi.dtsi diff --git a/target/linux/ramips/dts/WR1201.dts b/target/linux/ramips/dts/mt7621_mtc_wr1201.dts similarity index 100% rename from target/linux/ramips/dts/WR1201.dts rename to target/linux/ramips/dts/mt7621_mtc_wr1201.dts diff --git a/target/linux/ramips/dts/EX6150.dts b/target/linux/ramips/dts/mt7621_netgear_ex6150.dts similarity index 100% rename from target/linux/ramips/dts/EX6150.dts rename to target/linux/ramips/dts/mt7621_netgear_ex6150.dts diff --git a/target/linux/ramips/dts/R6220.dts b/target/linux/ramips/dts/mt7621_netgear_r6220.dts similarity index 96% rename from target/linux/ramips/dts/R6220.dts rename to target/linux/ramips/dts/mt7621_netgear_r6220.dts index 28c3a3938d..8fdbf912eb 100644 --- a/target/linux/ramips/dts/R6220.dts +++ b/target/linux/ramips/dts/mt7621_netgear_r6220.dts @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 /dts-v1/; -#include "R6220.dtsi" +#include "mt7621_netgear_r6220.dtsi" #include #include diff --git a/target/linux/ramips/dts/R6220.dtsi b/target/linux/ramips/dts/mt7621_netgear_r6220.dtsi similarity index 100% rename from target/linux/ramips/dts/R6220.dtsi rename to target/linux/ramips/dts/mt7621_netgear_r6220.dtsi diff --git a/target/linux/ramips/dts/R6350.dts b/target/linux/ramips/dts/mt7621_netgear_r6350.dts similarity index 100% rename from target/linux/ramips/dts/R6350.dts rename to target/linux/ramips/dts/mt7621_netgear_r6350.dts diff --git a/target/linux/ramips/dts/WNDR3700V5.dts b/target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts similarity index 93% rename from target/linux/ramips/dts/WNDR3700V5.dts rename to target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts index 475ddb7e95..dd20c83fdc 100644 --- a/target/linux/ramips/dts/WNDR3700V5.dts +++ b/target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts @@ -1,14 +1,14 @@ // SPDX-License-Identifier: GPL-2.0 /dts-v1/; -#include "R6220.dtsi" +#include "mt7621_netgear_r6220.dtsi" #include #include / { compatible = "netgear,wndr3700-v5", "mediatek,mt7621-soc"; - model = "Netgear WNDR3700v5"; + model = "Netgear WNDR3700 v5"; }; &led_power { diff --git a/target/linux/ramips/dts/WF-2881.dts b/target/linux/ramips/dts/mt7621_netis_wf-2881.dts similarity index 100% rename from target/linux/ramips/dts/WF-2881.dts rename to target/linux/ramips/dts/mt7621_netis_wf-2881.dts diff --git a/target/linux/ramips/dts/K2P.dts b/target/linux/ramips/dts/mt7621_phicomm_k2p.dts similarity index 100% rename from target/linux/ramips/dts/K2P.dts rename to target/linux/ramips/dts/mt7621_phicomm_k2p.dts diff --git a/target/linux/ramips/dts/VR500.dts b/target/linux/ramips/dts/mt7621_planex_vr500.dts similarity index 100% rename from target/linux/ramips/dts/VR500.dts rename to target/linux/ramips/dts/mt7621_planex_vr500.dts diff --git a/target/linux/ramips/dts/SK-WB8.dts b/target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts similarity index 100% rename from target/linux/ramips/dts/SK-WB8.dts rename to target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts diff --git a/target/linux/ramips/dts/SAP-G3200U3.dts b/target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts similarity index 100% rename from target/linux/ramips/dts/SAP-G3200U3.dts rename to target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts diff --git a/target/linux/ramips/dts/Telco-Electronics-X1.dts b/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts similarity index 100% rename from target/linux/ramips/dts/Telco-Electronics-X1.dts rename to target/linux/ramips/dts/mt7621_telco-electronics_x1.dts diff --git a/target/linux/ramips/dts/Timecloud.dts b/target/linux/ramips/dts/mt7621_thunder_timecloud.dts similarity index 100% rename from target/linux/ramips/dts/Timecloud.dts rename to target/linux/ramips/dts/mt7621_thunder_timecloud.dts diff --git a/target/linux/ramips/dts/TOTOLINK-A7000R.dts b/target/linux/ramips/dts/mt7621_totolink_a7000r.dts similarity index 100% rename from target/linux/ramips/dts/TOTOLINK-A7000R.dts rename to target/linux/ramips/dts/mt7621_totolink_a7000r.dts diff --git a/target/linux/ramips/dts/RE350.dts b/target/linux/ramips/dts/mt7621_tplink_re350-v1.dts similarity index 100% rename from target/linux/ramips/dts/RE350.dts rename to target/linux/ramips/dts/mt7621_tplink_re350-v1.dts diff --git a/target/linux/ramips/dts/UBNT-ERX-SFP.dts b/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx-sfp.dts similarity index 90% rename from target/linux/ramips/dts/UBNT-ERX-SFP.dts rename to target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx-sfp.dts index 7de37804a5..06f887a37e 100644 --- a/target/linux/ramips/dts/UBNT-ERX-SFP.dts +++ b/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx-sfp.dts @@ -1,6 +1,6 @@ /dts-v1/; -#include "UBNT-ER-e50.dtsi" +#include "mt7621_ubiquiti_edgerouterx.dtsi" #include diff --git a/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dts b/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dts new file mode 100644 index 0000000000..e78fdcf102 --- /dev/null +++ b/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dts @@ -0,0 +1,7 @@ +/dts-v1/; + +#include "mt7621_ubiquiti_edgerouterx.dtsi" + +/ { + model = "UBNT-ERX"; +}; diff --git a/target/linux/ramips/dts/UBNT-ER-e50.dtsi b/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi similarity index 100% rename from target/linux/ramips/dts/UBNT-ER-e50.dtsi rename to target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi diff --git a/target/linux/ramips/dts/U7621-06-256M-16M.dts b/target/linux/ramips/dts/mt7621_unielec_u7621-06-256m-16m.dts similarity index 98% rename from target/linux/ramips/dts/U7621-06-256M-16M.dts rename to target/linux/ramips/dts/mt7621_unielec_u7621-06-256m-16m.dts index e6cc4c9205..157ac13081 100644 --- a/target/linux/ramips/dts/U7621-06-256M-16M.dts +++ b/target/linux/ramips/dts/mt7621_unielec_u7621-06-256m-16m.dts @@ -34,7 +34,7 @@ /dts-v1/; -#include "U7621-06.dtsi" +#include "mt7621_unielec_u7621-06.dtsi" #include #include diff --git a/target/linux/ramips/dts/U7621-06-512M-64M.dts b/target/linux/ramips/dts/mt7621_unielec_u7621-06-512m-64m.dts similarity index 98% rename from target/linux/ramips/dts/U7621-06-512M-64M.dts rename to target/linux/ramips/dts/mt7621_unielec_u7621-06-512m-64m.dts index d710477c13..83e4db5e9c 100644 --- a/target/linux/ramips/dts/U7621-06-512M-64M.dts +++ b/target/linux/ramips/dts/mt7621_unielec_u7621-06-512m-64m.dts @@ -35,7 +35,7 @@ /dts-v1/; -#include "U7621-06.dtsi" +#include "mt7621_unielec_u7621-06.dtsi" #include #include diff --git a/target/linux/ramips/dts/U7621-06.dtsi b/target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi similarity index 100% rename from target/linux/ramips/dts/U7621-06.dtsi rename to target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi diff --git a/target/linux/ramips/dts/11ACNAS.dts b/target/linux/ramips/dts/mt7621_wevo_11acnas.dts similarity index 91% rename from target/linux/ramips/dts/11ACNAS.dts rename to target/linux/ramips/dts/mt7621_wevo_11acnas.dts index 2b15566968..d993f6689e 100644 --- a/target/linux/ramips/dts/11ACNAS.dts +++ b/target/linux/ramips/dts/mt7621_wevo_11acnas.dts @@ -1,6 +1,6 @@ /dts-v1/; -#include "W2914NSV2.dtsi" +#include "mt7621_wevo_w2914ns-v2.dtsi" / { compatible = "wevo,11acnas", "wevo,w2914ns-v2", "mediatek,mt7621-soc"; diff --git a/target/linux/ramips/dts/W2914NSV2.dts b/target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dts similarity index 89% rename from target/linux/ramips/dts/W2914NSV2.dts rename to target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dts index bd8e809447..adc987d3b9 100644 --- a/target/linux/ramips/dts/W2914NSV2.dts +++ b/target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dts @@ -1,6 +1,6 @@ /dts-v1/; -#include "W2914NSV2.dtsi" +#include "mt7621_wevo_w2914ns-v2.dtsi" / { model = "WeVO W2914NS v2"; diff --git a/target/linux/ramips/dts/W2914NSV2.dtsi b/target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dtsi similarity index 100% rename from target/linux/ramips/dts/W2914NSV2.dtsi rename to target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dtsi diff --git a/target/linux/ramips/dts/MIR3G.dts b/target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts similarity index 100% rename from target/linux/ramips/dts/MIR3G.dts rename to target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts diff --git a/target/linux/ramips/dts/MIR3P.dts b/target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts similarity index 100% rename from target/linux/ramips/dts/MIR3P.dts rename to target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts diff --git a/target/linux/ramips/dts/CreativeBox-v1.dts b/target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts similarity index 100% rename from target/linux/ramips/dts/CreativeBox-v1.dts rename to target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts diff --git a/target/linux/ramips/dts/WR1200JS.dts b/target/linux/ramips/dts/mt7621_youhua_wr1200js.dts similarity index 100% rename from target/linux/ramips/dts/WR1200JS.dts rename to target/linux/ramips/dts/mt7621_youhua_wr1200js.dts diff --git a/target/linux/ramips/dts/YOUKU-YK2.dts b/target/linux/ramips/dts/mt7621_youku_yk-l2.dts similarity index 100% rename from target/linux/ramips/dts/YOUKU-YK2.dts rename to target/linux/ramips/dts/mt7621_youku_yk-l2.dts diff --git a/target/linux/ramips/dts/ZBT-WE1326.dts b/target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts similarity index 100% rename from target/linux/ramips/dts/ZBT-WE1326.dts rename to target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts diff --git a/target/linux/ramips/dts/ZBT-WE3526.dts b/target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts similarity index 100% rename from target/linux/ramips/dts/ZBT-WE3526.dts rename to target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts diff --git a/target/linux/ramips/dts/ZBT-WG2626.dts b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts similarity index 100% rename from target/linux/ramips/dts/ZBT-WG2626.dts rename to target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts diff --git a/target/linux/ramips/dts/ZBT-WG3526-16M.dts b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526-16m.dts similarity index 80% rename from target/linux/ramips/dts/ZBT-WG3526-16M.dts rename to target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526-16m.dts index 73fc55e1f5..9bf8b9bdb2 100644 --- a/target/linux/ramips/dts/ZBT-WG3526-16M.dts +++ b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526-16m.dts @@ -1,6 +1,6 @@ /dts-v1/; -#include "ZBT-WG3526.dtsi" +#include "mt7621_zbtlink_zbt-wg3526.dtsi" / { compatible = "zbtlink,zbt-wg3526-16m", "zbtlink,zbt-wg3526", "mediatek,mt7621-soc"; diff --git a/target/linux/ramips/dts/ZBT-WG3526-32M.dts b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526-32m.dts similarity index 80% rename from target/linux/ramips/dts/ZBT-WG3526-32M.dts rename to target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526-32m.dts index d61d38dd99..8e49e48b2b 100644 --- a/target/linux/ramips/dts/ZBT-WG3526-32M.dts +++ b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526-32m.dts @@ -1,6 +1,6 @@ /dts-v1/; -#include "ZBT-WG3526.dtsi" +#include "mt7621_zbtlink_zbt-wg3526.dtsi" / { compatible = "zbtlink,zbt-wg3526-32m", "zbtlink,zbt-wg3526", "mediatek,mt7621-soc"; diff --git a/target/linux/ramips/dts/ZBT-WG3526.dtsi b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi similarity index 100% rename from target/linux/ramips/dts/ZBT-WG3526.dtsi rename to target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index 5fb07e17eb..d52377eeb1 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -85,7 +85,7 @@ define Build/ubnt-erx-factory-image endef define Device/wevo_11acnas - DTS := 11ACNAS + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := WeVO DEVICE_MODEL := 11AC NAS Router @@ -96,7 +96,7 @@ TARGET_DEVICES += wevo_11acnas define Device/dlink_dir-860l-b1 $(Device/seama) - DTS := DIR-860L-B1 + MTK_SOC := mt7621 BLOCKSIZE := 64k SEAMA_SIGNATURE := wrgac13_dlink.2013gui_dir860lb KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma | uImage lzma @@ -110,7 +110,7 @@ endef TARGET_DEVICES += dlink_dir-860l-b1 define Device/mediatek_ap-mt7621a-v60 - DTS := AP-MT7621A-V60 + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_8M) DEVICE_VENDOR := Mediatek DEVICE_MODEL := AP-MT7621A-V60 EVB @@ -119,7 +119,7 @@ endef TARGET_DEVICES += mediatek_ap-mt7621a-v60 define Device/xzwifi_creativebox-v1 - DTS := CreativeBox-v1 + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_32M) DEVICE_VENDOR := CreativeBox DEVICE_MODEL := v1 @@ -130,7 +130,7 @@ endef TARGET_DEVICES += xzwifi_creativebox-v1 define Device/elecom_wrc-1167ghbk2-s - DTS := WRC-1167GHBK2-S + MTK_SOC := mt7621 IMAGE_SIZE := 15488k DEVICE_VENDOR := ELECOM DEVICE_MODEL := WRC-1167GHBK2-S @@ -141,7 +141,7 @@ endef TARGET_DEVICES += elecom_wrc-1167ghbk2-s define Device/elecom_wrc-2533gst - DTS := WRC-2533GST + MTK_SOC := mt7621 IMAGE_SIZE := 11264k DEVICE_VENDOR := ELECOM DEVICE_MODEL := WRC-2533GST @@ -152,7 +152,7 @@ endef TARGET_DEVICES += elecom_wrc-2533gst define Device/elecom_wrc-1900gst - DTS := WRC-1900GST + MTK_SOC := mt7621 IMAGE_SIZE := 11264k DEVICE_VENDOR := ELECOM DEVICE_MODEL := WRC-1900GST @@ -163,7 +163,7 @@ endef TARGET_DEVICES += elecom_wrc-1900gst define Device/afoundry_ew1200 - DTS := EW1200 + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := AFOUNDRY DEVICE_MODEL := EW1200 @@ -175,7 +175,7 @@ endef TARGET_DEVICES += afoundry_ew1200 define Device/firefly_firewrt - DTS := FIREWRT + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := Firefly DEVICE_MODEL := FireWRT @@ -185,7 +185,7 @@ endef TARGET_DEVICES += firefly_firewrt define Device/gehua_ghl-r-001 - DTS := GHL-R-001 + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_32M) DEVICE_VENDOR := GeHua DEVICE_MODEL := GHL-R-001 @@ -195,7 +195,7 @@ endef TARGET_DEVICES += gehua_ghl-r-001 define Device/gnubee_gb-pc1 - DTS := GB-PC1 + MTK_SOC := mt7621 DEVICE_VENDOR := GnuBee DEVICE_MODEL := Personal Cloud One DEVICE_PACKAGES := kmod-ata-core kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620 @@ -204,7 +204,7 @@ endef TARGET_DEVICES += gnubee_gb-pc1 define Device/gnubee_gb-pc2 - DTS := GB-PC2 + MTK_SOC := mt7621 DEVICE_VENDOR := GnuBee DEVICE_MODEL := Personal Cloud Two DEVICE_PACKAGES := kmod-ata-core kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620 @@ -213,7 +213,7 @@ endef TARGET_DEVICES += gnubee_gb-pc2 define Device/hiwifi_hc5962 - DTS := HC5962 + MTK_SOC := mt7621 BLOCKSIZE := 128k PAGESIZE := 2048 KERNEL_SIZE := 2097152 @@ -230,7 +230,7 @@ endef TARGET_DEVICES += hiwifi_hc5962 define Device/iodata_wn-ax1167gr - DTS := WN-AX1167GR + MTK_SOC := mt7621 IMAGE_SIZE := 15552k KERNEL_INITRAMFS := $$(KERNEL) | \ iodata-factory 7864320 4 0x1055 $(KDIR)/tmp/$$(KERNEL_INITRAMFS_PREFIX)-factory.bin @@ -241,7 +241,7 @@ endef TARGET_DEVICES += iodata_wn-ax1167gr define Device/iodata_wn-gx300gr - DTS := WN-GX300GR + MTK_SOC := mt7621 IMAGE_SIZE := 7798784 DEVICE_VENDOR := I-O DATA DEVICE_MODEL := WN-GX300GR @@ -250,7 +250,7 @@ endef TARGET_DEVICES += iodata_wn-gx300gr define Device/phicomm_k2p - DTS := K2P + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := Phicomm DEVICE_MODEL := K2P @@ -259,7 +259,7 @@ endef TARGET_DEVICES += phicomm_k2p define Device/totolink_a7000r - DTS := TOTOLINK-A7000R + MTK_SOC := mt7621 IMAGE_SIZE := 16064k UIMAGE_NAME := C8340R1C-9999 DEVICE_VENDOR := TOTOLINK @@ -269,7 +269,7 @@ endef TARGET_DEVICES += totolink_a7000r define Device/xiaomi_mir3p - DTS := MIR3P + MTK_SOC := mt7621 BLOCKSIZE := 128k PAGESIZE := 2048 KERNEL_SIZE:= 4096k @@ -286,7 +286,7 @@ endef TARGET_DEVICES += xiaomi_mir3p define Device/xiaomi_mir3g - DTS := MIR3G + MTK_SOC := mt7621 BLOCKSIZE := 128k PAGESIZE := 2048 KERNEL_SIZE := 4096k @@ -307,7 +307,7 @@ endef TARGET_DEVICES += xiaomi_mir3g define Device/mediatek_mt7621-eval-board - DTS := MT7621 + MTK_SOC := mt7621 BLOCKSIZE := 64k IMAGE_SIZE := $(ralink_default_fw_size_4M) DEVICE_VENDOR := MediaTek @@ -317,7 +317,7 @@ endef TARGET_DEVICES += mediatek_mt7621-eval-board define Device/lenovo_newifi-d1 - DTS := Newifi-D1 + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_32M) DEVICE_VENDOR := Newifi DEVICE_MODEL := D1 @@ -328,7 +328,7 @@ endef TARGET_DEVICES += lenovo_newifi-d1 define Device/d-team_newifi-d2 - DTS := Newifi-D2 + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_32M) DEVICE_VENDOR := Newifi DEVICE_MODEL := D2 @@ -338,7 +338,7 @@ endef TARGET_DEVICES += d-team_newifi-d2 define Device/d-team_pbr-m1 - DTS := PBR-M1 + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := PandoraBox DEVICE_MODEL := PBR-M1 @@ -350,7 +350,7 @@ endef TARGET_DEVICES += d-team_pbr-m1 define Device/netgear_r6220 - DTS := R6220 + MTK_SOC := mt7621 BLOCKSIZE := 128k PAGESIZE := 2048 KERNEL_SIZE := 4096k @@ -369,7 +369,7 @@ endef TARGET_DEVICES += netgear_r6220 define Device/netgear_ex6150 - DTS := EX6150 + MTK_SOC := mt7621 DEVICE_VENDOR := NETGEAR DEVICE_MODEL := EX6150 DEVICE_PACKAGES := kmod-mt76x2 wpad-basic @@ -381,7 +381,7 @@ endef TARGET_DEVICES += netgear_ex6150 define Device/netgear_r6350 - DTS := R6350 + MTK_SOC := mt7621 BLOCKSIZE := 128k PAGESIZE := 2048 KERNEL_SIZE := 4096k @@ -399,6 +399,7 @@ endef TARGET_DEVICES += netgear_r6350 define Device/MikroTik + MTK_SOC := mt7621 DEVICE_VENDOR := MikroTik BLOCKSIZE := 64k IMAGE_SIZE := 16128k @@ -412,7 +413,6 @@ endef define Device/mikrotik_rb750gr3 $(Device/MikroTik) - DTS := RB750Gr3 DEVICE_MODEL := RouterBOARD RB750G DEVICE_VARIANT := r3 DEVICE_PACKAGES += kmod-gpio-beeper @@ -421,20 +421,18 @@ TARGET_DEVICES += mikrotik_rb750gr3 define Device/mikrotik_rbm33g $(Device/MikroTik) - DTS := RBM33G DEVICE_MODEL := RouterBOARD M33G endef TARGET_DEVICES += mikrotik_rbm33g define Device/mikrotik_rbm11g $(Device/MikroTik) - DTS := RBM11G DEVICE_MODEL := RouterBOARD M11G endef TARGET_DEVICES += mikrotik_rbm11g define Device/mtc_wr1201 - DTS := WR1201 + MTK_SOC := mt7621 IMAGE_SIZE := 16000k DEVICE_VENDOR := MTC DEVICE_MODEL := Wireless Router WR1201 @@ -445,7 +443,7 @@ endef TARGET_DEVICES += mtc_wr1201 define Device/tplink_re350-v1 - DTS := RE350 + MTK_SOC := mt7621 DEVICE_VENDOR := TP-Link DEVICE_MODEL := RE350 DEVICE_VARIANT := v1 @@ -464,7 +462,7 @@ endef TARGET_DEVICES += tplink_re350-v1 define Device/linksys_re6500 - DTS := RE6500 + MTK_SOC := mt7621 DEVICE_VENDOR := Linksys DEVICE_MODEL := RE6500 DEVICE_PACKAGES := kmod-mt76x2 wpad-basic @@ -473,7 +471,7 @@ endef TARGET_DEVICES += linksys_re6500 define Device/storylink_sap-g3200u3 - DTS := SAP-G3200U3 + MTK_SOC := mt7621 DEVICE_VENDOR := STORYLiNK DEVICE_MODEL := SAP-G3200U3 DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic @@ -482,7 +480,7 @@ endef TARGET_DEVICES += storylink_sap-g3200u3 define Device/samknows_whitebox-v8 - DTS := SK-WB8 + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := SamKnows DEVICE_MODEL := Whitebox 8 @@ -494,7 +492,7 @@ endef TARGET_DEVICES += samknows_whitebox-v8 define Device/telco-electronics_x1 - DTS := Telco-Electronics-X1 + MTK_SOC := mt7621 IMAGE_SIZE := 16064k DEVICE_VENDOR := Telco Electronics DEVICE_MODEL := X1 @@ -503,7 +501,7 @@ endef TARGET_DEVICES += telco-electronics_x1 define Device/thunder_timecloud - DTS := Timecloud + MTK_SOC := mt7621 DEVICE_VENDOR := Thunder DEVICE_MODEL := Timecloud DEVICE_PACKAGES := kmod-usb3 @@ -512,7 +510,7 @@ endef TARGET_DEVICES += thunder_timecloud define Device/ubiquiti_edgerouterx - DTS := UBNT-ERX + MTK_SOC := mt7621 FILESYSTEMS := squashfs KERNEL_SIZE := 3145728 KERNEL_INITRAMFS := $$(KERNEL) | ubnt-erx-factory-image $(KDIR)/tmp/$$(KERNEL_INITRAMFS_PREFIX)-factory.tar @@ -525,7 +523,6 @@ TARGET_DEVICES += ubiquiti_edgerouterx define Device/ubiquiti_edgerouterx-sfp $(Device/ubiquiti_edgerouterx) - DTS := UBNT-ERX-SFP DEVICE_VENDOR := Ubiquiti DEVICE_MODEL := EdgeRouter X-SFP DEVICE_PACKAGES += kmod-i2c-algo-pca kmod-gpio-pca953x kmod-i2c-gpio-custom @@ -534,7 +531,7 @@ endef TARGET_DEVICES += ubiquiti_edgerouterx-sfp define Device/unielec_u7621-06-256m-16m - DTS := U7621-06-256M-16M + MTK_SOC := mt7621 IMAGE_SIZE := 16064k DEVICE_VENDOR := UniElec DEVICE_MODEL := U7621-06 @@ -545,7 +542,7 @@ endef TARGET_DEVICES += unielec_u7621-06-256m-16m define Device/unielec_u7621-06-512m-64m - DTS := U7621-06-512M-64M + MTK_SOC := mt7621 IMAGE_SIZE := 65216k DEVICE_VENDOR := UniElec DEVICE_MODEL := U7621-06 @@ -555,7 +552,7 @@ endef TARGET_DEVICES += unielec_u7621-06-512m-64m define Device/planex_vr500 - DTS := VR500 + MTK_SOC := mt7621 IMAGE_SIZE := 66453504 DEVICE_VENDOR := Planex DEVICE_MODEL := VR500 @@ -565,7 +562,7 @@ endef TARGET_DEVICES += planex_vr500 define Device/wevo_w2914ns-v2 - DTS := W2914NSV2 + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := WeVO DEVICE_MODEL := W2914NS @@ -577,7 +574,7 @@ endef TARGET_DEVICES += wevo_w2914ns-v2 define Device/netis_wf-2881 - DTS := WF-2881 + MTK_SOC := mt7621 BLOCKSIZE := 128k PAGESIZE := 2048 FILESYSTEMS := squashfs @@ -593,7 +590,7 @@ endef TARGET_DEVICES += netis_wf-2881 define Device/mqmaker_witi-256m - DTS := WITI-256M + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := MQmaker DEVICE_MODEL := WiTi @@ -606,7 +603,7 @@ endef TARGET_DEVICES += mqmaker_witi-256m define Device/mqmaker_witi-512m - DTS := WITI-512M + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := MQmaker DEVICE_MODEL := WiTi @@ -618,7 +615,7 @@ endef TARGET_DEVICES += mqmaker_witi-512m define Device/netgear_wndr3700-v5 - DTS := WNDR3700V5 + MTK_SOC := mt7621 BLOCKSIZE := 64k IMAGE_SIZE := 15232k SERCOMM_HWID := AYB @@ -639,7 +636,7 @@ endef TARGET_DEVICES += netgear_wndr3700-v5 define Device/youhua_wr1200js - DTS := WR1200JS + MTK_SOC := mt7621 IMAGE_SIZE := 16064k DEVICE_VENDOR := YouHua DEVICE_MODEL := WR1200JS @@ -649,7 +646,7 @@ endef TARGET_DEVICES += youhua_wr1200js define Device/youku_yk-l2 - DTS := YOUKU-YK2 + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := Youku DEVICE_MODEL := YK-L2 @@ -659,7 +656,7 @@ endef TARGET_DEVICES += youku_yk-l2 define Device/buffalo_wsr-1166dhp - DTS := WSR-1166 + MTK_SOC := mt7621 IMAGE/sysupgrade.bin := trx | pad-rootfs | append-metadata IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := Buffalo @@ -670,7 +667,7 @@ endef TARGET_DEVICES += buffalo_wsr-1166dhp define Device/buffalo_wsr-600dhp - DTS := WSR-600 + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := Buffalo DEVICE_MODEL := WSR-600DHP @@ -680,7 +677,7 @@ endef TARGET_DEVICES += buffalo_wsr-600dhp define Device/zbtlink_zbt-we1326 - DTS := ZBT-WE1326 + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := ZBT DEVICE_MODEL := ZBT-WE1326 @@ -691,7 +688,7 @@ endef TARGET_DEVICES += zbtlink_zbt-we1326 define Device/zbtlink_zbt-we3526 - DTS := ZBT-WE3526 + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := ZBT DEVICE_MODEL := ZBT-WE3526 @@ -702,7 +699,7 @@ endef TARGET_DEVICES += zbtlink_zbt-we3526 define Device/zbtlink_zbt-wg2626 - DTS := ZBT-WG2626 + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := ZBT DEVICE_MODEL := ZBT-WG2626 @@ -714,7 +711,7 @@ endef TARGET_DEVICES += zbtlink_zbt-wg2626 define Device/zbtlink_zbt-wg3526-16m - DTS := ZBT-WG3526-16M + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := ZBT DEVICE_MODEL := ZBT-WG3526 @@ -727,7 +724,7 @@ endef TARGET_DEVICES += zbtlink_zbt-wg3526-16m define Device/zbtlink_zbt-wg3526-32m - DTS := ZBT-WG3526-32M + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_32M) DEVICE_VENDOR := ZBT DEVICE_MODEL := ZBT-WG3526 @@ -740,7 +737,7 @@ endef TARGET_DEVICES += zbtlink_zbt-wg3526-32m define Device/asiarf_ap7621-001 - DTS := AP7621-001 + MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := AsiaRF DEVICE_MODEL := AP7621-001 -- 2.30.2