ARM: dts: imx6sx: Add GPU bindings
authorMarek Vasut <marex@denx.de>
Fri, 26 Aug 2016 14:22:54 +0000 (16:22 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 29 Aug 2016 13:38:47 +0000 (21:38 +0800)
Add bindings for the Vivante GC400T GPU found in the i.MX6SX.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6sx.dtsi

index 2863c52be6f5b2b32e1603640df05c87f32b83d0..356dc385c96f91d0c2e9b2babb99a5a4324393f7 100644 (file)
                        arm,data-latency = <4 2 3>;
                };
 
+               gpu: gpu@01800000 {
+                       compatible = "vivante,gc";
+                       reg = <0x01800000 0x4000>;
+                       interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&clks IMX6SX_CLK_GPU>,
+                                <&clks IMX6SX_CLK_GPU>,
+                                <&clks IMX6SX_CLK_GPU>;
+                       clock-names = "bus", "core", "shader";
+               };
+
                dma_apbh: dma-apbh@01804000 {
                        compatible = "fsl,imx6sx-dma-apbh", "fsl,imx28-dma-apbh";
                        reg = <0x01804000 0x2000>;
                        status = "disabled";
                };
        };
+
+       gpu-subsystem {
+               compatible = "fsl,imx-gpu-subsystem";
+               cores = <&gpu>;
+       };
 };