Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 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 | |
| 7 | title: MMC Card / eMMC Generic |
| 8 | |
| 9 | maintainers: |
| 10 | - Ulf Hansson <ulf.hansson@linaro.org> |
| 11 | |
| 12 | description: | |
| 13 | This documents describes the devicetree bindings for a mmc-host controller |
| 14 | child node describing a mmc-card / an eMMC. |
| 15 | |
| 16 | properties: |
| 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 | |
| 29 | required: |
| 30 | - compatible |
| 31 | - reg |
| 32 | |
| 33 | additionalProperties: false |
| 34 | |
| 35 | examples: |
| 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 | ... |