From patchwork Thu Apr 10 07:14:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 14045984 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail.zeus03.de (zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD3D8207658 for ; Thu, 10 Apr 2025 07:14:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744269277; cv=none; b=SMNIscJxWNiCsue8fzqAvmWEBwXAmG14lylnPIo0nsSiPDo80SGo/u0IFtA2Uq1zAwBdaJ3LM8nGBSflWGhym96oMNsZOZ1t2V6Txpy6mVuhsWv9R9k4Jlbxpi0qvZJ43p1Wgq9e7Vudx1ehMRmFejdueByi89hs8ikrIAhJ6uo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744269277; c=relaxed/simple; bh=p/7y2y0F0kLOwQx2YFWqytKII4iJqHl9ezK3OtRr/QQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kf0IZ2fWnbKjLB39cwK/m6F9CS2BmGFHQhO4PYojIr5fYhQvKs54D9Br7/XY1G1Uh6tebDh5+shXctyJ7nRQvsFJql0KPBGbxw2lD2Etj4lTBYJa1i9Eq2sVgLeeTrLHOBNLvNECVmut99XzlhX1XglHnhDiOmY/uH+ixG0xAhw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=hpkBP2uN; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="hpkBP2uN" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=0QTy2Z3yPpEJBaKJR9iS6PQCJZMCcO/72t6fb+Coyq8=; b=hpkBP2 uNMDtqQTlqKq2ftv+rnWkDf/jfR4yJuUfNl2GBcxnRazyyCFJezg1ncRHaq2MwSS Abx+qqhQtc0Y8bXXjm+wpIFum2ZZHHjbuhfWiSoSLVcjc6NxjvAiLy9RuH5L6B2c r9vJcWOEMj0ZuG6k+l7m0fyfoQkjOIIxwoTETQLT7mK4ScduKutMjCDMB9zWjZoq y+fw4PNUcTri53sqQWEJbgbwaf6VyO/msAB+ETBy3C0L3TXe9kP+2Xzi4gk7d2g1 1VgibwS/LEVH2z/XLMxp4hYGjJh270HdGEPdJel3WfHBS8cgt41kkrb9gQCNN93v KuyIxeEFIv/m8Yfw== Received: (qmail 783810 invoked from network); 10 Apr 2025 09:14:25 +0200 Received: by mail.zeus03.de with UTF8SMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 10 Apr 2025 09:14:25 +0200 X-UD-Smtp-Session: l3s3148p1@1T3tVWcysq0gAwDPXyfYALbiJ46yNPq3 From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: renesas: r9a06g032: Describe SDHCI controllers Date: Thu, 10 Apr 2025 09:14:08 +0200 Message-ID: <20250410071406.9669-5-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250410071406.9669-4-wsa+renesas@sang-engineering.com> References: <20250410071406.9669-4-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r9a06g032.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/renesas/r9a06g032.dtsi b/arch/arm/boot/dts/renesas/r9a06g032.dtsi index 5889d391b653..8435e77c085f 100644 --- a/arch/arm/boot/dts/renesas/r9a06g032.dtsi +++ b/arch/arm/boot/dts/renesas/r9a06g032.dtsi @@ -298,6 +298,30 @@ pinctrl: pinctrl@40067000 { status = "okay"; }; + sdio1: mmc@40100000 { + compatible = "renesas,r9a06g032-sdhci", "renesas,rzn1-sdhci", "arasan,sdhci-8.9a"; + reg = <0x40100000 0x1000>; + interrupts = , + ; + interrupt-names = "int", "wakeup"; + clocks = <&sysctrl R9A06G032_CLK_SDIO0>, <&sysctrl R9A06G032_HCLK_SDIO0>; + clock-names = "clk_xin", "clk_ahb"; + no-1-8-v; + status = "disabled"; + }; + + sdio2: mmc@40101000 { + compatible = "renesas,r9a06g032-sdhci", "renesas,rzn1-sdhci", "arasan,sdhci-8.9a"; + reg = <0x40101000 0x1000>; + interrupts = , + ; + interrupt-names = "int", "wakeup"; + clocks = <&sysctrl R9A06G032_CLK_SDIO1>, <&sysctrl R9A06G032_HCLK_SDIO1>; + clock-names = "clk_xin", "clk_ahb"; + no-1-8-v; + status = "disabled"; + }; + nand_controller: nand-controller@40102000 { compatible = "renesas,r9a06g032-nandc", "renesas,rzn1-nandc"; reg = <0x40102000 0x2000>; From patchwork Thu Apr 10 07:14:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 14045985 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail.zeus03.de (zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AECB5207A35 for ; Thu, 10 Apr 2025 07:14:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744269277; cv=none; b=Ewo8h+Rl9QSf51dhC+2Vzad7MogiD0KApcJip/4/bs15bGPTM52DwSDQUMJgrYGaDfMhkXicft29UN74F6GoewxsbG0c9fMLZ4MQj2BIqP3VtcC5oe+2FhLo/Kh+bYtpI1w7zlIrIMip+IvAZBTMAUCzNPOBhI8FMV8cP5YIbb4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744269277; c=relaxed/simple; bh=2fUZs8XhGU1PAMG2Yz4QAOvA3tOGwe3xyuklh9/Szjc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lQpWx3dgKtzjL7ad9EIGATKJvrZIWtNgw7b2jiq+RutoCYCkBpsZkk0mgSDq4/rWMuXZ9MpHv7hewt6WxCNwIxRF9xLWuVU2nNAhLSHH6Q+bunQa+ybAtWpbo0XodQ2Hz6+PN34NOGXsaGdf2w9ZRpLboqB8HGBMgMM+s0kXeaQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=k4umwnUS; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="k4umwnUS" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=e5rqQuZntBiGKgTpE5PSupKihdnUU3EbZ1xt9vNXeVI=; b=k4umwn USD8rUMz1iY+Xz4QVYzGi2VVC6igFZZYwjFbhv+pXhkYFmOjDCkzUAvq3zAY18cN I/1m2yrq9xXs4h9pvkxC3VRMS34edUvkfcejl8xvxKQlVM2gRM6NIIAN5TGSUYo7 C+da+TyjJueOQ2nadu9ixWs1FiBP0Mgn4XaKxb6PNg3+GpGDLNMmofP5ZdPnm0iT YUt7saQx8gpqHCoO8nRTzcqz+NYaGa3czd+TrwHXDlyjD4i1WCLBmfjQAD8mSKlH m/pr512qZ3ylI1n678u2N67yWsvQ7XprV8xVAqkO3kh4NgaUulpPGxNwHhhgsee+ pfh/yG2j1ewdum5w== Received: (qmail 783851 invoked from network); 10 Apr 2025 09:14:26 +0200 Received: by mail.zeus03.de with UTF8SMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 10 Apr 2025 09:14:26 +0200 X-UD-Smtp-Session: l3s3148p1@hLD6VWcytq0gAwDPXyfYALbiJ46yNPq3 From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: renesas: r9a06g032-rzn1d400-eb: describe SD card port Date: Thu, 10 Apr 2025 09:14:09 +0200 Message-ID: <20250410071406.9669-6-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250410071406.9669-4-wsa+renesas@sang-engineering.com> References: <20250410071406.9669-4-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- .../dts/renesas/r9a06g032-rzn1d400-eb.dts | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dts b/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dts index 56da1d5fd5f4..ee875902a75c 100644 --- a/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dts +++ b/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dts @@ -66,6 +66,28 @@ pins_eth2: pins-eth2 { drive-strength = <6>; bias-disable; }; + + pins_sdio1: pins_sdio1 { + pinmux = , + , + , + , + , + , + ; + }; + + pins_sdio1_clk: pins_sdio1_clk { + pinmux = ; + drive-strength = <12>; + }; +}; + +&sdio1 { + pinctrl-0 = <&pins_sdio1>, <&pins_sdio1_clk>; + pinctrl-names = "default"; + + status = "okay"; }; &switch {