Qualcomm Technologies, Inc. GPU IOMMU

Required properties:

Required properties:
- compatible : one of:
	- "qcom,kgsl-smmu-v2"

- reg		: Base address and size of the SMMU.

- num_cb	: Number of context banks

- clocks	: List of clocks to be used during SMMU register access. See
		  Documentation/devicetree/bindings/clock/clock-bindings.txt
		  for information about the format. For each clock specified
		  here, there must be a corresponding entry in clock-names
		  (see below).

- clock-names	: List of clock names corresponding to the clocks specified in
		  the "clocks" property (above). See
		  Documentation/devicetree/bindings/clock/clock-bindings.txt
		  for more info.


Optional properties:
- List of sub nodes, one for each of the translation context banks supported.
  Each sub node has the following required properties:

	- compatible : "qcom,smmu-kgsl-cb"
	- label : Name of the context bank
	- iommus : Specifies the SID's used by this context bank, this needs to be
		   <kgsl_smmu SID> pair, kgsl_smmu is the string parsed by iommu
		   driver to match this context bank with the kgsl_smmu device
		   defined in iommu device tree.
	 - retention :  A boolean specifying if retention is supported on this
			target
	 - qcom,global_pt :  A boolean specifying if global pagetable should be used.
			     When not set we use per process pagetables
	 - qcom,hyp_secure_alloc : A bool specifying if the hypervisor is used on
				   this target for secure buffer allocation

Example:

	msm_iommu: qcom,kgsl-iommu {
		compatible = "qcom,kgsl-smmu-v2";
		reg = <0xb40000 0x20000>;
		clocks = <&clock_mmss clk_gpu_ahb_clk>,
			<&clock_gcc clk_gcc_mmss_bimc_gfx_clk>,
			<&clock_mmss clk_mmss_mmagic_ahb_clk>,
			<&clock_mmss clk_mmss_mmagic_cfg_ahb_clk>;
		clock-names = "gpu_ahb_clk", "bimc_gfx_clk", "mmagic_ahb_clk", "mmagic_cfg_ahb_clk";
		num_cb = <2>;
		retention;
		qcom,global_pt;

		iommu_kgsl_cb2: iommu_kgsl_cb2 {
			compatible = "qcom,smmu-kgsl-cb";
			label = "gfx3d_user";
			iommus = <&kgsl_smmu 0>,
				 <&kgsl_smmu 1>;
		};

		iommu_kgsl_cb3: iommu_kgsl_cb3 {
			compatible = "qcom,smmu-kgsl-cb";
			label = "gfx3d_secure";
			iommus = <&kgsl_smmu 2>;
		};
	};
