]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
feat(tc): use smmu 700
authorDavidson K <davidson.kumaresan@arm.com>
Mon, 21 Nov 2022 12:19:51 +0000 (17:49 +0530)
committerdavidson kumaresan <davidson.kumaresan@arm.com>
Tue, 20 Dec 2022 11:00:57 +0000 (12:00 +0100)
Enable smmu for gpu and dpu

Signed-off-by: Davidson K <davidson.kumaresan@arm.com>
Change-Id: I6f4cffdc835dc542904b0a15b1db9a3382b78c08

fdts/tc.dts

index 5a8792e83e5b6092578f0da920f4ee063792cb34..73cbf1cbfcf69260de003d56237853acbdc16ab8 100644 (file)
                interrupt-names = "JOB", "MMU", "GPU";
                clocks = <&soc_refclk100mhz>;
                clock-names = "clk_mali";
+               iommus = <&smmu_700 0x200>;
                operating-points = <
                        /* KHz uV */
                        50000 820000
                >;
        };
 
-       smmu: smmu@2ce00000 {
+       smmu_700: smmu_700@3f000000 {
                #iommu-cells = <1>;
                compatible = "arm,smmu-v3";
-               reg = <0x0 0x2ce00000 0x0 0x20000>;
-               status = "okay";
+               reg = <0x0 0x3f000000 0x0 0x5000000>;
+               dma-coherent;
        };
 
        dp0: display@2cc00000 {
                interrupt-names = "DPU";
                clocks = <&scmi_clk 0>;
                clock-names = "aclk";
-               iommus = <&smmu 0>, <&smmu 1>, <&smmu 2>, <&smmu 3>,
-                       <&smmu 4>, <&smmu 5>, <&smmu 6>, <&smmu 7>,
-                       <&smmu 8>, <&smmu 9>;
+               iommus = <&smmu_700 0x100>;
                pl0: pipeline@0 {
                        reg = <0>;
                        clocks = <&scmi_clk 1>;