Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mmc/synopsys-dw-mshc-common.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Synopsys Designware Mobile Storage Host Controller Common Properties
0008 
0009 allOf:
0010   - $ref: "mmc-controller.yaml#"
0011 
0012 maintainers:
0013   - Ulf Hansson <ulf.hansson@linaro.org>
0014 
0015 # Everything else is described in the common file
0016 properties:
0017   resets:
0018     maxItems: 1
0019 
0020   reset-names:
0021     const: reset
0022 
0023   clock-frequency:
0024     description:
0025       Should be the frequency (in Hz) of the ciu clock.  If this
0026       is specified and the ciu clock is specified then we'll try to set the ciu
0027       clock to this at probe time.
0028 
0029   fifo-depth:
0030     description:
0031       The maximum size of the tx/rx fifo's. If this property is not
0032       specified, the default value of the fifo size is determined from the
0033       controller registers.
0034     $ref: /schemas/types.yaml#/definitions/uint32
0035 
0036   card-detect-delay:
0037     description:
0038       Delay in milli-seconds before detecting card after card
0039       insert event. The default value is 0.
0040     $ref: /schemas/types.yaml#/definitions/uint32
0041     default: 0
0042 
0043   data-addr:
0044     description:
0045       Override fifo address with value provided by DT. The default FIFO reg
0046       offset is assumed as 0x100 (version < 0x240A) and 0x200(version >= 0x240A)
0047       by driver. If the controller does not follow this rule, please use
0048       this property to set fifo address in device tree.
0049     $ref: /schemas/types.yaml#/definitions/uint32
0050 
0051   fifo-watermark-aligned:
0052     description:
0053       Data done irq is expected if data length is less than
0054       watermark in PIO mode. But fifo watermark is requested to be aligned
0055       with data length in some SoC so that TX/RX irq can be generated with
0056       data done irq. Add this watermark quirk to mark this requirement and
0057       force fifo watermark setting accordingly.
0058     $ref: /schemas/types.yaml#/definitions/flag
0059 
0060   dmas:
0061     maxItems: 1
0062 
0063   dma-names:
0064     const: rx-tx
0065 
0066 additionalProperties: true