From: Sherry Sun Date: Wed, 22 Apr 2026 09:35:44 +0000 (+0800) Subject: ARM: dts: imx7d: Add Root Port node and PERST property X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01f13c165d1c43b1c941875bfade26a279121829;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Frank Li --- diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts b/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts index a370e868cafec..0046b276b8b95 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts +++ b/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts @@ -456,10 +456,15 @@ }; &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>; +}; + ®_1p0d { vin-supply = <&sw2_reg>; }; diff --git a/arch/arm/boot/dts/nxp/imx/imx7d.dtsi b/arch/arm/boot/dts/nxp/imx/imx7d.dtsi index d961c61a93af5..3c5c1f2c14600 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7d.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7d.dtsi @@ -155,6 +155,17 @@ 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; + }; }; }; };