Skip to contentSkip to conversation

ARM: mxs: Add default AUART2 pinmux

PATCH New Marek Vasut 2 participants 5 messages May 10, 2013 – May 13, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: mxs: Add default AUART2 pinmux

Add pinmux for AUART2 pins where they are in mux0.

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 +11 -0
index 7ba4966..13799cf 100644
@@ -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
#1 lore raw

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.

Cc Shawn Guo <[email protected]>
Cc Fabio Estevam <[email protected]>
---
 arch/arm/boot/dts/imx28-m28evk.dts |   14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx28-m28evk.dts +13 -1
index fd36e1c..ed1f1c0 100644
@@ -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
#3 lore raw

PATCH 1/2 ARM: mxs: Add default AUART2 pinmux

In reply to Marek Vasut
Quoted 18 lines · Marek Vasut

Add pinmux for AUART2 pins where they are in mux0.

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
index 7ba4966..13799cf 100644
@@ -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

http://thread.gmane.org/gmane.linux.kernel/1471518/

Quoted 6 lines
arch/arm/boot/dts/imx28.dtsi +0 -0
 				auart3_pins_a: auart3 at 0 {
 					reg = <0>;
 					fsl,pinmux-ids = <
Signature · 1 line
1.7.10.4
#4 lore raw

PATCH 1/2 ARM: mxs: Add default AUART2 pinmux

Dear Shawn Guo,

Quoted 17 lines · Marek Vasut
Quoted 16 lines

Add pinmux for AUART2 pins where they are in mux0.

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
index 7ba4966..13799cf 100644
@@ -308,6 +308,17 @@
 
Quoted 8 lines

arch/arm/boot/dts/imx28.dtsi

Quoted 8 lines
arch/arm/boot/dts/imx28.dtsi +4 -0
 					fsl,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

http://thread.gmane.org/gmane.linux.kernel/1471518/

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