k3-dw-mshc.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. * Hisilicon specific extensions to the Synopsys Designware Mobile
  2. Storage Host Controller
  3. Read synopsys-dw-mshc.txt for more details
  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 Hisilicon specific
  8. extensions to the Synopsys Designware Mobile Storage Host Controller.
  9. Required Properties:
  10. * compatible: should be one of the following.
  11. - "hisilicon,hi4511-dw-mshc": for controllers with hi4511 specific extensions.
  12. Example:
  13. /* for Hi3620 */
  14. /* SoC portion */
  15. dwmmc_0: dwmmc0@fcd03000 {
  16. compatible = "hisilicon,hi4511-dw-mshc";
  17. reg = <0xfcd03000 0x1000>;
  18. interrupts = <0 16 4>;
  19. #address-cells = <1>;
  20. #size-cells = <0>;
  21. clocks = <&mmc_clock HI3620_SD_CIUCLK>, <&clock HI3620_DDRC_PER_CLK>;
  22. clock-names = "ciu", "biu";
  23. };
  24. /* Board portion */
  25. dwmmc0@fcd03000 {
  26. num-slots = <1>;
  27. vmmc-supply = <&ldo12>;
  28. fifo-depth = <0x100>;
  29. pinctrl-names = "default";
  30. pinctrl-0 = <&sd_pmx_pins &sd_cfg_func1 &sd_cfg_func2>;
  31. bus-width = <4>;
  32. disable-wp;
  33. cd-gpios = <&gpio10 3 0>;
  34. cap-mmc-highspeed;
  35. cap-sd-highspeed;
  36. };