Skip to content

Commit a1360a6

Browse files
LorenzoBianconikwilczynski
authored andcommitted
dt-bindings: PCI: mediatek-gen3: Add mediatek,pbus-csr phandle array property
Introduce the mediatek,pbus-csr property for the pbus-csr syscon node available on EN7581 SoC. The Airoha pbus-csr block provides a configuration interface for the PBUS controller used to detect if a given address is accessible on PCIe controller. Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Lorenzo Bianconi <[email protected]> Link: https://lore.kernel.org/r/[email protected] [kwilczynski: commit log] Signed-off-by: Krzysztof Wilczyński <[email protected]>
1 parent b6d7bb0 commit a1360a6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,17 @@ properties:
109109
power-domains:
110110
maxItems: 1
111111

112+
mediatek,pbus-csr:
113+
$ref: /schemas/types.yaml#/definitions/phandle-array
114+
items:
115+
- items:
116+
- description: phandle to pbus-csr syscon
117+
- description: offset of pbus-csr base address register
118+
- description: offset of pbus-csr base address mask register
119+
description:
120+
Phandle with two arguments to the syscon node used to detect if
121+
a given address is accessible on PCIe controller.
122+
112123
'#interrupt-cells':
113124
const: 1
114125

@@ -168,6 +179,8 @@ allOf:
168179
minItems: 1
169180
maxItems: 2
170181

182+
mediatek,pbus-csr: false
183+
171184
- if:
172185
properties:
173186
compatible:
@@ -197,6 +210,8 @@ allOf:
197210
minItems: 1
198211
maxItems: 2
199212

213+
mediatek,pbus-csr: false
214+
200215
- if:
201216
properties:
202217
compatible:
@@ -224,6 +239,8 @@ allOf:
224239
minItems: 1
225240
maxItems: 2
226241

242+
mediatek,pbus-csr: false
243+
227244
- if:
228245
properties:
229246
compatible:

0 commit comments

Comments
 (0)