xref: /openbmc/u-boot/arch/arm/mach-davinci/dm646x.c (revision 3ba98ed8)
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * SoC-specific code for TMS320DM646x chips
4  */
5 
6 #include <asm/arch/hardware.h>
7 
8 void davinci_enable_uart0(void)
9 {
10 	lpsc_on(DAVINCI_DM646X_LPSC_UART0);
11 }
12 
13 #ifdef CONFIG_DRIVER_TI_EMAC
14 void davinci_enable_emac(void)
15 {
16 	lpsc_on(DAVINCI_DM646X_LPSC_EMAC);
17 }
18 #endif
19 
20 #ifdef CONFIG_SYS_I2C_DAVINCI
21 void davinci_enable_i2c(void)
22 {
23 	lpsc_on(DAVINCI_DM646X_LPSC_I2C);
24 }
25 #endif
26