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

dt-bindings: PCI: mediatek-gen3: Support mt8195

In order to support mt8195 pcie node, update the yaml to support new
properties of iommu and power-domain, and update the reset-names
property to allow only one 'mac' name.

Link: https://lore.kernel.org/r/20221103025656.8714-2-tinghan.shen@mediatek.com


Signed-off-by: default avatarJianjun Wang <jianjun.wang@mediatek.com>
Signed-off-by: default avatarTingHan Shen <tinghan.shen@mediatek.com>
Signed-off-by: default avatarLorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
parent 598418e6
Loading
Loading
Loading
Loading
+11 −2
Original line number Original line Diff line number Diff line
@@ -70,15 +70,21 @@ properties:
    minItems: 1
    minItems: 1
    maxItems: 8
    maxItems: 8


  iommu-map:
    maxItems: 1

  iommu-map-mask:
    const: 0

  resets:
  resets:
    minItems: 1
    minItems: 1
    maxItems: 2
    maxItems: 2


  reset-names:
  reset-names:
    minItems: 1
    minItems: 1
    maxItems: 2
    items:
    items:
      - const: phy
      enum: [ phy, mac ]
      - const: mac


  clocks:
  clocks:
    maxItems: 6
    maxItems: 6
@@ -107,6 +113,9 @@ properties:
    items:
    items:
      - const: pcie-phy
      - const: pcie-phy


  power-domains:
    maxItems: 1

  '#interrupt-cells':
  '#interrupt-cells':
    const: 1
    const: 1