xref: /freebsd/sys/contrib/device-tree/Bindings/mmc/mmc-card.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/mmc/mmc-card.yaml#
58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
7*7ef62cebSEmmanuel Vadottitle: MMC Card / eMMC Generic
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotmaintainers:
108cc087a1SEmmanuel Vadot  - Ulf Hansson <ulf.hansson@linaro.org>
118cc087a1SEmmanuel Vadot
128cc087a1SEmmanuel Vadotdescription: |
138cc087a1SEmmanuel Vadot  This documents describes the devicetree bindings for a mmc-host controller
148cc087a1SEmmanuel Vadot  child node describing a mmc-card / an eMMC.
158cc087a1SEmmanuel Vadot
168cc087a1SEmmanuel Vadotproperties:
178cc087a1SEmmanuel Vadot  compatible:
188cc087a1SEmmanuel Vadot    const: mmc-card
198cc087a1SEmmanuel Vadot
208cc087a1SEmmanuel Vadot  reg:
218cc087a1SEmmanuel Vadot    const: 0
228cc087a1SEmmanuel Vadot
238cc087a1SEmmanuel Vadot  broken-hpi:
248cc087a1SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/flag
258cc087a1SEmmanuel Vadot    description:
268cc087a1SEmmanuel Vadot      Use this to indicate that the mmc-card has a broken hpi
278cc087a1SEmmanuel Vadot      implementation, and that hpi should not be used.
288cc087a1SEmmanuel Vadot
298cc087a1SEmmanuel Vadotrequired:
308cc087a1SEmmanuel Vadot  - compatible
318cc087a1SEmmanuel Vadot  - reg
328cc087a1SEmmanuel Vadot
338cc087a1SEmmanuel VadotadditionalProperties: false
348cc087a1SEmmanuel Vadot
358cc087a1SEmmanuel Vadotexamples:
368cc087a1SEmmanuel Vadot  - |
378cc087a1SEmmanuel Vadot    mmc {
388cc087a1SEmmanuel Vadot        #address-cells = <1>;
398cc087a1SEmmanuel Vadot        #size-cells = <0>;
408cc087a1SEmmanuel Vadot
418cc087a1SEmmanuel Vadot        card@0 {
428cc087a1SEmmanuel Vadot            compatible = "mmc-card";
438cc087a1SEmmanuel Vadot            reg = <0>;
448cc087a1SEmmanuel Vadot            broken-hpi;
458cc087a1SEmmanuel Vadot        };
468cc087a1SEmmanuel Vadot    };
478cc087a1SEmmanuel Vadot
488cc087a1SEmmanuel Vadot...
49