Describe Imagination Technologies PowerVR Rogue GX6250 BNVC 4.45.2.58
present in Renesas R-Car R8A77960 M3-W SoC.

Reviewed-by: Niklas Söderlund <[email protected]>
Signed-off-by: Marek Vasut <[email protected]>
---
Cc: Adam Ford <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Frank Binns <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Kuninori Morimoto <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Magnus Damm <[email protected]>
Cc: Matt Coster <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Simona Vetter <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
V2: - Add RB from Niklas
    - Fill in all three clock and two power domains
    - Use renesas,r8a7796-gpu for R8A77960 compatible string
---
 arch/arm64/boot/dts/renesas/r8a77960.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a77960.dtsi 
b/arch/arm64/boot/dts/renesas/r8a77960.dtsi
index 5b7e79b413394..0f7e63fdd075d 100644
--- a/arch/arm64/boot/dts/renesas/r8a77960.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77960.dtsi
@@ -2575,6 +2575,22 @@ gic: interrupt-controller@f1010000 {
                        resets = <&cpg 408>;
                };
 
+               gpu: gpu@fd000000 {
+                       compatible = "renesas,r8a7796-gpu",
+                                    "img,img-gx6250",
+                                    "img,img-rogue";
+                       reg = <0 0xfd000000 0 0x40000>;
+                       interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_CORE R8A7796_CLK_ZG>,
+                                <&cpg CPG_CORE R8A7796_CLK_S2D1>,
+                                <&cpg CPG_MOD 112>;
+                       clock-names = "core", "mem", "sys";
+                       power-domains = <&sysc R8A7796_PD_3DG_A>,
+                                       <&sysc R8A7796_PD_3DG_B>;
+                       power-domain-names = "a", "b";
+                       resets = <&cpg 112>;
+               };
+
                pciec0: pcie@fe000000 {
                        compatible = "renesas,pcie-r8a7796",
                                     "renesas,pcie-rcar-gen3";
-- 
2.51.0

Reply via email to