@@ -19,6 +19,7 @@ properties:
compatible:
enum:
- hisilicon,hi3798cv200-dw-mshc
+ - hisilicon,hi3798mv200-dw-mshc
reg:
maxItems: 1
@@ -27,14 +28,16 @@ properties:
maxItems: 1
clocks:
- maxItems: 4
+ maxItems: 5
clock-names:
+ minItems: 4
items:
- const: ciu
- const: biu
- const: ciu-sample
- const: ciu-drive
+ - const: sap-dll-mode
required:
- compatible
@@ -45,6 +48,27 @@ required:
allOf:
- $ref: synopsys-dw-mshc-common.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: hisilicon,hi3798mv200-dw-mshc
+
+ then:
+ properties:
+ clocks:
+ minItems: 5
+
+ clock-names:
+ minItems: 5
+
+ else:
+ properties:
+ clocks:
+ maxItems: 4
+
+ clock-names:
+ maxItems: 4
unevaluatedProperties: false