From 80f9fcf84fb0b200092348308e0abc144cd071f2 Mon Sep 17 00:00:00 2001 From: Prabhu Sundararaj Date: Thu, 23 Mar 2017 14:26:21 -0500 Subject: [PATCH] MGS-2437 gpu: Add support for i.MX8QXP Add the GPU configuration for i.MX8QXP Signed-off-by: Yong Gan Signed-off-by: Prabhu Sundararaj --- .../arm64/boot/dts/freescale/fsl-imx8qxp.dtsi | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qxp.dtsi index 82dab4b98801..99cf8fe3df82 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qxp.dtsi @@ -519,21 +519,23 @@ }; }; - gpu: gpu@53100000 { - compatible = "fsl,imx8qxp-gpu", "fsl,imx8x-gpu"; - reg = <0x0 0x53100000 0 0x40000>, - <0x0 0x80000000 0x0 0x08000000>, - <0x0 0x0 0x0 0x2000000>; - reg-names = "iobase_3d_0", "phys_baseaddr", - "contiguous_mem"; - interrupts = <0 64 0x4>; - interrupt-names = "irq_3d_0"; - clocks = <&clk IMX8QXP_GPU0_CORE_CLK>, - <&clk IMX8QXP_GPU0_SHADER_CLK>; - clock-names = "clk_core_3d_0", "clk_shader_3d_0"; - assigned-clocks = <&clk IMX8QXP_GPU0_CORE_CLK>, - <&clk IMX8QXP_GPU0_SHADER_CLK>; + gpu_3d0: gpu@53100000 { + compatible = "fsl,imx8-gpu"; + reg = <0x0 0x53100000 0 0x40000>; + interrupts = ; + clocks = <&clk IMX8QXP_GPU0_CORE_CLK>, <&clk IMX8QXP_GPU0_SHADER_CLK>; + clock-names = "core", "shader"; + assigned-clocks = <&clk IMX8QXP_GPU0_CORE_CLK>, <&clk IMX8QXP_GPU0_SHADER_CLK>; assigned-clock-rates = <650000000>, <700000000>; + power-domains = <&pd_gpu0>; + status = "disabled"; + }; + + imx8_gpu_ss: imx8_gpu_ss { + compatible = "fsl,imx8qxp-gpu", "fsl,imx8-gpu-ss"; + cores = <&gpu_3d0>; + reg = <0x0 0x80000000 0x0 0x80000000>, <0x0 0x0 0x0 0x8000000>; + reg-names = "phys_baseaddr", "contiguous_mem"; status = "disabled"; }; -- 2.17.1