]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/arm926ejs/davinci/dm646x.c
Merge branch 'serial' of git://www.denx.de/git/u-boot-microblaze
[karo-tx-uboot.git] / arch / arm / cpu / arm926ejs / davinci / dm646x.c
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_DRIVER_DAVINCI_I2C
22 void davinci_enable_i2c(void)
23 {
24         lpsc_on(DAVINCI_DM646X_LPSC_I2C);
25 }
26 #endif