xref: /openbmc/u-boot/arch/arm/mach-davinci/dm646x.c (revision 730d2544)
1 /*
2  * SoC-specific code for TMS320DM646x chips
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
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 
21 #ifdef CONFIG_SYS_I2C_DAVINCI
22 void davinci_enable_i2c(void)
23 {
24 	lpsc_on(DAVINCI_DM646X_LPSC_I2C);
25 }
26 #endif
27