summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2021-05-21 15:00:41 +0300
committerMatthias Brugger <matthias.bgg@gmail.com>2021-06-09 16:42:39 +0300
commita8168cebf1bca1b5269e8a7eb2626fb76814d6e2 (patch)
treec95b98abb95ddbbabb8bb8968b2e980fb686584e /arch/arm64/boot/dts/mediatek/mt8183-evb.dts
parent507b1b28129974691b95d623f78d0604fbaeea09 (diff)
downloadlinux-a8168cebf1bca1b5269e8a7eb2626fb76814d6e2.tar.xz
arm64: dts: mt8183: Add node for the Mali GPU
Add a basic GPU node for mt8183, as well as OPP table. Note that with the current panfrost driver, devfreq is not actually functional, as the we do not have platform-specific support for >1 supplies. Also, we are missing code to handle frequency change, as the GPU frequency needs to be switched away to a stable 26Mhz clock during the transition. Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Link: https://lore.kernel.org/r/20210521200038.v14.1.I9f45f5c1f975422d58b5904d11546349e9ccdc94@changeid Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'arch/arm64/boot/dts/mediatek/mt8183-evb.dts')
-rw-r--r--arch/arm64/boot/dts/mediatek/mt8183-evb.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
index edff1e03e6fe..7bc0a6a7fadf 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
@@ -42,6 +42,11 @@
status = "okay";
};
+&gpu {
+ mali-supply = <&mt6358_vgpu_reg>;
+ sram-supply = <&mt6358_vsram_gpu_reg>;
+};
+
&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c_pins_0>;