LOCAL / ARM: dts: exynos: Add MALI MIDGARD device to Exynos5433
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 5 Mar 2018 14:54:44 +0000 (15:54 +0100)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:56:33 +0000 (14:56 +0900)
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
arch/arm64/boot/dts/exynos/exynos5433.dtsi

index 0b075be..9fc1f58 100644 (file)
        status = "okay";
 };
 
+&mali {
+       status = "okay";
+       vdd_g3d-supply = <&buck6_reg>;
+       mali-supply = <&buck6_reg>;
+};
+
 &mshc_0 {
        status = "okay";
        mmc-hs200-1_8v;
index 91aefcb..be2843b 100644 (file)
                        reg = <0x145f0000 0x1038>;
                };
 
+               mali: mali@14AC0000 {
+                       compatible = "arm,mali-midgard";
+                       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 = "clk_mali";
+                       power-domains = <&pd_g3d>;
+                       status = "disabled";
+
+                       assigned-clocks = <&cmu_g3d CLK_FOUT_G3D_PLL>;
+                       assigned-clock-rates = <160000000>;
+
+                       #cooling-cells = <2>;
+
+                       operating-points = <
+                               700000 1150000
+                               600000 1150000
+                               550000 1125000
+                               500000 1075000
+                               420000 1025000
+                               350000 1025000
+                               266000 1000000
+                               160000 1000000
+                       >;
+                       power_model {
+                               compatible = "arm,mali-simple-power-model";
+                               voltage = <800>;
+                               frequency = <500>;
+                               static-power = <500>;
+                               dynamic-power = <1500>;
+                               ts = <20000 2000 (-20) 2>;
+                               thermal-zone = "g3d-thermal";
+                       };
+               };
+
                gsc_0: video-scaler@13c00000 {
                        compatible = "samsung,exynos5433-gsc";
                        reg = <0x13c00000 0x1000>;