dt-bindings: qspi: cdns,qspi-nor: Add clocks for StarFive JH7110 SoC
authorWilliam Qiu <william.qiu@starfivetech.com>
Fri, 4 Aug 2023 02:02:52 +0000 (10:02 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 4 Aug 2023 12:29:49 +0000 (13:29 +0100)
The QSPI controller needs three clock items to work properly on StarFive
JH7110 SoC, so there is need to change the maxItems's value to 3.

Signed-off-by: William Qiu <william.qiu@starfivetech.com>
Reviewed-by: Hal Feng <hal.feng@starfivetech.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230804020254.291239-2-william.qiu@starfivetech.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml

index 4f15f9a0cc34a5904b5b9f69e6c9078ff3711c73..cca81f89e252d55c0aeb7dcaac7caee6096bbf1a 100644 (file)
@@ -86,7 +86,17 @@ properties:
     maxItems: 1
 
   clocks:
-    maxItems: 1
+    minItems: 1
+    maxItems: 3
+
+  clock-names:
+    oneOf:
+      - items:
+          - const: ref
+      - items:
+          - const: ref
+          - const: ahb
+          - const: apb
 
   cdns,fifo-depth:
     description: