dt-bindings: mmc: sdhci-of-aspeed: Add AST2700 compatible

AST2700 SDHCI controller is fully compatible with AST2600.

However, it is necessary to take the AST2700 SD controller out of
reset, so require the 'resets' property.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Ryan Chen 2026-03-24 09:58:49 +08:00 committed by Ulf Hansson
parent 50d349cb70
commit 918d627c09

View File

@ -22,10 +22,15 @@ description: |+
properties:
compatible:
enum:
- aspeed,ast2400-sd-controller
- aspeed,ast2500-sd-controller
- aspeed,ast2600-sd-controller
oneOf:
- enum:
- aspeed,ast2400-sd-controller
- aspeed,ast2500-sd-controller
- aspeed,ast2600-sd-controller
- items:
- const: aspeed,ast2700-sd-controller
- const: aspeed,ast2600-sd-controller
reg:
maxItems: 1
description: Common configuration registers
@ -38,6 +43,9 @@ properties:
maxItems: 1
description: The SD/SDIO controller clock gate
resets:
maxItems: 1
patternProperties:
"^sdhci@[0-9a-f]+$":
type: object
@ -46,10 +54,15 @@ patternProperties:
properties:
compatible:
enum:
- aspeed,ast2400-sdhci
- aspeed,ast2500-sdhci
- aspeed,ast2600-sdhci
oneOf:
- enum:
- aspeed,ast2400-sdhci
- aspeed,ast2500-sdhci
- aspeed,ast2600-sdhci
- items:
- const: aspeed,ast2700-sdhci
- const: aspeed,ast2600-sdhci
reg:
maxItems: 1
description: The SDHCI registers
@ -78,6 +91,18 @@ required:
- ranges
- clocks
if:
properties:
compatible:
contains:
const: aspeed,ast2700-sd-controller
then:
required:
- resets
else:
properties:
resets: false
examples:
- |
#include <dt-bindings/clock/aspeed-clock.h>