]> Git Repo - J-u-boot.git/commitdiff
arm: mvebu: mcbin: dts: fix PCIe reset polarity
authorBaruch Siach <[email protected]>
Sun, 3 Feb 2019 13:15:38 +0000 (15:15 +0200)
committerStefan Roese <[email protected]>
Mon, 11 Feb 2019 08:39:12 +0000 (09:39 +0100)
The PCIe slot PERST signal is active low. Fix the gpio signal
description in the dts.

This happened to work because the pcie_dw_mvebu driver sets the reset
gpio level to 1 (high) to release the reset. The following commit will
fix that.

Signed-off-by: Baruch Siach <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
arch/arm/dts/armada-8040-mcbin.dts

index 7e8e2f707ccfd178daf620522fefccb2bc0f26fc..5a046d9de4744468e7ea4779908c05687393c3da 100644 (file)
        num-lanes = <4>;
        pinctrl-names = "default";
        pinctrl-0 = <&cpm_pcie_reset_pins>;
-       marvell,reset-gpio = <&cpm_gpio1 20 GPIO_ACTIVE_HIGH>; /* GPIO[52] */
+       marvell,reset-gpio = <&cpm_gpio1 20 GPIO_ACTIVE_LOW>; /* GPIO[52] */
        status = "okay";
 };
 
This page took 0.038735 seconds and 4 git commands to generate.