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          - enum:
21              - actions,s500-mmc
22              - actions,s700-mmc
23          - const: actions,owl-mmc
24
25  reg:
26    maxItems: 1
27
28  interrupts:
29    maxItems: 1
30
31  clocks:
32    minItems: 1
33
34  resets:
35    maxItems: 1
36
37  dmas:
38    maxItems: 1
39
40  dma-names:
41    const: mmc
42
43required:
44  - compatible
45  - reg
46  - interrupts
47  - clocks
48  - resets
49  - dmas
50  - dma-names
51
52unevaluatedProperties: false
53
54examples:
55  - |
56    mmc0: mmc@e0330000 {
57        compatible = "actions,owl-mmc";
58        reg = <0xe0330000 0x4000>;
59        interrupts = <0 42 4>;
60        clocks = <&cmu 56>;
61        resets = <&cmu 23>;
62        dmas = <&dma 2>;
63        dma-names = "mmc";
64        bus-width = <4>;
65    };
66
67...
68