Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mmc/mmc-card.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: MMC Card / eMMC Generic Device Tree Bindings
0008 
0009 maintainers:
0010   - Ulf Hansson <ulf.hansson@linaro.org>
0011 
0012 description: |
0013   This documents describes the devicetree bindings for a mmc-host controller
0014   child node describing a mmc-card / an eMMC.
0015 
0016 properties:
0017   compatible:
0018     const: mmc-card
0019 
0020   reg:
0021     const: 0
0022 
0023   broken-hpi:
0024     $ref: /schemas/types.yaml#/definitions/flag
0025     description:
0026       Use this to indicate that the mmc-card has a broken hpi
0027       implementation, and that hpi should not be used.
0028 
0029 required:
0030   - compatible
0031   - reg
0032 
0033 additionalProperties: false
0034 
0035 examples:
0036   - |
0037     mmc {
0038         #address-cells = <1>;
0039         #size-cells = <0>;
0040 
0041         card@0 {
0042             compatible = "mmc-card";
0043             reg = <0>;
0044             broken-hpi;
0045         };
0046     };
0047 
0048 ...