aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/pci
diff options
context:
space:
mode:
authorGravatar Jianjun Wang <jianjun.wang@mediatek.com> 2022-11-03 10:56:54 +0800
committerGravatar Lorenzo Pieralisi <lpieralisi@kernel.org> 2022-11-10 16:14:52 +0100
commitc9bfd858402c86b6559aa05227eb5dbae3ce862e (patch)
treeaa19106cdbae4a023f52527a434814cc8fb686e0 /Documentation/devicetree/bindings/pci
parentdt-bindings: PCI: ti,j721e-pci-*: Add missing interrupt properties (diff)
downloadlinux-c9bfd858402c86b6559aa05227eb5dbae3ce862e.tar.gz
linux-c9bfd858402c86b6559aa05227eb5dbae3ce862e.tar.bz2
linux-c9bfd858402c86b6559aa05227eb5dbae3ce862e.zip
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: Jianjun Wang <jianjun.wang@mediatek.com> Signed-off-by: TingHan Shen <tinghan.shen@mediatek.com> Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/pci')
-rw-r--r--Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml13
1 files changed, 11 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
index c00be39af64e..bc90f0ec7bd9 100644
--- a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
+++ b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
@@ -70,15 +70,21 @@ properties:
minItems: 1
maxItems: 8
+ iommu-map:
+ maxItems: 1
+
+ iommu-map-mask:
+ const: 0
+
resets:
minItems: 1
maxItems: 2
reset-names:
minItems: 1
+ maxItems: 2
items:
- - const: phy
- - const: mac
+ enum: [ phy, mac ]
clocks:
maxItems: 6
@@ -107,6 +113,9 @@ properties:
items:
- const: pcie-phy
+ power-domains:
+ maxItems: 1
+
'#interrupt-cells':
const: 1