Skip to content

Commit 6196fe7

Browse files
tq-steinaShawn Guo
authored and
Shawn Guo
committed
arm64: dts: imx8qxp: add GPU nodes
Add the DT node for the GPU core found on the i.MX8QXP. etnaviv-gpu 53100000.gpu: model: GC7000, revision: 6214 [drm] Initialized etnaviv 1.3.0 20151214 for etnaviv on minor 0 Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 5136ea6 commit 6196fe7

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// SPDX-License-Identifier: GPL-2.0+
2+
/*
3+
* Copyright 2019 NXP
4+
* Dong Aisheng <aisheng.dong@nxp.com>
5+
*/
6+
7+
#include <dt-bindings/firmware/imx/rsrc.h>
8+
9+
gpu0_subsys: bus@53000000 {
10+
compatible = "simple-bus";
11+
#address-cells = <1>;
12+
#size-cells = <1>;
13+
ranges = <0x53000000 0x0 0x53000000 0x1000000>;
14+
15+
gpu_3d0: gpu@53100000 {
16+
compatible = "vivante,gc";
17+
reg = <0x53100000 0x40000>;
18+
interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
19+
clocks = <&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_PER>,
20+
<&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_MISC>;
21+
clock-names = "core", "shader";
22+
assigned-clocks = <&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_PER>,
23+
<&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_MISC>;
24+
assigned-clock-rates = <700000000>, <850000000>;
25+
power-domains = <&pd IMX_SC_R_GPU_0_PID0>;
26+
};
27+
};

arch/arm64/boot/dts/freescale/imx8qxp.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@
317317
/* sorted in register address */
318318
#include "imx8-ss-img.dtsi"
319319
#include "imx8-ss-vpu.dtsi"
320+
#include "imx8-ss-gpu0.dtsi"
320321
#include "imx8-ss-adma.dtsi"
321322
#include "imx8-ss-conn.dtsi"
322323
#include "imx8-ss-ddr.dtsi"

0 commit comments

Comments
 (0)