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