ARM: mxs: Add default AUART2 pinmux
Subsystems (2)
PATCH 1/2 ARM: mxs: Add default AUART2 pinmux
Add pinmux for AUART2 pins where they are in mux0.
--- arch/arm/boot/dts/imx28.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm/boot/dts/imx28.dtsi +11 -0
@@ -308,6 +308,17 @@ fsl,pull-up = <0>; }; + auart2_2pins_b: auart2-2pins at 1 { + reg = <1>; + fsl,pinmux-ids = < + 0x3080 /* MX28_PAD_AUART2_RX__AUART2_RX */ + 0x3090 /* MX28_PAD_AUART2_TX__AUART2_TX */ + >; + fsl,drive-strength = <0>; + fsl,voltage = <1>; + fsl,pull-up = <0>; + }; + auart3_pins_a: auart3 at 0 { reg = <0>; fsl,pinmux-ids = <
Signature · 1 line
1.7.10.4
PATCH 2/2 ARM: mxs: Fix UARTs on M28EVK
Make use of RTS/CTS lines on AUART0 and register AUART1 and AUART2 which are routed onto a pin header.
--- arch/arm/boot/dts/imx28-m28evk.dts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx28-m28evk.dts +13 -1
@@ -195,7 +195,19 @@ auart0: serial at 8006a000 { pinctrl-names = "default"; - pinctrl-0 = <&auart0_2pins_a>; + pinctrl-0 = <&auart0_pins_a>; + status = "okay"; + }; + + auart1: serial at 8006c000 { + pinctrl-names = "default"; + pinctrl-0 = <&auart1_pins_a>; + status = "okay"; + }; + + auart2: serial at 8006e000 { + pinctrl-names = "default"; + pinctrl-0 = <&auart2_2pins_b>; status = "okay"; }; };
Signature · 1 line
1.7.10.4
PATCH 1/2 ARM: mxs: Add default AUART2 pinmux
In reply to Marek VasutQuoted 18 lines · Marek Vasut
Add pinmux for AUART2 pins where they are in mux0.
Signed-off-by Marek Vasut <[email protected]>Cc Shawn Guo <[email protected]>Cc Fabio Estevam <[email protected]>--- arch/arm/boot/dts/imx28.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)arch/arm/boot/dts/imx28.dtsi +1
-0@@ -308,6 +308,17 @@ fsl,pull-up = <0>; }; + auart2_2pins_b: auart2-2pins at 1 {
arch/arm/boot/dts/imx28.dtsi line 321
Quoted 10 lines
arch/arm/boot/dts/imx28.dtsi +10
-0+ reg = <1>; + fsl,pinmux-ids = < + 0x3080 /* MX28_PAD_AUART2_RX__AUART2_RX */ + 0x3090 /* MX28_PAD_AUART2_TX__AUART2_TX */ + >; + fsl,drive-strength = <0>; + fsl,voltage = <1>; + fsl,pull-up = <0>; + }; +
I already applied a same patch from Eric B?nard.
Shawn
Quoted 6 lines
arch/arm/boot/dts/imx28.dtsi +0
-0auart3_pins_a: auart3 at 0 { reg = <0>; fsl,pinmux-ids = <Signature · 1 line
1.7.10.4
Shawn Guo
AppliedPATCH 2/2 ARM: mxs: Fix UARTs on M28EVK
In reply to Marek VasutQuoted 6 lines · Marek Vasut
Make use of RTS/CTS lines on AUART0 and register AUART1 and AUART2 which are routed onto a pin header.
Signed-off-by Marek Vasut <[email protected]>Cc Shawn Guo <[email protected]>Cc Fabio Estevam <[email protected]>
Applied, thanks.
PATCH 1/2 ARM: mxs: Add default AUART2 pinmux
In reply to Shawn GuoDear Shawn Guo,
Quoted 17 lines · Marek Vasut
Quoted 16 lines
Add pinmux for AUART2 pins where they are in mux0.
Signed-off-by Marek Vasut <[email protected]>Cc Shawn Guo <[email protected]>Cc Fabio Estevam <[email protected]>---
arch/arm/boot/dts/imx28.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)arch/arm/boot/dts/imx28.dtsi +0
-0@@ -308,6 +308,17 @@
Quoted 8 lines
arch/arm/boot/dts/imx28.dtsi
Quoted 8 lines
arch/arm/boot/dts/imx28.dtsi +4
-0fsl,pull-up = <0>; }; + auart2_2pins_b: auart2-2pins at 1 { + reg = <1>; + fsl,pinmux-ids = < + 0x3080 /*
MX28_PAD_AUART2_RX__AUART2_RX */
Quoted 1 line
arch/arm/boot/dts/imx28.dtsi line 317
Quoted 1 line
arch/arm/boot/dts/imx28.dtsi +1
-0+ 0x3090 /*
MX28_PAD_AUART2_TX__AUART2_TX */
Quoted 9 lines
arch/arm/boot/dts/imx28.dtsi line 321
Quoted 6 lines
arch/arm/boot/dts/imx28.dtsi +6
-0+ >; + fsl,drive-strength = <0>; + fsl,voltage = <1>; + fsl,pull-up = <0>; + }; +I already applied a same patch from Eric B?nard.
Quoted 3 lines
Shawn
Ok, looks like Eric was much faster :-) Sorry, I was doing this patchset on 3.9.1 and didn't notice his patch.
Best regards,
Marek Vasut