Skip to content

Commit ae19e5b

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 00870e7 commit ae19e5b

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
@@ -96,6 +104,15 @@ properties:
96104
minItems: 1
97105
maxItems: 3
98106

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

198+
- if:
199+
not:
200+
properties:
201+
compatible:
202+
contains:
203+
const: brcm,bcm2712-pcie
204+
then:
205+
properties:
206+
brcm,fifo-qos-map: false
207+
brcm,vdm-qos-map: false
208+
181209
unevaluatedProperties: false
182210

183211
examples:

0 commit comments

Comments
 (0)