Message ID | 1335182340-17237-3-git-send-email-hdoyu@nvidia.com |
---|---|
State | Rejected, archived |
Headers | show |
On 04/23/2012 05:58 AM, Hiroshi DOYU wrote: > Add device tree support for Tegra30 IOMMU(SMMU). > diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi > + smmu: smmu@7000f000 { ... > + interrupts = <0 13 0x40>; This interrupt is on the 3rd IRQ controller (or GIC bank) so should be (2*32)+13, i.e. 75 not 13. -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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 */ + }; };
Add device tree support for Tegra30 IOMMU(SMMU). Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> --- arch/arm/boot/dts/tegra30.dtsi | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)