xref: /freebsd/sys/contrib/device-tree/Bindings/mmc/owl-mmc.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/mmc/owl-mmc.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Actions Semi Owl SoCs SD/MMC/SDIO controller
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel VadotallOf:
10*cb7aa33aSEmmanuel Vadot  - $ref: mmc-controller.yaml
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotmaintainers:
13c66ec88fSEmmanuel Vadot  - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadotproperties:
16c66ec88fSEmmanuel Vadot  compatible:
176be33864SEmmanuel Vadot    oneOf:
186be33864SEmmanuel Vadot      - const: actions,owl-mmc
196be33864SEmmanuel Vadot      - items:
205def4c47SEmmanuel Vadot          - enum:
215def4c47SEmmanuel Vadot              - actions,s500-mmc
225def4c47SEmmanuel Vadot              - actions,s700-mmc
236be33864SEmmanuel Vadot          - const: actions,owl-mmc
24c66ec88fSEmmanuel Vadot
25c66ec88fSEmmanuel Vadot  reg:
26c66ec88fSEmmanuel Vadot    maxItems: 1
27c66ec88fSEmmanuel Vadot
28c66ec88fSEmmanuel Vadot  interrupts:
29c66ec88fSEmmanuel Vadot    maxItems: 1
30c66ec88fSEmmanuel Vadot
31c66ec88fSEmmanuel Vadot  clocks:
32c66ec88fSEmmanuel Vadot    minItems: 1
33c66ec88fSEmmanuel Vadot
34c66ec88fSEmmanuel Vadot  resets:
35c66ec88fSEmmanuel Vadot    maxItems: 1
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadot  dmas:
38c66ec88fSEmmanuel Vadot    maxItems: 1
39c66ec88fSEmmanuel Vadot
40c66ec88fSEmmanuel Vadot  dma-names:
41c66ec88fSEmmanuel Vadot    const: mmc
42c66ec88fSEmmanuel Vadot
43c66ec88fSEmmanuel Vadotrequired:
44c66ec88fSEmmanuel Vadot  - compatible
45c66ec88fSEmmanuel Vadot  - reg
46c66ec88fSEmmanuel Vadot  - interrupts
47c66ec88fSEmmanuel Vadot  - clocks
48c66ec88fSEmmanuel Vadot  - resets
49c66ec88fSEmmanuel Vadot  - dmas
50c66ec88fSEmmanuel Vadot  - dma-names
51c66ec88fSEmmanuel Vadot
526be33864SEmmanuel VadotunevaluatedProperties: false
536be33864SEmmanuel Vadot
54c66ec88fSEmmanuel Vadotexamples:
55c66ec88fSEmmanuel Vadot  - |
56c66ec88fSEmmanuel Vadot    mmc0: mmc@e0330000 {
57c66ec88fSEmmanuel Vadot        compatible = "actions,owl-mmc";
58c66ec88fSEmmanuel Vadot        reg = <0xe0330000 0x4000>;
59c66ec88fSEmmanuel Vadot        interrupts = <0 42 4>;
60c66ec88fSEmmanuel Vadot        clocks = <&cmu 56>;
61c66ec88fSEmmanuel Vadot        resets = <&cmu 23>;
62c66ec88fSEmmanuel Vadot        dmas = <&dma 2>;
63c66ec88fSEmmanuel Vadot        dma-names = "mmc";
64c66ec88fSEmmanuel Vadot        bus-width = <4>;
65c66ec88fSEmmanuel Vadot    };
66c66ec88fSEmmanuel Vadot
67c66ec88fSEmmanuel Vadot...
68