blob: cfea8300def064af0ec54b6435b13be14a27da73 [file] [log] [blame]
Sandeep Paulraj7908c972009-09-08 11:37:39 -04001/*
2 * SoC-specific code for TMS320DM646x chips
3 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Sandeep Paulraj7908c972009-09-08 11:37:39 -04005 */
6
7#include <asm/arch/hardware.h>
8
9void davinci_enable_uart0(void)
10{
11 lpsc_on(DAVINCI_DM646X_LPSC_UART0);
12}
13
14#ifdef CONFIG_DRIVER_TI_EMAC
15void davinci_enable_emac(void)
16{
17 lpsc_on(DAVINCI_DM646X_LPSC_EMAC);
18}
19#endif
20
Vitaly Andrianove8459dc2014-04-04 13:16:52 -040021#ifdef CONFIG_SYS_I2C_DAVINCI
Sandeep Paulraj7908c972009-09-08 11:37:39 -040022void davinci_enable_i2c(void)
23{
24 lpsc_on(DAVINCI_DM646X_LPSC_I2C);
25}
26#endif