1 /* 2 * The Embedded Planet HIOX expansion card definitions. 3 * There were a few different versions of these cards, but only 4 * the one that escaped real production is defined here. 5 * 6 * Copyright (c) 2000 Dan Malek (dmalek@jlc.net) 7 */ 8 #ifndef __MACH_RPX_HIOX_DEFS 9 #define __MACH_RPX_HIOX_DEFS 10 11 #define HIOX_CSR_ADDR ((uint)0xfac00000) 12 #define HIOX_CSR_SIZE ((uint)(4 * 1024)) 13 #define HIOX_CSR0_ADDR HIOX_CSR_ADDR 14 #define HIOX_CSR4_ADDR ((uint)0xfac00004) 15 16 #define HIOX_CSR0_DEFAULT ((uint)0x380f3c00) 17 #define HIOX_CSR0_ENSCC2 ((uint)0x80000000) 18 #define HIOX_CSR0_ENSMC2 ((uint)0x04000000) 19 #define HIOX_CSR0_ENVDOCLK ((uint)0x02000000) 20 #define HIOX_CSR0_VDORST_HL ((uint)0x01000000) 21 #define HIOX_CSR0_RS232SEL ((uint)0x0000c000) 22 #define HIOX_CSR0_SCC3SEL ((uint)0x0000c000) 23 #define HIOX_CSR0_SMC1SEL ((uint)0x00008000) 24 #define HIOX_CSR0_SCC1SEL ((uint)0x00004000) 25 #define HIOX_CSR0_ENTOUCH ((uint)0x00000080) 26 #define HIOX_CSR0_PDOWN100 ((uint)0x00000060) 27 #define HIOX_CSR0_PDOWN10 ((uint)0x00000040) 28 #define HIOX_CSR0_PDOWN1 ((uint)0x00000020) 29 #define HIOX_CSR0_TSELSPI ((uint)0x00000010) 30 #define HIOX_CSR0_TIRQSTAT ((uint)0x00000008) 31 #define HIOX_CSR4_DEFAULT ((uint)0x00000000) 32 #define HIOX_CSR4_ENTIRQ2 ((uint)0x20000000) 33 #define HIOX_CSR4_ENTIRQ3 ((uint)0x10000000) 34 #define HIOX_CSR4_ENAUDIO ((uint)0x00000080) 35 #define HIOX_CSR4_RSTAUDIO ((uint)0x00000040) /* 0 == reset */ 36 #define HIOX_CSR4_AUDCLKHI ((uint)0x00000020) 37 #define HIOX_CSR4_AUDSPISEL ((uint)0x00000010) 38 #define HIOX_CSR4_AUDIRQSTAT ((uint)0x00000008) 39 #define HIOX_CSR4_AUDCLKSEL ((uint)0x00000007) 40 41 #endif 42