From b097308d9ef493efb0a7ae6f7ef2344e1f272a1f Mon Sep 17 00:00:00 2001 From: Prakash Yadachi Date: Mon, 19 Aug 2024 11:57:33 +0530 Subject: [PATCH] ARM: dts: msm: Add memory and clock support for Parrot-VM Add memory and clock support for qup for Parrot-VM target. Change-Id: I2bdd7fea970fafc9c245277c31d5dc4003294734 Signed-off-by: Prakash Yadachi --- qcom/parrot-vm.dtsi | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/qcom/parrot-vm.dtsi b/qcom/parrot-vm.dtsi index a8f8d09a..82ea3d9d 100644 --- a/qcom/parrot-vm.dtsi +++ b/qcom/parrot-vm.dtsi @@ -4,6 +4,7 @@ */ #include "waipio-vm.dtsi" +#include / { qcom,msm-id = <537 0x10000>, <583 0x10000>, <613 0x10000>, <631 0x10000>, @@ -35,6 +36,13 @@ status = "disabled"; }; + gcc: clock-controller@100000 { + compatible = "qcom,dummycc"; + clock-output-names = "gcc_clocks"; + #clock-cells = <1>; + #reset-cells = <1>; + }; + vgic: interrupt-controller@17200000 { compatible = "arm,gic-v3"; interrupt-controller; @@ -74,7 +82,8 @@ /delete-node/ spi@990000; qup_iommu_group: qup_common_iommu_group { - qcom,iommu-dma-addr-pool = <0x00020000 0xfffe0000>; + iommu-addresses = <&gpi_dma1 0x00000000 0x00020000>, + <&qupv3_1 0x00000000 0x00020000>; }; gpi_dma1: qcom,gpi-dma@a00000 { @@ -84,6 +93,7 @@ reg-names = "gpi-top"; iommus = <&apps_smmu 0x418 0x0>; qcom,iommu-group = <&qup_iommu_group>; + memory-region = <&qup_iommu_group>; dma-coherent; interrupts = , , @@ -109,9 +119,16 @@ qupv3_1: qcom,qupv3_1_geni_se@ac0000 { compatible = "qcom,geni-se-qup"; reg = <0xac0000 0x2000>; + #address-cells = <1>; + #size-cells = <1>; + clock-names = "m-ahb", "s-ahb"; + clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, + <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; iommus = <&apps_smmu 0x418 0x0>; qcom,iommu-group = <&qup_iommu_group>; + memory-region = <&qup_iommu_group>; dma-coherent; + ranges; status = "ok"; /* TUI over I2C */