Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Sandeep Paulraj | 8c9c10f | 2009-08-15 11:20:44 -0400 | [diff] [blame] | 2 | /* |
| 3 | * SoC-specific code for tms320dm365 and similar chips |
Sandeep Paulraj | 8c9c10f | 2009-08-15 11:20:44 -0400 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include <common.h> |
| 7 | #include <asm/arch/hardware.h> |
| 8 | |
| 9 | void davinci_enable_uart0(void) |
| 10 | { |
| 11 | lpsc_on(DAVINCI_LPSC_UART0); |
| 12 | } |
| 13 | |
Vitaly Andrianov | bc9cd95 | 2014-04-04 13:16:52 -0400 | [diff] [blame] | 14 | #ifdef CONFIG_SYS_I2C_DAVINCI |
Sandeep Paulraj | 8c9c10f | 2009-08-15 11:20:44 -0400 | [diff] [blame] | 15 | void davinci_enable_i2c(void) |
| 16 | { |
| 17 | lpsc_on(DAVINCI_LPSC_I2C); |
| 18 | } |
| 19 | #endif |