From 5bf64a37f96cb021f38ddac8308ededa75a6f507 Mon Sep 17 00:00:00 2001 From: Zhenhua Huang Date: Wed, 30 Nov 2022 18:09:34 +0800 Subject: [PATCH] ARM: dts: msm: Add secure test nodes on Ravelin Add one secure test node. As page tables also can be accessed by VMID_HLOS, basic working flow can be tested. Change-Id: Ieadbf06f93adaed14440b6f4da5d59e5f65df01b --- qcom/msm-arm-smmu-ravelin.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qcom/msm-arm-smmu-ravelin.dtsi b/qcom/msm-arm-smmu-ravelin.dtsi index 4533401f..6c5ff765 100644 --- a/qcom/msm-arm-smmu-ravelin.dtsi +++ b/qcom/msm-arm-smmu-ravelin.dtsi @@ -332,5 +332,12 @@ iommus = <&kgsl_smmu 0x407 0x400>; dma-coherent; }; + + usecase7_apps_secure { + compatible = "qcom,iommu-debug-usecase"; + iommus = <&apps_smmu 0x7e0 0>; + qcom,iommu-dma = "atomic"; + qcom,iommu-vmid = <0xA>; /* VMID_CP_PIXEL */ + }; }; };