1

dt-bindings: PCI: xilinx-xdma: Add schemas for Xilinx QDMA PCIe Root Port Bridge

Add YAML devicetree schemas for Xilinx QDMA Soft IP PCIe Root Port
Bridge version 3.0.

Link: https://lore.kernel.org/linux-pci/20240811022345.1178203-2-thippesw@amd.com
Signed-off-by: Thippeswamy Havalige <thippesw@amd.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
This commit is contained in:
Thippeswamy Havalige 2024-08-11 07:53:44 +05:30 committed by Krzysztof Wilczyński
parent 0b93267adb
commit 899d548261
No known key found for this signature in database
GPG Key ID: 7C64768D3DE334E7

View File

@ -14,10 +14,21 @@ allOf:
properties: properties:
compatible: compatible:
const: xlnx,xdma-host-3.00 enum:
- xlnx,xdma-host-3.00
- xlnx,qdma-host-3.00
reg: reg:
maxItems: 1 items:
- description: configuration region and XDMA bridge register.
- description: QDMA bridge register.
minItems: 1
reg-names:
items:
- const: cfg
- const: breg
minItems: 1
ranges: ranges:
maxItems: 2 maxItems: 2
@ -76,6 +87,27 @@ required:
- "#interrupt-cells" - "#interrupt-cells"
- interrupt-controller - interrupt-controller
if:
properties:
compatible:
contains:
enum:
- xlnx,qdma-host-3.00
then:
properties:
reg:
minItems: 2
reg-names:
minItems: 2
required:
- reg-names
else:
properties:
reg:
maxItems: 1
reg-names:
maxItems: 1
unevaluatedProperties: false unevaluatedProperties: false
examples: examples: