1*83d290c5STom Rini // SPDX-License-Identifier: GPL-2.0+ 2601fbec7SMasahiro Yamada /* 3601fbec7SMasahiro Yamada * SoC-specific code for TMS320DM646x chips 4601fbec7SMasahiro Yamada */ 5601fbec7SMasahiro Yamada 6601fbec7SMasahiro Yamada #include <asm/arch/hardware.h> 7601fbec7SMasahiro Yamada davinci_enable_uart0(void)8601fbec7SMasahiro Yamadavoid davinci_enable_uart0(void) 9601fbec7SMasahiro Yamada { 10601fbec7SMasahiro Yamada lpsc_on(DAVINCI_DM646X_LPSC_UART0); 11601fbec7SMasahiro Yamada } 12601fbec7SMasahiro Yamada 13601fbec7SMasahiro Yamada #ifdef CONFIG_DRIVER_TI_EMAC davinci_enable_emac(void)14601fbec7SMasahiro Yamadavoid davinci_enable_emac(void) 15601fbec7SMasahiro Yamada { 16601fbec7SMasahiro Yamada lpsc_on(DAVINCI_DM646X_LPSC_EMAC); 17601fbec7SMasahiro Yamada } 18601fbec7SMasahiro Yamada #endif 19601fbec7SMasahiro Yamada 20601fbec7SMasahiro Yamada #ifdef CONFIG_SYS_I2C_DAVINCI davinci_enable_i2c(void)21601fbec7SMasahiro Yamadavoid davinci_enable_i2c(void) 22601fbec7SMasahiro Yamada { 23601fbec7SMasahiro Yamada lpsc_on(DAVINCI_DM646X_LPSC_I2C); 24601fbec7SMasahiro Yamada } 25601fbec7SMasahiro Yamada #endif 26