Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Sandeep Paulraj | 7908c97 | 2009-09-08 11:37:39 -0400 | [diff] [blame] | 2 | /* |
| 3 | * SoC-specific code for TMS320DM646x chips |
Sandeep Paulraj | 7908c97 | 2009-09-08 11:37:39 -0400 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include <asm/arch/hardware.h> |
| 7 | |
| 8 | void davinci_enable_uart0(void) |
| 9 | { |
| 10 | lpsc_on(DAVINCI_DM646X_LPSC_UART0); |
| 11 | } |
| 12 | |
| 13 | #ifdef CONFIG_DRIVER_TI_EMAC |
| 14 | void davinci_enable_emac(void) |
| 15 | { |
| 16 | lpsc_on(DAVINCI_DM646X_LPSC_EMAC); |
| 17 | } |
| 18 | #endif |
| 19 | |
Vitaly Andrianov | e8459dc | 2014-04-04 13:16:52 -0400 | [diff] [blame] | 20 | #ifdef CONFIG_SYS_I2C_DAVINCI |
Sandeep Paulraj | 7908c97 | 2009-09-08 11:37:39 -0400 | [diff] [blame] | 21 | void davinci_enable_i2c(void) |
| 22 | { |
| 23 | lpsc_on(DAVINCI_DM646X_LPSC_I2C); |
| 24 | } |
| 25 | #endif |