Re: [PATCH] mmc: mmc_spi: add spi:mmc-spi-slot alias

From: Andreas Schwab
Date: Wed Jul 21 2021 - 12:05:52 EST


On Jul 21 2021, Andy Shevchenko wrote:

> What is your DT excerpt for it?

arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts:

&qspi2 {
status = "okay";
mmc@0 {
compatible = "mmc-spi-slot";
reg = <0>;
spi-max-frequency = <20000000>;
voltage-ranges = <3300 3300>;
disable-wp;
};
};

Andreas.

--
Andreas Schwab, SUSE Labs, schwab@xxxxxxx
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."