Can I rewrite uart2 pin control define by uart3 tx,rx?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can I rewrite uart2 pin control define by uart3 tx,rx?

530 Views
陳冠儒
Contributor IV

Hi,All:

please look below:

uart2 {

pinctrl_uart2_1: uart2grp-1 {

fsl, pins = <

                               MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1

                               MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1

                 >;

       };

...

}

Can I rewrite so?    (in imx6qdl.dtsi uart2 block by write uart3 tx,rx define)

uart2 {

pinctrl_uart2_1: uart2grp-1 {

fsl, pins = <

MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1

MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1

>;

};

...

}

will have problems?

Because it seems to not pass in minicom text messages to the other party after I tested.

Labels (5)
0 Kudos
2 Replies

393 Views
igorpadykov
NXP Employee
NXP Employee

Hi

I am afraid it is not possible, it is necessary to use

pinctrl_uart3_1: uart3grp-1..     {  as in example

linux-2.6-imx.git - Freescale i.MX Linux Tree

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

393 Views
陳冠儒
Contributor IV

hi,igorpadkv:

thanks for your ans.

I would like to change with the uart3.

thanks for your help.

0 Kudos