ARM: dts: imx5: add gpu nodes
authorJonathan Marek <jonathan@marek.ca>
Tue, 4 Dec 2018 15:17:00 +0000 (10:17 -0500)
committerShawn Guo <shawnguo@kernel.org>
Mon, 10 Dec 2018 02:03:08 +0000 (10:03 +0800)
This adds the gpu nodes for the adreno 200 GPU on iMX51 and iMX53, now
supported by the freedreno driver.

The compatible for the iMX51 uses a patchid of 1, which is used by drm/msm
driver to identify the smaller 128KiB GMEM size.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51.dtsi
arch/arm/boot/dts/imx53.dtsi

index 7651bed..a5ee25c 100644 (file)
                        reg = <0x1ffe0000 0x20000>;
                };
 
+               gpu: gpu@30000000 {
+                       compatible = "amd,imageon-200.1", "amd,imageon";
+                       reg = <0x30000000 0x20000>;
+                       reg-names = "kgsl_3d0_reg_memory";
+                       interrupts = <12>;
+                       interrupt-names = "kgsl_3d0_irq";
+                       clocks = <&clks IMX5_CLK_GPU3D_GATE>, <&clks IMX5_CLK_GARB_GATE>;
+                       clock-names = "core_clk", "mem_iface_clk";
+               };
+
                ipu: ipu@40000000 {
                        #address-cells = <1>;
                        #size-cells = <0>;
index a9804c0..b330030 100644 (file)
                        };
                };
 
+               gpu: gpu@30000000 {
+                       compatible = "amd,imageon-200.0", "amd,imageon";
+                       reg = <0x30000000 0x20000>;
+                       reg-names = "kgsl_3d0_reg_memory";
+                       interrupts = <12>;
+                       interrupt-names = "kgsl_3d0_irq";
+                       clocks = <&clks IMX5_CLK_GPU3D_GATE>, <&clks IMX5_CLK_GARB_GATE>;
+                       clock-names = "core_clk", "mem_iface_clk";
+               };
+
                aips@50000000 { /* AIPS1 */
                        compatible = "fsl,aips-bus", "simple-bus";
                        #address-cells = <1>;