mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 09:02:17 +00:00
0760e8faa9
The necessary info is expected to pass from DT. For more precise resource reservation, there shouldn't be any overlapping of register range between SMMU and MC. SMMU register offset needs to be calculated correctly, based on its register bank. Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
22 lines
668 B
Plaintext
22 lines
668 B
Plaintext
NVIDIA Tegra 30 IOMMU H/W, SMMU (System Memory Management Unit)
|
|
|
|
Required properties:
|
|
- compatible : "nvidia,tegra30-smmu"
|
|
- reg : Should contain 3 register banks(address and length) for each
|
|
of the SMMU register blocks.
|
|
- interrupts : Should contain MC General interrupt.
|
|
- nvidia,#asids : # of ASIDs
|
|
- dma-window : IOVA start address and length.
|
|
- nvidia,ahb : phandle to the ahb bus connected to SMMU.
|
|
|
|
Example:
|
|
smmu {
|
|
compatible = "nvidia,tegra30-smmu";
|
|
reg = <0x7000f010 0x02c
|
|
0x7000f1f0 0x010
|
|
0x7000f228 0x05c>;
|
|
nvidia,#asids = <4>; /* # of ASIDs */
|
|
dma-window = <0 0x40000000>; /* IOVA start & length */
|
|
nvidia,ahb = <&ahb>;
|
|
};
|