blob: f6ca527e74c1cee7f03ad027a456659d904b3dd3 [file] [log] [blame]
Sandeep Paulrajcf463092009-08-15 11:20:44 -04001/*
2 * SoC-specific code for tms320dm365 and similar chips
3 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Sandeep Paulrajcf463092009-08-15 11:20:44 -04005 */
6
7#include <common.h>
8#include <asm/arch/hardware.h>
9
10void davinci_enable_uart0(void)
11{
12 lpsc_on(DAVINCI_LPSC_UART0);
13}
14
Vitaly Andrianove8459dc2014-04-04 13:16:52 -040015#ifdef CONFIG_SYS_I2C_DAVINCI
Sandeep Paulrajcf463092009-08-15 11:20:44 -040016void davinci_enable_i2c(void)
17{
18 lpsc_on(DAVINCI_LPSC_I2C);
19}
20#endif