dm646x.c 409 B

12345678910111213141516171819202122232425
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * SoC-specific code for TMS320DM646x chips
  4. */
  5. #include <asm/arch/hardware.h>
  6. void davinci_enable_uart0(void)
  7. {
  8. lpsc_on(DAVINCI_DM646X_LPSC_UART0);
  9. }
  10. #ifdef CONFIG_DRIVER_TI_EMAC
  11. void davinci_enable_emac(void)
  12. {
  13. lpsc_on(DAVINCI_DM646X_LPSC_EMAC);
  14. }
  15. #endif
  16. #ifdef CONFIG_SYS_I2C_DAVINCI
  17. void davinci_enable_i2c(void)
  18. {
  19. lpsc_on(DAVINCI_DM646X_LPSC_I2C);
  20. }
  21. #endif