Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/mmc/npcm,sdhci.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: NPCM SDHCI Controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Tomer Maimon <tmaimon77@gmail.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: mmc-controller.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | enum: |
| 18 | - nuvoton,npcm750-sdhci |
| 19 | - nuvoton,npcm845-sdhci |
| 20 | |
| 21 | reg: |
| 22 | maxItems: 1 |
| 23 | |
| 24 | interrupts: |
| 25 | maxItems: 1 |
| 26 | |
| 27 | clocks: |
| 28 | maxItems: 1 |
| 29 | |
| 30 | required: |
| 31 | - compatible |
| 32 | - reg |
| 33 | - interrupts |
| 34 | - clocks |
| 35 | |
| 36 | unevaluatedProperties: false |
| 37 | |
| 38 | examples: |
| 39 | - | |
| 40 | mmc@f0840000 { |
| 41 | compatible = "nuvoton,npcm750-sdhci"; |
| 42 | reg = <0xf0840000 0x200>; |
| 43 | interrupts = <0 27 4>; |
| 44 | clocks = <&clk 4>; |
| 45 | }; |