From nobody Tue Feb 10 03:56:15 2026 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B221B33B6CD; Wed, 28 Jan 2026 21:52:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769637165; cv=none; b=RhGpMOcjkVcTY8BgKsJ/XhfRu40PeO/oxaPtr/Roq6Y2Dac1G6cx4dbTaTV/BytdEk8XrzwK7xp6FL6trFZOMr+1Z7KS2RI+NfH13EUbo8+rTynwiA6pgJV2QQ5NXL4xW4/x8zNsKW6n1FFM6Xodfv5JQYYUtJBefmKEIrTZhLA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769637165; c=relaxed/simple; bh=uTrULJ8aJSpXyvMsV9/PAe8y/ntDL0VojKifbduqPtM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fciv2w+ue2IDBktcjgapR5kmgSwKFTTHXjJCyILuR7kGM7V7jzvc3+Oeac6gaYeHNWD0oPCn2+lqdTPoTbBaS926W2xSEyWPCoBN6HNvEei8S9889AT3OYACipk+1A//4UgcUucvP7kW8ybK0ag19rpfCHTSWZZN7X56dNLlbh0= 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.171 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: 21J3LKGLRsGVKfy72+xo8Q== X-CSE-MsgGUID: ZTQ8BbJbQKqpVPX3rGn8xA== Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 29 Jan 2026 06:52:41 +0900 Received: from demon-pc.localdomain (unknown [10.226.92.19]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id BDCA940C0B68; Thu, 29 Jan 2026 06:52:37 +0900 (JST) From: Cosmin Tanislav To: Fabrizio Castro , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm Cc: linux-spi@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Cosmin Tanislav Subject: [PATCH v3 3/3] arm64: dts: renesas: r9a09g087: wire up DMA support for SPI Date: Wed, 28 Jan 2026 23:51:32 +0200 Message-ID: <20260128215132.1353381-4-cosmin-gabriel.tanislav.xa@renesas.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260128215132.1353381-1-cosmin-gabriel.tanislav.xa@renesas.com> References: <20260128215132.1353381-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" RZ/N2H (R9A09G087) has three DMA controllers that can be used by peripherals like SPI to offload data transfers from the CPU. Wire up the DMA channels for the SPI peripherals. Signed-off-by: Cosmin Tanislav Reviewed-by: Geert Uytterhoeven --- V3: * no changes V2: * wire up all DMA controllers arch/arm64/boot/dts/renesas/r9a09g087.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g087.dtsi b/arch/arm64/boot/d= ts/renesas/r9a09g087.dtsi index 4a1339561332..7d1c669ad262 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g087.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a09g087.dtsi @@ -200,6 +200,10 @@ rspi0: spi@80007000 { clocks =3D <&cpg CPG_CORE R9A09G087_CLK_PCLKM>, <&cpg CPG_MOD 104>; clock-names =3D "pclk", "pclkspi"; + dmas =3D <&dmac0 0x267a>, <&dmac0 0x267b>, + <&dmac1 0x267a>, <&dmac1 0x267b>, + <&dmac2 0x267a>, <&dmac2 0x267b>; + dma-names =3D "rx", "tx", "rx", "tx", "rx", "tx"; power-domains =3D <&cpg>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -218,6 +222,10 @@ rspi1: spi@80007400 { clocks =3D <&cpg CPG_CORE R9A09G087_CLK_PCLKM>, <&cpg CPG_MOD 105>; clock-names =3D "pclk", "pclkspi"; + dmas =3D <&dmac0 0x267f>, <&dmac0 0x2680>, + <&dmac1 0x267f>, <&dmac1 0x2680>, + <&dmac2 0x267f>, <&dmac2 0x2680>; + dma-names =3D "rx", "tx", "rx", "tx", "rx", "tx"; power-domains =3D <&cpg>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -236,6 +244,10 @@ rspi2: spi@80007800 { clocks =3D <&cpg CPG_CORE R9A09G087_CLK_PCLKM>, <&cpg CPG_MOD 106>; clock-names =3D "pclk", "pclkspi"; + dmas =3D <&dmac0 0x2684>, <&dmac0 0x2685>, + <&dmac1 0x2684>, <&dmac1 0x2685>, + <&dmac2 0x2684>, <&dmac2 0x2685>; + dma-names =3D "rx", "tx", "rx", "tx", "rx", "tx"; power-domains =3D <&cpg>; #address-cells =3D <1>; #size-cells =3D <0>; @@ -254,6 +266,10 @@ rspi3: spi@81007000 { clocks =3D <&cpg CPG_CORE R9A09G087_CLK_PCLKM>, <&cpg CPG_MOD 602>; clock-names =3D "pclk", "pclkspi"; + dmas =3D <&dmac0 0x2689>, <&dmac0 0x268a>, + <&dmac1 0x2689>, <&dmac1 0x268a>, + <&dmac2 0x2689>, <&dmac2 0x268a>; + dma-names =3D "rx", "tx", "rx", "tx", "rx", "tx"; power-domains =3D <&cpg>; #address-cells =3D <1>; #size-cells =3D <0>; --=20 2.52.0