ti,omap-iommu.txt 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. OMAP2+ IOMMU
  2. Required properties:
  3. - compatible : Should be one of,
  4. "ti,omap2-iommu" for OMAP2/OMAP3 IOMMU instances
  5. "ti,omap4-iommu" for OMAP4/OMAP5 IOMMU instances
  6. "ti,dra7-dsp-iommu" for DRA7xx DSP IOMMU instances
  7. "ti,dra7-iommu" for DRA7xx IOMMU instances
  8. - ti,hwmods : Name of the hwmod associated with the IOMMU instance
  9. - reg : Address space for the configuration registers
  10. - interrupts : Interrupt specifier for the IOMMU instance
  11. - #iommu-cells : Should be 0. OMAP IOMMUs are all "single-master" devices,
  12. and needs no additional data in the pargs specifier. Please
  13. also refer to the generic bindings document for more info
  14. on this property,
  15. Documentation/devicetree/bindings/iommu/iommu.txt
  16. Optional properties:
  17. - ti,#tlb-entries : Number of entries in the translation look-aside buffer.
  18. Should be either 8 or 32 (default: 32)
  19. - ti,iommu-bus-err-back : Indicates the IOMMU instance supports throwing
  20. back a bus error response on MMU faults.
  21. - ti,syscon-mmuconfig : Should be a pair of the phandle to the DSP_SYSTEM
  22. syscon node that contains the additional control
  23. register for enabling the MMU, and the MMU instance
  24. number (0-indexed) within the sub-system. This property
  25. is required for DSP IOMMU instances on DRA7xx SoCs. The
  26. instance number should be 0 for DSP MDMA MMUs and 1 for
  27. DSP EDMA MMUs.
  28. Example:
  29. /* OMAP3 ISP MMU */
  30. mmu_isp: mmu@480bd400 {
  31. #iommu-cells = <0>;
  32. compatible = "ti,omap2-iommu";
  33. reg = <0x480bd400 0x80>;
  34. interrupts = <24>;
  35. ti,hwmods = "mmu_isp";
  36. ti,#tlb-entries = <8>;
  37. };
  38. /* DRA74x DSP2 MMUs */
  39. mmu0_dsp2: mmu@41501000 {
  40. compatible = "ti,dra7-dsp-iommu";
  41. reg = <0x41501000 0x100>;
  42. interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
  43. ti,hwmods = "mmu0_dsp2";
  44. #iommu-cells = <0>;
  45. ti,syscon-mmuconfig = <&dsp2_system 0x0>;
  46. };
  47. mmu1_dsp2: mmu@41502000 {
  48. compatible = "ti,dra7-dsp-iommu";
  49. reg = <0x41502000 0x100>;
  50. interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
  51. ti,hwmods = "mmu1_dsp2";
  52. #iommu-cells = <0>;
  53. ti,syscon-mmuconfig = <&dsp2_system 0x1>;
  54. };