1*c66ec88fSEmmanuel Vadot* Cavium Octeon & ThunderX MMC controller 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThe highspeed MMC host controller on Caviums SoCs provides an interface 4*c66ec88fSEmmanuel Vadotfor MMC and SD types of memory cards. 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel VadotSupported maximum speeds are the ones of the eMMC standard 4.41 as well 7*c66ec88fSEmmanuel Vadotas the speed of SD standard 4.0. Only 3.3 Volt is supported. 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel VadotRequired properties: 10*c66ec88fSEmmanuel Vadot - compatible : should be one of: 11*c66ec88fSEmmanuel Vadot cavium,octeon-6130-mmc 12*c66ec88fSEmmanuel Vadot cavium,octeon-7890-mmc 13*c66ec88fSEmmanuel Vadot cavium,thunder-8190-mmc 14*c66ec88fSEmmanuel Vadot cavium,thunder-8390-mmc 15*c66ec88fSEmmanuel Vadot mmc-slot 16*c66ec88fSEmmanuel Vadot - reg : mmc controller base registers 17*c66ec88fSEmmanuel Vadot - clocks : phandle 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel VadotOptional properties: 20*c66ec88fSEmmanuel Vadot - for cd, bus-width and additional generic mmc parameters 21*c66ec88fSEmmanuel Vadot please refer to mmc.txt within this directory 22*c66ec88fSEmmanuel Vadot - cavium,cmd-clk-skew : number of coprocessor clocks before sampling command 23*c66ec88fSEmmanuel Vadot - cavium,dat-clk-skew : number of coprocessor clocks before sampling data 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel VadotDeprecated properties: 26*c66ec88fSEmmanuel Vadot- spi-max-frequency : use max-frequency instead 27*c66ec88fSEmmanuel Vadot- cavium,bus-max-width : use bus-width instead 28*c66ec88fSEmmanuel Vadot- power-gpios : use vmmc-supply instead 29*c66ec88fSEmmanuel Vadot- cavium,octeon-6130-mmc-slot : use mmc-slot instead 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel VadotExamples: 32*c66ec88fSEmmanuel Vadot mmc_1_4: mmc@1,4 { 33*c66ec88fSEmmanuel Vadot compatible = "cavium,thunder-8390-mmc"; 34*c66ec88fSEmmanuel Vadot reg = <0x0c00 0 0 0 0>; /* DEVFN = 0x0c (1:4) */ 35*c66ec88fSEmmanuel Vadot #address-cells = <1>; 36*c66ec88fSEmmanuel Vadot #size-cells = <0>; 37*c66ec88fSEmmanuel Vadot clocks = <&sclk>; 38*c66ec88fSEmmanuel Vadot 39*c66ec88fSEmmanuel Vadot mmc-slot@0 { 40*c66ec88fSEmmanuel Vadot compatible = "mmc-slot"; 41*c66ec88fSEmmanuel Vadot reg = <0>; 42*c66ec88fSEmmanuel Vadot vmmc-supply = <&mmc_supply_3v3>; 43*c66ec88fSEmmanuel Vadot max-frequency = <42000000>; 44*c66ec88fSEmmanuel Vadot bus-width = <4>; 45*c66ec88fSEmmanuel Vadot cap-sd-highspeed; 46*c66ec88fSEmmanuel Vadot }; 47*c66ec88fSEmmanuel Vadot 48*c66ec88fSEmmanuel Vadot mmc-slot@1 { 49*c66ec88fSEmmanuel Vadot compatible = "mmc-slot"; 50*c66ec88fSEmmanuel Vadot reg = <1>; 51*c66ec88fSEmmanuel Vadot vmmc-supply = <&mmc_supply_3v3>; 52*c66ec88fSEmmanuel Vadot max-frequency = <42000000>; 53*c66ec88fSEmmanuel Vadot bus-width = <8>; 54*c66ec88fSEmmanuel Vadot cap-mmc-highspeed; 55*c66ec88fSEmmanuel Vadot non-removable; 56*c66ec88fSEmmanuel Vadot }; 57*c66ec88fSEmmanuel Vadot }; 58