[PATCH v3 3/7] dt-bindings: PCI: mvebu: Add orion5x compatible

From: Pali Rohár
Date: Mon Sep 05 2022 - 15:25:21 EST


From: Mauri Sandberg <maukka@xxxxxxxxxxxx>

Add a compatible string to bindings to indicate that orion5x PCIe is
supported too. Orion requires additional bindings for config space
registers.

Signed-off-by: Mauri Sandberg <maukka@xxxxxxxxxxxx>
Signed-off-by: Pali Rohár <pali@xxxxxxxxxx>
---
Changes in v3:
* Add more detailed information about MMIO registers
---
Documentation/devicetree/bindings/pci/mvebu-pci.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/pci/mvebu-pci.txt b/Documentation/devicetree/bindings/pci/mvebu-pci.txt
index 8f0bca42113f..d8d6afc6376a 100644
--- a/Documentation/devicetree/bindings/pci/mvebu-pci.txt
+++ b/Documentation/devicetree/bindings/pci/mvebu-pci.txt
@@ -7,6 +7,7 @@ Mandatory properties:
marvell,armada-xp-pcie
marvell,dove-pcie
marvell,kirkwood-pcie
+ marvell,orion5x-pcie
- #address-cells, set to <3>
- #size-cells, set to <2>
- #interrupt-cells, set to <1>
@@ -60,7 +61,8 @@ PCIe interface, having the following mandatory properties:
- reg: used only for interrupt mapping, so only the first four bytes
are used to refer to the correct bus number and device number.
- assigned-addresses: reference to the MMIO registers used to control
- this PCIe interface.
+ this PCIe interface. first value controls internal registers and
+ second value (Orion-specific) controls config space registers.
- clocks: the clock associated to this PCIe interface
- marvell,pcie-port: the physical PCIe port number
- status: either "disabled" or "okay"
--
2.20.1