blob: 199c40378d011003a80834d91e260f3817099fcc [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Sandeep Paulraj7908c972009-09-08 11:37:39 -04002/*
3 * SoC-specific code for TMS320DM646x chips
Sandeep Paulraj7908c972009-09-08 11:37:39 -04004 */
5
6#include <asm/arch/hardware.h>
7
8void davinci_enable_uart0(void)
9{
10 lpsc_on(DAVINCI_DM646X_LPSC_UART0);
11}
12
13#ifdef CONFIG_DRIVER_TI_EMAC
14void davinci_enable_emac(void)
15{
16 lpsc_on(DAVINCI_DM646X_LPSC_EMAC);
17}
18#endif
19
Vitaly Andrianove8459dc2014-04-04 13:16:52 -040020#ifdef CONFIG_SYS_I2C_DAVINCI
Sandeep Paulraj7908c972009-09-08 11:37:39 -040021void davinci_enable_i2c(void)
22{
23 lpsc_on(DAVINCI_DM646X_LPSC_I2C);
24}
25#endif