]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: imx7d: Add Root Port node and PERST property
authorSherry Sun <sherry.sun@nxp.com>
Wed, 22 Apr 2026 09:35:44 +0000 (17:35 +0800)
committerFrank Li <Frank.Li@nxp.com>
Mon, 1 Jun 2026 15:12:52 +0000 (11:12 -0400)
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>
arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts
arch/arm/boot/dts/nxp/imx/imx7d.dtsi

index a370e868cafec0891f96ee64df31066ed2f5af79..0046b276b8b95eb80399085277500d957aa5c1dc 100644 (file)
 };
 
 &pcie {
+       /* This property is deprecated, use reset-gpios from the Root Port node. */
        reset-gpio = <&extended_io 1 GPIO_ACTIVE_LOW>;
        status = "okay";
 };
 
+&pcie_port0 {
+       reset-gpios = <&extended_io 1 GPIO_ACTIVE_LOW>;
+};
+
 &reg_1p0d {
        vin-supply = <&sw2_reg>;
 };
index d961c61a93af5f0f7600286a61f65afcdf899c59..3c5c1f2c1460080612d390f524699f5e2dfb584b 100644 (file)
                        reset-names = "pciephy", "apps", "turnoff";
                        fsl,imx7d-pcie-phy = <&pcie_phy>;
                        status = "disabled";
+
+                       pcie_port0: pcie@0 {
+                               compatible = "pciclass,0604";
+                               device_type = "pci";
+                               reg = <0x0 0x0 0x0 0x0 0x0>;
+                               bus-range = <0x01 0xff>;
+
+                               #address-cells = <3>;
+                               #size-cells = <2>;
+                               ranges;
+                       };
                };
        };
 };