From e59025f303499ac4af7eab0a80d14562ac77ec83 Mon Sep 17 00:00:00 2001 From: Murali Nalajala Date: Thu, 16 Nov 2023 22:28:42 -0800 Subject: [PATCH] ARM: dts: qcom: Support for Sun vms MTP and CDP Add initial Sun VMs MTP and CDP device tree support. Change-Id: I334c31bdd0abff304e11a47ddb2f37aeae9a62ed Signed-off-by: Murali Nalajala --- qcom/Makefile | 6 +++++- qcom/platform_map.bzl | 8 ++++++++ qcom/sun-oemvm-cdp.dts | 15 +++++++++++++++ qcom/sun-oemvm-cdp.dtsi | 6 ++++++ qcom/sun-oemvm-mtp.dts | 15 +++++++++++++++ qcom/sun-oemvm-mtp.dtsi | 6 ++++++ qcom/sun-oemvm.dtsi | 2 +- qcom/sun-vm-cdp.dts | 15 +++++++++++++++ qcom/sun-vm-cdp.dtsi | 6 ++++++ qcom/sun-vm-mtp.dts | 15 +++++++++++++++ qcom/sun-vm-mtp.dtsi | 6 ++++++ qcom/sun-vm.dtsi | 2 +- 12 files changed, 99 insertions(+), 3 deletions(-) create mode 100644 qcom/sun-oemvm-cdp.dts create mode 100644 qcom/sun-oemvm-cdp.dtsi create mode 100644 qcom/sun-oemvm-mtp.dts create mode 100644 qcom/sun-oemvm-mtp.dtsi create mode 100644 qcom/sun-vm-cdp.dts create mode 100644 qcom/sun-vm-cdp.dtsi create mode 100644 qcom/sun-vm-mtp.dts create mode 100644 qcom/sun-vm-mtp.dtsi diff --git a/qcom/Makefile b/qcom/Makefile index 7768e3bb..91f4026b 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -84,7 +84,11 @@ endif ifeq ($(CONFIG_ARCH_SUN), y) ifeq ($(CONFIG_ARCH_QTI_VM), y) sun_tuivm-dtb-$(CONFIG_ARCH_QTI_VM) += sun-vm-rumi.dtb \ - sun-oemvm-rumi.dtb + sun-vm-mtp.dtb \ + sun-vm-cdp.dtb \ + sun-oemvm-rumi.dtb \ + sun-oemvm-mtp.dtb \ + sun-oemvm-cdp.dtb dtb-y += $(sun_tuivm-dtb-y) endif diff --git a/qcom/platform_map.bzl b/qcom/platform_map.bzl index 8e823860..7ac0ec64 100644 --- a/qcom/platform_map.bzl +++ b/qcom/platform_map.bzl @@ -17,14 +17,22 @@ _platform_map = { "sun-tuivm": { "dtb_list": [ # keep sorted + {"name": "sun-oemvm-cdp.dtb"}, + {"name": "sun-oemvm-mtp.dtb"}, {"name": "sun-oemvm-rumi.dtb"}, + {"name": "sun-vm-cdp.dtb"}, + {"name": "sun-vm-mtp.dtb"}, {"name": "sun-vm-rumi.dtb"}, ], }, "sun-oemvm": { "dtb_list": [ # keep sorted + {"name": "sun-oemvm-cdp.dtb"}, + {"name": "sun-oemvm-mtp.dtb"}, {"name": "sun-oemvm-rumi.dtb"}, + {"name": "sun-vm-cdp.dtb"}, + {"name": "sun-vm-mtp.dtb"}, {"name": "sun-vm-rumi.dtb"}, ], }, diff --git a/qcom/sun-oemvm-cdp.dts b/qcom/sun-oemvm-cdp.dts new file mode 100644 index 00000000..98f255eb --- /dev/null +++ b/qcom/sun-oemvm-cdp.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ +/dts-v1/; + +#include "sun-oemvm.dtsi" +#include "sun-oemvm-cdp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun OEMVM CDP"; + compatible = "qcom,sun-cdp", "qcom,sun", "qcom,sunp-cdp", + "qcom,sunp", "qcom,cdp"; + qcom,board-id = <0x10001 0>; +}; diff --git a/qcom/sun-oemvm-cdp.dtsi b/qcom/sun-oemvm-cdp.dtsi new file mode 100644 index 00000000..9d0bfe90 --- /dev/null +++ b/qcom/sun-oemvm-cdp.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ +&soc { +}; diff --git a/qcom/sun-oemvm-mtp.dts b/qcom/sun-oemvm-mtp.dts new file mode 100644 index 00000000..463f33e1 --- /dev/null +++ b/qcom/sun-oemvm-mtp.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ +/dts-v1/; + +#include "sun-oemvm.dtsi" +#include "sun-oemvm-mtp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun OEMVM MTP"; + compatible = "qcom,sun-mtp", "qcom,sun", "qcom,sunp-mtp", + "qcom,sunp", "qcom,mtp"; + qcom,board-id = <0x10008 0>; +}; diff --git a/qcom/sun-oemvm-mtp.dtsi b/qcom/sun-oemvm-mtp.dtsi new file mode 100644 index 00000000..9d0bfe90 --- /dev/null +++ b/qcom/sun-oemvm-mtp.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ +&soc { +}; diff --git a/qcom/sun-oemvm.dtsi b/qcom/sun-oemvm.dtsi index b7028dc2..b95adf09 100644 --- a/qcom/sun-oemvm.dtsi +++ b/qcom/sun-oemvm.dtsi @@ -8,7 +8,7 @@ / { #address-cells = <0x2>; #size-cells = <0x2>; - qcom,msm-id = <618 0x10000>; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>; interrupt-parent = <&vgic>; chosen { diff --git a/qcom/sun-vm-cdp.dts b/qcom/sun-vm-cdp.dts new file mode 100644 index 00000000..70857749 --- /dev/null +++ b/qcom/sun-vm-cdp.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ +/dts-v1/; + +#include "sun-vm.dtsi" +#include "sun-vm-cdp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun SVM CDP"; + compatible = "qcom,sun-cdp", "qcom,sun", "qcom,sunp-cdp", + "qcom,sunp", "qcom,cdp"; + qcom,board-id = <0x10001 0>; +}; diff --git a/qcom/sun-vm-cdp.dtsi b/qcom/sun-vm-cdp.dtsi new file mode 100644 index 00000000..9d0bfe90 --- /dev/null +++ b/qcom/sun-vm-cdp.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ +&soc { +}; diff --git a/qcom/sun-vm-mtp.dts b/qcom/sun-vm-mtp.dts new file mode 100644 index 00000000..fc96c5da --- /dev/null +++ b/qcom/sun-vm-mtp.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ +/dts-v1/; + +#include "sun-vm.dtsi" +#include "sun-vm-mtp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun SVM MTP"; + compatible = "qcom,sun-mtp", "qcom,sun", "qcom,sunp-mtp", + "qcom,sunp", "qcom,mtp"; + qcom,board-id = <0x10008 0>; +}; diff --git a/qcom/sun-vm-mtp.dtsi b/qcom/sun-vm-mtp.dtsi new file mode 100644 index 00000000..9d0bfe90 --- /dev/null +++ b/qcom/sun-vm-mtp.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ +&soc { +}; diff --git a/qcom/sun-vm.dtsi b/qcom/sun-vm.dtsi index 59ee47dd..cf702d9e 100644 --- a/qcom/sun-vm.dtsi +++ b/qcom/sun-vm.dtsi @@ -8,7 +8,7 @@ / { #address-cells = <0x2>; #size-cells = <0x2>; - qcom,msm-id = <618 0x10000>; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>; interrupt-parent = <&vgic>; chosen {