Skip to content

Commit 1cb66af

Browse files
P33Mpopcornmix
authored andcommitted
dt-bindings: pci: pcie-brcmstb: add BCM2712-specific properties
There is configurable priority forwarding hardware in this variant of the Root Complex controller. Add optional properties to configure FIFO backpressure or Vendor-Defined Message priority forwarding. Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
1 parent f21dac8 commit 1cb66af

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ properties:
8484
$ref: /schemas/types.yaml#/definitions/string
8585
enum: [ safe, no-l1ss, default ]
8686

87+
brcm,fifo-qos-map:
88+
description: Array of u8 elements which assigns every per-TC FIFOs
89+
an AXI priority based on fullness quartile (backpressure signalling).
90+
Mutually exclusive with vdm-qos-map.
91+
$ref: /schemas/types.yaml#/definitions/uint8-array
92+
minItems: 4
93+
maxItems: 4
94+
8795
brcm,scb-sizes:
8896
description: u64 giving the 64bit PCIe memory
8997
viewport size of a memory controller. There may be up to
@@ -97,6 +105,15 @@ properties:
97105
minItems: 1
98106
maxItems: 3
99107

108+
brcm,vdm-qos-map:
109+
description: Array of u8 elements which assigns each per-TC FIFO
110+
a base AXI priority with automatic elevation depending on
111+
Vendor Messages from the EP - specifically, RP1.
112+
Mutually exclusive with fifo-qos-map.
113+
$ref: /schemas/types.yaml#/definitions/uint8-array
114+
minItems: 8
115+
maxItems: 8
116+
100117
resets:
101118
minItems: 1
102119
maxItems: 3
@@ -187,6 +204,17 @@ allOf:
187204
- resets
188205
- reset-names
189206

207+
- if:
208+
not:
209+
properties:
210+
compatible:
211+
contains:
212+
const: brcm,bcm2712-pcie
213+
then:
214+
properties:
215+
brcm,fifo-qos-map: false
216+
brcm,vdm-qos-map: false
217+
190218
unevaluatedProperties: false
191219

192220
examples:

0 commit comments

Comments
 (0)