Hi Jimmy,
Yes, I have read the post you mentioned. But I use the different pin to configure UART5 in dts:
kim {
compatible = "kim";
nshutdown_gpio = <2>; /* GPIO_2 */
dev_name = "/dev/ttymxc4";
flow_cntrl = <1>;
baud_rate = <3000000>;
};
btwilink {
compatible = "btwilink";
};
&uart5 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart5_1>;
status = "okay";
/* enable rts/cts usage on uart5 */
fsl,uart-has-rtscts;
};
uart5 {
pinctrl_uart5_1: uart5grp-1 {
fsl,pins = <
MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1
MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1
MX6QDL_PAD_KEY_ROW4__UART5_CTS_B 0x1b0b1
MX6QDL_PAD_KEY_COL4__UART5_RTS_B 0x1b0b1
>;
};
UART5 is DCE mode, default settings in BSP.
I could make sure hardware settings is fine because the same hardware works for me in Android4.4(kitkat).
So do you have any ideas about this issue?
Many thanks.
BR,
Wayne