reg_usbh.h 680 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2009 Stefan Roese <sr@denx.de>, DENX Software Engineering
  4. */
  5. #define USBH_BASE 0x00080000
  6. /* Relative offsets of the register adresses */
  7. #define USBH_CAPLENGTH_OFFS 0x00000100
  8. #define USBH_CAPLENGTH(base) ((base) + USBH_CAPLENGTH_OFFS)
  9. #define USBH_USBCMD_OFFS 0x00000140
  10. #define USBH_USBCMD(base) ((base) + USBH_USBCMD_OFFS)
  11. #define USBH_BURSTSIZE_OFFS 0x00000160
  12. #define USBH_BURSTSIZE(base) ((base) + USBH_BURSTSIZE_OFFS)
  13. #define USBH_USBMODE_OFFS 0x000001A8
  14. #define USBH_USBMODE(base) ((base) + USBH_USBMODE_OFFS)
  15. #define USBH_USBHMISC_OFFS 0x00000200
  16. #define USBH_USBHMISC(base) ((base) + USBH_USBHMISC_OFFS)