Skip to content

Commit 4436673

Browse files
tmaimonUlf Hansson
authored andcommitted
dt-bindings: mmc: npcm,sdhci: Document NPCM SDHCI controller
Add binding for Nuvoton NPCM SDHCI controller. Signed-off-by: Tomer Maimon <tmaimon77@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20231002200610.129799-2-tmaimon77@gmail.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 4261ff5 commit 4436673

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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+
};

0 commit comments

Comments
 (0)