From nobody Mon Dec 1 22:05:34 2025 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C7D525485A; Mon, 1 Dec 2025 12:50:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764593439; cv=none; b=Q0fefOB0kcAe2CZn3wF2Xd/o2ma5UEM78TfzpAeA4tW/nVob7YTSvniYsy1U4vnJgoae4sp8Yf9rxDwDBxjRDFKTew1yTTmkxhBTOXOpCYbvVXCREZNquZbBJjfPZgN+NmfP1rXAXN/TWKHAuL9CAFO/OV7wANkmNX2sPuWRuNE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764593439; c=relaxed/simple; bh=cRnvEf51K15FRWQUZ+UAmSDC2DtwCQ2cDp1eEF9GKgk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=I3/I/GgRFEUaB1yC/TnS9g4VuB8sAOZZDBsWMggJjNsVR4/PslnSMwOxXNsqEHhO2ZxKb6UKHp30P9p13aT33qBQpx5OUpneOgmFQdpdAzXoBw6+ke4zlUuylpNpxnxCvyd7qyrdSSoW3IQObVcoyeu0TkCmzSbUHBPnV5E4R+A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; arc=none smtp.client-ip=210.160.252.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com X-CSE-ConnectionGUID: lQEaD8+VRJi9x9I/ew6wrw== X-CSE-MsgGUID: FSHxq62LS+mNV7x4wiE1wg== Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 01 Dec 2025 21:50:36 +0900 Received: from demon-pc.localdomain (unknown [10.226.93.83]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 58FBF42100DB; Mon, 1 Dec 2025 21:50:32 +0900 (JST) From: Cosmin Tanislav To: Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Cosmin Tanislav , Fabrizio Castro , Lad Prabhakar , Johan Hovold , Biju Das Cc: dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH v2 5/6] arm64: dts: renesas: r9a09g077: add DMAC support Date: Mon, 1 Dec 2025 14:49:10 +0200 Message-ID: <20251201124911.572395-6-cosmin-gabriel.tanislav.xa@renesas.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251201124911.572395-1-cosmin-gabriel.tanislav.xa@renesas.com> References: <20251201124911.572395-1-cosmin-gabriel.tanislav.xa@renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The Renesas RZ/T2H (R9A09G077) SoC has three instances of the DMAC IP. Add support for them. Signed-off-by: Cosmin Tanislav --- V2: * remove notes arch/arm64/boot/dts/renesas/r9a09g077.dtsi | 90 ++++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g077.dtsi b/arch/arm64/boot/d= ts/renesas/r9a09g077.dtsi index 6812af127684..ee11efb68638 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g077.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a09g077.dtsi @@ -376,6 +376,96 @@ i2c2: i2c@81008000 { status =3D "disabled"; }; =20 + dmac0: dma-controller@800c0000 { + compatible =3D "renesas,r9a09g077-dmac"; + reg =3D <0 0x800c0000 0 0x1000>; + interrupts =3D , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names =3D "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7", + "ch8", "ch9", "ch10", "ch11", + "ch12", "ch13", "ch14", "ch15"; + clocks =3D <&cpg CPG_CORE R9A09G077_CLK_PCLKH>; + power-domains =3D <&cpg>; + #dma-cells =3D <1>; + dma-channels =3D <16>; + renesas,icu =3D <&icu 0>; + }; + + dmac1: dma-controller@800c1000 { + compatible =3D "renesas,r9a09g077-dmac"; + reg =3D <0 0x800c1000 0 0x1000>; + interrupts =3D , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names =3D "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7", + "ch8", "ch9", "ch10", "ch11", + "ch12", "ch13", "ch14", "ch15"; + clocks =3D <&cpg CPG_CORE R9A09G077_CLK_PCLKH>; + power-domains =3D <&cpg>; + #dma-cells =3D <1>; + dma-channels =3D <16>; + renesas,icu =3D <&icu 1>; + }; + + dmac2: dma-controller@800c2000 { + compatible =3D "renesas,r9a09g077-dmac"; + reg =3D <0 0x800c2000 0 0x1000>; + interrupts =3D , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names =3D "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7", + "ch8", "ch9", "ch10", "ch11", + "ch12", "ch13", "ch14", "ch15"; + clocks =3D <&cpg CPG_CORE R9A09G077_CLK_PCLKH>; + power-domains =3D <&cpg>; + #dma-cells =3D <1>; + dma-channels =3D <16>; + renesas,icu =3D <&icu 2>; + }; + gmac0: ethernet@80100000 { compatible =3D "renesas,r9a09g077-gbeth", "snps,dwmac-5.20"; reg =3D <0 0x80100000 0 0x10000>; --=20 2.52.0