All of lore.kernel.org
 help / color / mirror / Atom feed
From: Biju Das <biju.das.jz@bp.renesas.com>
To: cip-dev@lists.cip-project.org,
	Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>,
	Pavel Machek <pavel@denx.de>
Cc: Chris Paterson <chris.paterson2@renesas.com>,
	Biju Das <biju.das.jz@bp.renesas.com>,
	Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>
Subject: [PATCH 5.10.y-cip 24/25] arm64: dts: renesas: rzg2ul-smarc: Enable RSPI1 on carrier board
Date: Fri,  2 Sep 2022 10:44:26 +0100	[thread overview]
Message-ID: <20220902094427.116227-25-biju.das.jz@bp.renesas.com> (raw)
In-Reply-To: <20220902094427.116227-1-biju.das.jz@bp.renesas.com>

commit ea25b1836f57e91e2432b315727fc3f3b8c92872 upstream.

RSPI1 (SPI1) interface is available on PMOD0 connector (J1) on the
carrier board.  This patch adds pinmux and spi1 nodes to the carrier
board dtsi file and drops deleting pinctl* properties from board
DTS file.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20220608173025.22792-2-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r9a07g043u11-smarc.dts | 6 ------
 arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi  | 7 +++++++
 arch/arm64/boot/dts/renesas/rzg2ul-smarc.dtsi      | 6 ++++++
 3 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r9a07g043u11-smarc.dts b/arch/arm64/boot/dts/renesas/r9a07g043u11-smarc.dts
index 2d740bd420ca..121e55282d18 100644
--- a/arch/arm64/boot/dts/renesas/r9a07g043u11-smarc.dts
+++ b/arch/arm64/boot/dts/renesas/r9a07g043u11-smarc.dts
@@ -13,9 +13,3 @@ / {
 	model = "Renesas SMARC EVK based on r9a07g043u11";
 	compatible = "renesas,smarc-evk", "renesas,r9a07g043u11", "renesas,r9a07g043";
 };
-
-&spi1 {
-	/delete-property/ pinctrl-0;
-	/delete-property/ pinctrl-names;
-	status = "disabled";
-};
diff --git a/arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi
index a663115f5aae..19bdb52b8531 100644
--- a/arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi
+++ b/arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi
@@ -209,6 +209,13 @@ sd0_mux_uhs {
 			pinmux = <RZG2L_PORT_PINMUX(0, 0, 1)>; /* SD0_CD */
 		};
 	};
+
+	spi1_pins: rspi1 {
+		pinmux = <RZG2L_PORT_PINMUX(4, 0, 2)>, /* CK */
+			 <RZG2L_PORT_PINMUX(4, 1, 2)>, /* MOSI */
+			 <RZG2L_PORT_PINMUX(4, 2, 2)>, /* MISO */
+			 <RZG2L_PORT_PINMUX(4, 3, 2)>; /* SSL */
+	};
 };
 
 #if (SW_SW0_DEV_SEL)
diff --git a/arch/arm64/boot/dts/renesas/rzg2ul-smarc.dtsi b/arch/arm64/boot/dts/renesas/rzg2ul-smarc.dtsi
index 0051634d7b1c..f9835c12023e 100644
--- a/arch/arm64/boot/dts/renesas/rzg2ul-smarc.dtsi
+++ b/arch/arm64/boot/dts/renesas/rzg2ul-smarc.dtsi
@@ -51,6 +51,12 @@ &snd_rzg2l {
 	status = "disabled";
 };
 
+&spi1 {
+	/delete-property/ pinctrl-0;
+	/delete-property/ pinctrl-names;
+	status = "disabled";
+};
+
 &ssi1 {
 	/delete-property/ pinctrl-0;
 	/delete-property/ pinctrl-names;
-- 
2.25.1



  parent reply	other threads:[~2022-09-02  9:45 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-02  9:44 [PATCH 5.10.y-cip 00/25] Add more support to RZ/G2UL SMARC EVK Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 01/25] clk: renesas: r9a07g043: Add clock and reset entries for SPI Multi I/O Bus Controller Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 02/25] clk: renesas: r9a07g043: Add RSPI clock and reset entries Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 03/25] clk: renesas: r9a07g043: Add TSU clock and reset entry Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 04/25] clk: renesas: r9a07g043: Add clock and reset entries for ADC Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 05/25] arm64: dts: renesas: r9a07g043: Add I2C2 node and fillup the I2C{0,1,3} stub nodes Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 06/25] arm64: dts: renesas: r9a07g043: Add SSI{1,2,3} nodes and fillup the SSI0 stub node Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 07/25] arm64: dts: renesas: r9a07g043: Add USB2.0 support Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 08/25] arm64: dts: renesas: r9a07g043: Fillup the CANFD stub node Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 09/25] arm64: dts: renesas: r9a07g043: Fillup the OSTM{0,1,2} stub nodes Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 10/25] arm64: dts: renesas: r9a07g043: Fillup the WDT{0,2} " Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 11/25] arm64: dts: renesas: rzg2ul-smarc: Enable i2c{0,1} and wm8978 Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 12/25] arm64: dts: renesas: rzg2ul-smarc: Enable CANFD Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 13/25] arm64: dts: renesas: rzg2ul-smarc-som: Enable OSTM Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 14/25] arm64: dts: renesas: rzg2ul-smarc-som: Enable watchdog Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 15/25] arm64: dts: renesas: rzg2l-smarc: Move ssi0 and cpu sound_dai nodes from common dtsi Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 16/25] arm64: dts: renesas: rzg2ul-smarc: Enable Audio Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 17/25] arm64: dts: renesas: rzg2ul-smarc: Enable USB2.0 support Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 18/25] arm64: dts: renesas: r9a07g043: Add RSPI{0,1,2} nodes Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 19/25] arm64: dts: renesas: r9a07g043: Add OPP table Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 20/25] arm64: dts: renesas: r9a07g043: Add TSU node Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 21/25] arm64: dts: renesas: r9a07g043: Create thermal zone to support IPA Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 22/25] arm64: dts: renesas: r9a07g043: Add SPI Multi I/O Bus controller node Biju Das
2022-09-02  9:44 ` [PATCH 5.10.y-cip 23/25] arm64: dts: renesas: r9a07g043: Add ADC node Biju Das
2022-09-02  9:44 ` Biju Das [this message]
2022-09-02  9:44 ` [PATCH 5.10.y-cip 25/25] arm64: dts: renesas: rzg2ul-smarc-som: Enable ADC on SMARC platform Biju Das
2022-09-03 13:28 ` [PATCH 5.10.y-cip 00/25] Add more support to RZ/G2UL SMARC EVK Pavel Machek
2022-09-06  8:38 ` Pavel Machek

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=20220902094427.116227-25-biju.das.jz@bp.renesas.com \
    --to=biju.das.jz@bp.renesas.com \
    --cc=chris.paterson2@renesas.com \
    --cc=cip-dev@lists.cip-project.org \
    --cc=nobuhiro1.iwamatsu@toshiba.co.jp \
    --cc=pavel@denx.de \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.