1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mmc/owl-mmc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Actions Semi Owl SoCs SD/MMC/SDIO controller
8
9allOf:
10  - $ref: "mmc-controller.yaml"
11
12maintainers:
13  - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
14
15properties:
16  compatible:
17    oneOf:
18      - const: actions,owl-mmc
19      - items:
20          - const: actions,s700-mmc
21          - const: actions,owl-mmc
22
23  reg:
24    maxItems: 1
25
26  interrupts:
27    maxItems: 1
28
29  clocks:
30    minItems: 1
31
32  resets:
33    maxItems: 1
34
35  dmas:
36    maxItems: 1
37
38  dma-names:
39    const: mmc
40
41required:
42  - compatible
43  - reg
44  - interrupts
45  - clocks
46  - resets
47  - dmas
48  - dma-names
49
50unevaluatedProperties: false
51
52examples:
53  - |
54    mmc0: mmc@e0330000 {
55        compatible = "actions,owl-mmc";
56        reg = <0xe0330000 0x4000>;
57        interrupts = <0 42 4>;
58        clocks = <&cmu 56>;
59        resets = <&cmu 23>;
60        dmas = <&dma 2>;
61        dma-names = "mmc";
62        bus-width = <4>;
63    };
64
65...
66