aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Damm <damm+renesas@opensource.se>2016-02-29 09:33:09 -0500
committerJoerg Roedel <jroedel@suse.de>2016-03-03 04:59:17 -0500
commitd4e42e72e7d121be904087be9df9842b35757588 (patch)
tree9d3ededf9ccde80c15b36ce318ec391a403d90cc
parent9015ba456c432023630a1a2ce13049d84fd5b7a3 (diff)
iommu/ipmmu-vmsa: Add r8a7795 DT binding
Update the IPMMU DT binding documentation to include the r8a7795 compat string as well as the "renesas,ipmmu-main" property that on r8a7795 will be used to describe the topology and the relationship between the various cache IPMMU instances and the main IPMMU. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Joerg Roedel <jroedel@suse.de>
-rw-r--r--Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt15
1 files changed, 13 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt b/Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt
index 48ffb38f699e..3ed027cfca95 100644
--- a/Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt
+++ b/Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt
@@ -7,23 +7,34 @@ connected to the IPMMU through a port called micro-TLB.
7 7
8Required Properties: 8Required Properties:
9 9
10 - compatible: Must contain SoC-specific and generic entries from below. 10 - compatible: Must contain SoC-specific and generic entry below in case
11 the device is compatible with the R-Car Gen2 VMSA-compatible IPMMU.
11 12
12 - "renesas,ipmmu-r8a73a4" for the R8A73A4 (R-Mobile APE6) IPMMU. 13 - "renesas,ipmmu-r8a73a4" for the R8A73A4 (R-Mobile APE6) IPMMU.
13 - "renesas,ipmmu-r8a7790" for the R8A7790 (R-Car H2) IPMMU. 14 - "renesas,ipmmu-r8a7790" for the R8A7790 (R-Car H2) IPMMU.
14 - "renesas,ipmmu-r8a7791" for the R8A7791 (R-Car M2-W) IPMMU. 15 - "renesas,ipmmu-r8a7791" for the R8A7791 (R-Car M2-W) IPMMU.
15 - "renesas,ipmmu-r8a7793" for the R8A7793 (R-Car M2-N) IPMMU. 16 - "renesas,ipmmu-r8a7793" for the R8A7793 (R-Car M2-N) IPMMU.
16 - "renesas,ipmmu-r8a7794" for the R8A7794 (R-Car E2) IPMMU. 17 - "renesas,ipmmu-r8a7794" for the R8A7794 (R-Car E2) IPMMU.
18 - "renesas,ipmmu-r8a7795" for the R8A7795 (R-Car H3) IPMMU.
17 - "renesas,ipmmu-vmsa" for generic R-Car Gen2 VMSA-compatible IPMMU. 19 - "renesas,ipmmu-vmsa" for generic R-Car Gen2 VMSA-compatible IPMMU.
18 20
19 - reg: Base address and size of the IPMMU registers. 21 - reg: Base address and size of the IPMMU registers.
20 - interrupts: Specifiers for the MMU fault interrupts. For instances that 22 - interrupts: Specifiers for the MMU fault interrupts. For instances that
21 support secure mode two interrupts must be specified, for non-secure and 23 support secure mode two interrupts must be specified, for non-secure and
22 secure mode, in that order. For instances that don't support secure mode a 24 secure mode, in that order. For instances that don't support secure mode a
23 single interrupt must be specified. 25 single interrupt must be specified. Not required for cache IPMMUs.
24 26
25 - #iommu-cells: Must be 1. 27 - #iommu-cells: Must be 1.
26 28
29Optional properties:
30
31 - renesas,ipmmu-main: reference to the main IPMMU instance in two cells.
32 The first cell is a phandle to the main IPMMU and the second cell is
33 the interrupt bit number associated with the particular cache IPMMU device.
34 The interrupt bit number needs to match the main IPMMU IMSSTR register.
35 Only used by cache IPMMU instances.
36
37
27Each bus master connected to an IPMMU must reference the IPMMU in its device 38Each bus master connected to an IPMMU must reference the IPMMU in its device
28node with the following property: 39node with the following property:
29 40