1/* 2 * Copyright 2012 Tilera Corporation. All Rights Reserved. 3 * 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. 7 * 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. 13 */ 14 15/** 16 * Interface definitions for the USB host driver. 17 */ 18 19#ifndef _SYS_HV_DRV_USB_HOST_INTF_H 20#define _SYS_HV_DRV_USB_HOST_INTF_H 21 22#include <arch/usb_host.h> 23 24 25/** Offset for the EHCI register MMIO region. */ 26#define HV_USB_HOST_MMIO_OFFSET_EHCI ((uint64_t) USB_HOST_HCCAPBASE_REG) 27 28/** Offset for the OHCI register MMIO region. */ 29#define HV_USB_HOST_MMIO_OFFSET_OHCI ((uint64_t) USB_HOST_OHCD_HC_REVISION_REG) 30 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) 34 35/** The number of service domains supported by the USB host shim. */ 36#define HV_USB_HOST_NUM_SVC_DOM 1 37 38 39#endif /* _SYS_HV_DRV_USB_HOST_INTF_H */ 40