1 // SPDX-License-Identifier: GPL-2.0+
3 * SoC-specific code for tms320dm355 and similar chips
5 * Copyright (C) 2009 David Brownell
9 #include <asm/arch/hardware.h>
12 void davinci_enable_uart0(void)
14 lpsc_on(DAVINCI_LPSC_UART0);
16 /* Bringup UART0 out of reset */
17 REG(UART0_PWREMU_MGMT) = 0x00006001;
21 #ifdef CONFIG_SYS_I2C_DAVINCI
22 void davinci_enable_i2c(void)
24 lpsc_on(DAVINCI_LPSC_I2C);
26 /* Enable I2C pin Mux */
27 REG(PINMUX3) |= (1 << 20) | (1 << 19);