From fca71be3705255e6ac0ffbf8aa660180af5dd470 Mon Sep 17 00:00:00 2001 From: Unnathi Chalicheemala Date: Mon, 30 Oct 2023 11:47:54 -0700 Subject: [PATCH] ARM: dts: msm: Add v8 Power Grid DT support on Sun SoC Add device tree support for v8 Power Grid on MTP, CDP, QRD platforms for Sun SoC. Change-Id: Iceac9ff05e97fb384f1bb0e641ad6ec568d75076 Signed-off-by: Unnathi Chalicheemala --- qcom/Makefile | 3 +++ qcom/sun-cdp-v8-overlay.dts | 17 +++++++++++++++++ qcom/sun-cdp-v8.dtsi | 6 ++++++ qcom/sun-mtp-v8-overlay.dts | 17 +++++++++++++++++ qcom/sun-mtp-v8.dtsi | 6 ++++++ qcom/sun-qrd-sku1-v8-overlay.dts | 17 +++++++++++++++++ qcom/sun-qrd-sku1-v8.dtsi | 6 ++++++ 7 files changed, 72 insertions(+) create mode 100644 qcom/sun-cdp-v8-overlay.dts create mode 100644 qcom/sun-cdp-v8.dtsi create mode 100644 qcom/sun-mtp-v8-overlay.dts create mode 100644 qcom/sun-mtp-v8.dtsi create mode 100644 qcom/sun-qrd-sku1-v8-overlay.dts create mode 100644 qcom/sun-qrd-sku1-v8.dtsi diff --git a/qcom/Makefile b/qcom/Makefile index 9f2eb590..7768e3bb 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -22,10 +22,13 @@ SUN_BOARDS += \ sun-mtp-overlay.dtbo \ sun-mtp-kiwi-overlay.dtbo \ sun-mtp-nfc-overlay.dtbo \ + sun-mtp-v8-overlay.dtbo \ sun-cdp-overlay.dtbo \ sun-cdp-kiwi-overlay.dtbo \ sun-cdp-nfc-overlay.dtbo \ + sun-cdp-v8-overlay.dtbo \ sun-qrd-sku1-overlay.dtbo \ + sun-qrd-sku1-v8-overlay.dtbo \ sun-qrd-sku2-overlay.dtbo NOAPQ_SUN_BOARDS += \ diff --git a/qcom/sun-cdp-v8-overlay.dts b/qcom/sun-cdp-v8-overlay.dts new file mode 100644 index 00000000..68c3aa4f --- /dev/null +++ b/qcom/sun-cdp-v8-overlay.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "sun-cdp-v8.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun CDP V8 Power Grid"; + 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 = <0x50001 0>; +}; diff --git a/qcom/sun-cdp-v8.dtsi b/qcom/sun-cdp-v8.dtsi new file mode 100644 index 00000000..75eff7ab --- /dev/null +++ b/qcom/sun-cdp-v8.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include "sun-cdp.dtsi" diff --git a/qcom/sun-mtp-v8-overlay.dts b/qcom/sun-mtp-v8-overlay.dts new file mode 100644 index 00000000..45b44f41 --- /dev/null +++ b/qcom/sun-mtp-v8-overlay.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "sun-mtp-v8.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun MTP V8 Power Grid"; + 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 = <0x40008 0>; +}; diff --git a/qcom/sun-mtp-v8.dtsi b/qcom/sun-mtp-v8.dtsi new file mode 100644 index 00000000..ed228e3c --- /dev/null +++ b/qcom/sun-mtp-v8.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include "sun-mtp.dtsi" diff --git a/qcom/sun-qrd-sku1-v8-overlay.dts b/qcom/sun-qrd-sku1-v8-overlay.dts new file mode 100644 index 00000000..eea7ca7b --- /dev/null +++ b/qcom/sun-qrd-sku1-v8-overlay.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "sun-qrd-sku1-v8.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun QRD SKU1 V8 Power Grid"; + 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 = <0x3000B 0>; +}; diff --git a/qcom/sun-qrd-sku1-v8.dtsi b/qcom/sun-qrd-sku1-v8.dtsi new file mode 100644 index 00000000..2aa7c8f1 --- /dev/null +++ b/qcom/sun-qrd-sku1-v8.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include "sun-qrd-sku1.dtsi"