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

From: Biju

Date: Tue May 19 2026 - 07:23:35 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>
---
.../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 ccc0decd89ab..3e3028b88f22 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