]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
arm64: dts: exynos: Add GPU/Mali T760 node to Exynos7
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 21 Jun 2019 18:02:05 +0000 (20:02 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 24 Jun 2019 17:52:48 +0000 (19:52 +0200)
Add nodes for GPU (Mali T760) to Exynos7.  Current support for Exynos7
misses a lot, including proper clocks, power domains, frequency and
voltage scaling and cooling.  However this still can provide basic GPU
description.  Not tested on HW.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm64/boot/dts/exynos/exynos7-espresso.dts
arch/arm64/boot/dts/exynos/exynos7.dtsi

index 00dd89b92b427382c497a3ea58ea616193ee174c..080e0f56e108f84d6fb7b6d8ec03e7e1f24b67b9 100644 (file)
        clock-frequency = <24000000>;
 };
 
+&gpu {
+       mali-supply = <&buck6_reg>;
+       status = "okay";
+};
+
 &serial_2 {
        status = "okay";
 };
index 077d234789019d06703831f3c9509b0b9024b79b..bcb9d8cee26776ec10f3234a8571fc05a272d0e4 100644 (file)
                };
        };
 
+       gpu: gpu@14ac0000 {
+               compatible = "samsung,exynos5433-mali", "arm,mali-t760";
+               reg = <0x14ac0000 0x5000>;
+               interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-names = "job", "mmu", "gpu";
+               status = "disabled";
+               /* TODO: operating points for DVFS, cooling device */
+       };
+
        psci {
                compatible = "arm,psci-0.2";
                method = "smc";