Skip to content

Commit 7464fee

Browse files
dlan17storulf
authored andcommitted
dt-bindings: mmc: spacemit,sdhci: add support for K1 SoC
Add support for the SD/eMMC Host Controller found in SpacemiT K1 SoC, The controller supports data transmission of MMC, SDIO, SD protocol. Reviewed-by: Rob Herring (Arm) <[email protected]> Signed-off-by: Yixun Lan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent f0534aa commit 7464fee

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/mmc/spacemit,sdhci.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: SpacemiT SDHCI Controller
8+
9+
maintainers:
10+
- Yixun Lan <[email protected]>
11+
12+
allOf:
13+
- $ref: mmc-controller.yaml#
14+
15+
properties:
16+
compatible:
17+
const: spacemit,k1-sdhci
18+
19+
reg:
20+
maxItems: 1
21+
22+
interrupts:
23+
maxItems: 1
24+
25+
clocks:
26+
items:
27+
- description: core clock, used by internal controller
28+
- description: io clock, output for SD, SDIO, eMMC device
29+
30+
clock-names:
31+
items:
32+
- const: core
33+
- const: io
34+
35+
required:
36+
- compatible
37+
- reg
38+
- interrupts
39+
- clocks
40+
- clock-names
41+
42+
unevaluatedProperties: false
43+
44+
examples:
45+
- |
46+
mmc@d4281000 {
47+
compatible = "spacemit,k1-sdhci";
48+
reg = <0xd4281000 0x200>;
49+
interrupts = <101>;
50+
interrupt-parent = <&plic>;
51+
clocks = <&clk_apmu 10>, <&clk_apmu 13>;
52+
clock-names = "core", "io";
53+
};

0 commit comments

Comments
 (0)