1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/iommu/samsung,sysmmu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung Exynos IOMMU H/W, System MMU (System Memory Management Unit)
10 - Marek Szyprowski <m.szyprowski@samsung.com>
13 Samsung's Exynos architecture contains System MMUs that enables scattered
14 physical memory chunks visible as a contiguous region to DMA-capable peripheral
15 devices like MFC, FIMC, FIMD, GScaler, FIMC-IS and so forth.
17 System MMU is an IOMMU and supports identical translation table format to
18 ARMv7 translation tables with minimum set of page properties including access
19 permissions, shareability and security protection. In addition, System MMU has
20 another capabilities like L2 TLB or block-fetch buffers to minimize translation
23 System MMUs are in many to one relation with peripheral devices, i.e. single
24 peripheral device might have multiple System MMUs (usually one for each bus
25 master), but one System MMU can handle transactions from only one peripheral
26 device. The relation between a System MMU and the peripheral device needs to be
27 defined in device node of the peripheral device.
29 MFC in all Exynos SoCs and FIMD, M2M Scalers and G2D in Exynos5420 has 2 System
31 * MFC has one System MMU on its left and right bus.
32 * FIMD in Exynos5420 has one System MMU for window 0 and 4, the other system MMU
33 for window 1, 2 and 3.
34 * M2M Scalers and G2D in Exynos5420 has one System MMU on the read channel and
35 the other System MMU on the write channel.
37 For information on assigning System MMU controller to its peripheral devices,
38 see generic IOMMU bindings.
42 const: samsung,exynos-sysmmu
70 Required if the System MMU is needed to gate its power.
71 Please refer to the following document:
72 Documentation/devicetree/bindings/power/pd-samsung.yaml
83 additionalProperties: false
87 #include <dt-bindings/clock/exynos5250.h>
89 gsc_0: scaler@13e00000 {
90 compatible = "samsung,exynos5-gsc";
91 reg = <0x13e00000 0x1000>;
92 interrupts = <0 85 0>;
93 power-domains = <&pd_gsc>;
94 clocks = <&clock CLK_GSCL0>;
96 iommus = <&sysmmu_gsc0>;
99 sysmmu_gsc0: iommu@13e80000 {
100 compatible = "samsung,exynos-sysmmu";
101 reg = <0x13E80000 0x1000>;
102 interrupt-parent = <&combiner>;
104 clock-names = "sysmmu", "master";
105 clocks = <&clock CLK_SMMU_GSCL0>,
107 power-domains = <&pd_gsc>;