arm64: dts: exynos: Move GPU under /soc node for Exynos5433
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 4 Sep 2019 09:24:40 +0000 (11:24 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Tue, 1 Oct 2019 18:56:19 +0000 (20:56 +0200)
Mali GPU hardware module is a standard hardware module integrated to
Exynos5433 SoCs, so it should reside under the "/soc" node. The only SoC
components which are placed in the DT root, are those, which are a part
of CPUs: like ARM architected timers and ARM performance measurement
units.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm64/boot/dts/exynos/exynos5433.dtsi

index a76f620..239bf44 100644 (file)
                };
        };
 
-       gpu: gpu@14ac0000 {
-               compatible = "samsung,exynos5433-mali", "arm,mali-t760";
-               reg = <0x14ac0000 0x5000>;
-               interrupts = <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
-                            <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
-                            <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>;
-               interrupt-names = "job", "mmu", "gpu";
-               clocks = <&cmu_g3d CLK_ACLK_G3D>;
-               clock-names = "core";
-               power-domains = <&pd_g3d>;
-               operating-points-v2 = <&gpu_opp_table>;
-               status = "disabled";
-
-               gpu_opp_table: opp_table {
-                       compatible = "operating-points-v2";
-
-                       opp-160000000 {
-                               opp-hz = /bits/ 64 <160000000>;
-                               opp-microvolt = <1000000>;
-                       };
-                       opp-267000000 {
-                               opp-hz = /bits/ 64 <267000000>;
-                               opp-microvolt = <1000000>;
-                       };
-                       opp-350000000 {
-                               opp-hz = /bits/ 64 <350000000>;
-                               opp-microvolt = <1025000>;
-                       };
-                       opp-420000000 {
-                               opp-hz = /bits/ 64 <420000000>;
-                               opp-microvolt = <1025000>;
-                       };
-                       opp-500000000 {
-                               opp-hz = /bits/ 64 <500000000>;
-                               opp-microvolt = <1075000>;
-                       };
-                       opp-550000000 {
-                               opp-hz = /bits/ 64 <550000000>;
-                               opp-microvolt = <1125000>;
-                       };
-                       opp-600000000 {
-                               opp-hz = /bits/ 64 <600000000>;
-                               opp-microvolt = <1150000>;
-                       };
-                       opp-700000000 {
-                               opp-hz = /bits/ 64 <700000000>;
-                               opp-microvolt = <1150000>;
-                       };
-               };
-       };
-
        psci {
                compatible = "arm,psci";
                method = "smc";
                        power-domains = <&pd_gscl>;
                };
 
+               gpu: gpu@14ac0000 {
+                       compatible = "samsung,exynos5433-mali", "arm,mali-t760";
+                       reg = <0x14ac0000 0x5000>;
+                       interrupts = <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "job", "mmu", "gpu";
+                       clocks = <&cmu_g3d CLK_ACLK_G3D>;
+                       clock-names = "core";
+                       power-domains = <&pd_g3d>;
+                       operating-points-v2 = <&gpu_opp_table>;
+                       status = "disabled";
+
+                       gpu_opp_table: opp_table {
+                               compatible = "operating-points-v2";
+
+                               opp-160000000 {
+                                       opp-hz = /bits/ 64 <160000000>;
+                                       opp-microvolt = <1000000>;
+                               };
+                               opp-267000000 {
+                                       opp-hz = /bits/ 64 <267000000>;
+                                       opp-microvolt = <1000000>;
+                               };
+                               opp-350000000 {
+                                       opp-hz = /bits/ 64 <350000000>;
+                                       opp-microvolt = <1025000>;
+                               };
+                               opp-420000000 {
+                                       opp-hz = /bits/ 64 <420000000>;
+                                       opp-microvolt = <1025000>;
+                               };
+                               opp-500000000 {
+                                       opp-hz = /bits/ 64 <500000000>;
+                                       opp-microvolt = <1075000>;
+                               };
+                               opp-550000000 {
+                                       opp-hz = /bits/ 64 <550000000>;
+                                       opp-microvolt = <1125000>;
+                               };
+                               opp-600000000 {
+                                       opp-hz = /bits/ 64 <600000000>;
+                                       opp-microvolt = <1150000>;
+                               };
+                               opp-700000000 {
+                                       opp-hz = /bits/ 64 <700000000>;
+                                       opp-microvolt = <1150000>;
+                               };
+                       };
+               };
+
                scaler_0: scaler@15000000 {
                        compatible = "samsung,exynos5433-scaler";
                        reg = <0x15000000 0x1294>;