Re: [PATCH v2] arm: dts: renesas: r8a7740-armadillo800eva: Enable SDHI1

From: Wolfram Sang

Date: Mon Mar 02 2026 - 11:56:10 EST


On Tue, Feb 24, 2026 at 02:45:32PM +0700, phucduc.bui@xxxxxxxxx wrote:
> From: bui duc phuc <phucduc.bui@xxxxxxxxx>
>
> The Armadillo-800EVA board provides an SD card slot and an AWL13 SDIO
> interface connected to the SDHI1 controller. Routing between these two
> interfaces is controlled by a mechanical DIP switch and a set of
> multiplexers.
>
> This patch adds:
>
> - A fixed 3.3V regulator for SDHI1 power, controlled by PORT16 (G2).
> - SDHI1 pinmux groups for data, control, and card detection.
> - A gpio-hog for PORT6 (J5) to control the SDHI1/AWLAN multiplexer.
>
> PORT176 (N21) is already configured as output-high in this DTS (via
> lcd0-mux-hog), routing the SDSLOT2_ENABLE signal to PORT6. Since the
> hardware includes an external 10k pull-up resistor (R94) on this line,
> PORT6 is configured as an input to allow the physical DIP switch to
> determine the routing without SoC interference.
>
> Both configurations have been verified:
>
> - SD card (CON8): detected as mmcblk1, high-speed SDHC.
> - SDIO (CON14): detected as mmc1, high-speed SDIO.
>
> Signed-off-by: bui duc phuc <phucduc.bui@xxxxxxxxx>

I don't have any schematics for the Armadillo, but the SDHI parts here
look good to me.

Reviewed-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature