arm: mvebu: mcbin: dts: fix PCIe reset polarity
authorBaruch Siach <baruch@tkos.co.il>
Sun, 3 Feb 2019 13:15:38 +0000 (15:15 +0200)
committerStefan Roese <sr@denx.de>
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 <baruch@tkos.co.il>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
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";
 };