]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: exynosautov9: Add dpum SysMMU
authorKwanghoon Son <k.son@samsung.com>
Mon, 19 Aug 2024 07:55:45 +0000 (16:55 +0900)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 22 Aug 2024 06:33:42 +0000 (08:33 +0200)
Add System Memory Management Unit(SysMMU) for dpum also called iommu.

This sysmmu is version 7.4, which has same functionality as exynos850.

DPUM has 4 dma channel, each channel is mapped to one iommu.

Signed-off-by: Kwanghoon Son <k.son@samsung.com>
Link: https://lore.kernel.org/r/20240819-add_sysmmu-v1-1-799c0f3f607f@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/exynosautov9.dtsi

index 599e7282487596f4c560f308859a054043baaf2f..b36292a7db640815a3755e5b21c50c29e7b224cc 100644 (file)
                        clock-names = "oscclk", "bus";
                };
 
+               sysmmu_dpum_0: sysmmu@18c80000 {
+                       compatible = "samsung,exynos-sysmmu";
+                       reg = <0x18c80000 0x10000>;
+                       interrupts = <GIC_SPI 459 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cmu_dpum CLK_GOUT_DPUM_SYSMMU_D0_CLK>;
+                       clock-names = "sysmmu";
+                       #iommu-cells = <0>;
+               };
+
+               sysmmu_dpum_1: sysmmu@18c90000 {
+                       compatible = "samsung,exynos-sysmmu";
+                       reg = <0x18c90000 0x10000>;
+                       interrupts = <GIC_SPI 459 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cmu_dpum CLK_GOUT_DPUM_SYSMMU_D1_CLK>;
+                       clock-names = "sysmmu";
+                       #iommu-cells = <0>;
+               };
+
+               sysmmu_dpum_2: sysmmu@18ca0000 {
+                       compatible = "samsung,exynos-sysmmu";
+                       reg = <0x18ca0000 0x10000>;
+                       interrupts = <GIC_SPI 459 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cmu_dpum CLK_GOUT_DPUM_SYSMMU_D2_CLK>;
+                       clock-names = "sysmmu";
+                       #iommu-cells = <0>;
+               };
+
+               sysmmu_dpum_3: sysmmu@18cb0000 {
+                       compatible = "samsung,exynos-sysmmu";
+                       reg = <0x18cb0000 0x10000>;
+                       interrupts = <GIC_SPI 459 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cmu_dpum CLK_GOUT_DPUM_SYSMMU_D3_CLK>;
+                       clock-names = "sysmmu";
+                       #iommu-cells = <0>;
+               };
+
                cmu_core: clock-controller@1b030000 {
                        compatible = "samsung,exynosautov9-cmu-core";
                        reg = <0x1b030000 0x8000>;