Skip to contentSkip to conversation

ARM: dts: imx6q{dl}: add a new pinctrl for uart3

PATCH New Huang Shijie 2 participants 3 messages Jul 10, 2013 – Jul 12, 2013

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

PATCH 1/2 ARM: dts: imx6q{dl}: add a new pinctrl for uart3

Add the a new pinctrl for uart3. In the imx6q{dl}-sabreauto boards, the uart3 is used for Bluetooth.

---
 arch/arm/boot/dts/imx6dl.dtsi |   11 +++++++++++
 arch/arm/boot/dts/imx6q.dtsi  |   11 +++++++++++
 2 files changed, 22 insertions(+), 0 deletions(-)
arch/arm/boot/dts/imx6dl.dtsi +11 -0
index a1302ed..d818ced 100644
@@ -234,6 +234,17 @@
 					};
 				};
 
+				uart3 {
+					pinctrl_uart3_1: uart3grp-1 {
+						fsl,pins = <
+							MX6DL_PAD_SD4_CLK__UART3_RX_DATA 0x1b0b1
+							MX6DL_PAD_SD4_CMD__UART3_TX_DATA 0x1b0b1
+							MX6DL_PAD_EIM_D30__UART3_CTS_B   0x1b0b1
+							MX6DL_PAD_EIM_EB3__UART3_RTS_B   0x1b0b1
+						>;
+					};
+				};
+
 				uart4 {
 					pinctrl_uart4_1: uart4grp-1 {
 						fsl,pins = <
arch/arm/boot/dts/imx6q.dtsi +11 -0
index e0b7bad..1984ca4 100644
@@ -277,6 +277,17 @@
 					};
 				};
 
+				uart3 {
+					pinctrl_uart3_1: uart3grp-1 {
+						fsl,pins = <
+							MX6Q_PAD_SD4_CLK__UART3_RX_DATA 0x1b0b1
+							MX6Q_PAD_SD4_CMD__UART3_TX_DATA 0x1b0b1
+							MX6Q_PAD_EIM_D30__UART3_CTS_B   0x1b0b1
+							MX6Q_PAD_EIM_EB3__UART3_RTS_B   0x1b0b1
+						>;
+					};
+				};
+
 				uart4 {
 					pinctrl_uart4_1: uart4grp-1 {
 						fsl,pins = <
Signature · 1 line
1.7.1
#1 lore raw

PATCH 2/2 ARM: dts: imx6q{dl}-sabreauto: add a DT node for uart3

Add a dt node for uart3, in the imx6q{dl}-sabreauto boards, the uart3 is used by Bluetooth.

Since the uart3 has pin conflict with gpmi and weim nor, we keep it disabled by default.

---
 arch/arm/boot/dts/imx6qdl-sabreauto.dtsi |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +9 -0
index e994011..765c9d5 100644
@@ -45,6 +45,15 @@
 	status = "okay";
 };
 
+&uart3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_uart3_1>;
+	fsl,uart-has-rtscts;
+	dma-names = "rx", "tx";
+	dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
+	status = "disabled"; /* used by the BT, pin conflict with gpmi and weim NOR */
+};
+
 &uart4 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart4_1>;
Signature · 1 line
1.7.1
#2 lore raw

PATCH 1/2 ARM: dts: imx6q{dl}: add a new pinctrl for uart3

In reply to Huang Shijie
Quoted 4 lines · Huang Shijie

Add the a new pinctrl for uart3. In the imx6q{dl}-sabreauto boards, the uart3 is used for Bluetooth.

We have some pin groups tweaking happening in DTS files. Can you please rebase your patches on the latest imx/dt branch?

Shawn

Quoted 53 lines
---
 arch/arm/boot/dts/imx6dl.dtsi |   11 +++++++++++
 arch/arm/boot/dts/imx6q.dtsi  |   11 +++++++++++
 2 files changed, 22 insertions(+), 0 deletions(-)
arch/arm/boot/dts/imx6dl.dtsi +11 -0
index a1302ed..d818ced 100644
@@ -234,6 +234,17 @@
 					};
 				};
 
+				uart3 {
+					pinctrl_uart3_1: uart3grp-1 {
+						fsl,pins = <
+							MX6DL_PAD_SD4_CLK__UART3_RX_DATA 0x1b0b1
+							MX6DL_PAD_SD4_CMD__UART3_TX_DATA 0x1b0b1
+							MX6DL_PAD_EIM_D30__UART3_CTS_B   0x1b0b1
+							MX6DL_PAD_EIM_EB3__UART3_RTS_B   0x1b0b1
+						>;
+					};
+				};
+
 				uart4 {
 					pinctrl_uart4_1: uart4grp-1 {
 						fsl,pins = <
arch/arm/boot/dts/imx6q.dtsi +11 -0
index e0b7bad..1984ca4 100644
@@ -277,6 +277,17 @@
 					};
 				};
 
+				uart3 {
+					pinctrl_uart3_1: uart3grp-1 {
+						fsl,pins = <
+							MX6Q_PAD_SD4_CLK__UART3_RX_DATA 0x1b0b1
+							MX6Q_PAD_SD4_CMD__UART3_TX_DATA 0x1b0b1
+							MX6Q_PAD_EIM_D30__UART3_CTS_B   0x1b0b1
+							MX6Q_PAD_EIM_EB3__UART3_RTS_B   0x1b0b1
+						>;
+					};
+				};
+
 				uart4 {
 					pinctrl_uart4_1: uart4grp-1 {
 						fsl,pins = <
Signature · 1 line
1.7.1