On 27 March 2017 at 17:45, Tony Lindgren <tony@atomide.com> wrote:
My guess is that the alias names for Pyra should be
something like this instead:

"sdio1", "sdio2", "micro-sd"

No, they need to be named specifically with a generic device class name ("mmc" in this case) + unique number. This is what allows them to be used by the of_alias_* API calls.

See e.g. uses of those calls by:
* drivers/i2c/i2c-core.c
* drivers/spi/spi.c
* drivers/tty/serial/8250/8250_of.c
(I based my mmc patch on the i2c core specifically.)