brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 1433e62 Raw
58 lines · plain
1* Cavium Octeon & ThunderX MMC controller2 3The highspeed MMC host controller on Caviums SoCs provides an interface4for MMC and SD types of memory cards.5 6Supported maximum speeds are the ones of the eMMC standard 4.41 as well7as the speed of SD standard 4.0. Only 3.3 Volt is supported.8 9Required properties:10 - compatible : should be one of:11   cavium,octeon-6130-mmc12   cavium,octeon-7890-mmc13   cavium,thunder-8190-mmc14   cavium,thunder-8390-mmc15   mmc-slot16 - reg : mmc controller base registers17 - clocks : phandle18 19Optional properties:20 - for cd, bus-width and additional generic mmc parameters21   please refer to mmc.txt within this directory22 - cavium,cmd-clk-skew : number of coprocessor clocks before sampling command23 - cavium,dat-clk-skew : number of coprocessor clocks before sampling data24 25Deprecated properties:26- spi-max-frequency : use max-frequency instead27- cavium,bus-max-width : use bus-width instead28- power-gpios : use vmmc-supply instead29- cavium,octeon-6130-mmc-slot : use mmc-slot instead30 31Examples:32	mmc_1_4: mmc@1,4 {33		compatible = "cavium,thunder-8390-mmc";34		reg = <0x0c00 0 0 0 0>;	/* DEVFN = 0x0c (1:4) */35		#address-cells = <1>;36		#size-cells = <0>;37		clocks = <&sclk>;38 39		mmc-slot@0 {40			compatible = "mmc-slot";41			reg = <0>;42			vmmc-supply = <&mmc_supply_3v3>;43			max-frequency = <42000000>;44			bus-width = <4>;45			cap-sd-highspeed;46		};47 48		mmc-slot@1 {49			compatible = "mmc-slot";50			reg = <1>;51			vmmc-supply = <&mmc_supply_3v3>;52			max-frequency = <42000000>;53			bus-width = <8>;54			cap-mmc-highspeed;55			non-removable;56		};57	};58