ARM: dts: imx6q{dl}: add a new pinctrl for uart3
Subsystems (2)
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.
Signed-off-by Huang Shijie <[email protected]>
--- 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
@@ -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
@@ -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
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.
Signed-off-by Huang Shijie <[email protected]>
--- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +9 -0
@@ -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
PATCH 1/2 ARM: dts: imx6q{dl}: add a new pinctrl for uart3
In reply to Huang ShijieQuoted 4 lines · Huang Shijie
Add the a new pinctrl for uart3. In the imx6q{dl}-sabreauto boards, the uart3 is used for Bluetooth.
Signed-off-by Huang Shijie <[email protected]>
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@@ -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@@ -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