mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-01-27 14:44:08 +00:00
ARM: dts: msm: add initial dt files to support Ravelin VM
Add initial DT files to support VM for Ravelin. Change-Id: I14e30b9fd338a83af0262f306d59c27c5155f283
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
fb72f9b112
commit
f1f0ae5f97
@@ -661,6 +661,13 @@ dtb-$(CONFIG_ARCH_QTI_VM) += \
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_RAVELIN), y)
|
||||
ifeq ($(CONFIG_ARCH_QTI_VM), y)
|
||||
dtb-$(CONFIG_ARCH_QTI_VM) += \
|
||||
ravelin-vm-rumi.dtb
|
||||
endif
|
||||
endif
|
||||
|
||||
always-y := $(dtb-y)
|
||||
subdir-y := $(dts-dirs)
|
||||
clean-files := *.dtb *.dtbo
|
||||
|
||||
10
qcom/ravelin-vm-rumi.dts
Normal file
10
qcom/ravelin-vm-rumi.dts
Normal file
@@ -0,0 +1,10 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "ravelin-vm.dtsi"
|
||||
#include "ravelin-vm-rumi.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. Ravelin SVM RUMI";
|
||||
compatible = "qcom,ravelin-rumi", "qcom,ravelin", "qcom,rumi";
|
||||
qcom,board-id = <15 0>;
|
||||
};
|
||||
3
qcom/ravelin-vm-rumi.dtsi
Normal file
3
qcom/ravelin-vm-rumi.dtsi
Normal file
@@ -0,0 +1,3 @@
|
||||
&arch_timer {
|
||||
clock-frequency = <500000>;
|
||||
};
|
||||
77
qcom/ravelin-vm.dtsi
Normal file
77
qcom/ravelin-vm.dtsi
Normal file
@@ -0,0 +1,77 @@
|
||||
#include "waipio-vm.dtsi"
|
||||
|
||||
/ {
|
||||
qcom,msm-id = <568 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,ravelin-vm-pinctrl";
|
||||
gpios = /bits/ 16 <>;
|
||||
};
|
||||
|
||||
tlmm-vm-mem-access {
|
||||
tlmm-vm-gpio-list = <>;
|
||||
};
|
||||
|
||||
apps-smmu@15000000 {
|
||||
qcom,actlr =
|
||||
/* Display and camera clients, +0 PF */
|
||||
<0x800 0x3ff 0x1>,
|
||||
<0xc00 0x3ff 0x1>,
|
||||
<0x2000 0xE0 0x1>,
|
||||
<0x2100 0x60 0x1>,
|
||||
/* For video clients, +3 PF */
|
||||
<0x2180 0x27 0x103>,
|
||||
/* NSP clients, +15PF */
|
||||
<0x1000 0x3ff 0x303>,
|
||||
<0x1400 0x3ff 0x303>;
|
||||
};
|
||||
|
||||
/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;
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user