Skip to content

Commit dc5aee3

Browse files
Jan Glauberstorulf
authored andcommitted
dt-bindings: mmc: Add Cavium SOCs MMC bindings
Add description of Cavium Octeon and ThunderX SOC device tree bindings. CC: Ulf Hansson <[email protected]> CC: Rob Herring <[email protected]> CC: Mark Rutland <[email protected]> CC: [email protected] Signed-off-by: Jan Glauber <[email protected]> Signed-off-by: David Daney <[email protected]> Signed-off-by: Steven J. Hill <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent 67b8360 commit dc5aee3

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
* Cavium Octeon & ThunderX MMC controller
2+
3+
The highspeed MMC host controller on Caviums SoCs provides an interface
4+
for MMC and SD types of memory cards.
5+
6+
Supported maximum speeds are the ones of the eMMC standard 4.41 as well
7+
as the speed of SD standard 4.0. Only 3.3 Volt is supported.
8+
9+
Required properties:
10+
- compatible : should be one of:
11+
cavium,octeon-6130-mmc
12+
cavium,octeon-7890-mmc
13+
cavium,thunder-8190-mmc
14+
cavium,thunder-8390-mmc
15+
mmc-slot
16+
- reg : mmc controller base registers
17+
- clocks : phandle
18+
19+
Optional properties:
20+
- for cd, bus-width and additional generic mmc parameters
21+
please refer to mmc.txt within this directory
22+
- cavium,cmd-clk-skew : number of coprocessor clocks before sampling command
23+
- cavium,dat-clk-skew : number of coprocessor clocks before sampling data
24+
25+
Deprecated properties:
26+
- spi-max-frequency : use max-frequency instead
27+
- cavium,bus-max-width : use bus-width instead
28+
- power-gpios : use vmmc-supply instead
29+
- cavium,octeon-6130-mmc-slot : use mmc-slot instead
30+
31+
Examples:
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+
};

0 commit comments

Comments
 (0)