RE: [PATCH v3 1/3] arm64: dts: renesas: r9a08g046: Add SDHI nodes for RZ/G3L SoC and SDHI1 pincontrol on SMARC EVK
From: Biju Das
Date: Thu Dec 03 2026 - 05:02:11 EST
Hi Geert,
> -----Original Message-----
> From: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> Sent: 03 December 2026 09:46
> Subject: Re: [PATCH v3 1/3] arm64: dts: renesas: r9a08g046: Add SDHI nodes for RZ/G3L SoC and SDHI1
> pincontrol on SMARC EVK
>
> 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 = <®_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.
Thank you.
Cheers,
Biju