ARM: dts: imx6: Fix PCIe reset GPIO polarity on Toradex Apalis Ixora
authorPetr Štetiar <ynezz@true.cz>
Fri, 1 Apr 2016 12:41:47 +0000 (14:41 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 20 Apr 2016 00:41:34 +0000 (19:41 -0500)
Adding reset-gpio-active-high boolean DT binding property, which we need to
make PCIe working on Apalis SoMs and not break old DTBs. While at it, I've
fixed comment and GPIO polarity.

On Apalis SoMs the GPIO1_IO28 used to PCIe reset is not connected directly
to PERST# PCIe signal, but it's ORed with RESETBMCU coming off the PMIC,
and thus is inverted, active-high.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/arm/boot/dts/imx6q-apalis-ixora.dts

index 2cba82d0d859b1a9db81ee57e81583df3a3684cc..4b533cb5c82ed5af6b7b7a0f7c71c48e80743fdc 100644 (file)
 };
 
 &pcie {
-       /* active-low meaning opposite of regular PERST# active-low polarity */
-       reset-gpio = <&gpio1 28 GPIO_ACTIVE_LOW>;
+       /* active-high meaning opposite of regular PERST# active-low polarity */
+       reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
+       reset-gpio-active-high;
        status = "okay";
 };