]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
arm64: dts: ls1028a: add Vivante GPU node
authorMichael Walle <michael@walle.cc>
Tue, 31 Aug 2021 13:40:09 +0000 (15:40 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 4 Oct 2021 13:00:16 +0000 (21:00 +0800)
Recently, support for this particular Vivante GC7000 GPU was added to the
linux kernel. Add the corresponding device tree node.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

index 92e4f004c1c23c0d0ae7f9d2fe31280d97191876..876dea668a9054d971c20ba67274ac4e41336cdc 100644 (file)
                        };
                };
 
+               gpu: gpu@f0c0000 {
+                       compatible = "vivante,gc";
+                       reg = <0x0 0xf0c0000 0x0 0x10000>;
+                       interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&clockgen QORIQ_CLK_HWACCEL 2>,
+                                <&clockgen QORIQ_CLK_HWACCEL 2>,
+                                <&clockgen QORIQ_CLK_HWACCEL 2>;
+                       clock-names = "core", "shader", "bus";
+                       #cooling-cells = <2>;
+               };
+
                sai1: audio-controller@f100000 {
                        #sound-dai-cells = <0>;
                        compatible = "fsl,vf610-sai";