xref: /linux/Documentation/devicetree/bindings/mmc/mmc-slot.yaml (revision bbfd5594756011167b8f8de9a00e0c946afda1e6)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mmc/mmc-slot.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MMC slot properties
8
9maintainers:
10  - Ulf Hansson <ulf.hansson@linaro.org>
11
12description:
13  These properties defines slot properties for MMC controlers that
14  have multiple slots or ports provided by the same controller and
15  sharing the same resources.
16
17$ref: mmc-controller-common.yaml#
18
19properties:
20  $nodename:
21    pattern: "^slot(@.*)?$"
22
23  compatible:
24    const: mmc-slot
25
26  reg:
27    description:
28      the slot (or "port") ID
29    maxItems: 1
30
31required:
32  - reg
33
34unevaluatedProperties: false
35
36examples:
37  - |
38    mmc {
39      #address-cells = <1>;
40      #size-cells = <0>;
41      slot@0 {
42        compatible = "mmc-slot";
43        reg = <0>;
44        bus-width = <4>;
45      };
46    };
47
48...
49