On Mon, Jan 17, 2022 at 8:51 AM Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote: > RZ/G2LC SoM has both 64 GB eMMC and microSD connected to SDHI0. > > Both these interfaces are mutually exclusive and the SD0 device > selection is based on the XOR between GPIO_SD0_DEV_SEL and SW1[2] > switch position. > > This patch sets GPIO_SD0_DEV_SEL to high in DT. Use the below switch > setting logic for device selection between eMMC and microSD slot > connected to SDHI0. > > Set SW1[2] to position OFF for selecting eMMC > Set SW1[2] to position ON for selecting microSD > > This patch enables eMMC on RZ/G2LC SMARC platform by default. > > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> i.e. will queue in renesas-devel for v5.18. 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