summaryrefslogtreecommitdiff
path: root/sys/arch/arm/xscale/pxa27x_udcreg.h
diff options
context:
space:
mode:
authorUwe Stuehler <uwe@cvs.openbsd.org>2006-11-25 18:10:30 +0000
committerUwe Stuehler <uwe@cvs.openbsd.org>2006-11-25 18:10:30 +0000
commit7535b19446bafa37c29fe0cefdcfcc8d3b16b636 (patch)
tree662c9086944bcef9e54324a114e21553093f6535 /sys/arch/arm/xscale/pxa27x_udcreg.h
parent2db0b8cf67297a6807a655929b526c916d9bbb9b (diff)
Initial USB device controller (UDC) and USB CDC Ethernet function support
for PXA27x/Zaurus, not enabled yet; for dlg and dale :)
Diffstat (limited to 'sys/arch/arm/xscale/pxa27x_udcreg.h')
-rw-r--r--sys/arch/arm/xscale/pxa27x_udcreg.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/sys/arch/arm/xscale/pxa27x_udcreg.h b/sys/arch/arm/xscale/pxa27x_udcreg.h
index f54a0e42296..b9e2e4ad76b 100644
--- a/sys/arch/arm/xscale/pxa27x_udcreg.h
+++ b/sys/arch/arm/xscale/pxa27x_udcreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pxa27x_udcreg.h,v 1.1 2005/02/17 22:10:35 dlg Exp $ */
+/* $OpenBSD: pxa27x_udcreg.h,v 1.2 2006/11/25 18:10:29 uwe Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -149,4 +149,23 @@
#define USBDC_UDCECR_IN (7<<22) /* Interface Number */
#define USBDC_UDCECR_CN (3<<25) /* Configuration Number */
+#define USBDC_UDCCR_BITS \
+ "\20\001UDE\002UDA\003UDR\004EMCE\005SMAC\021DWRE" \
+ "\035BHNP\036AHNP\037OEN"
+#define USBDC_UDCISR0_BITS \
+ "\20\0010P\0020F\003AP\004AF\005BP\006BF\007CP\010CF" \
+ "\011DP\012DF\013EP\014EF\015FP\016FF\017GP\020GF" \
+ "\031HP\032HF\033IP\034IF\035JP\036JF\037KP\030KF" \
+ "\041LP\042LF\043MP\044MF\045NP\046NF\047PP\040PF"
+#define USBDC_UDCISR1_BITS \
+ "\20\001QP\002QF\003RP\004RF\005SP\006SF\007TP\010TF" \
+ "\011UP\012UF\013VP\014VF\015WP\016WF\017XP\020XF" \
+ "\034RS\035SU\036RU\037SOF\040CC"
+#define USBDC_UDCOTGISR_BITS \
+ "\20\001IRIDF\002IRIDR\003IRSDF\004IRSDR\005IRSVF\006IRSVR" \
+ "\007IRVV44F\010IRVV44R\011IRVV40F\012IRVV40R"
+#define USBDC_UDCCSR0_BITS \
+ "\20\001OPC\002IPR\003FTF\004DME\005SST\006FST\007RNE" \
+ "\010SA\011AREN\012ACM"
+
#endif /* _ARM_XSCALE_PXA27X_UDCREG_H_ */