]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: hisilicon: poplar: Correct PCIe reset GPIO polarity
authorShawn Guo <shawnguo@kernel.org>
Fri, 27 Feb 2026 07:19:58 +0000 (15:19 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Sat, 21 Mar 2026 03:37:31 +0000 (03:37 +0000)
The PCIe reset GPIO on Poplar is actually active low.  The active high
worked before because kernel driver didn't respect the setting from DT.
This is changed since commit 1d26a55fbeb9 ("PCI: histb: Switch to using
gpiod API"), and thus PCIe on Poplar got brken since then.

Fix the problem by correcting the polarity.

Fixes: 32fa01761bd9 ("arm64: dts: hi3798cv200: enable PCIe support for poplar board")
Cc: stable@vger.kernel.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts

index 7d370dac4c85710b43d7b8dc9d4bfe151b092afd..579d55daa7d04e69a6575c3c7830176ee9722783 100644 (file)
 };
 
 &pcie {
-       reset-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
+       reset-gpios = <&gpio4 4 GPIO_ACTIVE_LOW>;
        vpcie-supply = <&reg_pcie>;
        status = "okay";
 };