synopsys-dw-mshc-common.yaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # SPDX-License-Identifier: GPL-2.0
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/mmc/synopsys-dw-mshc-common.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Synopsys Designware Mobile Storage Host Controller Common Properties
  7. allOf:
  8. - $ref: mmc-controller.yaml#
  9. maintainers:
  10. - Ulf Hansson <ulf.hansson@linaro.org>
  11. # Everything else is described in the common file
  12. properties:
  13. resets:
  14. maxItems: 1
  15. reset-names:
  16. const: reset
  17. clock-frequency:
  18. description:
  19. Should be the frequency (in Hz) of the ciu clock. If this
  20. is specified and the ciu clock is specified then we'll try to set the ciu
  21. clock to this at probe time.
  22. fifo-depth:
  23. description:
  24. The maximum size of the tx/rx fifo's. If this property is not
  25. specified, the default value of the fifo size is determined from the
  26. controller registers.
  27. $ref: /schemas/types.yaml#/definitions/uint32
  28. card-detect-delay:
  29. description:
  30. Delay in milli-seconds before detecting card after card
  31. insert event. The default value is 0.
  32. $ref: /schemas/types.yaml#/definitions/uint32
  33. default: 0
  34. data-addr:
  35. description:
  36. Override fifo address with value provided by DT. The default FIFO reg
  37. offset is assumed as 0x100 (version < 0x240A) and 0x200(version >= 0x240A)
  38. by driver. If the controller does not follow this rule, please use
  39. this property to set fifo address in device tree.
  40. $ref: /schemas/types.yaml#/definitions/uint32
  41. fifo-watermark-aligned:
  42. description:
  43. Data done irq is expected if data length is less than
  44. watermark in PIO mode. But fifo watermark is requested to be aligned
  45. with data length in some SoC so that TX/RX irq can be generated with
  46. data done irq. Add this watermark quirk to mark this requirement and
  47. force fifo watermark setting accordingly.
  48. $ref: /schemas/types.yaml#/definitions/flag
  49. dmas:
  50. maxItems: 1
  51. dma-names:
  52. const: rx-tx
  53. additionalProperties: true