From 3afa08eaed72019e2b65b0ebfde9445cf28b9c31 Mon Sep 17 00:00:00 2001 From: Unnathi Chalicheemala Date: Mon, 30 Oct 2023 09:55:32 -0700 Subject: [PATCH] ARM: dts: msm: Support for APQ variant on Sun SoC Add v1 and v2 DT support for APQ variant on MTP, CDP and QRD platforms. Change-Id: Ifb447f14db06038d537951bd9b37f279c4757c0b Signed-off-by: Unnathi Chalicheemala --- qcom/Makefile | 1 + qcom/sun-cdp-kiwi-overlay.dts | 5 +++-- qcom/sun-cdp-overlay.dts | 5 +++-- qcom/sun-mtp-kiwi-overlay.dts | 5 +++-- qcom/sun-mtp-overlay.dts | 5 +++-- qcom/sun-qrd-sku1-overlay.dts | 5 +++-- qcom/sun-qrd-sku2-overlay.dts | 5 +++-- qcom/sunp-v2.dts | 14 ++++++++++++++ qcom/sunp-v2.dtsi | 12 ++++++++++++ qcom/sunp.dts | 14 ++++++++++++++ qcom/sunp.dtsi | 12 ++++++++++++ 11 files changed, 71 insertions(+), 12 deletions(-) create mode 100644 qcom/sunp-v2.dts create mode 100644 qcom/sunp-v2.dtsi create mode 100644 qcom/sunp.dts create mode 100644 qcom/sunp.dtsi diff --git a/qcom/Makefile b/qcom/Makefile index af3f16e2..bf7b4de8 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -16,6 +16,7 @@ add-overlays = $(foreach o,$1,$(foreach b,$2,$(eval $(basename $b)-$(basename $o ifneq ($(CONFIG_ARCH_QTI_VM), y) SUN_BASE_DTB += sun.dtb sun-v2.dtb +SUN_APQ_BASE_DTB += sunp.dtb sunp-v2.dtb SUN_BOARDS += \ sun-mtp-overlay.dtbo \ diff --git a/qcom/sun-cdp-kiwi-overlay.dts b/qcom/sun-cdp-kiwi-overlay.dts index 639098f3..d4e41ba8 100644 --- a/qcom/sun-cdp-kiwi-overlay.dts +++ b/qcom/sun-cdp-kiwi-overlay.dts @@ -10,7 +10,8 @@ / { model = "Qualcomm Technologies, Inc. Sun CDP Kiwi WLAN"; - compatible = "qcom,sun-cdp", "qcom,sun", "qcom,cdp"; - qcom,msm-id = <618 0x10000>, <618 0x20000>; + compatible = "qcom,sun-cdp", "qcom,sun", "qcom,sunp-cdp", "qcom,sunp", + "qcom,cdp"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>; qcom,board-id = <0x20001 0>; }; diff --git a/qcom/sun-cdp-overlay.dts b/qcom/sun-cdp-overlay.dts index 97abb08f..0c09832a 100644 --- a/qcom/sun-cdp-overlay.dts +++ b/qcom/sun-cdp-overlay.dts @@ -10,7 +10,8 @@ / { model = "Qualcomm Technologies, Inc. Sun CDP"; - compatible = "qcom,sun-cdp", "qcom,sun", "qcom,cdp"; - qcom,msm-id = <618 0x10000>, <618 0x20000>; + compatible = "qcom,sun-cdp", "qcom,sun", "qcom,sunp-cdp", "qcom,sunp", + "qcom,cdp"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>; qcom,board-id = <1 0>; }; diff --git a/qcom/sun-mtp-kiwi-overlay.dts b/qcom/sun-mtp-kiwi-overlay.dts index 0919e9eb..ce7816c1 100644 --- a/qcom/sun-mtp-kiwi-overlay.dts +++ b/qcom/sun-mtp-kiwi-overlay.dts @@ -10,7 +10,8 @@ / { model = "Qualcomm Technologies, Inc. Sun MTP Kiwi WLAN"; - compatible = "qcom,sun-mtp", "qcom,sun", "qcom,mtp"; - qcom,msm-id = <618 0x10000>, <618 0x20000>; + compatible = "qcom,sun-mtp", "qcom,sun", "qcom,sunp-mtp", "qcom,sunp", + "qcom,mtp"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>; qcom,board-id = <0x20008 0>; }; diff --git a/qcom/sun-mtp-overlay.dts b/qcom/sun-mtp-overlay.dts index 891692f9..983d05f7 100644 --- a/qcom/sun-mtp-overlay.dts +++ b/qcom/sun-mtp-overlay.dts @@ -10,7 +10,8 @@ / { model = "Qualcomm Technologies, Inc. Sun MTP"; - compatible = "qcom,sun-mtp", "qcom,sun", "qcom,mtp"; - qcom,msm-id = <618 0x10000>, <618 0x20000>; + compatible = "qcom,sun-mtp", "qcom,sun", "qcom,sunp-mtp", "qcom,sunp", + "qcom,mtp"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>; qcom,board-id = <8 0>; }; diff --git a/qcom/sun-qrd-sku1-overlay.dts b/qcom/sun-qrd-sku1-overlay.dts index af5ab897..15d9cb96 100644 --- a/qcom/sun-qrd-sku1-overlay.dts +++ b/qcom/sun-qrd-sku1-overlay.dts @@ -10,7 +10,8 @@ / { model = "Qualcomm Technologies, Inc. Sun QRD SKU1"; - compatible = "qcom,sun-qrd", "qcom,sun", "qcom,qrd"; - qcom,msm-id = <618 0x10000>, <618 0x20000>; + compatible = "qcom,sun-qrd", "qcom,sun", "qcom,sunp-qrd", "qcom,sunp", + "qcom,qrd"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>; qcom,board-id = <0x1000B 0>; }; diff --git a/qcom/sun-qrd-sku2-overlay.dts b/qcom/sun-qrd-sku2-overlay.dts index e63aaacd..fdafc5d7 100644 --- a/qcom/sun-qrd-sku2-overlay.dts +++ b/qcom/sun-qrd-sku2-overlay.dts @@ -10,7 +10,8 @@ / { model = "Qualcomm Technologies, Inc. Sun QRD SKU2"; - compatible = "qcom,sun-qrd", "qcom,sun", "qcom,qrd"; - qcom,msm-id = <618 0x10000>, <618 0x20000>; + compatible = "qcom,sun-qrd", "qcom,sun", "qcom,sunp-qrd", "qcom,sunp", + "qcom,qrd"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>; qcom,board-id = <0x2000B 0>; }; diff --git a/qcom/sunp-v2.dts b/qcom/sunp-v2.dts new file mode 100644 index 00000000..dc47d6bb --- /dev/null +++ b/qcom/sunp-v2.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "sunp-v2.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. SunP v2 SoC"; + compatible = "qcom,sunp"; + qcom,board-id = <0 0>; +}; diff --git a/qcom/sunp-v2.dtsi b/qcom/sunp-v2.dtsi new file mode 100644 index 00000000..0809f16c --- /dev/null +++ b/qcom/sunp-v2.dtsi @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include "sun-v2.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. SunP v2 SoC"; + compatible = "qcom,sunp"; + qcom,msm-id = <639 0x20000>; +}; diff --git a/qcom/sunp.dts b/qcom/sunp.dts new file mode 100644 index 00000000..68324963 --- /dev/null +++ b/qcom/sunp.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "sunp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. SunP SoC"; + compatible = "qcom,sunp"; + qcom,board-id = <0 0>; +}; diff --git a/qcom/sunp.dtsi b/qcom/sunp.dtsi new file mode 100644 index 00000000..fec5362e --- /dev/null +++ b/qcom/sunp.dtsi @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include "sun.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. SunP SoC"; + compatible = "qcom,sunp"; + qcom,msm-id = <639 0x10000>; +};