dm365.c 321 B

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