ARM: dts: exynos: Add GPU/Mali T604 node to Exynos5250
authorGuillaume Gardet <guillaume.gardet@arm.com>
Fri, 30 Aug 2019 10:44:59 +0000 (12:44 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 4 Sep 2019 17:25:33 +0000 (19:25 +0200)
Add nodes for GPU (Mali T604) to Exynos5250.

Signed-off-by: Guillaume Gardet <guillaume.gardet@arm.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos5250.dtsi

index 30f6f5c..81729cf 100644 (file)
                        iommus = <&sysmmu_rotator>;
                };
 
+               mali: gpu@11800000 {
+                       compatible = "samsung,exynos5250-mali", "arm,mali-t604";
+                       reg = <0x11800000 0x5000>;
+                       interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "job", "mmu", "gpu";
+                       clocks = <&clock CLK_G3D>;
+                       clock-names = "core";
+                       operating-points-v2 = <&gpu_opp_table>;
+                       power-domains = <&pd_g3d>;
+                       status = "disabled";
+
+                       gpu_opp_table: gpu-opp-table {
+                               compatible = "operating-points-v2";
+
+                               opp-100000000 {
+                                       opp-hz = /bits/ 64 <100000000>;
+                                       opp-microvolt = <925000>;
+                               };
+                               opp-160000000 {
+                                       opp-hz = /bits/ 64 <160000000>;
+                                       opp-microvolt = <925000>;
+                               };
+                               opp-266000000 {
+                                       opp-hz = /bits/ 64 <266000000>;
+                                       opp-microvolt = <1025000>;
+                               };
+                               opp-350000000 {
+                                       opp-hz = /bits/ 64 <350000000>;
+                                       opp-microvolt = <1075000>;
+                               };
+                               opp-400000000 {
+                                       opp-hz = /bits/ 64 <400000000>;
+                                       opp-microvolt = <1125000>;
+                               };
+                               opp-450000000 {
+                                       opp-hz = /bits/ 64 <450000000>;
+                                       opp-microvolt = <1150000>;
+                               };
+                               opp-533000000 {
+                                       opp-hz = /bits/ 64 <533000000>;
+                                       opp-microvolt = <1250000>;
+                               };
+                       };
+               };
+
                tmu: tmu@10060000 {
                        compatible = "samsung,exynos5250-tmu";
                        reg = <0x10060000 0x100>;