rockchip-dw-mshc.txt 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. * Rockchip specific extensions to the Synopsys Designware Mobile
  2. Storage Host Controller
  3. The Synopsys designware mobile storage host controller is used to interface
  4. a SoC with storage medium such as eMMC or SD/MMC cards. This file documents
  5. differences between the core Synopsys dw mshc controller properties described
  6. by synopsys-dw-mshc.txt and the properties used by the Rockchip specific
  7. extensions to the Synopsys Designware Mobile Storage Host Controller.
  8. Required Properties:
  9. * compatible: should be
  10. - "rockchip,rk2928-dw-mshc": for Rockchip RK2928 and following,
  11. before RK3288
  12. - "rockchip,rk3288-dw-mshc": for Rockchip RK3288
  13. - "rockchip,rv1108-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RV1108
  14. - "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip PX30
  15. - "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3036
  16. - "rockchip,rk3228-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK322x
  17. - "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3328
  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. 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. * clock-names: Apart from the clock-names described in synopsys-dw-mshc.txt
  24. two more clocks "ciu-drive" and "ciu-sample" are supported. They are used
  25. to control the clock phases, "ciu-sample" is required for tuning high-
  26. 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.
  30. * rockchip,desired-num-phases: The desired number of times that the host
  31. execute tuning when needed. If not specified, the host will do tuning
  32. for 360 times, namely tuning for each degree.
  33. Example:
  34. rkdwmmc0@12200000 {
  35. compatible = "rockchip,rk3288-dw-mshc";
  36. reg = <0x12200000 0x1000>;
  37. interrupts = <0 75 0>;
  38. #address-cells = <1>;
  39. #size-cells = <0>;
  40. };