xref: /freebsd/sys/contrib/device-tree/Bindings/mmc/mmc-card.yaml (revision b197d4b893974c9eb4d7b38704c6d5c486235d6f)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mmc/mmc-card.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MMC Card / eMMC Generic Device Tree Bindings
8
9maintainers:
10  - Ulf Hansson <ulf.hansson@linaro.org>
11
12description: |
13  This documents describes the devicetree bindings for a mmc-host controller
14  child node describing a mmc-card / an eMMC.
15
16properties:
17  compatible:
18    const: mmc-card
19
20  reg:
21    const: 0
22
23  broken-hpi:
24    $ref: /schemas/types.yaml#/definitions/flag
25    description:
26      Use this to indicate that the mmc-card has a broken hpi
27      implementation, and that hpi should not be used.
28
29required:
30  - compatible
31  - reg
32
33additionalProperties: false
34
35examples:
36  - |
37    mmc {
38        #address-cells = <1>;
39        #size-cells = <0>;
40
41        card@0 {
42            compatible = "mmc-card";
43            reg = <0>;
44            broken-hpi;
45        };
46    };
47
48...
49