Skip to content

Commit 3e47bcc

Browse files
Sean Andersonbjorn-helgaas
authored andcommitted
dt-bindings: pci: xilinx-nwl: Add phys property
Add phys properties so Linux can power-on/configure the GTR transceivers (xlnx,zynqmp-psgtr-v1.1). Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Anderson <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]>
1 parent cfd6790 commit 3e47bcc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ properties:
6161
interrupt-map:
6262
maxItems: 4
6363

64+
phys:
65+
minItems: 1
66+
maxItems: 4
67+
description: One phy per logical lane, in order
68+
6469
power-domains:
6570
maxItems: 1
6671

@@ -110,6 +115,7 @@ examples:
110115
- |
111116
#include <dt-bindings/interrupt-controller/arm-gic.h>
112117
#include <dt-bindings/interrupt-controller/irq.h>
118+
#include <dt-bindings/phy/phy.h>
113119
#include <dt-bindings/power/xlnx-zynqmp-power.h>
114120
soc {
115121
#address-cells = <2>;
@@ -138,6 +144,7 @@ examples:
138144
<0x0 0x0 0x0 0x3 &pcie_intc 0x3>,
139145
<0x0 0x0 0x0 0x4 &pcie_intc 0x4>;
140146
msi-parent = <&nwl_pcie>;
147+
phys = <&psgtr 0 PHY_TYPE_PCIE 0 0>;
141148
power-domains = <&zynqmp_firmware PD_PCIE>;
142149
iommus = <&smmu 0x4d0>;
143150
pcie_intc: legacy-interrupt-controller {

0 commit comments

Comments
 (0)