diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-05-10 14:10:27 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-14 18:49:32 -0600 |
commit | 6a72e804a2b27e95cc7394876cc6a57f29e70817 (patch) | |
tree | b22373532e3b8cd48032c3c707262e99cfe116e3 /arch/arm/include/asm/arch-sunxi/clock_sun4i.h | |
parent | 8d837a1f7df64e79e7e91e6fbdfbe96b3e96c361 (diff) | |
download | u-boot-imx-6a72e804a2b27e95cc7394876cc6a57f29e70817.zip u-boot-imx-6a72e804a2b27e95cc7394876cc6a57f29e70817.tar.gz u-boot-imx-6a72e804a2b27e95cc7394876cc6a57f29e70817.tar.bz2 |
sunxi: ohci: Add ohci usb host controller support
This commit adds support for the OHCI companion controller, which makes
usb-1 devices directly plugged into to usb root port work.
Note for now this switches usb-keyboard support for sunxi back from int-queue
support to the old interrupt polling method. Adding int-queue support to the
ohci code and switching back to int-queue support is in the works.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/clock_sun4i.h')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h index c28ee05..63c3319 100644 --- a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h +++ b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h @@ -320,6 +320,8 @@ struct sunxi_ccm_reg { #define CCM_USB_CTRL_PHY0_RST (0x1 << 0) #define CCM_USB_CTRL_PHY1_RST (0x1 << 1) #define CCM_USB_CTRL_PHY2_RST (0x1 << 2) +#define CCM_USB_CTRL_OHCI0_CLK (0x1 << 6) +#define CCM_USB_CTRL_OHCI1_CLK (0x1 << 7) #define CCM_USB_CTRL_PHYGATE (0x1 << 8) /* These 3 are sun6i only, define them as 0 on sun4i */ #define CCM_USB_CTRL_PHY0_CLK 0 |