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.yaml#
58655ff21SJohan Jonker$schema: http://devicetree.org/meta-schemas/core.yaml#
68655ff21SJohan Jonker
78655ff21SJohan Jonkertitle: Synopsys Designware Mobile Storage Host Controller Binding
88655ff21SJohan Jonker
98655ff21SJohan JonkerallOf:
108655ff21SJohan Jonker  - $ref: "synopsys-dw-mshc-common.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  compatible:
18*356f3f2cSKrzysztof Kozlowski    enum:
19*356f3f2cSKrzysztof Kozlowski      - altr,socfpga-dw-mshc
20*356f3f2cSKrzysztof Kozlowski      - img,pistachio-dw-mshc
21*356f3f2cSKrzysztof Kozlowski      - snps,dw-mshc
228655ff21SJohan Jonker
238655ff21SJohan Jonker  reg:
248655ff21SJohan Jonker    maxItems: 1
258655ff21SJohan Jonker
268655ff21SJohan Jonker  interrupts:
278655ff21SJohan Jonker    maxItems: 1
288655ff21SJohan Jonker
298655ff21SJohan Jonker  clocks:
308655ff21SJohan Jonker    minItems: 2
318655ff21SJohan Jonker    maxItems: 2
328655ff21SJohan Jonker    description:
338655ff21SJohan Jonker      Handle to "biu" and "ciu" clocks for the
348655ff21SJohan Jonker      bus interface unit clock and the card interface unit clock.
358655ff21SJohan Jonker
368655ff21SJohan Jonker  clock-names:
378655ff21SJohan Jonker    items:
388655ff21SJohan Jonker      - const: biu
398655ff21SJohan Jonker      - const: ciu
408655ff21SJohan Jonker
418655ff21SJohan Jonkerrequired:
428655ff21SJohan Jonker  - compatible
438655ff21SJohan Jonker  - reg
448655ff21SJohan Jonker  - interrupts
458655ff21SJohan Jonker  - clocks
468655ff21SJohan Jonker  - clock-names
478655ff21SJohan Jonker
486fdc6e23SRob HerringunevaluatedProperties: false
496fdc6e23SRob Herring
508655ff21SJohan Jonkerexamples:
518655ff21SJohan Jonker  - |
528655ff21SJohan Jonker    mmc@12200000 {
538655ff21SJohan Jonker      compatible = "snps,dw-mshc";
548655ff21SJohan Jonker      reg = <0x12200000 0x1000>;
558655ff21SJohan Jonker      interrupts = <0 75 0>;
568655ff21SJohan Jonker      clocks = <&clock 351>, <&clock 132>;
578655ff21SJohan Jonker      clock-names = "biu", "ciu";
588655ff21SJohan Jonker      dmas = <&pdma 12>;
598655ff21SJohan Jonker      dma-names = "rx-tx";
608655ff21SJohan Jonker      resets = <&rst 20>;
618655ff21SJohan Jonker      reset-names = "reset";
628655ff21SJohan Jonker      vmmc-supply = <&buck8>;
638655ff21SJohan Jonker      #address-cells = <1>;
648655ff21SJohan Jonker      #size-cells = <0>;
658655ff21SJohan Jonker      broken-cd;
668655ff21SJohan Jonker      bus-width = <8>;
678655ff21SJohan Jonker      cap-mmc-highspeed;
688655ff21SJohan Jonker      cap-sd-highspeed;
698655ff21SJohan Jonker      card-detect-delay = <200>;
70398b2500SJohan Jonker      max-frequency = <200000000>;
718655ff21SJohan Jonker      clock-frequency = <400000000>;
728655ff21SJohan Jonker      data-addr = <0x200>;
738655ff21SJohan Jonker      fifo-depth = <0x80>;
748655ff21SJohan Jonker      fifo-watermark-aligned;
758655ff21SJohan Jonker    };
76