dm646x.c 412 B

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