Skip to content

Commit 01f13c1

Browse files
SherrySun5nxpfrankli
authored andcommitted
ARM: dts: imx7d: Add Root Port node and PERST property
Since describing the PCIe PERST# property under Host Bridge node is now deprecated, it is recommended to add it to the Root Port node, so creating the Root Port node and add the reset-gpios property in Root Port. Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
1 parent f968404 commit 01f13c1

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,10 +456,15 @@
456456
};
457457

458458
&pcie {
459+
/* This property is deprecated, use reset-gpios from the Root Port node. */
459460
reset-gpio = <&extended_io 1 GPIO_ACTIVE_LOW>;
460461
status = "okay";
461462
};
462463

464+
&pcie_port0 {
465+
reset-gpios = <&extended_io 1 GPIO_ACTIVE_LOW>;
466+
};
467+
463468
&reg_1p0d {
464469
vin-supply = <&sw2_reg>;
465470
};

arch/arm/boot/dts/nxp/imx/imx7d.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,17 @@
155155
reset-names = "pciephy", "apps", "turnoff";
156156
fsl,imx7d-pcie-phy = <&pcie_phy>;
157157
status = "disabled";
158+
159+
pcie_port0: pcie@0 {
160+
compatible = "pciclass,0604";
161+
device_type = "pci";
162+
reg = <0x0 0x0 0x0 0x0 0x0>;
163+
bus-range = <0x01 0xff>;
164+
165+
#address-cells = <3>;
166+
#size-cells = <2>;
167+
ranges;
168+
};
158169
};
159170
};
160171
};

0 commit comments

Comments
 (0)