arm64: dts: qcom: msm8998: Add anoc2 smmu node
authorJeffrey Hugo <jeffrey.l.hugo@gmail.com>
Thu, 7 Nov 2019 04:33:12 +0000 (20:33 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 10 Dec 2019 17:41:59 +0000 (09:41 -0800)
While there are several peripherals on the anoc2, most are not behind the
smmu.  However, the SoC integrated wlan block is behind the smmu, so we'll
need to control the smmu inorder to enable wifi.

Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Link: https://lore.kernel.org/r/20191107043313.4055-2-jeffrey.l.hugo@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8998.dtsi

index fc7838e..d5263e4 100644 (file)
                                <GIC_SPI 369 IRQ_TYPE_EDGE_RISING>;
                };
 
+               anoc2_smmu: iommu@16c0000 {
+                       compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
+                       reg = <0x016c0000 0x40000>;
+                       #iommu-cells = <1>;
+
+                       #global-interrupts = <0>;
+                       interrupts =
+                               <GIC_SPI 373 IRQ_TYPE_EDGE_RISING>,
+                               <GIC_SPI 374 IRQ_TYPE_EDGE_RISING>,
+                               <GIC_SPI 375 IRQ_TYPE_EDGE_RISING>,
+                               <GIC_SPI 376 IRQ_TYPE_EDGE_RISING>,
+                               <GIC_SPI 377 IRQ_TYPE_EDGE_RISING>,
+                               <GIC_SPI 378 IRQ_TYPE_EDGE_RISING>,
+                               <GIC_SPI 462 IRQ_TYPE_EDGE_RISING>,
+                               <GIC_SPI 463 IRQ_TYPE_EDGE_RISING>,
+                               <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
+                               <GIC_SPI 465 IRQ_TYPE_EDGE_RISING>;
+               };
+
                pcie0: pci@1c00000 {
                        compatible = "qcom,pcie-msm8996";
                        reg =   <0x01c00000 0x2000>,