Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux/fpc-iii.git] / arch / tile / include / hv / drv_usb_host_intf.h
blob24ce774a3f1dd30a07cfc5bd00f7e023b7e338e1
1 /*
2 * Copyright 2012 Tilera Corporation. All Rights Reserved.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation, version 2.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
11 * NON INFRINGEMENT. See the GNU General Public License for
12 * more details.
15 /**
16 * Interface definitions for the USB host driver.
19 #ifndef _SYS_HV_DRV_USB_HOST_INTF_H
20 #define _SYS_HV_DRV_USB_HOST_INTF_H
22 #include <arch/usb_host.h>
25 /** Offset for the EHCI register MMIO region. */
26 #define HV_USB_HOST_MMIO_OFFSET_EHCI ((uint64_t) USB_HOST_HCCAPBASE_REG)
28 /** Offset for the OHCI register MMIO region. */
29 #define HV_USB_HOST_MMIO_OFFSET_OHCI ((uint64_t) USB_HOST_OHCD_HC_REVISION_REG)
31 /** Size of the register MMIO region. This turns out to be the same for
32 * both EHCI and OHCI. */
33 #define HV_USB_HOST_MMIO_SIZE ((uint64_t) 0x1000)
35 /** The number of service domains supported by the USB host shim. */
36 #define HV_USB_HOST_NUM_SVC_DOM 1
39 #endif /* _SYS_HV_DRV_USB_HOST_INTF_H */