[PATCH v2 2/2] arm64: dts: renesas: r9a08g046l48-smarc: Enable RSPI2

From: Biju

Date: Fri May 29 2026 - 09:11:02 EST


From: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>

Enable RSPI2 on the RZ/G3L SMARC EVK board by adding pin control
configuration and activating the rspi2 node.

The RSPI2 pins are shared with the DPI display interface and the
two cannot be used simultaneously and it is controlled by a switch
SW_DPI_EN.

Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
---
v1->v2:
* Collected tag.
---
.../boot/dts/renesas/r9a08g046l48-smarc.dts | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts b/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts
index 3ce24b66cb8d..624fcaea350f 100644
--- a/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts
+++ b/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts
@@ -162,6 +162,14 @@ rsci3_pins: rsci3 {
power-source = <1800>;
};

+ rspi2_pins: rspi2 {
+ pinmux = <RZG3L_PORT_PINMUX(6, 0, 2)>, /* RSPI2_MISO */
+ <RZG3L_PORT_PINMUX(6, 1, 2)>, /* RSPI2_MOSI */
+ <RZG3L_PORT_PINMUX(6, 2, 2)>, /* RSPI2_SCK */
+ <RZG3L_PORT_PINMUX(6, 3, 2)>; /* RSPI2_SSLA */
+ power-source = <1800>;
+ };
+
scif0_pins: scif0 {
pins = "SCIF0_TXD", "SCIF0_RXD";
power-source = <1800>;
@@ -222,3 +230,14 @@ &ssi0 {
status = "okay";
};
#endif
+
+#if !SW_DPI_EN
+&rspi2 {
+ pinctrl-0 = <&rspi2_pins>;
+ pinctrl-names = "default";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ status = "okay";
+};
+#endif
--
2.43.0