diff options
Diffstat (limited to 'Documentation/devicetree/bindings/mmc')
6 files changed, 49 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt index 6cd3525d0e09..ee4fc0576c7d 100644 --- a/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt +++ b/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt | |||
@@ -18,6 +18,10 @@ Required Properties: | |||
18 | specific extensions. | 18 | specific extensions. |
19 | - "samsung,exynos5420-dw-mshc": for controllers with Samsung Exynos5420 | 19 | - "samsung,exynos5420-dw-mshc": for controllers with Samsung Exynos5420 |
20 | specific extensions. | 20 | specific extensions. |
21 | - "samsung,exynos7-dw-mshc": for controllers with Samsung Exynos7 | ||
22 | specific extensions. | ||
23 | - "samsung,exynos7-dw-mshc-smu": for controllers with Samsung Exynos7 | ||
24 | specific extensions having an SMU. | ||
21 | 25 | ||
22 | * samsung,dw-mshc-ciu-div: Specifies the divider value for the card interface | 26 | * samsung,dw-mshc-ciu-div: Specifies the divider value for the card interface |
23 | unit (ciu) clock. This property is applicable only for Exynos5 SoC's and | 27 | unit (ciu) clock. This property is applicable only for Exynos5 SoC's and |
diff --git a/Documentation/devicetree/bindings/mmc/img-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/img-dw-mshc.txt new file mode 100644 index 000000000000..85de99fcaa2f --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/img-dw-mshc.txt | |||
@@ -0,0 +1,29 @@ | |||
1 | * Imagination specific extensions to the Synopsys Designware Mobile Storage | ||
2 | Host Controller | ||
3 | |||
4 | The Synopsys designware mobile storage host controller is used to interface | ||
5 | a SoC with storage medium such as eMMC or SD/MMC cards. This file documents | ||
6 | differences between the core Synopsys dw mshc controller properties described | ||
7 | by synopsys-dw-mshc.txt and the properties used by the Imagination specific | ||
8 | extensions to the Synopsys Designware Mobile Storage Host Controller. | ||
9 | |||
10 | Required Properties: | ||
11 | |||
12 | * compatible: should be | ||
13 | - "img,pistachio-dw-mshc": for Pistachio SoCs | ||
14 | |||
15 | Example: | ||
16 | |||
17 | mmc@18142000 { | ||
18 | compatible = "img,pistachio-dw-mshc"; | ||
19 | reg = <0x18142000 0x400>; | ||
20 | interrupts = <GIC_SHARED 39 IRQ_TYPE_LEVEL_HIGH>; | ||
21 | |||
22 | clocks = <&system_clk>, <&sdhost_clk>; | ||
23 | clock-names = "biu", "ciu"; | ||
24 | |||
25 | fifo-depth = <0x20>; | ||
26 | bus-width = <4>; | ||
27 | num-slots = <1>; | ||
28 | disable-wp; | ||
29 | }; | ||
diff --git a/Documentation/devicetree/bindings/mmc/mmc.txt b/Documentation/devicetree/bindings/mmc/mmc.txt index 431716e37a39..b52628b18a53 100644 --- a/Documentation/devicetree/bindings/mmc/mmc.txt +++ b/Documentation/devicetree/bindings/mmc/mmc.txt | |||
@@ -40,6 +40,8 @@ Optional properties: | |||
40 | - mmc-hs200-1_2v: eMMC HS200 mode(1.2V I/O) is supported | 40 | - mmc-hs200-1_2v: eMMC HS200 mode(1.2V I/O) is supported |
41 | - mmc-hs400-1_8v: eMMC HS400 mode(1.8V I/O) is supported | 41 | - mmc-hs400-1_8v: eMMC HS400 mode(1.8V I/O) is supported |
42 | - mmc-hs400-1_2v: eMMC HS400 mode(1.2V I/O) is supported | 42 | - mmc-hs400-1_2v: eMMC HS400 mode(1.2V I/O) is supported |
43 | - dsr: Value the card's (optional) Driver Stage Register (DSR) should be | ||
44 | programmed with. Valid range: [0 .. 0xffff]. | ||
43 | 45 | ||
44 | *NOTE* on CD and WP polarity. To use common for all SD/MMC host controllers line | 46 | *NOTE* on CD and WP polarity. To use common for all SD/MMC host controllers line |
45 | polarity properties, we have to fix the meaning of the "normal" and "inverted" | 47 | polarity properties, we have to fix the meaning of the "normal" and "inverted" |
diff --git a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt index c559f3f36309..c327c2d6f23d 100644 --- a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt +++ b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | |||
@@ -10,12 +10,14 @@ extensions to the Synopsys Designware Mobile Storage Host Controller. | |||
10 | Required Properties: | 10 | Required Properties: |
11 | 11 | ||
12 | * compatible: should be | 12 | * compatible: should be |
13 | - "rockchip,rk2928-dw-mshc": for Rockchip RK2928 and following | 13 | - "rockchip,rk2928-dw-mshc": for Rockchip RK2928 and following, |
14 | before RK3288 | ||
15 | - "rockchip,rk3288-dw-mshc": for Rockchip RK3288 | ||
14 | 16 | ||
15 | Example: | 17 | Example: |
16 | 18 | ||
17 | rkdwmmc0@12200000 { | 19 | rkdwmmc0@12200000 { |
18 | compatible = "rockchip,rk2928-dw-mshc"; | 20 | compatible = "rockchip,rk3288-dw-mshc"; |
19 | reg = <0x12200000 0x1000>; | 21 | reg = <0x12200000 0x1000>; |
20 | interrupts = <0 75 0>; | 22 | interrupts = <0 75 0>; |
21 | #address-cells = <1>; | 23 | #address-cells = <1>; |
diff --git a/Documentation/devicetree/bindings/mmc/sdhci-pxa.txt b/Documentation/devicetree/bindings/mmc/sdhci-pxa.txt index 86223c3eda90..4dd6deb90719 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-pxa.txt +++ b/Documentation/devicetree/bindings/mmc/sdhci-pxa.txt | |||
@@ -12,6 +12,10 @@ Required properties: | |||
12 | * for "marvell,armada-380-sdhci", two register areas. The first one | 12 | * for "marvell,armada-380-sdhci", two register areas. The first one |
13 | for the SDHCI registers themselves, and the second one for the | 13 | for the SDHCI registers themselves, and the second one for the |
14 | AXI/Mbus bridge registers of the SDHCI unit. | 14 | AXI/Mbus bridge registers of the SDHCI unit. |
15 | - clocks: Array of clocks required for SDHCI; requires at least one for | ||
16 | I/O clock. | ||
17 | - clock-names: Array of names corresponding to clocks property; shall be | ||
18 | "io" for I/O clock and "core" for optional core clock. | ||
15 | 19 | ||
16 | Optional properties: | 20 | Optional properties: |
17 | - mrvl,clk-delay-cycles: Specify a number of cycles to delay for tuning. | 21 | - mrvl,clk-delay-cycles: Specify a number of cycles to delay for tuning. |
@@ -23,6 +27,8 @@ sdhci@d4280800 { | |||
23 | reg = <0xd4280800 0x800>; | 27 | reg = <0xd4280800 0x800>; |
24 | bus-width = <8>; | 28 | bus-width = <8>; |
25 | interrupts = <27>; | 29 | interrupts = <27>; |
30 | clocks = <&chip CLKID_SDIO1XIN>, <&chip CLKID_SDIO1>; | ||
31 | clock-names = "io", "core"; | ||
26 | non-removable; | 32 | non-removable; |
27 | mrvl,clk-delay-cycles = <31>; | 33 | mrvl,clk-delay-cycles = <31>; |
28 | }; | 34 | }; |
@@ -32,5 +38,6 @@ sdhci@d8000 { | |||
32 | reg = <0xd8000 0x1000>, <0xdc000 0x100>; | 38 | reg = <0xd8000 0x1000>, <0xdc000 0x100>; |
33 | interrupts = <0 25 0x4>; | 39 | interrupts = <0 25 0x4>; |
34 | clocks = <&gateclk 17>; | 40 | clocks = <&gateclk 17>; |
41 | clock-names = "io"; | ||
35 | mrvl,clk-delay-cycles = <0x1F>; | 42 | mrvl,clk-delay-cycles = <0x1F>; |
36 | }; | 43 | }; |
diff --git a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt index fa0f327cde01..400b640fabc7 100644 --- a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt +++ b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt | |||
@@ -19,6 +19,9 @@ Required properties: | |||
19 | "renesas,sdhi-r8a7779" - SDHI IP on R8A7779 SoC | 19 | "renesas,sdhi-r8a7779" - SDHI IP on R8A7779 SoC |
20 | "renesas,sdhi-r8a7790" - SDHI IP on R8A7790 SoC | 20 | "renesas,sdhi-r8a7790" - SDHI IP on R8A7790 SoC |
21 | "renesas,sdhi-r8a7791" - SDHI IP on R8A7791 SoC | 21 | "renesas,sdhi-r8a7791" - SDHI IP on R8A7791 SoC |
22 | "renesas,sdhi-r8a7792" - SDHI IP on R8A7792 SoC | ||
23 | "renesas,sdhi-r8a7793" - SDHI IP on R8A7793 SoC | ||
24 | "renesas,sdhi-r8a7794" - SDHI IP on R8A7794 SoC | ||
22 | 25 | ||
23 | Optional properties: | 26 | Optional properties: |
24 | - toshiba,mmc-wrprotect-disable: write-protect detection is unavailable | 27 | - toshiba,mmc-wrprotect-disable: write-protect detection is unavailable |