mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 04:26:19 -04:00
DA830: Add pinmux for USB0_DRVVBUS
USB0_DRVVBUS pinmux configuration is required for USB functinality in uboot. Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Swaminathan S <swami.iyer@ti.com>
This commit is contained in:
parent
6ca9da4d42
commit
82a821f89b
@ -65,6 +65,11 @@ const struct pinmux_config i2c_pins[] = {
|
|||||||
{ pinmux[9], 2, 4 }
|
{ pinmux[9], 2, 4 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* USB0_DRVVBUS pin muxer settings */
|
||||||
|
const struct pinmux_config usb_pins[] = {
|
||||||
|
{ pinmux[9], 1, 1 }
|
||||||
|
};
|
||||||
|
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
#ifndef CONFIG_USE_IRQ
|
#ifndef CONFIG_USE_IRQ
|
||||||
@ -118,6 +123,9 @@ int board_init(void)
|
|||||||
if (davinci_configure_pin_mux(i2c_pins, ARRAY_SIZE(i2c_pins)) != 0)
|
if (davinci_configure_pin_mux(i2c_pins, ARRAY_SIZE(i2c_pins)) != 0)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
if (davinci_configure_pin_mux(usb_pins, ARRAY_SIZE(usb_pins)) != 0)
|
||||||
|
return 1;
|
||||||
|
|
||||||
/* enable the console UART */
|
/* enable the console UART */
|
||||||
writel((DAVINCI_UART_PWREMU_MGMT_FREE | DAVINCI_UART_PWREMU_MGMT_URRST |
|
writel((DAVINCI_UART_PWREMU_MGMT_FREE | DAVINCI_UART_PWREMU_MGMT_URRST |
|
||||||
DAVINCI_UART_PWREMU_MGMT_UTRST),
|
DAVINCI_UART_PWREMU_MGMT_UTRST),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user