dt-bindings: rockchip-dw-mshc: add RK3368 dw-mshc description
[linux-2.6/btrfs-unstable.git] / Documentation / devicetree / bindings / mmc / rockchip-dw-mshc.txt
blob634e2490795ed81d08ce016606b1496a847f5e8b
1 * Rockchip specific extensions to the Synopsys Designware Mobile
2   Storage Host Controller
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 Rockchip specific
8 extensions to the Synopsys Designware Mobile Storage Host Controller.
10 Required Properties:
12 * compatible: should be
13         - "rockchip,rk2928-dw-mshc": for Rockchip RK2928 and following,
14                                                         before RK3288
15         - "rockchip,rk3288-dw-mshc": for Rockchip RK3288
16         - "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3368
18 Optional Properties:
19 * clocks: from common clock binding: if ciu_drive and ciu_sample are
20   specified in clock-names, should contain handles to these clocks.
22 * clock-names: Apart from the clock-names described in synopsys-dw-mshc.txt
23   two more clocks "ciu-drive" and "ciu-sample" are supported. They are used
24   to control the clock phases, "ciu-sample" is required for tuning high-
25   speed modes.
27 * rockchip,default-sample-phase: The default phase to set ciu_sample at
28   probing, low speeds or in case where all phases work at tuning time.
29   If not specified 0 deg will be used.
31 Example:
33         rkdwmmc0@12200000 {
34                 compatible = "rockchip,rk3288-dw-mshc";
35                 reg = <0x12200000 0x1000>;
36                 interrupts = <0 75 0>;
37                 #address-cells = <1>;
38                 #size-cells = <0>;
39         };