rockchip-dw-mshc.txt 1.7 KB
Newer Older
D
Dinh Nguyen 已提交
1
* Rockchip specific extensions to the Synopsys Designware Mobile
2 3
  Storage Host Controller

D
Dinh Nguyen 已提交
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
D
Dinh Nguyen 已提交
6 7 8
differences between the core Synopsys dw mshc controller properties described
by synopsys-dw-mshc.txt and the properties used by the Rockchip specific
extensions to the Synopsys Designware Mobile Storage Host Controller.
9 10 11 12

Required Properties:

* compatible: should be
A
Addy Ke 已提交
13 14 15
	- "rockchip,rk2928-dw-mshc": for Rockchip RK2928 and following,
							before RK3288
	- "rockchip,rk3288-dw-mshc": for Rockchip RK3288
16
	- "rockchip,rv1108-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RV1108
17
	- "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3036
18
	- "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3368
19
	- "rockchip,rk3399-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3399
20

21 22 23 24 25 26 27 28 29 30 31 32 33
Optional Properties:
* clocks: from common clock binding: if ciu_drive and ciu_sample are
  specified in clock-names, should contain handles to these clocks.

* clock-names: Apart from the clock-names described in synopsys-dw-mshc.txt
  two more clocks "ciu-drive" and "ciu-sample" are supported. They are used
  to control the clock phases, "ciu-sample" is required for tuning high-
  speed modes.

* rockchip,default-sample-phase: The default phase to set ciu_sample at
  probing, low speeds or in case where all phases work at tuning time.
  If not specified 0 deg will be used.

34 35 36
Example:

	rkdwmmc0@12200000 {
A
Addy Ke 已提交
37
		compatible = "rockchip,rk3288-dw-mshc";
38 39 40 41 42
		reg = <0x12200000 0x1000>;
		interrupts = <0 75 0>;
		#address-cells = <1>;
		#size-cells = <0>;
	};