dm365.c 318 B

12345678910111213141516171819
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * SoC-specific code for tms320dm365 and similar chips
  4. */
  5. #include <common.h>
  6. #include <asm/arch/hardware.h>
  7. void davinci_enable_uart0(void)
  8. {
  9. lpsc_on(DAVINCI_LPSC_UART0);
  10. }
  11. #ifdef CONFIG_SYS_I2C_DAVINCI
  12. void davinci_enable_i2c(void)
  13. {
  14. lpsc_on(DAVINCI_LPSC_I2C);
  15. }
  16. #endif