xref: /freebsd/sys/contrib/device-tree/Bindings/mmc/synopsys-dw-mshc.yaml (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mmc/synopsys-dw-mshc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Synopsys Designware Mobile Storage Host Controller Binding
8
9allOf:
10  - $ref: "synopsys-dw-mshc-common.yaml#"
11
12maintainers:
13  - Ulf Hansson <ulf.hansson@linaro.org>
14
15# Everything else is described in the common file
16properties:
17  compatible:
18    const: snps,dw-mshc
19
20  reg:
21    maxItems: 1
22
23  interrupts:
24    maxItems: 1
25
26  clocks:
27    minItems: 2
28    maxItems: 2
29    description:
30      Handle to "biu" and "ciu" clocks for the
31      bus interface unit clock and the card interface unit clock.
32
33  clock-names:
34    items:
35      - const: biu
36      - const: ciu
37
38required:
39  - compatible
40  - reg
41  - interrupts
42  - clocks
43  - clock-names
44
45examples:
46  - |
47    mmc@12200000 {
48      compatible = "snps,dw-mshc";
49      reg = <0x12200000 0x1000>;
50      interrupts = <0 75 0>;
51      clocks = <&clock 351>, <&clock 132>;
52      clock-names = "biu", "ciu";
53      dmas = <&pdma 12>;
54      dma-names = "rx-tx";
55      resets = <&rst 20>;
56      reset-names = "reset";
57      vmmc-supply = <&buck8>;
58      #address-cells = <1>;
59      #size-cells = <0>;
60      broken-cd;
61      bus-width = <8>;
62      cap-mmc-highspeed;
63      cap-sd-highspeed;
64      card-detect-delay = <200>;
65      max-frequency = <200000000>;
66      clock-frequency = <400000000>;
67      data-addr = <0x200>;
68      fifo-depth = <0x80>;
69      fifo-watermark-aligned;
70    };
71