summaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorMinjie Zhuang <minjie.zhuang@nxp.com>2019-09-06 11:36:33 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 16:07:32 +0800
commit753ad64ba576cd0d95cb0329caea22f62d0ddb86 (patch)
tree4e52c0d254065f5de407c3e4a8d6e700229cab4d /arch/arm64
parent8bbd733e2e51ae22dd94f9739ce602d42c8b00df (diff)
arm64: dts: imx8mn: Add GPU device for 8MN
Add gpu in device tree: arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts arch/arm64/boot/dts/freescale/imx8mn.dtsi Signed-off-by: Minjie Zhuang <minjie.zhuang@nxp.com> [ Aisheng: fix unnecessary double space issue ] Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts4
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mn.dtsi29
2 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
index 11c705d225d0..5e32d8db009a 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
@@ -346,3 +346,7 @@
fsl,ext-reset-output;
status = "okay";
};
+
+&gpu {
+ status= "okay";
+};
diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
index c9234197b6e2..b4e842fd5f79 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
@@ -780,6 +780,35 @@
status = "disabled";
};
+ gpu: gpu@38000000 {
+ compatible = "fsl,imx8mn-gpu", "fsl,imx6q-gpu";
+ reg = <0x38000000 0x40000>, <0x40000000 0x80000000>, <0x0 0x8000000>;
+ reg-names = "iobase_3d", "phys_baseaddr", "contiguous_mem";
+ interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "irq_3d";
+ clocks = <&clk IMX8MN_CLK_GPU_CORE_ROOT>,
+ <&clk IMX8MN_CLK_GPU_SHADER_DIV>,
+ <&clk IMX8MN_CLK_GPU_BUS_ROOT>,
+ <&clk IMX8MN_CLK_GPU_AHB>;
+ clock-names = "gpu3d_clk", "gpu3d_shader_clk", "gpu3d_axi_clk", "gpu3d_ahb_clk";
+ assigned-clocks = <&clk IMX8MN_CLK_GPU_CORE_SRC>,
+ <&clk IMX8MN_CLK_GPU_SHADER_SRC>,
+ <&clk IMX8MN_CLK_GPU_AXI>,
+ <&clk IMX8MN_CLK_GPU_AHB>,
+ <&clk IMX8MN_GPU_PLL>,
+ <&clk IMX8MN_CLK_GPU_CORE_DIV>,
+ <&clk IMX8MN_CLK_GPU_SHADER_DIV>;
+ assigned-clock-parents = <&clk IMX8MN_GPU_PLL_OUT>,
+ <&clk IMX8MN_GPU_PLL_OUT>,
+ <&clk IMX8MN_SYS_PLL1_800M>,
+ <&clk IMX8MN_SYS_PLL1_800M>;
+ assigned-clock-rates = <0>, <0>, <800000000>, <400000000>, <1200000000>,
+ <600000000>, <600000000>;
+ depth-compression = <0>;
+ power-domains = <&gpumix_pd>;
+ status = "disabled";
+ };
+
gic: interrupt-controller@38800000 {
compatible = "arm,gic-v3";
reg = <0x38800000 0x10000>,