Commit 7f08e806 authored by Jianjun Wang's avatar Jianjun Wang Committed by Lorenzo Pieralisi
Browse files

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/20220802120624.19258-1-jianjun.wang@mediatek.com


Signed-off-by: default avatarJianjun Wang <jianjun.wang@mediatek.com>
Signed-off-by: default avatarLorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent 568035b0
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -48,7 +48,13 @@ allOf:

properties:
  compatible:
    const: mediatek,mt8192-pcie
    oneOf:
      - items:
          - enum:
              - mediatek,mt8188-pcie
              - mediatek,mt8195-pcie
          - const: mediatek,mt8192-pcie
      - const: mediatek,mt8192-pcie

  reg:
    maxItems: 1
@@ -84,7 +90,9 @@ properties:
      - const: tl_96m
      - const: tl_32k
      - const: peri_26m
      - const: top_133m
      - enum:
          - top_133m        # for MT8192
          - peri_mem        # for MT8188/MT8195

  assigned-clocks:
    maxItems: 1
@@ -126,6 +134,7 @@ required:
  - interrupts
  - ranges
  - clocks
  - clock-names
  - '#interrupt-cells'
  - interrupt-controller