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:
188655ff21SJohan Jonker    const: snps,dw-mshc
198655ff21SJohan Jonker
208655ff21SJohan Jonker  reg:
218655ff21SJohan Jonker    maxItems: 1
228655ff21SJohan Jonker
238655ff21SJohan Jonker  interrupts:
248655ff21SJohan Jonker    maxItems: 1
258655ff21SJohan Jonker
268655ff21SJohan Jonker  clocks:
278655ff21SJohan Jonker    minItems: 2
288655ff21SJohan Jonker    maxItems: 2
298655ff21SJohan Jonker    description:
308655ff21SJohan Jonker      Handle to "biu" and "ciu" clocks for the
318655ff21SJohan Jonker      bus interface unit clock and the card interface unit clock.
328655ff21SJohan Jonker
338655ff21SJohan Jonker  clock-names:
348655ff21SJohan Jonker    items:
358655ff21SJohan Jonker      - const: biu
368655ff21SJohan Jonker      - const: ciu
378655ff21SJohan Jonker
388655ff21SJohan Jonkerrequired:
398655ff21SJohan Jonker  - compatible
408655ff21SJohan Jonker  - reg
418655ff21SJohan Jonker  - interrupts
428655ff21SJohan Jonker  - clocks
438655ff21SJohan Jonker  - clock-names
448655ff21SJohan Jonker
456fdc6e23SRob HerringunevaluatedProperties: false
466fdc6e23SRob Herring
478655ff21SJohan Jonkerexamples:
488655ff21SJohan Jonker  - |
498655ff21SJohan Jonker    mmc@12200000 {
508655ff21SJohan Jonker      compatible = "snps,dw-mshc";
518655ff21SJohan Jonker      reg = <0x12200000 0x1000>;
528655ff21SJohan Jonker      interrupts = <0 75 0>;
538655ff21SJohan Jonker      clocks = <&clock 351>, <&clock 132>;
548655ff21SJohan Jonker      clock-names = "biu", "ciu";
558655ff21SJohan Jonker      dmas = <&pdma 12>;
568655ff21SJohan Jonker      dma-names = "rx-tx";
578655ff21SJohan Jonker      resets = <&rst 20>;
588655ff21SJohan Jonker      reset-names = "reset";
598655ff21SJohan Jonker      vmmc-supply = <&buck8>;
608655ff21SJohan Jonker      #address-cells = <1>;
618655ff21SJohan Jonker      #size-cells = <0>;
628655ff21SJohan Jonker      broken-cd;
638655ff21SJohan Jonker      bus-width = <8>;
648655ff21SJohan Jonker      cap-mmc-highspeed;
658655ff21SJohan Jonker      cap-sd-highspeed;
668655ff21SJohan Jonker      card-detect-delay = <200>;
67398b2500SJohan Jonker      max-frequency = <200000000>;
688655ff21SJohan Jonker      clock-frequency = <400000000>;
698655ff21SJohan Jonker      data-addr = <0x200>;
708655ff21SJohan Jonker      fifo-depth = <0x80>;
718655ff21SJohan Jonker      fifo-watermark-aligned;
728655ff21SJohan Jonker    };
73