ARM: dts: msm: Add base TUIVM and OEMVM for Sun
Add base TUIVM and OEMVM device tree support for Sun RUMI platform. Change-Id: I32598ce2c3488658e2c9caf0cd7a2368665c0b06 Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com> Signed-off-by: Sahitya Tummala <quic_stummala@quicinc.com>
This commit is contained in:
committed by
Sahitya Tummala
parent
02930b3391
commit
ba5f42abbc
@@ -72,6 +72,15 @@ dtb-y += $(pineapple_tuivm-dtb-y)
|
|||||||
endif
|
endif
|
||||||
endif
|
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
|
||||||
|
dtb-y += $(sun_tuivm-dtb-y)
|
||||||
|
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
always-y := $(dtb-y)
|
always-y := $(dtb-y)
|
||||||
subdir-y := $(dts-dirs)
|
subdir-y := $(dts-dirs)
|
||||||
clean-files := *.dtb *.dtbo
|
clean-files := *.dtb *.dtbo
|
||||||
|
@@ -13,6 +13,20 @@ _platform_map = {
|
|||||||
{"name": "sun-rumi-overlay.dtbo"},
|
{"name": "sun-rumi-overlay.dtbo"},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
"sun-tuivm": {
|
||||||
|
"dtb_list": [
|
||||||
|
# keep sorted
|
||||||
|
{"name": "sun-oemvm-rumi.dtb"},
|
||||||
|
{"name": "sun-vm-rumi.dtb"},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
"sun-oemvm": {
|
||||||
|
"dtb_list": [
|
||||||
|
# keep sorted
|
||||||
|
{"name": "sun-oemvm-rumi.dtb"},
|
||||||
|
{"name": "sun-vm-rumi.dtb"},
|
||||||
|
],
|
||||||
|
},
|
||||||
"pineapple": {
|
"pineapple": {
|
||||||
"dtb_list": [
|
"dtb_list": [
|
||||||
{"name": "pineapple.dtb"},
|
{"name": "pineapple.dtb"},
|
||||||
|
15
qcom/sun-oemvm-rumi.dts
Normal file
15
qcom/sun-oemvm-rumi.dts
Normal file
@@ -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-rumi.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun OEMVM RUMI";
|
||||||
|
compatible = "qcom,sun-rumi", "qcom,sun", "qcom,rumi";
|
||||||
|
qcom,board-id = <15 0>;
|
||||||
|
};
|
8
qcom/sun-oemvm-rumi.dtsi
Normal file
8
qcom/sun-oemvm-rumi.dtsi
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
&arch_timer {
|
||||||
|
clock-frequency = <500000>;
|
||||||
|
};
|
179
qcom/sun-oemvm.dtsi
Normal file
179
qcom/sun-oemvm.dtsi
Normal file
@@ -0,0 +1,179 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||||
|
|
||||||
|
/ {
|
||||||
|
#address-cells = <0x2>;
|
||||||
|
#size-cells = <0x2>;
|
||||||
|
qcom,msm-id = <618 0x10000>;
|
||||||
|
interrupt-parent = <&vgic>;
|
||||||
|
|
||||||
|
chosen {
|
||||||
|
bootargs = "nokaslr log_buf_len=256K console=hvc0 loglevel=8";
|
||||||
|
};
|
||||||
|
|
||||||
|
cpus {
|
||||||
|
#address-cells = <0x2>;
|
||||||
|
#size-cells = <0x0>;
|
||||||
|
|
||||||
|
CPU0: cpu@0 {
|
||||||
|
compatible = "arm,armv8";
|
||||||
|
reg = <0x0 0x0>;
|
||||||
|
device_type = "cpu";
|
||||||
|
enable-method = "psci";
|
||||||
|
cpu-idle-states = <&CPU_PWR_DWN
|
||||||
|
&CLUSTER_PWR_DWN>;
|
||||||
|
};
|
||||||
|
|
||||||
|
CPU1: cpu@100 {
|
||||||
|
compatible = "arm,armv8";
|
||||||
|
reg = <0x0 0x100>;
|
||||||
|
device_type = "cpu";
|
||||||
|
enable-method = "psci";
|
||||||
|
cpu-idle-states = <&CPU_PWR_DWN
|
||||||
|
&CLUSTER_PWR_DWN>;
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
idle-states {
|
||||||
|
CPU_PWR_DWN: c4 { /* Using Gold C4 latencies */
|
||||||
|
compatible = "arm,idle-state";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
CLUSTER_PWR_DWN: d4 { /* C4+D4 */
|
||||||
|
compatible = "arm,idle-state";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,vm-config {
|
||||||
|
compatible = "qcom,vm-1.0";
|
||||||
|
vm-type = "aarch64-guest";
|
||||||
|
boot-config = "fdt,unified";
|
||||||
|
os-type = "linux";
|
||||||
|
kernel-entry-segment = "kernel";
|
||||||
|
kernel-entry-offset = <0x0 0x0>;
|
||||||
|
vendor = "QTI";
|
||||||
|
image-name = "qcom,oemvm";
|
||||||
|
qcom,pasid = <0x0 0x22>;
|
||||||
|
qcom,qtee-config-info = "p=9,7C,8F,97,159,7F1;";
|
||||||
|
qcom,secdomain-ids = <49>;
|
||||||
|
qcom,primary-vm-index = <0>;
|
||||||
|
vm-uri = "vmuid/oemvm";
|
||||||
|
vm-guid = "847bfe26-0b12-5728-812a-06103f6bdec0";
|
||||||
|
|
||||||
|
vm-attrs = "crash-fatal", "context-dump";
|
||||||
|
|
||||||
|
memory {
|
||||||
|
#address-cells = <0x2>;
|
||||||
|
#size-cells = <0x0>;
|
||||||
|
/*
|
||||||
|
* IPA address linux image is loaded at. Must be within
|
||||||
|
* first 1GB due to memory hotplug requirement.
|
||||||
|
*/
|
||||||
|
base-address = <0x0 0x88800000 >;
|
||||||
|
};
|
||||||
|
|
||||||
|
segments {
|
||||||
|
config_cpio = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
vcpus {
|
||||||
|
config = "/cpus";
|
||||||
|
affinity = "proxy";
|
||||||
|
affinity-map = <0x5 0x6>;
|
||||||
|
sched-priority = <0>; /* relative to PVM */
|
||||||
|
sched-timeslice = <2000>; /* in ms */
|
||||||
|
};
|
||||||
|
|
||||||
|
interrupts {
|
||||||
|
config = &vgic;
|
||||||
|
};
|
||||||
|
|
||||||
|
vdevices {
|
||||||
|
generate = "/hypervisor";
|
||||||
|
|
||||||
|
rm-rpc {
|
||||||
|
vdevice-type = "rm-rpc";
|
||||||
|
generate = "/hypervisor/qcom,resource-mgr";
|
||||||
|
console-dev;
|
||||||
|
message-size = <0x000000f0>;
|
||||||
|
queue-depth = <0x00000008>;
|
||||||
|
qcom,label = <0x1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
virtio-mmio@0 {
|
||||||
|
vdevice-type = "virtio-mmio";
|
||||||
|
generate = "/virtio-mmio";
|
||||||
|
peer-default;
|
||||||
|
vqs-num = <0x1>;
|
||||||
|
push-compatible = "virtio,mmio";
|
||||||
|
dma-coherent;
|
||||||
|
dma_base = <0x0 0x0>;
|
||||||
|
memory {
|
||||||
|
qcom,label = <0x13>;
|
||||||
|
#address-cells = <0x2>;
|
||||||
|
base = <0x0 0xFFEFC000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
swiotlb-shm {
|
||||||
|
vdevice-type = "shm";
|
||||||
|
generate = "/swiotlb";
|
||||||
|
push-compatible = "swiotlb";
|
||||||
|
peer-default;
|
||||||
|
dma_base = <0x0 0x4000>;
|
||||||
|
memory {
|
||||||
|
qcom,label = <0x14>;
|
||||||
|
#address-cells = <0x2>;
|
||||||
|
base = <0x0 0xFFF00000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
firmware: firmware {
|
||||||
|
scm {
|
||||||
|
compatible = "qcom,scm";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
soc: soc { };
|
||||||
|
};
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0 0 0xffffffff>;
|
||||||
|
compatible = "simple-bus";
|
||||||
|
|
||||||
|
psci {
|
||||||
|
compatible = "arm,psci-1.0";
|
||||||
|
method = "smc";
|
||||||
|
};
|
||||||
|
|
||||||
|
vgic: interrupt-controller@16000000 {
|
||||||
|
compatible = "arm,gic-v3";
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <0x3>;
|
||||||
|
#redistributor-regions = <1>;
|
||||||
|
redistributor-stride = <0x0 0x40000>;
|
||||||
|
reg = <0x16000000 0x10000>, /* GICD */
|
||||||
|
<0x16080000 0x200000>; /* GICR * 8 */
|
||||||
|
};
|
||||||
|
|
||||||
|
arch_timer: timer {
|
||||||
|
compatible = "arm,armv8-timer";
|
||||||
|
always-on;
|
||||||
|
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
|
||||||
|
<GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
|
||||||
|
<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
|
||||||
|
<GIC_PPI 12 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
|
||||||
|
clock-frequency = <19200000>;
|
||||||
|
};
|
||||||
|
};
|
15
qcom/sun-vm-rumi.dts
Normal file
15
qcom/sun-vm-rumi.dts
Normal file
@@ -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-rumi.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. Sun SVM RUMI";
|
||||||
|
compatible = "qcom,sun-rumi", "qcom,sun", "qcom,rumi";
|
||||||
|
qcom,board-id = <15 0>;
|
||||||
|
};
|
8
qcom/sun-vm-rumi.dtsi
Normal file
8
qcom/sun-vm-rumi.dtsi
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
&arch_timer {
|
||||||
|
clock-frequency = <500000>;
|
||||||
|
};
|
225
qcom/sun-vm.dtsi
Normal file
225
qcom/sun-vm.dtsi
Normal file
@@ -0,0 +1,225 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||||
|
|
||||||
|
/ {
|
||||||
|
#address-cells = <0x2>;
|
||||||
|
#size-cells = <0x2>;
|
||||||
|
qcom,msm-id = <618 0x10000>;
|
||||||
|
interrupt-parent = <&vgic>;
|
||||||
|
|
||||||
|
chosen {
|
||||||
|
bootargs = "nokaslr log_buf_len=256K console=hvc0 loglevel=8";
|
||||||
|
};
|
||||||
|
|
||||||
|
cpus {
|
||||||
|
#address-cells = <0x2>;
|
||||||
|
#size-cells = <0x0>;
|
||||||
|
|
||||||
|
CPU0: cpu@0 {
|
||||||
|
compatible = "arm,armv8";
|
||||||
|
reg = <0x0 0x0>;
|
||||||
|
device_type = "cpu";
|
||||||
|
enable-method = "psci";
|
||||||
|
cpu-idle-states = <&CPU_PWR_DWN
|
||||||
|
&CLUSTER_PWR_DWN>;
|
||||||
|
};
|
||||||
|
|
||||||
|
CPU1: cpu@100 {
|
||||||
|
compatible = "arm,armv8";
|
||||||
|
reg = <0x0 0x100>;
|
||||||
|
device_type = "cpu";
|
||||||
|
enable-method = "psci";
|
||||||
|
cpu-idle-states = <&CPU_PWR_DWN
|
||||||
|
&CLUSTER_PWR_DWN>;
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
idle-states {
|
||||||
|
CPU_PWR_DWN: c4 { /* Using Gold C4 latencies */
|
||||||
|
compatible = "arm,idle-state";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
CLUSTER_PWR_DWN: d4 { /* C4+D4 */
|
||||||
|
compatible = "arm,idle-state";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,vm-config {
|
||||||
|
compatible = "qcom,vm-1.0";
|
||||||
|
vm-type = "aarch64-guest";
|
||||||
|
boot-config = "fdt,unified";
|
||||||
|
os-type = "linux";
|
||||||
|
kernel-entry-segment = "kernel";
|
||||||
|
kernel-entry-offset = <0x0 0x0>;
|
||||||
|
vendor = "QTI";
|
||||||
|
image-name = "qcom,trustedvm";
|
||||||
|
qcom,pasid = <0x0 0x1c>;
|
||||||
|
qcom,qtee-config-info = "p=3,9,39,77,78,7C,8F,97,C8,FE,11B,159,199,47E,7F1,CDF;";
|
||||||
|
qcom,secdomain-ids = <45>;
|
||||||
|
qcom,primary-vm-index = <0>;
|
||||||
|
vm-uri = "vmuid/trusted-ui";
|
||||||
|
vm-guid = "598085da-c516-5b25-a9c1-927a02819770";
|
||||||
|
|
||||||
|
vm-attrs = "crash-fatal", "context-dump";
|
||||||
|
|
||||||
|
memory {
|
||||||
|
#address-cells = <0x2>;
|
||||||
|
#size-cells = <0x0>;
|
||||||
|
/*
|
||||||
|
* IPA address linux image is loaded at. Must be within
|
||||||
|
* first 1GB due to memory hotplug requirement.
|
||||||
|
*/
|
||||||
|
base-address = <0x0 0x88800000 >;
|
||||||
|
};
|
||||||
|
|
||||||
|
segments {
|
||||||
|
config_cpio = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
vcpus {
|
||||||
|
config = "/cpus";
|
||||||
|
affinity = "proxy";
|
||||||
|
affinity-map = <0x5 0x6>;
|
||||||
|
sched-priority = <0>; /* relative to PVM */
|
||||||
|
sched-timeslice = <2000>; /* in ms */
|
||||||
|
};
|
||||||
|
|
||||||
|
interrupts {
|
||||||
|
config = &vgic;
|
||||||
|
};
|
||||||
|
|
||||||
|
vdevices {
|
||||||
|
generate = "/hypervisor";
|
||||||
|
|
||||||
|
rm-rpc {
|
||||||
|
vdevice-type = "rm-rpc";
|
||||||
|
generate = "/hypervisor/qcom,resource-mgr";
|
||||||
|
console-dev;
|
||||||
|
message-size = <0x000000f0>;
|
||||||
|
queue-depth = <0x00000008>;
|
||||||
|
qcom,label = <0x1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
virtio-mmio@0 {
|
||||||
|
vdevice-type = "virtio-mmio";
|
||||||
|
generate = "/virtio-mmio";
|
||||||
|
peer-default;
|
||||||
|
vqs-num = <0x1>;
|
||||||
|
push-compatible = "virtio,mmio";
|
||||||
|
dma-coherent;
|
||||||
|
dma_base = <0x0 0x0>;
|
||||||
|
memory {
|
||||||
|
qcom,label = <0x11>; //for persist.img
|
||||||
|
#address-cells = <0x2>;
|
||||||
|
base = <0x0 0xDA6F8000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
virtio-mmio@1 {
|
||||||
|
vdevice-type = "virtio-mmio";
|
||||||
|
generate = "/virtio-mmio";
|
||||||
|
peer-default;
|
||||||
|
vqs-num = <0x2>;
|
||||||
|
push-compatible = "virtio,mmio";
|
||||||
|
dma-coherent;
|
||||||
|
dma_base = <0x0 0x4000>;
|
||||||
|
memory {
|
||||||
|
qcom,label = <0x10>; //for system.img
|
||||||
|
#address-cells = <0x2>;
|
||||||
|
base = <0x0 0xDA6FC000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
swiotlb-shm {
|
||||||
|
vdevice-type = "shm";
|
||||||
|
generate = "/swiotlb";
|
||||||
|
push-compatible = "swiotlb";
|
||||||
|
peer-default;
|
||||||
|
dma_base = <0x0 0x8000>;
|
||||||
|
memory {
|
||||||
|
qcom,label = <0x12>;
|
||||||
|
#address-cells = <0x2>;
|
||||||
|
base = <0x0 0xDA700000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
firmware: firmware {
|
||||||
|
scm {
|
||||||
|
compatible = "qcom,scm";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
soc: soc { };
|
||||||
|
};
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0 0 0xffffffff>;
|
||||||
|
compatible = "simple-bus";
|
||||||
|
|
||||||
|
vm_tlmm_irq: vm-tlmm-irq@0 {
|
||||||
|
compatible = "qcom,tlmm-vm-irq";
|
||||||
|
reg = <0x0 0x0>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
|
status="disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
tlmm: pinctrl@f000000 {
|
||||||
|
compatible = "qcom,sun-vm-pinctrl";
|
||||||
|
reg = <0x0F000000 0x1000000>;
|
||||||
|
interrupts-extended = <&vm_tlmm_irq 1 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
|
/* Valid pins */
|
||||||
|
gpios = /bits/ 16 <86 87 133 137 48 49 50 51 161 162 91 60 61 62 63 88>;
|
||||||
|
status="disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
tlmm-vm-mem-access {
|
||||||
|
compatible = "qcom,tlmm-vm-mem-access";
|
||||||
|
tlmm-vm-gpio-list = <&tlmm 86 0 &tlmm 87 0 &tlmm 133 0 &tlmm 137 0 &tlmm 48 0
|
||||||
|
&tlmm 49 0 &tlmm 50 0 &tlmm 51 0 &tlmm 161 0 &tlmm 162 0
|
||||||
|
&tlmm 91 0 &tlmm 60 0 &tlmm 61 0 &tlmm 62 0 &tlmm 63 0
|
||||||
|
&tlmm 88 0>;
|
||||||
|
status="disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
psci {
|
||||||
|
compatible = "arm,psci-1.0";
|
||||||
|
method = "smc";
|
||||||
|
};
|
||||||
|
|
||||||
|
vgic: interrupt-controller@16000000 {
|
||||||
|
compatible = "arm,gic-v3";
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <0x3>;
|
||||||
|
#redistributor-regions = <1>;
|
||||||
|
redistributor-stride = <0x0 0x40000>;
|
||||||
|
reg = <0x16000000 0x10000>, /* GICD */
|
||||||
|
<0x16080000 0x200000>; /* GICR * 8 */
|
||||||
|
};
|
||||||
|
|
||||||
|
arch_timer: timer {
|
||||||
|
compatible = "arm,armv8-timer";
|
||||||
|
always-on;
|
||||||
|
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
|
||||||
|
<GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
|
||||||
|
<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
|
||||||
|
<GIC_PPI 12 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
|
||||||
|
clock-frequency = <19200000>;
|
||||||
|
};
|
||||||
|
};
|
@@ -1100,6 +1100,79 @@
|
|||||||
method = "smc";
|
method = "smc";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
trust_ui_vm_vblk0_ring: trust_ui_vm_vblk0_ring {
|
||||||
|
size = <0x4000>;
|
||||||
|
gunyah-label = <0x11>;
|
||||||
|
};
|
||||||
|
|
||||||
|
trust_ui_vm_vblk1_ring: trust_ui_vm_vblk1_ring {
|
||||||
|
size = <0x4000>;
|
||||||
|
gunyah-label = <0x10>;
|
||||||
|
};
|
||||||
|
|
||||||
|
trust_ui_vm_swiotlb: trust_ui_vm_swiotlb {
|
||||||
|
size = <0x100000>;
|
||||||
|
gunyah-label = <0x12>;
|
||||||
|
};
|
||||||
|
|
||||||
|
trust_ui_vm: qcom,trust_ui_vm {
|
||||||
|
vm_name = "trustedvm";
|
||||||
|
shared-buffers-size = <0x108000>;
|
||||||
|
shared-buffers = <&trust_ui_vm_vblk0_ring
|
||||||
|
&trust_ui_vm_vblk1_ring
|
||||||
|
&trust_ui_vm_swiotlb>;
|
||||||
|
};
|
||||||
|
|
||||||
|
trust_ui_vm_virt_be0: trust_ui_vm_virt_be0@11 {
|
||||||
|
qcom,vm = <&trust_ui_vm>;
|
||||||
|
qcom,label = <0x11>;
|
||||||
|
};
|
||||||
|
|
||||||
|
trust_ui_vm_virt_be1: trust_ui_vm_virt_be1@10 {
|
||||||
|
qcom,vm = <&trust_ui_vm>;
|
||||||
|
qcom,label = <0x10>;
|
||||||
|
};
|
||||||
|
|
||||||
|
gh-secure-vm-loader@0 {
|
||||||
|
compatible = "qcom,gh-secure-vm-loader";
|
||||||
|
qcom,pas-id = <28>;
|
||||||
|
qcom,vmid = <45>;
|
||||||
|
qcom,firmware-name = "trustedvm";
|
||||||
|
memory-region = <&trust_ui_vm_mem &vm_comm_mem>;
|
||||||
|
virtio-backends = <&trust_ui_vm_virt_be0 &trust_ui_vm_virt_be1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
oem_vm_vblk0_ring: oem_vm_vblk0_ring {
|
||||||
|
size = <0x4000>;
|
||||||
|
gunyah-label = <0x13>;
|
||||||
|
};
|
||||||
|
|
||||||
|
oem_vm_swiotlb: oem_vm_swiotlb {
|
||||||
|
size = <0x100000>;
|
||||||
|
gunyah-label = <0x14>;
|
||||||
|
};
|
||||||
|
|
||||||
|
oem_vm: qcom,oem_vm {
|
||||||
|
vm_name = "oemvm";
|
||||||
|
shared-buffers-size = <0x104000>;
|
||||||
|
shared-buffers = <&oem_vm_vblk0_ring &oem_vm_swiotlb>;
|
||||||
|
};
|
||||||
|
|
||||||
|
oem_vm_virt_be0: oem_vm_virt_be0@13 {
|
||||||
|
qcom,vm = <&oem_vm>;
|
||||||
|
qcom,label = <0x13>;
|
||||||
|
};
|
||||||
|
|
||||||
|
gh-secure-vm-loader@1 {
|
||||||
|
compatible = "qcom,gh-secure-vm-loader";
|
||||||
|
qcom,pas-id = <34>;
|
||||||
|
qcom,vmid = <49>;
|
||||||
|
qcom,firmware-name = "oemvm";
|
||||||
|
memory-region = <&oem_vm_mem &vm_comm_mem>;
|
||||||
|
virtio-backends = <&oem_vm_virt_be0>;
|
||||||
|
};
|
||||||
|
|
||||||
ufsphy_mem: ufsphy_mem@1d80000 {
|
ufsphy_mem: ufsphy_mem@1d80000 {
|
||||||
reg = <0x1d80000 0x2000>;
|
reg = <0x1d80000 0x2000>;
|
||||||
reg-names = "phy_mem";
|
reg-names = "phy_mem";
|
||||||
@@ -1583,6 +1656,14 @@
|
|||||||
alignment = <0x0 0x400000>;
|
alignment = <0x0 0x400000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vm_comm_mem: vm_comm_mem_region {
|
||||||
|
compatible = "shared-dma-pool";
|
||||||
|
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
|
||||||
|
reusable;
|
||||||
|
alignment = <0x0 0x400000>;
|
||||||
|
size = <0x0 0x400000>;
|
||||||
|
};
|
||||||
|
|
||||||
llcc_lpi_mem: llcc_lpi_region@ff800000 {
|
llcc_lpi_mem: llcc_lpi_region@ff800000 {
|
||||||
no-map;
|
no-map;
|
||||||
reg = <0x0 0xff800000 0x0 0x800000>;
|
reg = <0x0 0xff800000 0x0 0x800000>;
|
||||||
|
Reference in New Issue
Block a user