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