| 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 |
|
| 7 |
title: MMC slot properties |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Ulf Hansson <[email protected]> |
| 11 |
|
| 12 |
description: |
| 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 |
|
| 19 |
properties: |
| 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 |
|
| 31 |
required: |
| 32 |
- reg |
| 33 |
|
| 34 |
unevaluatedProperties: false |
| 35 |
|
| 36 |
examples: |
| 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 |
... |