From b57a26b88e368274d9ba3c9533fe3a9a2035de1d Mon Sep 17 00:00:00 2001 From: "Bao D. Nguyen" Date: Wed, 8 Nov 2023 13:43:41 -0800 Subject: [PATCH] ARM: dts: qcom: Enable UFS MCQ on Sun platforms Enable the UFS MCQ feature on the Sun platforms. Change-Id: I6d58bb14ea085cfd792cfea0073cccfa8be38edb Signed-off-by: Bao D. Nguyen --- qcom/sun.dtsi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index 7a2c0a75..2b72a9ed 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -1899,8 +1899,9 @@ compatible = "qcom,ufshc"; reg = <0x1d84000 0x3000>, <0x1d88000 0x8000>, - <0x1d90000 0x9800>; - reg-names = "ufs_mem", "ufs_ice", "ufs_ice_hwkm"; + <0x1d90000 0x9800>, + <0x1da5000 0x2000>, <0x1da4000 0x10>; + reg-names = "ufs_mem", "ufs_ice", "ufs_ice_hwkm", "mcq_sqd", "mcq_vs"; interrupts = ; phys = <&ufsphy_mem>; phy-names = "ufsphy"; @@ -1908,6 +1909,7 @@ qcom,prime-mask = <0xc0>; qcom,silver-mask = <0x3f>; + qcom,esi-affinity-mask = <0xe0>; lanes-per-direction = <2>; dev-ref-clk-freq = <0>; /* 19.2 MHz */ @@ -2013,11 +2015,16 @@ iommus = <&apps_smmu 0x60 0x0>; qcom,iommu-dma = "fastmap"; qcom,iommu-dma-addr-pool = <0x1000 0xFFFFF000>; + qcom,iommu-msi-size = <0x1000>; + shared-ice-cfg = <&ice_cfg>; dma-coherent; qcom,bypass-pbl-rst-wa; qcom,disable-lpm; + + msi-parent = <&gic_its 0x60>; + status = "disabled"; qos0 {