From 8f6babf82c0b6ad9aa93de238df7c0bf978c4695 Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Mon, 12 Aug 2019 16:45:21 -0500 Subject: [PATCH] ARM: omapl138_lcdk: Enable USB The OMAPL138-lcdk has two USB controllers which are currently disabled. This patch enables them. Signed-off-by: Adam Ford --- configs/omapl138_lcdk_defconfig | 11 +++++++++++ include/configs/omapl138_lcdk.h | 6 ++++++ 2 files changed, 17 insertions(+) diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig index 4106c29c6e..76c7ed6aaa 100644 --- a/configs/omapl138_lcdk_defconfig +++ b/configs/omapl138_lcdk_defconfig @@ -52,7 +52,18 @@ CONFIG_SPL_NAND_SIMPLE=y CONFIG_DM_ETH=y CONFIG_MII=y CONFIG_DRIVER_TI_EMAC=y +CONFIG_PHY=y +CONFIG_PHY_DA8XX_USB=y CONFIG_SPECIFY_CONSOLE_INDEX=y CONFIG_DM_SERIAL=y CONFIG_SYS_NS16550=y +CONFIG_USE_TINY_PRINTF=y +CONFIG_USB=y +CONFIG_DM_USB=y +CONFIG_USB_OHCI_HCD=y +CONFIG_USB_OHCI_DA8XX=y +CONFIG_USB_MUSB_HOST=y +CONFIG_USB_MUSB_DA8XX=y +CONFIG_USB_MUSB_PIO_ONLY=y +CONFIG_USB_STORAGE=y # CONFIG_SPL_OF_LIBFDT is not set diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h index db4a663c53..d4f404a78b 100644 --- a/include/configs/omapl138_lcdk.h +++ b/include/configs/omapl138_lcdk.h @@ -208,6 +208,12 @@ #define CONFIG_SYS_LOAD_ADDR (PHYS_SDRAM_1 + 0x700000) #define CONFIG_MX_CYCLIC +/* + * USB Configs + */ +#define CONFIG_USB_OHCI_NEW +#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 15 + /* * Linux Information */ -- 2.39.5