Re: [PATCH v3 1/3] arm64: dts: renesas: r9a08g046: Add SDHI nodes for RZ/G3L SoC and SDHI1 pincontrol on SMARC EVK

From: Geert Uytterhoeven

Date: Thu Dec 03 2026 - 04:46:58 EST


Hi Biju,

On Tue, Nov 24, 2026, at 17:57, Biju Das wrote:
> From: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
>
> Add device tree nodes for the three SDHI controllers (SDHI{0,1,2})
> on the RZ/G3L SoC (r9a08g046) and enable SDHI1 on the RZ/G3L SMARC
> EVK platform with pincontrol and GPIO-based voltage switching
> regulator support.
>
> Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> ---
> v3
> - Fixed syntax error in sdhi1 #else branch.

Thanks for the update!

> @@ -312,6 +389,21 @@ &scif0 {
> pinctrl-names = "default";
> };
>
> +#if RZ_BOOT_MODE3
> +&sdhi1 {
> + pinctrl-0 = <&sdhi1_pins>;
> + pinctrl-1 = <&sdhi1_uhs_pins>;
> + pinctrl-names = "default", "state_uhs";
> +
> + vmmc-supply = <&reg_3p3v>;
> + vqmmc-supply = <&vqmmc_sd1_pvdd>;
> +};
> +#else
> +&sdhi1 {
> + status = "disabled";
> +};
> +#endif

I'll move the #if/#else/#endif inside the node while applying to
reduce duplication.

> +
> #if !SW_SD2_EN
> &ssi0 {
> clocks = <&cpg CPG_MOD R9A08G046_SSI0_PCLK2>,

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
i.e. will queue in renesas-devel for v7.5.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds