@@ -10,18 +10,19 @@ maintainers:
- Ulf Hansson <ulf.hansson@linaro.org>
- Jisheng Zhang <Jisheng.Zhang@synaptics.com>
-allOf:
- - $ref: mmc-controller.yaml#
-
properties:
compatible:
- enum:
- - rockchip,rk3568-dwcmshc
- - rockchip,rk3588-dwcmshc
- - snps,dwcmshc-sdhci
- - sophgo,cv1800b-dwcmshc
- - sophgo,sg2002-dwcmshc
- - thead,th1520-dwcmshc
+ oneOf:
+ - items:
+ - const: rockchip,rk3576-dwcmshc
+ - const: rockchip,rk3588-dwcmshc
+ - enum:
+ - rockchip,rk3568-dwcmshc
+ - rockchip,rk3588-dwcmshc
+ - snps,dwcmshc-sdhci
+ - sophgo,cv1800b-dwcmshc
+ - sophgo,sg2002-dwcmshc
+ - thead,th1520-dwcmshc
reg:
maxItems: 1
@@ -38,7 +39,6 @@ properties:
- description: block clock for rockchip specified
- description: timer clock for rockchip specified
-
clock-names:
minItems: 1
items:
@@ -48,6 +48,9 @@ properties:
- const: block
- const: timer
+ power-domains:
+ maxItems: 1
+
resets:
maxItems: 5
@@ -63,7 +66,6 @@ properties:
description: Specify the number of delay for tx sampling.
$ref: /schemas/types.yaml#/definitions/uint8
-
required:
- compatible
- reg
@@ -71,6 +73,18 @@ required:
- clocks
- clock-names
+allOf:
+ - $ref: mmc-controller.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: rockchip,rk3576-dwcmshc
+ then:
+ properties:
+ power-domains:
+ minItems: 1
+
unevaluatedProperties: false
examples: