From: Icenowy Zheng Date: Fri, 1 Dec 2023 05:33:22 +0000 (+0800) Subject: light: use etnaviv X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=98e2fb4acabcb17bd42db301ba56d83fb0e12f8a;p=platform%2Fkernel%2Flinux-thead.git light: use etnaviv Signed-off-by: Icenowy Zheng (cherry picked from commit d6f09caa32996bc000c009228ec6265dded9e15d) Signed-off-by: Jaehoon Chung --- diff --git a/arch/riscv/boot/dts/thead/light.dtsi b/arch/riscv/boot/dts/thead/light.dtsi index 85fed55bb693..e66b5ab35c16 100644 --- a/arch/riscv/boot/dts/thead/light.dtsi +++ b/arch/riscv/boot/dts/thead/light.dtsi @@ -1047,7 +1047,7 @@ #size-cells = <0>; }; - g2d: gc620@ffecc80000 { +/* g2d: gc620@ffecc80000 { compatible = "thead,c910-gc620"; reg = <0xff 0xecc80000 0x0 0x40000>; interrupt-parent = <&intc>; @@ -1058,6 +1058,19 @@ <&vpsys_clk_gate LIGHT_VPSYS_G2D_CCLK>; clock-names = "pclk", "aclk", "cclk"; status = "okay"; + };*/ + + g2d: gpu@13040000 { + compatible = "vivante,gc"; + reg = <0xff 0xecc80000 0x0 0x40000>; + + clocks = <&vpsys_clk_gate LIGHT_VPSYS_G2D_PCLK>, + <&vpsys_clk_gate LIGHT_VPSYS_G2D_ACLK>, + <&vpsys_clk_gate LIGHT_VPSYS_G2D_CCLK>; + clock-names = "bus", "core", "shader"; + + interrupt-parent = <&intc>; + interrupts = <101>; }; dsi0: dw-mipi-dsi0@ffef500000 {