]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/mmc/sdhci-pxa.txt
Merge tag 'trace-seq-buf-3.19-v2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / Documentation / devicetree / bindings / mmc / sdhci-pxa.txt
1 * Marvell sdhci-pxa v2/v3 controller
2
3 This file documents differences between the core properties in mmc.txt
4 and the properties used by the sdhci-pxav2 and sdhci-pxav3 drivers.
5
6 Required properties:
7 - compatible: Should be "mrvl,pxav2-mmc", "mrvl,pxav3-mmc" or
8   "marvell,armada-380-sdhci".
9 - reg:
10   * for "mrvl,pxav2-mmc" and "mrvl,pxav3-mmc", one register area for
11     the SDHCI registers.
12   * for "marvell,armada-380-sdhci", two register areas. The first one
13     for the SDHCI registers themselves, and the second one for the
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.
19
20 Optional properties:
21 - mrvl,clk-delay-cycles: Specify a number of cycles to delay for tuning.
22
23 Example:
24
25 sdhci@d4280800 {
26         compatible = "mrvl,pxav3-mmc";
27         reg = <0xd4280800 0x800>;
28         bus-width = <8>;
29         interrupts = <27>;
30         clocks = <&chip CLKID_SDIO1XIN>, <&chip CLKID_SDIO1>;
31         clock-names = "io", "core";
32         non-removable;
33         mrvl,clk-delay-cycles = <31>;
34 };
35
36 sdhci@d8000 {
37         compatible = "marvell,armada-380-sdhci";
38         reg = <0xd8000 0x1000>, <0xdc000 0x100>;
39         interrupts = <0 25 0x4>;
40         clocks = <&gateclk 17>;
41         clock-names = "io";
42         mrvl,clk-delay-cycles = <0x1F>;
43 };