renesas,ipmmu-vmsa.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. * Renesas VMSA-Compatible IOMMU
  2. The IPMMU is an IOMMU implementation compatible with the ARM VMSA page tables.
  3. It provides address translation for bus masters outside of the CPU, each
  4. connected to the IPMMU through a port called micro-TLB.
  5. Required Properties:
  6. - compatible: Must contain "renesas,ipmmu-vmsa".
  7. - reg: Base address and size of the IPMMU registers.
  8. - interrupts: Specifiers for the MMU fault interrupts. For instances that
  9. support secure mode two interrupts must be specified, for non-secure and
  10. secure mode, in that order. For instances that don't support secure mode a
  11. single interrupt must be specified.
  12. - #iommu-cells: Must be 1.
  13. Each bus master connected to an IPMMU must reference the IPMMU in its device
  14. node with the following property:
  15. - iommus: A reference to the IPMMU in two cells. The first cell is a phandle
  16. to the IPMMU and the second cell the number of the micro-TLB that the
  17. device is connected to.
  18. Example: R8A7791 IPMMU-MX and VSP1-D0 bus master
  19. ipmmu_mx: mmu@fe951000 {
  20. compatible = "renasas,ipmmu-vmsa";
  21. reg = <0 0xfe951000 0 0x1000>;
  22. interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>,
  23. <0 221 IRQ_TYPE_LEVEL_HIGH>;
  24. #iommu-cells = <1>;
  25. };
  26. vsp1@fe928000 {
  27. ...
  28. iommus = <&ipmmu_mx 13>;
  29. ...
  30. };