Commit cc20028f authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo

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: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 3229f83b
...@@ -321,7 +321,7 @@ rtc@32 { ...@@ -321,7 +321,7 @@ rtc@32 {
&pcie { &pcie {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcie>; 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-full = <103>;
fsl,tx-swing-low = <103>; fsl,tx-swing-low = <103>;
status = "okay"; status = "okay";
......
...@@ -435,7 +435,7 @@ MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x17059 ...@@ -435,7 +435,7 @@ MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x17059
&pcie { &pcie {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcie>; pinctrl-0 = <&pinctrl_pcie>;
reset-gpio = <&gpio4 8 0>; reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
}; };
......
...@@ -446,7 +446,7 @@ lvds-channel@0 { ...@@ -446,7 +446,7 @@ lvds-channel@0 {
&pcie { &pcie {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcie_novena>; pinctrl-0 = <&pinctrl_pcie_novena>;
reset-gpio = <&gpio3 29 GPIO_ACTIVE_HIGH>; reset-gpio = <&gpio3 29 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
}; };
......
...@@ -232,7 +232,7 @@ &ipu1_di0_disp0 { ...@@ -232,7 +232,7 @@ &ipu1_di0_disp0 {
&pcie { &pcie {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcie>; pinctrl-0 = <&pinctrl_pcie>;
reset-gpio = <&gpio6 2 GPIO_ACTIVE_HIGH>; reset-gpio = <&gpio6 2 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
}; };
......
...@@ -335,7 +335,7 @@ &gpmi { ...@@ -335,7 +335,7 @@ &gpmi {
}; };
&pcie { &pcie {
reset-gpio = <&gpio2 16 GPIO_ACTIVE_HIGH>; reset-gpio = <&gpio2 16 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
}; };
......
...@@ -374,7 +374,7 @@ MX6QDL_PAD_DISP0_DAT19__AUD5_RXD 0x130b0 ...@@ -374,7 +374,7 @@ MX6QDL_PAD_DISP0_DAT19__AUD5_RXD 0x130b0
&pcie { &pcie {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcie>; pinctrl-0 = <&pinctrl_pcie>;
reset-gpio = <&gpio4 17 0>; reset-gpio = <&gpio4 17 GPIO_ACTIVE_LOW>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -296,7 +296,7 @@ t_lcd: t_lcd_default { ...@@ -296,7 +296,7 @@ t_lcd: t_lcd_default {
&pcie { &pcie {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcie>; pinctrl-0 = <&pinctrl_pcie>;
reset-gpio = <&gpio4 10 GPIO_ACTIVE_HIGH>; reset-gpio = <&gpio4 10 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment