arm64: dts: qcom: msm8998: Add ANOC1 SMMU node
authorMarc Gonzalez <marc.w.gonzalez@free.fr>
Mon, 1 Apr 2019 15:40:13 +0000 (17:40 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 17 Jun 2019 15:48:24 +0000 (08:48 -0700)
The MSM8998 ANOC1(*) SMMU services BLSP2, PCIe, UFS, and USB.
(*) Aggregate Network-on-Chip #1

Based on the following DTS downstream:
https://source.codeaurora.org/quic/la/kernel/msm-4.4/tree/arch/arm/boot/dts/qcom/msm-arm-smmu-8998.dtsi?h=LE.UM.1.3.r3.25#n18

Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8998.dtsi

index 1814ec1a15d039b1080b35d0e408a7e0752dab8d..cc2f83a534895976bbb28077fbec3a5b48ebd841 100644 (file)
                        #thermal-sensor-cells = <1>;
                };
 
+               anoc1_smmu: iommu@1680000 {
+                       compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
+                       reg = <0x01680000 0x10000>;
+                       #iommu-cells = <1>;
+
+                       #global-interrupts = <0>;
+                       interrupts =
+                               <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
+                               <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
+                               <GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
+                               <GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
+                               <GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
+                               <GIC_SPI 369 IRQ_TYPE_EDGE_RISING>;
+               };
+
                tcsr_mutex_regs: syscon@1f40000 {
                        compatible = "syscon";
                        reg = <0x1f40000 0x20000>;