enabling uart for MCIMX6DLAICPU2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

enabling uart for MCIMX6DLAICPU2

1,072件の閲覧回数
abhirupmitra
Contributor II

Hi ,

In the MCIMX6DLAICPU2 card there are 5 uarts out of which two are enabled and we want to enable remaining.

We changed in imx6qdl-sabreauto.dtsi and imx6qdl.dtsi files to enable uart1 , uart2 and uart5. But after flashing the images

in board prompt , it is showing :

/dev/ttymxc2 and /dev/ttymxc3 which was already there/

How to enable them so that it is visible in /dev ?

Please let me know if something else has to be done.

Thanks,

Abhirup Mitra

0 件の賞賛
返信
2 返答(返信)

888件の閲覧回数
abhirupmitra
Contributor II

Hi ,

Thanks for that Joan Xie.

we added

  pinctrl_uart2: uart2grp {
                        fsl,pins = <
                                MX6QDL_PAD_GPIO_7__UART2_TX_DATA      0x1b0b1
                                MX6QDL_PAD_GPIO_8__UART2_RX_DATA      0x1b0b1
                                MX6QDL_PAD_SD4_DAT5__UART2_RTS_B      0x1b0b1
                                MX6QDL_PAD_SD4_DAT6__UART2_CTS_B      0x1b0b1
                                
                        >;
                };

in imx6qdl-sabreauto.dtsi file for enabling uart.

Also we added:

 

&uart2 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_uart2>;
        status = "okay";
};

in the same file .
we are able to get /dev/ttymxc1 when we boot up the board but we are unable to communicate with hardware.
In your link I came to know that Tx and Rx pins are changed for Uart1 and Uart4, but I am afraid since in my case /dev/ttymxc3 and /dev/ttymxc2
is shown ie, UART3 and UART4 are enabled.
while trying for /dev/ttymxc1 ie : UART2 I am not sure what to do since it is not functional at this moment .
Also in the baseboard  , the UART2 is given for port  SirruisXm module ( satelite radio ).
Please let me know about the connections to this port.
 
we are using MCIMXABASEV1 ( baseboard ) . You can get the details from:
Please refer it and suggest us .
Thanks in advance !
Abhirup Mitra
0 件の賞賛
返信

888件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

you can refer to link as below:

https://community.nxp.com/message/663015 

0 件の賞賛
返信