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