Enable support for the MMC-SPI driver through the device tree

This allows accessing the sd card as a block device and mounting partitions.
This commit is contained in:
Klemens Schölhorn 2018-06-13 00:41:30 +02:00
parent 8d5a87221a
commit cdfb32119d
2 changed files with 10 additions and 0 deletions

View File

@ -107,6 +107,16 @@
reg = <0x64001000 0x1000>;
reg-names = "control";
clocks = <&sysclk 0>;
#address-cells = <1>;
#size-cells = <0>;
mmc@0 {
compatible = "mmc-spi-slot";
reg = <0x0>;
spi-max-frequency = <0x1312d00>;
voltage-ranges = <0xce4 0xce4>;
disable-wp;
};
};
L9: serial@64003000 {
compatible = "klemens,terminal0";