From c36ec336a3bd275f64c6b73c2df1b7fec2e11ad5 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Mon, 29 Oct 2018 11:56:46 +0800 Subject: [PATCH] ath79: rename qca9533.dtsi to qca953x.dtsi qca9533 is a costdown version of qca9531 which doesn't have USB and PCIE. Rename the misleading dtsi names and fix the SoC type of gl-ar300m. Signed-off-by: Chuanhong Guo [apply the changes for the gl-x750 as well] Signed-off-by: Mathias Kresin --- ...{qca9533_glinet_ar300m.dtsi => qca9531_glinet_ar300m.dtsi} | 4 ++-- ..._glinet_ar300m_nand.dts => qca9531_glinet_ar300m_nand.dts} | 2 +- ...33_glinet_ar300m_nor.dts => qca9531_glinet_ar300m_nor.dts} | 2 +- ...{qca9533_glinet_gl-x750.dts => qca9531_glinet_gl-x750.dts} | 4 ++-- target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi | 2 +- target/linux/ath79/dts/{qca9533.dtsi => qca953x.dtsi} | 2 +- target/linux/ath79/image/generic.mk | 4 ++-- target/linux/ath79/image/nand.mk | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) rename target/linux/ath79/dts/{qca9533_glinet_ar300m.dtsi => qca9531_glinet_ar300m.dtsi} (95%) rename target/linux/ath79/dts/{qca9533_glinet_ar300m_nand.dts => qca9531_glinet_ar300m_nand.dts} (96%) rename target/linux/ath79/dts/{qca9533_glinet_ar300m_nor.dts => qca9531_glinet_ar300m_nor.dts} (94%) rename target/linux/ath79/dts/{qca9533_glinet_gl-x750.dts => qca9531_glinet_gl-x750.dts} (96%) rename target/linux/ath79/dts/{qca9533.dtsi => qca953x.dtsi} (99%) diff --git a/target/linux/ath79/dts/qca9533_glinet_ar300m.dtsi b/target/linux/ath79/dts/qca9531_glinet_ar300m.dtsi similarity index 95% rename from target/linux/ath79/dts/qca9533_glinet_ar300m.dtsi rename to target/linux/ath79/dts/qca9531_glinet_ar300m.dtsi index 35de594bf297..986177df0187 100644 --- a/target/linux/ath79/dts/qca9533_glinet_ar300m.dtsi +++ b/target/linux/ath79/dts/qca9531_glinet_ar300m.dtsi @@ -3,10 +3,10 @@ #include #include -#include "qca9533.dtsi" +#include "qca953x.dtsi" / { - compatible = "glinet,ar300m", "qca,qca9533"; + compatible = "glinet,ar300m", "qca,qca9531"; model = "GL.iNet GL-AR300M"; keys { diff --git a/target/linux/ath79/dts/qca9533_glinet_ar300m_nand.dts b/target/linux/ath79/dts/qca9531_glinet_ar300m_nand.dts similarity index 96% rename from target/linux/ath79/dts/qca9533_glinet_ar300m_nand.dts rename to target/linux/ath79/dts/qca9531_glinet_ar300m_nand.dts index 33226b98891c..f188ac6c33ad 100644 --- a/target/linux/ath79/dts/qca9533_glinet_ar300m_nand.dts +++ b/target/linux/ath79/dts/qca9531_glinet_ar300m_nand.dts @@ -1,6 +1,6 @@ /dts-v1/; -#include "qca9533_glinet_ar300m.dtsi" +#include "qca9531_glinet_ar300m.dtsi" &spi { status = "okay"; diff --git a/target/linux/ath79/dts/qca9533_glinet_ar300m_nor.dts b/target/linux/ath79/dts/qca9531_glinet_ar300m_nor.dts similarity index 94% rename from target/linux/ath79/dts/qca9533_glinet_ar300m_nor.dts rename to target/linux/ath79/dts/qca9531_glinet_ar300m_nor.dts index 9357ea66d493..c78f03ac2292 100644 --- a/target/linux/ath79/dts/qca9533_glinet_ar300m_nor.dts +++ b/target/linux/ath79/dts/qca9531_glinet_ar300m_nor.dts @@ -3,7 +3,7 @@ #include #include -#include "qca9533_glinet_ar300m.dtsi" +#include "qca9531_glinet_ar300m.dtsi" &spi { status = "okay"; diff --git a/target/linux/ath79/dts/qca9533_glinet_gl-x750.dts b/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts similarity index 96% rename from target/linux/ath79/dts/qca9533_glinet_gl-x750.dts rename to target/linux/ath79/dts/qca9531_glinet_gl-x750.dts index 14bad8aab6dd..de12163f0dab 100644 --- a/target/linux/ath79/dts/qca9533_glinet_gl-x750.dts +++ b/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts @@ -4,10 +4,10 @@ #include #include -#include "qca9533.dtsi" +#include "qca953x.dtsi" / { - compatible = "glinet,gl-x750", "qca,qca9533"; + compatible = "glinet,gl-x750", "qca,qca9531"; model = "GL.iNet GL-X750"; keys { diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi b/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi index 3621b7e1e8f5..5b8e8dbc684f 100644 --- a/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi +++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi @@ -4,7 +4,7 @@ #include #include -#include "qca9533.dtsi" +#include "qca953x.dtsi" / { chosen { diff --git a/target/linux/ath79/dts/qca9533.dtsi b/target/linux/ath79/dts/qca953x.dtsi similarity index 99% rename from target/linux/ath79/dts/qca9533.dtsi rename to target/linux/ath79/dts/qca953x.dtsi index 97179a391e14..4ce5bfe0a2d8 100644 --- a/target/linux/ath79/dts/qca9533.dtsi +++ b/target/linux/ath79/dts/qca953x.dtsi @@ -3,7 +3,7 @@ #include "ath79.dtsi" / { - compatible = "qca,qca9533"; + compatible = "qca,qca9530"; #address-cells = <1>; #size-cells = <1>; diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk index 2b4556bc76e0..f0c76911024f 100644 --- a/target/linux/ath79/image/generic.mk +++ b/target/linux/ath79/image/generic.mk @@ -175,7 +175,7 @@ endef TARGET_DEVICES += glinet_ar150 define Device/glinet_ar300m_nor - ATH_SOC := qca9533 + ATH_SOC := qca9531 DEVICE_TITLE := GL.iNet GL-AR300M DEVICE_PACKAGES := kmod-usb-core kmod-usb2 IMAGE_SIZE := 16000k @@ -184,7 +184,7 @@ endef TARGET_DEVICES += glinet_ar300m_nor define Device/glinet_gl-x750 - ATH_SOC := qca9533 + ATH_SOC := qca9531 DEVICE_TITLE := GL.iNet GL-X750 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ath10k ath10k-firmware-qca9887 IMAGE_SIZE := 16000k diff --git a/target/linux/ath79/image/nand.mk b/target/linux/ath79/image/nand.mk index 979afd2b2bd3..1852ca41793b 100644 --- a/target/linux/ath79/image/nand.mk +++ b/target/linux/ath79/image/nand.mk @@ -1,5 +1,5 @@ define Device/glinet_ar300m_nand - ATH_SOC := qca9533 + ATH_SOC := qca9531 DEVICE_TITLE := GL-AR300M (NAND) DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-storage kmod-usb-ledtrig-usbport KERNEL_SIZE := 2048k -- 2.30.2