Skip to content

Commit 0106b6c

Browse files
AngeloGioacchino Del RegnoMani-Sadhasivam
authored andcommitted
dt-bindings: PCI: mediatek-gen3: Add support for MT6991/MT8196
Add compatible strings for MT8196 and MT6991 (which are fully compatible between each other) and clock definitions. These new SoCs don't have tl_96m and tl_32k clocks, but need an AHB to APB bus clock and a low power clock. Signed-off-by: AngeloGioacchino Del Regno <[email protected]> [mani: changed 'maxItems' to 'minItems' for reset] Signed-off-by: Manivannan Sadhasivam <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent a895dc4 commit 0106b6c

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

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

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,12 @@ properties:
5252
- mediatek,mt8188-pcie
5353
- mediatek,mt8195-pcie
5454
- const: mediatek,mt8192-pcie
55+
- items:
56+
- enum:
57+
- mediatek,mt6991-pcie
58+
- const: mediatek,mt8196-pcie
5559
- const: mediatek,mt8192-pcie
60+
- const: mediatek,mt8196-pcie
5661
- const: airoha,en7581-pcie
5762

5863
reg:
@@ -212,6 +217,36 @@ allOf:
212217

213218
mediatek,pbus-csr: false
214219

220+
- if:
221+
properties:
222+
compatible:
223+
contains:
224+
enum:
225+
- mediatek,mt8196-pcie
226+
then:
227+
properties:
228+
clocks:
229+
minItems: 6
230+
231+
clock-names:
232+
items:
233+
- const: pl_250m
234+
- const: tl_26m
235+
- const: bus
236+
- const: low_power
237+
- const: peri_26m
238+
- const: peri_mem
239+
240+
resets:
241+
minItems: 2
242+
243+
reset-names:
244+
items:
245+
- const: phy
246+
- const: mac
247+
248+
mediatek,pbus-csr: false
249+
215250
- if:
216251
properties:
217252
compatible:

0 commit comments

Comments
 (0)