Skip to content

Commit b0dad28

Browse files
committed
dt-bindings: PCI: mediatek-gen3: Add support for MT7987
Add support for MT7987 SoC. Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
1 parent 7341f05 commit b0dad28

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ properties:
4949
- items:
5050
- enum:
5151
- mediatek,mt7986-pcie
52+
- mediatek,mt7987-pcie
5253
- mediatek,mt8188-pcie
5354
- mediatek,mt8195-pcie
5455
- const: mediatek,mt8192-pcie
@@ -276,6 +277,36 @@ allOf:
276277

277278
mediatek,pbus-csr: false
278279

280+
- if:
281+
properties:
282+
compatible:
283+
contains:
284+
enum:
285+
- mediatek,mt7987-pcie
286+
then:
287+
properties:
288+
clocks:
289+
minItems: 5
290+
maxItems: 5
291+
292+
clock-names:
293+
items:
294+
- const: pl_250m
295+
- const: tl_26m
296+
- const: peri_26m
297+
- const: top_133m
298+
- const: pextp_clk
299+
300+
resets:
301+
minItems: 1
302+
maxItems: 2
303+
304+
reset-names:
305+
minItems: 1
306+
maxItems: 2
307+
308+
mediatek,pbus-csr: false
309+
279310
- if:
280311
properties:
281312
compatible:

0 commit comments

Comments
 (0)