18655ff21SJohan Jonker# SPDX-License-Identifier: GPL-2.0 28655ff21SJohan Jonker%YAML 1.2 38655ff21SJohan Jonker--- 48655ff21SJohan Jonker$id: http://devicetree.org/schemas/mmc/synopsys-dw-mshc-common.yaml# 58655ff21SJohan Jonker$schema: http://devicetree.org/meta-schemas/core.yaml# 68655ff21SJohan Jonker 78655ff21SJohan Jonkertitle: Synopsys Designware Mobile Storage Host Controller Common Properties 88655ff21SJohan Jonker 98655ff21SJohan JonkerallOf: 10*1e52a7e6SKrzysztof Kozlowski - $ref: mmc-controller.yaml# 118655ff21SJohan Jonker 128655ff21SJohan Jonkermaintainers: 138655ff21SJohan Jonker - Ulf Hansson <ulf.hansson@linaro.org> 148655ff21SJohan Jonker 158655ff21SJohan Jonker# Everything else is described in the common file 168655ff21SJohan Jonkerproperties: 178655ff21SJohan Jonker resets: 188655ff21SJohan Jonker maxItems: 1 198655ff21SJohan Jonker 208655ff21SJohan Jonker reset-names: 218655ff21SJohan Jonker const: reset 228655ff21SJohan Jonker 238655ff21SJohan Jonker clock-frequency: 248655ff21SJohan Jonker description: 258655ff21SJohan Jonker Should be the frequency (in Hz) of the ciu clock. If this 268655ff21SJohan Jonker is specified and the ciu clock is specified then we'll try to set the ciu 278655ff21SJohan Jonker clock to this at probe time. 288655ff21SJohan Jonker 298655ff21SJohan Jonker fifo-depth: 308655ff21SJohan Jonker description: 318655ff21SJohan Jonker The maximum size of the tx/rx fifo's. If this property is not 328655ff21SJohan Jonker specified, the default value of the fifo size is determined from the 338655ff21SJohan Jonker controller registers. 343d21a460SRob Herring $ref: /schemas/types.yaml#/definitions/uint32 358655ff21SJohan Jonker 368655ff21SJohan Jonker card-detect-delay: 378655ff21SJohan Jonker description: 388655ff21SJohan Jonker Delay in milli-seconds before detecting card after card 398655ff21SJohan Jonker insert event. The default value is 0. 403d21a460SRob Herring $ref: /schemas/types.yaml#/definitions/uint32 413d21a460SRob Herring default: 0 428655ff21SJohan Jonker 438655ff21SJohan Jonker data-addr: 448655ff21SJohan Jonker description: 458655ff21SJohan Jonker Override fifo address with value provided by DT. The default FIFO reg 468655ff21SJohan Jonker offset is assumed as 0x100 (version < 0x240A) and 0x200(version >= 0x240A) 478655ff21SJohan Jonker by driver. If the controller does not follow this rule, please use 488655ff21SJohan Jonker this property to set fifo address in device tree. 493d21a460SRob Herring $ref: /schemas/types.yaml#/definitions/uint32 508655ff21SJohan Jonker 518655ff21SJohan Jonker fifo-watermark-aligned: 528655ff21SJohan Jonker description: 538655ff21SJohan Jonker Data done irq is expected if data length is less than 548655ff21SJohan Jonker watermark in PIO mode. But fifo watermark is requested to be aligned 558655ff21SJohan Jonker with data length in some SoC so that TX/RX irq can be generated with 568655ff21SJohan Jonker data done irq. Add this watermark quirk to mark this requirement and 578655ff21SJohan Jonker force fifo watermark setting accordingly. 583d21a460SRob Herring $ref: /schemas/types.yaml#/definitions/flag 598655ff21SJohan Jonker 608655ff21SJohan Jonker dmas: 618655ff21SJohan Jonker maxItems: 1 628655ff21SJohan Jonker 638655ff21SJohan Jonker dma-names: 648655ff21SJohan Jonker const: rx-tx 656a0e321eSRob Herring 666a0e321eSRob HerringadditionalProperties: true 67