From: Guangliu Ding Date: Tue, 7 Apr 2026 03:15:03 +0000 (+0800) Subject: arm64: dts: imx952: Describe Mali G310 GPU X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=3ae6b04598bb3ea5ef859d96b37bb47ca395d3c3;p=thirdparty%2Flinux.git arm64: dts: imx952: Describe Mali G310 GPU Support Mali G310 GPU on i.MX952 board. Describe this GPU in the DT. Include dummy GPU voltage regulator and OPP tables. A hardware GPU auto clock‑gating mechanism has been introduced, enabling GPUMIX to automatically manage the GPU clock. This improves overall response time. Signed-off-by: Guangliu Ding Reviewed-by: Liviu Dudau Signed-off-by: Frank Li --- diff --git a/arch/arm64/boot/dts/freescale/imx952.dtsi b/arch/arm64/boot/dts/freescale/imx952.dtsi index b30707837f35..8d65c380e1c4 100644 --- a/arch/arm64/boot/dts/freescale/imx952.dtsi +++ b/arch/arm64/boot/dts/freescale/imx952.dtsi @@ -318,6 +318,28 @@ clock-names = "main_clk"; }; + gpu_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-500000000 { + opp-hz = /bits/ 64 <500000000>; + opp-hz-real = /bits/ 64 <500000000>; + opp-microvolt = <920000>; + }; + + opp-800000000 { + opp-hz = /bits/ 64 <800000000>; + opp-hz-real = /bits/ 64 <800000000>; + opp-microvolt = <920000>; + }; + + opp-1000000000 { + opp-hz = /bits/ 64 <1000000000>; + opp-hz-real = /bits/ 64 <1000000000>; + opp-microvolt = <920000>; + }; + }; + soc { compatible = "simple-bus"; #address-cells = <2>; @@ -1484,5 +1506,19 @@ power-domains = <&scmi_devpd IMX952_PD_NETC>; status = "disabled"; }; + + gpu: gpu@4d900000 { + compatible = "nxp,imx95-mali", "arm,mali-valhall-csf"; + reg = <0 0x4d900000 0 0x480000>; + interrupts = , + , + ; + interrupt-names = "job", "mmu", "gpu"; + clocks = <&scmi_clk IMX952_CLK_GPU>; + clock-names = "core"; + power-domains = <&scmi_devpd IMX952_PD_GPU>; + operating-points-v2 = <&gpu_opp_table>; + dynamic-power-coefficient = <1013>; + }; }; };