On Sun, Oct 10, 2021 at 4:25 PM Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote: > RZ/G2L 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 2/OFF for selecting eMMC > Set SW1[2] to position 3/ON for selecting microSD > > This patch enables eMMC on RZ/G2L SMARC platform by default. > > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > --- > v3->v4: > * Sorted gpio-sd0-pwr-en-hog node > v2->v3: > * Fixed typo 64Gb to 64 GB in commit message and comment > * Fixed typo SDO->SD0 in comment. > v1->v2: > * Updated the comment from 64Gb to 64 GB for eMMC size > * Added angular brackets for states > * Fix the gpio-hog node names > * Fixed label names to match with the schematics Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> i.e. will queue in renesas-devel for v5.16. 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