Commit 78f10734 authored by Stefan Agner's avatar Stefan Agner Committed by Shawn Guo

ARM: dts: imx6q-apalis: mux RESET_MOCI# signal

The pinctrl properties on the IOMUXC node get overwritten by the
carrier board level device tree, hence the pinctrl_reset_moci
pinctrl does not get applied.

Associate the pinctrl_reset_moci pinctrl with the PCIe node where
we also make use of the pin as a reset GPIO.

Since the pin is muxed as a GPIO by default not muxing it explicitly
worked fine in practise.
Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 37f2c303
...@@ -196,6 +196,8 @@ &ldb { ...@@ -196,6 +196,8 @@ &ldb {
}; };
&pcie { &pcie {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_reset_moci>;
/* active-high meaning opposite of regular PERST# active-low polarity */ /* active-high meaning opposite of regular PERST# active-low polarity */
reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
reset-gpio-active-high; reset-gpio-active-high;
......
...@@ -196,6 +196,8 @@ &ldb { ...@@ -196,6 +196,8 @@ &ldb {
}; };
&pcie { &pcie {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_reset_moci>;
/* active-high meaning opposite of regular PERST# active-low polarity */ /* active-high meaning opposite of regular PERST# active-low polarity */
reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
reset-gpio-active-high; reset-gpio-active-high;
......
...@@ -200,6 +200,8 @@ &ldb { ...@@ -200,6 +200,8 @@ &ldb {
}; };
&pcie { &pcie {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_reset_moci>;
/* active-high meaning opposite of regular PERST# active-low polarity */ /* active-high meaning opposite of regular PERST# active-low polarity */
reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
reset-gpio-active-high; reset-gpio-active-high;
......
...@@ -482,10 +482,6 @@ &weim { ...@@ -482,10 +482,6 @@ &weim {
}; };
&iomuxc { &iomuxc {
/* pins used on module */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_reset_moci>;
pinctrl_apalis_gpio1: gpio2io04grp { pinctrl_apalis_gpio1: gpio2io04grp {
fsl,pins = < fsl,pins = <
MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x130b0 MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x130b0
......
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