Dinh Nguyen | 53126a2 | 2013-09-16 15:57:48 -0500 | [diff] [blame] | 1 | * Rockchip specific extensions to the Synopsys Designware Mobile |
Heiko Stübner | c73e41c | 2013-06-27 11:55:35 -0400 | [diff] [blame] | 2 | Storage Host Controller |
| 3 | |
Dinh Nguyen | 53126a2 | 2013-09-16 15:57:48 -0500 | [diff] [blame] | 4 | The Synopsys designware mobile storage host controller is used to interface |
Heiko Stübner | c73e41c | 2013-06-27 11:55:35 -0400 | [diff] [blame] | 5 | a SoC with storage medium such as eMMC or SD/MMC cards. This file documents |
Dinh Nguyen | 53126a2 | 2013-09-16 15:57:48 -0500 | [diff] [blame] | 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. |
Heiko Stübner | c73e41c | 2013-06-27 11:55:35 -0400 | [diff] [blame] | 9 | |
| 10 | Required Properties: |
| 11 | |
| 12 | * compatible: should be |
Addy Ke | f629ba2 | 2014-07-31 14:01:38 +0800 | [diff] [blame] | 13 | - "rockchip,rk2928-dw-mshc": for Rockchip RK2928 and following, |
| 14 | before RK3288 |
| 15 | - "rockchip,rk3288-dw-mshc": for Rockchip RK3288 |
Shawn Lin | cef687d | 2016-01-26 10:34:14 +0800 | [diff] [blame] | 16 | - "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3036 |
Shawn Lin | b662f6d | 2016-01-21 20:32:09 +0800 | [diff] [blame] | 17 | - "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3368 |
Shawn Lin | 411963a | 2016-04-27 15:54:50 +0800 | [diff] [blame] | 18 | - "rockchip,rk3399-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3399 |
Heiko Stübner | c73e41c | 2013-06-27 11:55:35 -0400 | [diff] [blame] | 19 | |
Alexandru M Stan | f8085bb | 2015-10-12 14:48:27 +0200 | [diff] [blame] | 20 | Optional Properties: |
| 21 | * clocks: from common clock binding: if ciu_drive and ciu_sample are |
| 22 | specified in clock-names, should contain handles to these clocks. |
| 23 | |
| 24 | * clock-names: Apart from the clock-names described in synopsys-dw-mshc.txt |
| 25 | two more clocks "ciu-drive" and "ciu-sample" are supported. They are used |
| 26 | to control the clock phases, "ciu-sample" is required for tuning high- |
| 27 | speed modes. |
| 28 | |
| 29 | * rockchip,default-sample-phase: The default phase to set ciu_sample at |
| 30 | probing, low speeds or in case where all phases work at tuning time. |
| 31 | If not specified 0 deg will be used. |
| 32 | |
Heiko Stübner | c73e41c | 2013-06-27 11:55:35 -0400 | [diff] [blame] | 33 | Example: |
| 34 | |
| 35 | rkdwmmc0@12200000 { |
Addy Ke | f629ba2 | 2014-07-31 14:01:38 +0800 | [diff] [blame] | 36 | compatible = "rockchip,rk3288-dw-mshc"; |
Heiko Stübner | c73e41c | 2013-06-27 11:55:35 -0400 | [diff] [blame] | 37 | reg = <0x12200000 0x1000>; |
| 38 | interrupts = <0 75 0>; |
| 39 | #address-cells = <1>; |
| 40 | #size-cells = <0>; |
| 41 | }; |