axs10x: add support of generic EHCI USB 2.0 controller
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Mon, 30 Nov 2015 17:53:25 +0000 (20:53 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Tue, 8 Dec 2015 14:29:56 +0000 (17:29 +0300)
This commit adds support of USB 2.0 storage media on AXS10x boards.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
arch/arc/dts/axs10x.dts
configs/axs101_defconfig
configs/axs103_defconfig

index 8fe1837baa531ae6fda89f66309ec9a226568b54..80e6d6b15d49463147d85fae30f867cc451ec882 100644 (file)
                clock-names = "stmmaceth";
                max-speed = <100>;
        };
+
+       ehci@0xe0040000 {
+               compatible = "generic-ehci";
+               reg = < 0xe0040000 0x100 >;
+               interrupts = < 8 >;
+       };
 };
index 52d5e2fe8970231f89d9bb224a24afe5594c9d7d..a541d9d17fcd50e1991c51e977103e4417a6cff4 100644 (file)
@@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="axs10x"
 CONFIG_SYS_PROMPT="AXS# "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
@@ -19,4 +20,9 @@ CONFIG_CLK=y
 CONFIG_DM_ETH=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_SYS_NS16550=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_EHCI_GENERIC=y
+CONFIG_USB_STORAGE=y
 CONFIG_USE_PRIVATE_LIBGCC=y
index a7f3c38506562a6248db13586518454eed68f545..3c65c834f14102bbfb89134214b2f30562265cc6 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_DEFAULT_DEVICE_TREE="axs10x"
 CONFIG_SYS_PROMPT="AXS# "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
@@ -18,4 +19,9 @@ CONFIG_CLK=y
 CONFIG_DM_ETH=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_SYS_NS16550=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_EHCI_GENERIC=y
+CONFIG_USB_STORAGE=y
 CONFIG_USE_PRIVATE_LIBGCC=y