Skip to content

Commit

Permalink
arm64: dts: imx8: gpu0: move into a separate ss dtsi
Browse files Browse the repository at this point in the history
move gpu0 changes into a separate ss dtsi

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
  • Loading branch information
Dong Aisheng committed Dec 12, 2022
1 parent 7e9dffb commit d0964b3
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 29 deletions.
36 changes: 36 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8-ss-gpu0.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2019 NXP
* Dong Aisheng <aisheng.dong@nxp.com>
*/

#include <dt-bindings/firmware/imx/rsrc.h>

gpu_subsys: bus@53100000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x53100000 0x0 0x53100000 0x40000>;

gpu_3d0: gpu@53100000 {
compatible = "fsl,imx8-gpu";
reg = <0x53100000 0x40000>;
interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_PER>,
<&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_MISC>;
clock-names = "core", "shader";
assigned-clocks = <&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_PER>,
<&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_MISC>;
assigned-clock-rates = <700000000>, <850000000>;
power-domains = <&pd IMX_SC_R_GPU_0_PID0>;
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 0x10000000>;
reg-names = "phys_baseaddr", "contiguous_mem";
status = "disabled";
};
};
30 changes: 1 addition & 29 deletions arch/arm64/boot/dts/freescale/imx8qxp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -319,35 +319,6 @@
fsl,heap-id = <0>;
};

gpu_subsys: bus@53100000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x53100000 0x0 0x53100000 0x40000>;

gpu_3d0: gpu@53100000 {
compatible = "fsl,imx8-gpu";
reg = <0x53100000 0x40000>;
interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_PER>,
<&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_MISC>;
clock-names = "core", "shader";
assigned-clocks = <&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_PER>,
<&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_MISC>;
assigned-clock-rates = <700000000>, <850000000>;
power-domains = <&pd IMX_SC_R_GPU_0_PID0>;
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 0x10000000>;
reg-names = "phys_baseaddr", "contiguous_mem";
status = "disabled";
};
};

rpmsg: rpmsg{
compatible = "fsl,imx8qxp-rpmsg";
/* up to now, the following channels are used in imx rpmsg
Expand All @@ -366,6 +337,7 @@
/* sorted in register address */
#include "imx8-ss-img.dtsi"
#include "imx8-ss-cm40.dtsi"
#include "imx8-ss-gpu0.dtsi"
#include "imx8-ss-vpu.dtsi"
#include "imx8-ss-dc.dtsi"
#include "imx8-ss-lvds.dtsi"
Expand Down

0 comments on commit d0964b3

Please sign in to comment.