ARM: dts: imx6qdl-sabresd: Pass the correct PCI reset polarity
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 6 Jun 2016 02:00:47 +0000 (23:00 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sat, 11 Jun 2016 09:36:10 +0000 (17:36 +0800)
The PCI reset GPIO is active low, so represent it with the
GPIO_ACTIVE_LOW flag.

Even though the imx6 PCI driver will not take the polarity into account
in this case, it is better to provide a correct description in device-tree.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-sabresd.dtsi

index 5248e7b..bea707f 100644 (file)
 &pcie {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pcie>;
-       reset-gpio = <&gpio7 12 0>;
+       reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>;
        status = "okay";
 };