summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-11-03 17:43:17 +0100
committerPhilippe Schenker <philippe.schenker@toradex.com>2020-11-06 13:38:04 +0000
commit28311f851f7a8492d96b9f11ccdc51b7aca7a451 (patch)
tree814d06c7a0abb41a9400a439271ba9b08b63bbaa /arch
parentc0b2171a445683113dbbd268ee43bac87782e8d7 (diff)
ARM64: dts: apalis-imx8x: add workaround for pcie problem
Currently the PCIe switch on the eval-board is not working. As the carrier-board reset is controlled by the PCIe driver this reset never gets deasserted. This is a workaround until PCIe works properly. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8qxp-apalis.dtsi11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-apalis.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-apalis.dtsi
index 495b910706e9..3577bbea964a 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp-apalis.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp-apalis.dtsi
@@ -1196,6 +1196,12 @@
"MXM3_77",
"MXM3_79",
"MXM3_65";
+
+ reset {
+ gpio-hog;
+ gpios = <&lsio_gpio4 1 GPIO_ACTIVE_LOW>;
+ output-high;
+ };
};
&lsio_gpio5 {
@@ -1235,7 +1241,10 @@
ext_osc = <0>;
fsl,max-link-speed = <2>;
reserved-region = <&rpmsg_reserved>;
- reset-gpio = <&lsio_gpio4 1 GPIO_ACTIVE_LOW>;
+ /*
+ * Workaround: Handle reset as a gpio-hog in &lsio_gpio4
+ * reset-gpio = <&lsio_gpio4 1 GPIO_ACTIVE_LOW>;
+ */
vpcie-supply = <&reg_pcie_switch>;
};