Skip to content

Commit 7f08e80

Browse files
wang-jianjunLorenzo Pieralisi
authored andcommitted
dt-bindings: PCI: mediatek-gen3: Add support for MT8188 and MT8195
MT8188 and MT8195 are ARM platform SoCs with the same PCIe IP as MT8192. Also add new clock name "peri_mem" since the MT8188 and MT8195 use clock "peri_mem" instead of "top_133m". Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jianjun Wang <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]>
1 parent 568035b commit 7f08e80

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,13 @@ allOf:
4848

4949
properties:
5050
compatible:
51-
const: mediatek,mt8192-pcie
51+
oneOf:
52+
- items:
53+
- enum:
54+
- mediatek,mt8188-pcie
55+
- mediatek,mt8195-pcie
56+
- const: mediatek,mt8192-pcie
57+
- const: mediatek,mt8192-pcie
5258

5359
reg:
5460
maxItems: 1
@@ -84,7 +90,9 @@ properties:
8490
- const: tl_96m
8591
- const: tl_32k
8692
- const: peri_26m
87-
- const: top_133m
93+
- enum:
94+
- top_133m # for MT8192
95+
- peri_mem # for MT8188/MT8195
8896

8997
assigned-clocks:
9098
maxItems: 1
@@ -126,6 +134,7 @@ required:
126134
- interrupts
127135
- ranges
128136
- clocks
137+
- clock-names
129138
- '#interrupt-cells'
130139
- interrupt-controller
131140

0 commit comments

Comments
 (0)