Commit 29256869 authored by Thomas Schäfer's avatar Thomas Schäfer
Browse files

pitx-imx8m: fix UART3 RTS/CTS line iomux settings



- GPIO5_IO08 and GPIO5_IO09 iomux settings for UART3 RTS/CTS lines on
  rev2 have been swapped erraneously. Fix this.
Signed-off-by: Thomas Schäfer's avatarThomas Schaefer <thomas.schaefer@kontron.com>
parent 60fc7bac
......@@ -535,14 +535,14 @@ int misc_init_r(void)
void *fdt = map_sysmem((ulong)gd->fdt_blob, 0);
imx_iomux_v3_setup_pad(IMX8MQ_PAD_ECSPI1_MISO__GPIO5_IO8 |
MUX_PAD_CTRL(UART_PAD_CTRL));
imx_iomux_v3_setup_pad(IMX8MQ_PAD_ECSPI1_SS0__GPIO5_IO9 |
MUX_PAD_CTRL(UART_PAD_CTRL | PAD_CTL_PUE));
imx_iomux_v3_setup_pad(IMX8MQ_PAD_ECSPI1_SS0__GPIO5_IO9 |
MUX_PAD_CTRL(UART_PAD_CTRL));
gpio_request(IMX_GPIO_NR(5, 8), "UART3_CTS#");
gpio_direction_output(IMX_GPIO_NR(5, 8), 0);
gpio_direction_input(IMX_GPIO_NR(5, 8));
gpio_request(IMX_GPIO_NR(5, 9), "UART3_RTS#");
gpio_direction_input(IMX_GPIO_NR(5, 9));
gpio_direction_output(IMX_GPIO_NR(5, 9), 0);
/*
* Set SION for GPIO1_IO12 pad. This ensures that the pad
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment