0001 * Cavium Octeon & ThunderX MMC controller
0002
0003 The highspeed MMC host controller on Caviums SoCs provides an interface
0004 for MMC and SD types of memory cards.
0005
0006 Supported maximum speeds are the ones of the eMMC standard 4.41 as well
0007 as the speed of SD standard 4.0. Only 3.3 Volt is supported.
0008
0009 Required properties:
0010 - compatible : should be one of:
0011 cavium,octeon-6130-mmc
0012 cavium,octeon-7890-mmc
0013 cavium,thunder-8190-mmc
0014 cavium,thunder-8390-mmc
0015 mmc-slot
0016 - reg : mmc controller base registers
0017 - clocks : phandle
0018
0019 Optional properties:
0020 - for cd, bus-width and additional generic mmc parameters
0021 please refer to mmc.txt within this directory
0022 - cavium,cmd-clk-skew : number of coprocessor clocks before sampling command
0023 - cavium,dat-clk-skew : number of coprocessor clocks before sampling data
0024
0025 Deprecated properties:
0026 - spi-max-frequency : use max-frequency instead
0027 - cavium,bus-max-width : use bus-width instead
0028 - power-gpios : use vmmc-supply instead
0029 - cavium,octeon-6130-mmc-slot : use mmc-slot instead
0030
0031 Examples:
0032 mmc_1_4: mmc@1,4 {
0033 compatible = "cavium,thunder-8390-mmc";
0034 reg = <0x0c00 0 0 0 0>; /* DEVFN = 0x0c (1:4) */
0035 #address-cells = <1>;
0036 #size-cells = <0>;
0037 clocks = <&sclk>;
0038
0039 mmc-slot@0 {
0040 compatible = "mmc-slot";
0041 reg = <0>;
0042 vmmc-supply = <&mmc_supply_3v3>;
0043 max-frequency = <42000000>;
0044 bus-width = <4>;
0045 cap-sd-highspeed;
0046 };
0047
0048 mmc-slot@1 {
0049 compatible = "mmc-slot";
0050 reg = <1>;
0051 vmmc-supply = <&mmc_supply_3v3>;
0052 max-frequency = <42000000>;
0053 bus-width = <8>;
0054 cap-mmc-highspeed;
0055 non-removable;
0056 };
0057 };