devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adam Ford <aford173@gmail.com>
To: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org
Cc: aford@beaconembedded.com, Adam Ford <aford173@gmail.com>,
	Frank Binns <frank.binns@imgtec.com>,
	Matt Coster <matt.coster@imgtec.com>,
	David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Magnus Damm <magnus.damm@gmail.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 3/6] arm64: dts: renesas: r8a774e1: Enable GPU
Date: Mon, 26 Feb 2024 21:45:33 -0600	[thread overview]
Message-ID: <20240227034539.193573-4-aford173@gmail.com> (raw)
In-Reply-To: <20240227034539.193573-1-aford173@gmail.com>

The GPU on the RZ/G2H is a Rogue GX6650 which uses firmware
rogue_4.46.6.62_v1.fw available from Imagination.

When enumerated, it appears as:
 powervr fd000000.gpu: [drm] loaded firmware powervr/rogue_4.46.6.62_v1.fw
 powervr fd000000.gpu: [drm] FW version v1.0 (build 6513336 OS)

Signed-off-by: Adam Ford <aford173@gmail.com>

diff --git a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi
index be55ae83944c..398c9df1577b 100644
--- a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi
@@ -2464,6 +2464,16 @@ gic: interrupt-controller@f1010000 {
 			resets = <&cpg 408>;
 		};
 
+		gpu: gpu@fd000000 {
+			compatible = "renesas,r8a774e1-gpu", "img,img-axe";
+			reg = <0 0xfd000000 0 0x20000>;
+			clocks = <&cpg CPG_MOD 112>;
+			clock-names = "core";
+			interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
+			power-domains = <&sysc R8A774E1_PD_3DG_E>;
+			resets = <&cpg 112>;
+		};
+
 		pciec0: pcie@fe000000 {
 			compatible = "renesas,pcie-r8a774e1",
 				     "renesas,pcie-rcar-gen3";
-- 
2.43.0


  parent reply	other threads:[~2024-02-27  3:46 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-27  3:45 [PATCH 0/6] gpu: powervr-rogue: Add PowerVR support for some Renesas devices Adam Ford
2024-02-27  3:45 ` [PATCH 1/6] dt-bindings: gpu: powervr-rogue: Add PowerVR support for some Renesas GPUs Adam Ford
2024-02-27  7:48   ` Geert Uytterhoeven
2024-02-27  8:03     ` Geert Uytterhoeven
2024-02-27  8:09     ` Geert Uytterhoeven
2024-02-27 10:38       ` Geert Uytterhoeven
2024-03-07 12:40   ` Frank Binns
2024-03-07 14:11     ` Adam Ford
2024-02-27  3:45 ` [PATCH 2/6] arm64: dts: renesas: r8a774a1: Enable GPU Adam Ford
2024-02-27  8:09   ` Geert Uytterhoeven
2024-02-27  9:31   ` Matt Coster
2024-02-27 11:04     ` Geert Uytterhoeven
2024-02-27 11:54       ` Adam Ford
2024-03-07 12:01       ` Frank Binns
2024-02-27 11:50     ` Adam Ford
2024-03-07 12:26       ` Frank Binns
2024-03-07 12:37         ` Frank Binns
2024-03-07 13:31           ` Adam Ford
2024-03-11  9:03             ` Frank Binns
2024-02-27  3:45 ` Adam Ford [this message]
2024-02-27  8:10   ` [PATCH 3/6] arm64: dts: renesas: r8a774e1: " Geert Uytterhoeven
2024-02-27  3:45 ` [PATCH 4/6] arm64: dts: renesas: r8a77951: " Adam Ford
2024-02-27  8:11   ` Geert Uytterhoeven
2024-02-27 15:15     ` Adam Ford
2024-02-27  3:45 ` [PATCH 5/6] arm64: dts: renesas: r8a77960: " Adam Ford
2024-02-27  8:12   ` Geert Uytterhoeven
2024-02-27  3:45 ` [PATCH 6/6] arm64: dts: renesas: r8a77961: " Adam Ford
2024-02-27  8:12   ` Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240227034539.193573-4-aford173@gmail.com \
    --to=aford173@gmail.com \
    --cc=aford@beaconembedded.com \
    --cc=airlied@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=frank.binns@imgtec.com \
    --cc=geert+renesas@glider.be \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=magnus.damm@gmail.com \
    --cc=matt.coster@imgtec.com \
    --cc=mripard@kernel.org \
    --cc=robh@kernel.org \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).