AnsweredAssumed Answered

How to change UART1 (Console) Pad on Android 5.x

Question asked by David Wu on Nov 4, 2016
Latest reply on Nov 6, 2016 by David Wu

Hi All,

  I have a customize board using i.mx6. Because we need using 16bit camera I/F, so we change uart1 console pad for CSI0_DAT10 and CSI0_DAT11 to SD3_DAT7 and SD3_DAT6.


 I modify uart1_pad[] in u-boot. It's working properly, I can get and wrire command on u-boot.

 But It's not workin on the kernel (boot.img). I did the modification as below:


in <imx6qdl-sabresd.dtsi> I modify ::


---->>> Original  <<<-----

 pinctrl_uart1: uart1grp {
   fsl,pins = <
    MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1
    MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1


---->>> My Board <<<-----

  pinctrl_uart1: uart1grp {
   fsl,pins = <
    MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
    MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1

 and Remove PAD_SD3_DAT4 ~ PAD_SD3_DAT7 on <pinctrl_usdhc3>


My problems:

1). I got kernel log form pad SD3_DAT7, But  I cann't  input any command or characters.

2). I also can got kernel log form pad  SD3_DAT7  if i using default pad config (CSI0_DAT10),


How do i to modify pads for My boad ? Thanks!



David Wu