Add device tree support for Tegra30 IOMMU(SMMU).

Signed-off-by: Hiroshi DOYU <[email protected]>
---
 arch/arm/boot/dts/tegra30.dtsi |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi
index 15200a9..f4929d5 100644
--- a/arch/arm/boot/dts/tegra30.dtsi
+++ b/arch/arm/boot/dts/tegra30.dtsi
@@ -224,4 +224,14 @@
                        nvidia,ahub-cif-ids = <8 8>;
                };
        };
+
+       smmu: smmu@7000f000 {
+               compatible = "nvidia,tegra30-smmu";
+               reg = <0x7000f010 0x2c          /* controller registers */
+                      0x7000f1f0 0x10          /* statics */
+                      0x7000f228 0x5c>;        /* module configuration */
+               interrupts = <0 13 0x40>;
+               asids = <4>;                    /* # of ASIDs */
+               dma-window = <0 0x40000000>;    /* IOVA start & length */
+       };
 };
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to