summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mmc/npcm,sdhci.yaml
blob: 196fdbfa16ed33227d2f4f2b9165ad79c16ef284 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mmc/npcm,sdhci.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NPCM SDHCI Controller

maintainers:
  - Tomer Maimon <tmaimon77@gmail.com>

allOf:
  - $ref: mmc-controller.yaml#

properties:
  compatible:
    enum:
      - nuvoton,npcm750-sdhci
      - nuvoton,npcm845-sdhci

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts
  - clocks

unevaluatedProperties: false

examples:
  - |
    mmc@f0840000 {
      compatible = "nuvoton,npcm750-sdhci";
      reg = <0xf0840000 0x200>;
      interrupts = <0 27 4>;
      clocks = <&clk 4>;
    };