From 226bc91109c814b3577b1b126f4ab420c868d5a8 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Fri, 22 Nov 2019 11:50:00 +0100 Subject: [PATCH] ath79: improve TP-Link CPE DTSI names for ar9344 SOC The initial DTSI names for the TP-Link CPE devices have become quite confusing, as several non-V1 devices now use the *-v1.dtsi, the *cpe510-v1.dts does not use the cpe510.dtsi, etc. This introduces a new naming scheme based on whether devices have one or two ports, which should be easier to grasp. Signed-off-by: Adrian Schmutzler --- .../dts/{ar9344_tplink_cpexxx.dtsi => ar9344_tplink_cpe.dtsi} | 0 target/linux/ath79/dts/ar9344_tplink_cpe210-v1.dts | 2 +- target/linux/ath79/dts/ar9344_tplink_cpe220-v2.dts | 2 +- target/linux/ath79/dts/ar9344_tplink_cpe510-v1.dts | 2 +- target/linux/ath79/dts/ar9344_tplink_cpe510-v2.dts | 2 +- target/linux/ath79/dts/ar9344_tplink_cpe510-v3.dts | 2 +- target/linux/ath79/dts/ar9344_tplink_cpe610-v1.dts | 2 +- .../{ar9344_tplink_cpe510.dtsi => ar9344_tplink_cpe_1port.dtsi} | 2 +- ...r9344_tplink_cpexxx-v1.dtsi => ar9344_tplink_cpe_2port.dtsi} | 2 +- target/linux/ath79/dts/ar9344_tplink_wbs210-v2.dts | 2 +- target/linux/ath79/dts/ar9344_tplink_wbs510-v1.dts | 2 +- target/linux/ath79/dts/ar9344_tplink_wbs510-v2.dts | 2 +- 12 files changed, 11 insertions(+), 11 deletions(-) rename target/linux/ath79/dts/{ar9344_tplink_cpexxx.dtsi => ar9344_tplink_cpe.dtsi} (100%) rename target/linux/ath79/dts/{ar9344_tplink_cpe510.dtsi => ar9344_tplink_cpe_1port.dtsi} (95%) rename target/linux/ath79/dts/{ar9344_tplink_cpexxx-v1.dtsi => ar9344_tplink_cpe_2port.dtsi} (96%) diff --git a/target/linux/ath79/dts/ar9344_tplink_cpexxx.dtsi b/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi similarity index 100% rename from target/linux/ath79/dts/ar9344_tplink_cpexxx.dtsi rename to target/linux/ath79/dts/ar9344_tplink_cpe.dtsi diff --git a/target/linux/ath79/dts/ar9344_tplink_cpe210-v1.dts b/target/linux/ath79/dts/ar9344_tplink_cpe210-v1.dts index e82fd4a32f6..95604f07c19 100644 --- a/target/linux/ath79/dts/ar9344_tplink_cpe210-v1.dts +++ b/target/linux/ath79/dts/ar9344_tplink_cpe210-v1.dts @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /dts-v1/; -#include "ar9344_tplink_cpexxx-v1.dtsi" +#include "ar9344_tplink_cpe_2port.dtsi" / { compatible = "tplink,cpe210-v1", "qca,ar9344"; diff --git a/target/linux/ath79/dts/ar9344_tplink_cpe220-v2.dts b/target/linux/ath79/dts/ar9344_tplink_cpe220-v2.dts index 7e8822710fc..4a737378b07 100644 --- a/target/linux/ath79/dts/ar9344_tplink_cpe220-v2.dts +++ b/target/linux/ath79/dts/ar9344_tplink_cpe220-v2.dts @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /dts-v1/; -#include "ar9344_tplink_cpexxx-v1.dtsi" +#include "ar9344_tplink_cpe_2port.dtsi" / { compatible = "tplink,cpe220-v2", "qca,ar9344"; diff --git a/target/linux/ath79/dts/ar9344_tplink_cpe510-v1.dts b/target/linux/ath79/dts/ar9344_tplink_cpe510-v1.dts index 34b83c944e6..483fdf4e6c2 100644 --- a/target/linux/ath79/dts/ar9344_tplink_cpe510-v1.dts +++ b/target/linux/ath79/dts/ar9344_tplink_cpe510-v1.dts @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /dts-v1/; -#include "ar9344_tplink_cpexxx-v1.dtsi" +#include "ar9344_tplink_cpe_2port.dtsi" / { compatible = "tplink,cpe510-v1", "qca,ar9344"; diff --git a/target/linux/ath79/dts/ar9344_tplink_cpe510-v2.dts b/target/linux/ath79/dts/ar9344_tplink_cpe510-v2.dts index 758d0c02f0e..7348bf7553f 100644 --- a/target/linux/ath79/dts/ar9344_tplink_cpe510-v2.dts +++ b/target/linux/ath79/dts/ar9344_tplink_cpe510-v2.dts @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /dts-v1/; -#include "ar9344_tplink_cpe510.dtsi" +#include "ar9344_tplink_cpe_1port.dtsi" / { compatible = "tplink,cpe510-v2", "qca,ar9344"; diff --git a/target/linux/ath79/dts/ar9344_tplink_cpe510-v3.dts b/target/linux/ath79/dts/ar9344_tplink_cpe510-v3.dts index 0909fcfa733..20a16c3d3ec 100644 --- a/target/linux/ath79/dts/ar9344_tplink_cpe510-v3.dts +++ b/target/linux/ath79/dts/ar9344_tplink_cpe510-v3.dts @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /dts-v1/; -#include "ar9344_tplink_cpe510.dtsi" +#include "ar9344_tplink_cpe_1port.dtsi" / { compatible = "tplink,cpe510-v3", "qca,ar9344"; diff --git a/target/linux/ath79/dts/ar9344_tplink_cpe610-v1.dts b/target/linux/ath79/dts/ar9344_tplink_cpe610-v1.dts index cb614a9dfb1..54ea399b745 100644 --- a/target/linux/ath79/dts/ar9344_tplink_cpe610-v1.dts +++ b/target/linux/ath79/dts/ar9344_tplink_cpe610-v1.dts @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /dts-v1/; -#include "ar9344_tplink_cpexxx.dtsi" +#include "ar9344_tplink_cpe.dtsi" / { model = "TP-Link CPE610 v1"; diff --git a/target/linux/ath79/dts/ar9344_tplink_cpe510.dtsi b/target/linux/ath79/dts/ar9344_tplink_cpe_1port.dtsi similarity index 95% rename from target/linux/ath79/dts/ar9344_tplink_cpe510.dtsi rename to target/linux/ath79/dts/ar9344_tplink_cpe_1port.dtsi index 41a94437408..653efdee173 100644 --- a/target/linux/ath79/dts/ar9344_tplink_cpe510.dtsi +++ b/target/linux/ath79/dts/ar9344_tplink_cpe_1port.dtsi @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /dts-v1/; -#include "ar9344_tplink_cpexxx.dtsi" +#include "ar9344_tplink_cpe.dtsi" / { aliases { diff --git a/target/linux/ath79/dts/ar9344_tplink_cpexxx-v1.dtsi b/target/linux/ath79/dts/ar9344_tplink_cpe_2port.dtsi similarity index 96% rename from target/linux/ath79/dts/ar9344_tplink_cpexxx-v1.dtsi rename to target/linux/ath79/dts/ar9344_tplink_cpe_2port.dtsi index 440ba8a8b36..e97e49d718b 100644 --- a/target/linux/ath79/dts/ar9344_tplink_cpexxx-v1.dtsi +++ b/target/linux/ath79/dts/ar9344_tplink_cpe_2port.dtsi @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /dts-v1/; -#include "ar9344_tplink_cpexxx.dtsi" +#include "ar9344_tplink_cpe.dtsi" / { aliases { diff --git a/target/linux/ath79/dts/ar9344_tplink_wbs210-v2.dts b/target/linux/ath79/dts/ar9344_tplink_wbs210-v2.dts index dddf4aebdaf..8c5535754a2 100644 --- a/target/linux/ath79/dts/ar9344_tplink_wbs210-v2.dts +++ b/target/linux/ath79/dts/ar9344_tplink_wbs210-v2.dts @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /dts-v1/; -#include "ar9344_tplink_cpexxx-v1.dtsi" +#include "ar9344_tplink_cpe_2port.dtsi" / { compatible = "tplink,wbs210-v2", "qca,ar9344"; diff --git a/target/linux/ath79/dts/ar9344_tplink_wbs510-v1.dts b/target/linux/ath79/dts/ar9344_tplink_wbs510-v1.dts index ba6fab2c1af..28ea727b3d6 100644 --- a/target/linux/ath79/dts/ar9344_tplink_wbs510-v1.dts +++ b/target/linux/ath79/dts/ar9344_tplink_wbs510-v1.dts @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /dts-v1/; -#include "ar9344_tplink_cpexxx-v1.dtsi" +#include "ar9344_tplink_cpe_2port.dtsi" / { compatible = "tplink,wbs510-v1", "qca,ar9344"; diff --git a/target/linux/ath79/dts/ar9344_tplink_wbs510-v2.dts b/target/linux/ath79/dts/ar9344_tplink_wbs510-v2.dts index 5c55d789041..8ce47a51345 100644 --- a/target/linux/ath79/dts/ar9344_tplink_wbs510-v2.dts +++ b/target/linux/ath79/dts/ar9344_tplink_wbs510-v2.dts @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /dts-v1/; -#include "ar9344_tplink_cpexxx-v1.dtsi" +#include "ar9344_tplink_cpe_2port.dtsi" / { compatible = "tplink,wbs510-v2", "qca,ar9344";