Skip to content

Commit d896b86

Browse files
lkundrakarndb
authored andcommitted
ARM: dts: mmp3: Add the GPU
There's a GC2000 3D core accompanied by a GC300 2D core. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lubomir Rintel <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent cbcb5b3 commit d896b86

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

arch/arm/boot/dts/mmp3.dtsi

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55

66
#include <dt-bindings/clock/marvell,mmp2.h>
7+
#include <dt-bindings/power/marvell,mmp2.h>
78
#include <dt-bindings/interrupt-controller/arm-gic.h>
89

910
/ {
@@ -310,6 +311,30 @@
310311
clock-output-names = "mclk";
311312
status = "disabled";
312313
};
314+
315+
gpu_3d: gpu@d420d000 {
316+
compatible = "vivante,gc";
317+
reg = <0xd420d000 0x2000>;
318+
interrupt-parent = <&gpu_mux>;
319+
interrupts = <0>;
320+
status = "disabled";
321+
clocks = <&soc_clocks MMP3_CLK_GPU_3D>,
322+
<&soc_clocks MMP3_CLK_GPU_BUS>;
323+
clock-names = "core", "bus";
324+
power-domains = <&soc_clocks MMP2_POWER_DOMAIN_GPU>;
325+
};
326+
327+
gpu_2d: gpu@d420f000 {
328+
compatible = "vivante,gc";
329+
reg = <0xd420f000 0x2000>;
330+
interrupt-parent = <&gpu_mux>;
331+
interrupts = <2>;
332+
status = "disabled";
333+
clocks = <&soc_clocks MMP3_CLK_GPU_2D>,
334+
<&soc_clocks MMP3_CLK_GPU_BUS>;
335+
clock-names = "core", "bus";
336+
power-domains = <&soc_clocks MMP2_POWER_DOMAIN_GPU>;
337+
};
313338
};
314339

315340
apb@d4000000 {

0 commit comments

Comments
 (0)