Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/broadcom Add IO_CONTROL_DIRECT register values.



details:   https://anonhg.NetBSD.org/src/rev/092c5b0fdff2
branches:  trunk
changeset: 783230:092c5b0fdff2
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Dec 12 00:00:38 2012 +0000

description:
Add IO_CONTROL_DIRECT register values.

diffstat:

 sys/arch/arm/broadcom/bcm53xx_reg.h |  8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diffs (25 lines):

diff -r e29cb6936492 -r 092c5b0fdff2 sys/arch/arm/broadcom/bcm53xx_reg.h
--- a/sys/arch/arm/broadcom/bcm53xx_reg.h       Tue Dec 11 23:59:18 2012 +0000
+++ b/sys/arch/arm/broadcom/bcm53xx_reg.h       Wed Dec 12 00:00:38 2012 +0000
@@ -646,6 +646,8 @@
 #define        IDM_RESET_STATUS                0x0804
 #define        IDM_INTERRUPT_STATUS            0x0a00
 
+#define        IO_CONTROL_DIRECT_ARUSER        __BITS(29,25)
+#define        IO_CONTROL_DIRECT_AWUSER        __BITS(24,20)
 #define        IO_CONTROL_DIRECT_ARCACHE       __BITS(19,16)
 #define        IO_CONTROL_DIRECT_AWCACHE       __BITS(10,7)
 #define        AXCACHE_WA                      __BIT(3)
@@ -653,6 +655,12 @@
 #define        AXCACHE_C                       __BIT(1)
 #define        AXCACHE_B                       __BIT(0)
 #define        IO_CONTROL_DIRECT_UARTCLKSEL    __BIT(17)
+#define        IO_CONTROL_DIRECT_CLK_250_SEL   __BIT(6)
+#define        IO_CONTROL_DIRECT_DIRECT_GMII_MODE      __BIT(5)
+#define        IO_CONTROL_DIRECT_TX_CLK_OUT_INVERT_EN  __BIT(4)
+#define        IO_CONTROL_DIRECT_DEST_SYNC_MODE_EN     __BIT(3)
+#define        IO_CONTROL_DIRECT_SOURCE_SYNC_MODE_EN   __BIT(2)
+#define        IO_CONTROL_DIRECT_CLK_GATING_EN __BIT(0)
 
 #define        RESET_CONTROL_RESET             __BIT(0)
 



Home | Main Index | Thread Index | Old Index