ARM: dts: msm: add initial dt files to support Parrot VM

Add initial DT files to support VM for Parrot.

Change-Id: Ie770b8005f3397ec68ac062f10b47671652bf74c
This commit is contained in:
Naina Mehta
2021-12-31 10:43:50 +05:30
parent f541b93e67
commit 81402374b6
4 changed files with 83 additions and 0 deletions

View File

@@ -387,6 +387,13 @@ dtb-$(CONFIG_ARCH_QTI_VM) += \
endif
endif
ifeq ($(CONFIG_ARCH_PARROT), y)
ifeq ($(CONFIG_ARCH_QTI_VM), y)
dtb-$(CONFIG_ARCH_QTI_VM) += \
parrot-vm-rumi.dtb
endif
endif
always-y := $(dtb-y)
subdir-y := $(dts-dirs)
clean-files := *.dtb *.dtbo

10
qcom/parrot-vm-rumi.dts Normal file
View File

@@ -0,0 +1,10 @@
/dts-v1/;
#include "parrot-vm.dtsi"
#include "parrot-vm-rumi.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Parrot SVM RUMI";
compatible = "qcom,parrot-rumi", "qcom,parrot", "qcom,rumi";
qcom,board-id = <15 0>;
};

3
qcom/parrot-vm-rumi.dtsi Normal file
View File

@@ -0,0 +1,3 @@
&arch_timer {
clock-frequency = <500000>;
};

63
qcom/parrot-vm.dtsi Normal file
View File

@@ -0,0 +1,63 @@
#include "waipio-vm.dtsi"
/ {
qcom,msm-id = <537 0x10000>;
interrupt-parent = <&vgic>;
idle-states {
CPU_PWR_DWN: c4 {
status = "disabled";
};
CLUSTER_PWR_DWN: d4 {
status = "disabled";
};
};
gunyah-vsock {
status = "disabled";
};
qcom,vm-config {
vdevices {
gvsock-message-queue-pair {
status = "disabled";
};
};
};
};
&soc {
/delete-node/ interrupt-controller@17100000;
qcom,spmi@c42d000 {
status = "disabled";
};
vgic: interrupt-controller@17200000 {
compatible = "arm,gic-v3";
interrupt-controller;
#interrupt-cells = <0x3>;
#redistributor-regions = <1>;
redistributor-stride = <0x0 0x20000>;
reg = <0x17200000 0x10000>, /* GICD */
<0x17260000 0x100000>; /* GICR * 8 */
};
pinctrl@f000000 {
compatible = "qcom,parrot-vm-pinctrl";
gpios = /bits/ 16 <>;
};
tlmm-vm-mem-access {
tlmm-vm-gpio-list = <>;
};
/delete-node/ qup_common_iommu_group;
/delete-node/ qcom,qupv3_0_geni_se@9c0000;
/delete-node/ qcom,gpi-dma@900000;
/delete-node/ i2c@990000;
/delete-node/ spi@990000;
};