aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorSebastian Reichel2021-08-04 18:22:54 +0200
committerStefano Babic2021-08-09 14:46:50 +0200
commit3bbc48e8f199055dfc45536d9654f71be6a796ae (patch)
tree6515a55b585f9e0b2400d5da2bf7a05487847325 /arch/arm
parent0ac226b3c6b7517763c52bb00907dbca08392ee8 (diff)
board: ge: bx50v3: Add PCIe reset to DT
Add PCIe reset gpio to the Bx50v3 devicetree and get get rid of CONFIG_PCIE_IMX_PERST_GPIO. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/imx6q-bx50v3-uboot.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6q-bx50v3-uboot.dtsi b/arch/arm/dts/imx6q-bx50v3-uboot.dtsi
index b54e8e6ada7..0253d2fa6f5 100644
--- a/arch/arm/dts/imx6q-bx50v3-uboot.dtsi
+++ b/arch/arm/dts/imx6q-bx50v3-uboot.dtsi
@@ -47,3 +47,13 @@
phy-reset-duration = <1>;
phy-reset-post-delay = <0>;
};
+
+/*
+ * PCIe reset is not done in the file shared with the kernel, since
+ * this GPIO also resets other peripherals (i.e. not just PCIe).
+ * These peripherals are being initialized by U-Boot and should not
+ * be reset by the kernel, so it may not reset PCIe via this GPIO.
+ */
+&pcie {
+ reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>;
+};