1 * ARM System MMU Architecture Implementation
3 ARM SoCs may contain an implementation of the ARM System Memory
4 Management Unit Architecture, which can be used to provide 1 or 2 stages
5 of address translation to bus masters external to the CPU.
7 The SMMU may also raise interrupts in response to various fault
10 ** System MMU required properties:
12 - compatible : Should be one of:
20 depending on the particular implementation and/or the
21 version of the architecture implemented.
23 - reg : Base address and size of the SMMU.
25 - #global-interrupts : The number of global interrupts exposed by the
28 - interrupts : Interrupt list, with the first #global-irqs entries
29 corresponding to the global interrupts and any
30 following entries corresponding to context interrupts,
31 specified in order of their indexing by the SMMU.
33 For SMMUv2 implementations, there must be exactly one
34 interrupt per context bank. In the case of a single,
35 combined interrupt, it must be listed multiple times.
37 - mmu-masters : A list of phandles to device nodes representing bus
38 masters for which the SMMU can provide a translation
39 and their corresponding StreamIDs (see example below).
40 Each device node linked from this list must have a
41 "#stream-id-cells" property, indicating the number of
42 StreamIDs associated with it.
44 ** System MMU optional properties:
46 - calxeda,smmu-secure-config-access : Enable proper handling of buggy
47 implementations that always use secure access to
48 SMMU configuration registers. In this case non-secure
49 aliases of secure registers have to be used during
55 compatible = "arm,smmu-v1";
56 reg = <0xba5e0000 0x10000>;
57 #global-interrupts = <2>;
58 interrupts = <0 32 4>,
60 <0 34 4>, /* This is the first context interrupt */
66 * Two DMA controllers, the first with two StreamIDs (0xd01d
67 * and 0xd01e) and the second with only one (0xd11c).
69 mmu-masters = <&dma0 0xd01d 0xd01e>,