Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a206d2ea authored by Zhaoyang Liu's avatar Zhaoyang Liu
Browse files

ARM: dts: msm: configure iommu for pci wlan

This change is to configure iommu for wlan.
Mark iommu dma attribution as bypass.

Change-Id: I6aa3c8b201d481fae25e6c51658d14875feedd8a
parent e74cb183
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -858,3 +858,21 @@
	/delete-property/ qcom,msm-bus,num-paths;
	/delete-property/ qcom,msm-bus,vectors-bus-ids;
};

&pcie_rc0 {
	cnss_pci: cnss_pci {
		reg = <0 0 0 0 0>;
		qcom,iommu-group = <&cnss_pci_iommu_group>;

		#address-cells = <1>;
		#size-cells = <1>;

		cnss_pci_iommu_group: cnss_pci_iommu_group {
			qcom,iommu-dma-addr-pool = <0xa0000000 0x10000000>;
			qcom,iommu-dma = "bypass";
			qcom,iommu-pagetable = "coherent";
			qcom,iommu-faults = "stall-disable", "no-CFRE",
						"non-fatal";
		};
	};
};