dt-bindings: PCI: microchip: increase number of items in ranges property
authorValentina Fernandez <valentina.fernandezalanis@microchip.com>
Wed, 27 Mar 2024 12:24:39 +0000 (12:24 +0000)
committerRob Herring (Arm) <robh@kernel.org>
Fri, 3 May 2024 14:22:22 +0000 (09:22 -0500)
Increase the number of items in the ranges property to allow up to 3
ranges. For example a prefetchable range, a non-prefetchable range
and an IO range, depending on configuration.

Signed-off-by: Valentina Fernandez <valentina.fernandezalanis@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240327-debunk-perky-f5514ca332be@spud
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml

index f7a3c26363556d4daf3050db4da74c221c7711db..e8212a05b7b13f68cf1bebf7224c6fd87ccd6d4d 100644 (file)
@@ -65,7 +65,8 @@ properties:
       - const: msi
 
   ranges:
-    maxItems: 1
+    minItems: 1
+    maxItems: 3
 
   dma-ranges:
     minItems: 1