arm64: dts: qcom: sm8350: Assign iommus property to QUP WRAPs
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Sun, 14 Nov 2021 01:27:51 +0000 (02:27 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 20 Nov 2021 22:24:58 +0000 (16:24 -0600)
Assign the iommus property to allow access to QUP hosts that were not set up by
the bootloader.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211114012755.112226-12-konrad.dybcio@somainline.org
arch/arm64/boot/dts/qcom/sm8350.dtsi

index 944ad86..0ea735d 100644 (file)
                        clock-names = "m-ahb", "s-ahb";
                        clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>,
                                 <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>;
+                       iommus = <&apps_smmu 0x5e3 0x0>;
                        #address-cells = <2>;
                        #size-cells = <2>;
                        ranges;
                        clock-names = "m-ahb", "s-ahb";
                        clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
                                 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
+                       iommus = <&apps_smmu 0x5a3 0>;
                        #address-cells = <2>;
                        #size-cells = <2>;
                        ranges;
                        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 0x43 0>;
                        #address-cells = <2>;
                        #size-cells = <2>;
                        ranges;