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