Correct definitions of USB_SNOOP registers. Add USB_CONTROL register.

This commit is contained in:
matt 2011-06-09 19:10:37 +00:00
parent 35bfe52a97
commit 27ccd35f9a
1 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: e500reg.h,v 1.7 2011/05/28 05:23:08 matt Exp $ */
/* $NetBSD: e500reg.h,v 1.8 2011/06/09 19:10:37 matt Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@ -277,11 +277,13 @@
#define USB1_BASE 0x22100 /* MPC8536 */
#define USB2_BASE 0x23100 /* MPC8536 */
#define USB3_BASE 0x2b100 /* MPC8536 */
#define USB_SNOOP1 0x0300 /* DMA Snooping Register 1 */
#define USB_SNOOP2 0x0304 /* DMA Snooping Register 2 */
#define USB_CONTROL 0x0400 /* USB General Purpose Register */
#define USB_EN __PPCBIT(29)
#define USB_ULPI_INT_EN __PPCBIT(31)
#define USB_SIZE 0x00f00
#define USB_SNOOP1 0x400
#define USB_SNOOP2 0x404
#define SNOOP_2GB 0x1e
#define ETSEC1_BASE 0x24000