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 <[email protected]>
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  - compatible
33  - reg
34
35unevaluatedProperties: false
36
37examples:
38  - |
39    mmc {
40      #address-cells = <1>;
41      #size-cells = <0>;
42      slot@0 {
43        compatible = "mmc-slot";
44        reg = <0>;
45        bus-width = <4>;
46      };
47    };
48
49...
50