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