AnsweredAssumed Answered

Pin muxing for UART 3 and UART4

Question asked by kk d on Nov 29, 2017
Latest reply on Dec 1, 2017 by kk d

I am trying to enable UART3 and UART 4 in Imx 6 board.

i made changes in linux/arch/arm/boot/dts/im6qdl-iwg15s-pico.dtsi file for UART

 

&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;
iomuxc_imx6q_pico: iomuxc-imx6q-picogrp {
status = "okay";

};
};

&iomuxc_imx6q_pico
{
pinctrl_uart3: uart3grp {
fsl,pins = <
MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
>;
};

pinctrl_uart4: uart4grp{
fsl,pins = <
MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1 /* UART4_RX */
MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1 /* UART4_TX */
>;
};
};

After power On no pulses on DSO..

 

Please look below log regarding UART:

....

Serial: IMX driver
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a I MX
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59, base_baud = 5000000) is a I MX
console [ttymxc1] enabled
imx6dl-pinctrl 20e0000.iomuxc: pin MX6DL_PAD_EIM_D25 already requested by 20e000 0.iomuxc; cannot claim for 21ec000.serial
imx6dl-pinctrl 20e0000.iomuxc: pin-90 (21ec000.serial) status -22
imx6dl-pinctrl 20e0000.iomuxc: could not request pin 90 (MX6DL_PAD_EIM_D25) from group uart3grp on device 20e0000.iomuxc
imx-uart 21ec000.serial: Error applying setting, reverse things back
21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 60, base_baud = 5000000) is a I MX
imx6dl-pinctrl 20e0000.iomuxc: pin MX6DL_PAD_KEY_ROW0 already requested by 20e00 00.iomuxc; cannot claim for 21f0000.serial
imx6dl-pinctrl 20e0000.iomuxc: pin-150 (21f0000.serial) status -22
imx6dl-pinctrl 20e0000.iomuxc: could not request pin 150 (MX6DL_PAD_KEY_ROW0) fr om group uart4grp on device 20e0000.iomuxc
imx-uart 21f0000.serial: Error applying setting, reverse things back
21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 61, base_baud = 5000000) is a I MX

...

 

 

Can anyone share how I resolve this issue? in which file I need to made changes??

 

Please guide!

Thank you

Outcomes