Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx5: add gpu nodes

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>

authored by

Jonathan Marek and committed by
Shawn Guo
006303d6 47853f18

+20
+10
arch/arm/boot/dts/imx51.dtsi
··· 121 121 reg = <0x1ffe0000 0x20000>; 122 122 }; 123 123 124 + gpu: gpu@30000000 { 125 + compatible = "amd,imageon-200.1", "amd,imageon"; 126 + reg = <0x30000000 0x20000>; 127 + reg-names = "kgsl_3d0_reg_memory"; 128 + interrupts = <12>; 129 + interrupt-names = "kgsl_3d0_irq"; 130 + clocks = <&clks IMX5_CLK_GPU3D_GATE>, <&clks IMX5_CLK_GARB_GATE>; 131 + clock-names = "core_clk", "mem_iface_clk"; 132 + }; 133 + 124 134 ipu: ipu@40000000 { 125 135 #address-cells = <1>; 126 136 #size-cells = <0>;
+10
arch/arm/boot/dts/imx53.dtsi
··· 200 200 }; 201 201 }; 202 202 203 + gpu: gpu@30000000 { 204 + compatible = "amd,imageon-200.0", "amd,imageon"; 205 + reg = <0x30000000 0x20000>; 206 + reg-names = "kgsl_3d0_reg_memory"; 207 + interrupts = <12>; 208 + interrupt-names = "kgsl_3d0_irq"; 209 + clocks = <&clks IMX5_CLK_GPU3D_GATE>, <&clks IMX5_CLK_GARB_GATE>; 210 + clock-names = "core_clk", "mem_iface_clk"; 211 + }; 212 + 203 213 aips@50000000 { /* AIPS1 */ 204 214 compatible = "fsl,aips-bus", "simple-bus"; 205 215 #address-cells = <1>;