diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-06-05 13:22:20 -0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-06-07 11:36:44 +0800 |
commit | cc20028f68e760d6958e892aba1f9bafbce63e22 (patch) | |
tree | fbf1a730a4de94d2845b14a0b90ccc8624575ceb /arch/arm/boot/dts/imx6q-ba16.dtsi | |
parent | 3229f83bd8baf7bdbe8056e468743fdcba492e28 (diff) | |
download | lwn-cc20028f68e760d6958e892aba1f9bafbce63e22.tar.gz lwn-cc20028f68e760d6958e892aba1f9bafbce63e22.zip |
ARM: dts: imx6: Fix PCI GPIO reset polarity
The imx6 PCI driver ignores the GPIO polarity from 'reset-gpio' and
considers that the PCI reset is active low, unless the
property 'reset-gpio-active-high' is present.
Fix the device tree description by explicitly passing the
'GPIO_ACTIVE_LOW' flag to the 'reset-gpio' property.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6q-ba16.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6q-ba16.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6q-ba16.dtsi b/arch/arm/boot/dts/imx6q-ba16.dtsi index 14fa6b25dc45..5fcb0372d58b 100644 --- a/arch/arm/boot/dts/imx6q-ba16.dtsi +++ b/arch/arm/boot/dts/imx6q-ba16.dtsi @@ -321,7 +321,7 @@ &pcie { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pcie>; - reset-gpio = <&gpio7 12 GPIO_ACTIVE_HIGH>; + reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>; fsl,tx-swing-full = <103>; fsl,tx-swing-low = <103>; status = "okay"; |