xref: /linux/Documentation/devicetree/bindings/mmc/ti,da830-mmc.yaml (revision dd463c51a327d341d3ece63dd50e1a0f8f09c468)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mmc/ti,da830-mmc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: TI Highspeed MMC host controller for DaVinci
8
9description:
10  The Highspeed MMC Host Controller on TI DaVinci family
11  provides an interface for MMC, SD and SDIO types of memory cards.
12
13allOf:
14  - $ref: mmc-controller.yaml
15
16maintainers:
17  - Kishon Vijay Abraham I <kishon@kernel.org>
18
19properties:
20  compatible:
21    enum:
22      - ti,da830-mmc
23      - ti,dm355-mmc
24
25  reg:
26    maxItems: 1
27
28  clocks:
29    maxItems: 1
30
31  interrupts:
32    maxItems: 2
33
34  dmas:
35    maxItems: 2
36
37  dma-names:
38    items:
39      - const: rx
40      - const: tx
41
42required:
43  - compatible
44  - reg
45
46unevaluatedProperties: false
47
48examples:
49  - |
50    #include <dt-bindings/interrupt-controller/irq.h>
51    mmc@1c40000 {
52        compatible = "ti,da830-mmc";
53        reg = <0x40000 0x1000>;
54        interrupts = <16 IRQ_TYPE_LEVEL_HIGH>,
55                     <17 IRQ_TYPE_LEVEL_HIGH>;
56        bus-width = <4>;
57        max-frequency = <50000000>;
58        dmas = <&edma 16>, <&edma 17>;
59        dma-names = "rx", "tx";
60    };
61...
62