blob: ea9c1c9607f61239d2d0211d0cf5a607da406fb0 [file] [log] [blame]
Dinh Nguyen53126a22013-09-16 15:57:48 -05001* Rockchip specific extensions to the Synopsys Designware Mobile
Heiko Stübnerc73e41c2013-06-27 11:55:35 -04002 Storage Host Controller
3
Dinh Nguyen53126a22013-09-16 15:57:48 -05004The Synopsys designware mobile storage host controller is used to interface
Heiko Stübnerc73e41c2013-06-27 11:55:35 -04005a SoC with storage medium such as eMMC or SD/MMC cards. This file documents
Dinh Nguyen53126a22013-09-16 15:57:48 -05006differences between the core Synopsys dw mshc controller properties described
7by synopsys-dw-mshc.txt and the properties used by the Rockchip specific
8extensions to the Synopsys Designware Mobile Storage Host Controller.
Heiko Stübnerc73e41c2013-06-27 11:55:35 -04009
10Required Properties:
11
12* compatible: should be
Addy Kef629ba22014-07-31 14:01:38 +080013 - "rockchip,rk2928-dw-mshc": for Rockchip RK2928 and following,
14 before RK3288
15 - "rockchip,rk3288-dw-mshc": for Rockchip RK3288
Shawn Linfc868e82016-11-14 20:01:05 +080016 - "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK1108
Shawn Lincef687d2016-01-26 10:34:14 +080017 - "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3036
Shawn Linb662f6d2016-01-21 20:32:09 +080018 - "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3368
Shawn Lin411963a2016-04-27 15:54:50 +080019 - "rockchip,rk3399-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3399
Heiko Stübnerc73e41c2013-06-27 11:55:35 -040020
Alexandru M Stanf8085bb2015-10-12 14:48:27 +020021Optional Properties:
22* clocks: from common clock binding: if ciu_drive and ciu_sample are
23 specified in clock-names, should contain handles to these clocks.
24
25* clock-names: Apart from the clock-names described in synopsys-dw-mshc.txt
26 two more clocks "ciu-drive" and "ciu-sample" are supported. They are used
27 to control the clock phases, "ciu-sample" is required for tuning high-
28 speed modes.
29
30* rockchip,default-sample-phase: The default phase to set ciu_sample at
31 probing, low speeds or in case where all phases work at tuning time.
32 If not specified 0 deg will be used.
33
Heiko Stübnerc73e41c2013-06-27 11:55:35 -040034Example:
35
36 rkdwmmc0@12200000 {
Addy Kef629ba22014-07-31 14:01:38 +080037 compatible = "rockchip,rk3288-dw-mshc";
Heiko Stübnerc73e41c2013-06-27 11:55:35 -040038 reg = <0x12200000 0x1000>;
39 interrupts = <0 75 0>;
40 #address-cells = <1>;
41 #size-cells = <0>;
42 };