Stefan Roese | ee7a6ba | 2009-01-21 17:25:01 +0100 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2009 Stefan Roese <sr@denx.de>, DENX Software Engineering |
| 3 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Stefan Roese | ee7a6ba | 2009-01-21 17:25:01 +0100 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #define USBH_BASE 0x00080000 |
| 8 | |
| 9 | /* Relative offsets of the register adresses */ |
| 10 | |
| 11 | #define USBH_CAPLENGTH_OFFS 0x00000100 |
| 12 | #define USBH_CAPLENGTH(base) ((base) + USBH_CAPLENGTH_OFFS) |
| 13 | #define USBH_USBCMD_OFFS 0x00000140 |
| 14 | #define USBH_USBCMD(base) ((base) + USBH_USBCMD_OFFS) |
| 15 | #define USBH_BURSTSIZE_OFFS 0x00000160 |
| 16 | #define USBH_BURSTSIZE(base) ((base) + USBH_BURSTSIZE_OFFS) |
| 17 | #define USBH_USBMODE_OFFS 0x000001A8 |
| 18 | #define USBH_USBMODE(base) ((base) + USBH_USBMODE_OFFS) |
| 19 | #define USBH_USBHMISC_OFFS 0x00000200 |
| 20 | #define USBH_USBHMISC(base) ((base) + USBH_USBHMISC_OFFS) |