Advertisement
Guest User

Untitled

a guest
Jan 10th, 2020
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. myboard.c
  2.  
  3. From
  4. imx_iomux_v3_setup_pad(MX6_PAD_CSI0_DAT10__UART1_TX_DATA | UART_PAD_CTRL);
  5. imx_iomux_v3_setup_pad(MX6_PAD_CSI0_DAT11__UART1_RX_DATA | UART_PAD_CTRL);
  6.  
  7. To
  8. imx_iomux_v3_setup_pad(MX6_PAD_EIM_D24__UART3_TX_DATA | UART_PAD_CTRL);
  9. imx_iomux_v3_setup_pad(MX6_PAD_EIM_D25__UART3_RX_DATA | UART_PAD_CTRL);
  10.  
  11. myboard.h
  12.  
  13. From
  14. #define CONFIG_MXC_UART_BASE UART1_BASE
  15. #define CONFIG_CONSOLE_DEV "ttymxc0"
  16. TO
  17. #define CONFIG_MXC_UART_BASE UART3_BASE
  18. #define CONFIG_CONSOLE_DEV "ttymxc2"
  19.  
  20. mx6q_pins.h
  21.  
  22. MX6_PAD_DECL(EIM_D24__UART3_TX_DATA, 0x03C8, 0x00B4, 2, 0x0000, 0, 0)
  23. MX6_PAD_DECL(EIM_D25__UART3_RX_DATA, 0x03CC, 0x00B8, 2, 0x0930, 1, 0)
  24.  
  25. This is where I somehow need to change from GPIO4 to GPIO5 for IO9 and GPIO6 for IO10 I think
  26.  
  27. MX6_PAD_DECL(KEY_ROW1__GPIO4_IO09, 0x05D4, 0x0204, 5, 0x0000, 0, 0)
  28. MX6_PAD_DECL(KEY_COL2__GPIO4_IO10, 0x05D8, 0x0208, 5, 0x0000, 0, 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement