iomux.c 465 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (c) 2021 Rockchip Electronics Co., Ltd.
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2021-10-12 Steven Liu first implementation
  9. */
  10. #include "rtdef.h"
  11. #include "iomux.h"
  12. #include "hal_base.h"
  13. /**
  14. * @brief Config iomux for RK3568
  15. */
  16. void rt_hw_iomux_config(void)
  17. {
  18. uart2_iomux_config();
  19. #ifdef M4_JTAG_ENABLE
  20. m4_jtag_iomux_config();
  21. #else
  22. uart0_iomux_config();
  23. #endif
  24. }