upstream u-boot with additional patches for our devices/boards: https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ; Gbit ethernet patch for some LIME2 revisions ; with SPI flash support
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
u-boot/cpu/ppc4xx/usbdev.h

31 lines
1.2 KiB

#include <config.h>
/*Common Registers*/
#define USB2D0_INTRIN_16 (CFG_USB_DEVICE | 0x100)
#define USB2D0_POWER_8 (CFG_USB_DEVICE | 0x102)
#define USB2D0_FADDR_8 (CFG_USB_DEVICE | 0x103)
#define USB2D0_INTRINE_16 (CFG_USB_DEVICE | 0x104)
#define USB2D0_INTROUT_16 (CFG_USB_DEVICE | 0x106)
#define USB2D0_INTRUSBE_8 (CFG_USB_DEVICE | 0x108)
#define USB2D0_INTRUSB_8 (CFG_USB_DEVICE | 0x109)
#define USB2D0_INTROUTE_16 (CFG_USB_DEVICE | 0x10a)
#define USB2D0_TSTMODE_8 (CFG_USB_DEVICE | 0x10c)
#define USB2D0_INDEX_8 (CFG_USB_DEVICE | 0x10d)
#define USB2D0_FRAME_16 (CFG_USB_DEVICE | 0x10e)
/*Indexed Registers*/
#define USB2D0_INCSR0_8 (CFG_USB_DEVICE | 0x110)
#define USB2D0_INCSR_16 (CFG_USB_DEVICE | 0x110)
#define USB2D0_INMAXP_16 (CFG_USB_DEVICE | 0x112)
#define USB2D0_OUTCSR_16 (CFG_USB_DEVICE | 0x114)
#define USB2D0_OUTMAXP_16 (CFG_USB_DEVICE | 0x116)
#define USB2D0_OUTCOUNT0_8 (CFG_USB_DEVICE | 0x11a)
#define USB2D0_OUTCOUNT_16 (CFG_USB_DEVICE | 0x11a)
/*FIFOs*/
#define USB2D0_FIFO_0 (CFG_USB_DEVICE | 0x120)
#define USB2D0_FIFO_1 (CFG_USB_DEVICE | 0x124)
#define USB2D0_FIFO_2 (CFG_USB_DEVICE | 0x128)
#define USB2D0_FIFO_3 (CFG_USB_DEVICE | 0x12c)
void usb_dev_init(void);