1 # SPDX-License-Identifier: GPL-2.0-or-later
2 # Copyright 2019 IBM Corp.
5 $id: http://devicetree.org/schemas/mmc/aspeed,sdhci.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: ASPEED SD/SDIO/MMC Controller
11 - Andrew Jeffery <andrew@aj.id.au>
12 - Ryan Chen <ryanchen.aspeed@gmail.com>
15 The ASPEED SD/SDIO/eMMC controller exposes two slots implementing the SDIO
16 Host Specification v2.00, with 1 or 4 bit data buses, or an 8 bit data bus if
17 only a single slot is enabled.
19 The two slots are supported by a common configuration area. As the SDHCIs for
20 the slots are dependent on the common configuration area, they are described
26 - aspeed,ast2400-sd-controller
27 - aspeed,ast2500-sd-controller
28 - aspeed,ast2600-sd-controller
31 description: Common configuration registers
39 description: The SD/SDIO controller clock gate
45 - $ref: mmc-controller.yaml
49 - aspeed,ast2400-sdhci
50 - aspeed,ast2500-sdhci
51 - aspeed,ast2600-sdhci
54 description: The SDHCI registers
57 description: The SD bus clock
60 description: The SD interrupt shared between both slots
63 description: Specifies that controller should use auto CMD12
70 additionalProperties: false
82 #include <dt-bindings/clock/aspeed-clock.h>
84 compatible = "aspeed,ast2500-sd-controller";
85 reg = <0x1e740000 0x100>;
88 ranges = <0 0x1e740000 0x20000>;
89 clocks = <&syscon ASPEED_CLK_GATE_SDCLK>;
92 compatible = "aspeed,ast2500-sdhci";
96 clocks = <&syscon ASPEED_CLK_SDIO>;
100 compatible = "aspeed,ast2500-sdhci";
104 clocks = <&syscon ASPEED_CLK_SDIO>;