|
RTEMS
5.1
|
Go to the documentation of this file. 19 #define TX4938_REG_BASE 0xFF1F0000 22 #define TX4938_PCI1_PCIID 0x7000 23 #define TX4938_PCI1_PCISTATUS 0x7004 24 #define TX4938_PCI1_PCICFG1 0x700c 25 #define TX4938_PCI1_P2GM1PLBASE 0x7018 26 #define TX4938_PCI1_P2GCFG 0x7090 27 #define TX4938_PCI1_PBAREQPORT 0x7100 28 #define TX4938_PCI1_PBACFG 0x7104 29 #define TX4938_PCI1_G2PM0GBASE 0x7120 30 #define TX4938_PCI1_G2PIOGBASE 0x7138 31 #define TX4938_PCI1_G2PM0MASK 0x7140 32 #define TX4938_PCI1_G2PIOMASK 0x714c 33 #define TX4938_PCI1_G2PM0PBASE 0x7150 34 #define TX4938_PCI1_G2PIOPBASE 0x7168 35 #define TX4938_PCI1_PCICCFG 0x7170 36 #define TX4938_PCI1_PCICSTATUS 0x7174 37 #define TX4938_PCI1_P2GM1GBASE 0x7188 38 #define TX4938_PCI1_G2PCFGADRS 0x71a0 39 #define TX4938_PCI1_G2PCFGDATA 0x71a4 44 #define TX4938_CFG_CCFG 0xE000 45 #define TX4938_CFG_REVID 0xE008 46 #define TX4938_CFG_PCFG 0xE010 47 #define TX4938_CFG_TOEA 0xE018 48 #define TX4938_CFG_CLKCTR 0xE020 49 #define TX4938_CFG_GARBC 0xE030 50 #define TX4938_CFG_RAMP 0xE048 53 #define SELCHI 0x00100000 54 #define SELTMR0 0x00000200 61 #define TX4938_TIMER0_BASE 0xF000 62 #define TX4938_TIMER1_BASE 0xF100 63 #define TX4938_TIMER2_BASE 0xF200 65 #define TX4938_TIMER_TCR 0x00 66 #define TX4938_TIMER_TISR 0x04 67 #define TX4938_TIMER_CPRA 0x08 68 #define TX4938_TIMER_CPRB 0x0C 69 #define TX4938_TIMER_ITMR 0x10 70 #define TX4938_TIMER_CCDR 0x20 71 #define TX4938_TIMER_PGMR 0x30 72 #define TX4938_TIMER_WTMR 0x40 73 #define TX4938_TIMER_TRR 0xF0 76 #define TIMER_CLEAR_ENABLE_MASK 0x1 77 #define TIMER_INT_ENABLE_MASK 0x8000 94 #define TX4938_IRQCTL_DEN 0xF600 95 #define TX4938_IRQCTL_DM0 0xF604 96 #define TX4938_IRQCTL_DM1 0xF608 97 #define TX4938_IRQCTL_LVL0 0xF610 98 #define TX4938_IRQCTL_LVL1 0xF614 99 #define TX4938_IRQCTL_LVL2 0xF618 100 #define TX4938_IRQCTL_LVL3 0xF61C 101 #define TX4938_IRQCTL_LVL4 0xF620 102 #define TX4938_IRQCTL_LVL5 0xF624 103 #define TX4938_IRQCTL_LVL6 0xF628 104 #define TX4938_IRQCTL_LVL7 0xF62C 105 #define TX4938_IRQCTL_MSK 0xF640 106 #define TX4938_IRQCTL_EDC 0xF660 107 #define TX4938_IRQCTL_PND 0xF680 108 #define TX4938_IRQCTL_CS 0xF6A0 109 #define TX4938_IRQCTL_FLAG0 0xF510 110 #define TX4938_IRQCTL_FLAG1 0xF514 111 #define TX4938_IRQCTL_POL 0xF518 112 #define TX4938_IRQCTL_RCNT 0xF51C 113 #define TX4938_IRQCTL_MASKINT 0xF520 114 #define TX4938_IRQCTL_MASKEXT 0xF524 116 #define TX4938_REG_READ( _base, _register ) \ 117 *((volatile uint32_t *)((_base) + (_register))) 119 #define TX4938_REG_WRITE( _base, _register, _value ) \ 120 *((volatile uint32_t *)((_base) + (_register))) = (_value) 127 #define TX4938_CCFG_SYSSP_SHF 6 128 #define TX4938_CCFG_SYSSP_MSK (MSK(2) << TX4938_CCFG_SYSSP_SHF) 131 #define TX4938_CCFG_PCI1DMD_SHF 8 132 #define TX4938_CCFG_PCI1DMD_MSK (MSK(1) << TX4938_CCFG_PCI1DMD_SHF) 135 #define TX4938_CCFG_PCIDIVMODE_SHF 10 136 #define TX4938_CCFG_PCIDIVMODE_MSK (MSK(3) << TX4938_CCFG_PCIDIVMODE_SHF) 139 #define TX4938_CCFG_PCI166_SHF 21 140 #define TX4938_CCFG_PCI166_MSK ((UINT64)MSK(1) << TX4938_CCFG_PCI166_SHF) 143 #define TX4938_CCFG_PCIMODE_SHF 22 144 #define TX4938_CCFG_PCIMODE_MSK ((UINT64)MSK(1) << TX4938_CCFG_PCIMODE_SHF) 147 #define TX4938_CCFG_BRDTY_SHF 36 148 #define TX4938_CCFG_RRDTY_MSK ((UINT64)MSK(4) << TX4938_CCFG_BRDTY_SHF) 151 #define TX4938_CCFG_BRDRV_SHF 32 152 #define TX4938_CCFG_BRDRV_MSK ((UINT64)MSK(4) << TX4938_CCFG_BRDRV_SHF) 156 #define TX4938_CLKCTR_PCIC1RST_SHF 11 157 #define TX4938_CLKCTR_PCIC1RST_MSK (MSK(1) << TX4938_CLKCTR_PCIC1RST_SHF) 161 #define TX4938_PCI_PCISTATUS_MEMSP_SHF 1 162 #define TX4938_PCI_PCISTATUS_MEMSP_MSK (MSK(1) << TX4938_PCI_PCISTATUS_MEMSP_SHF) 165 #define TX4938_PCI_PCISTATUS_BM_SHF 2 166 #define TX4938_PCI_PCISTATUS_BM_MSK (MSK(1) << TX4938_PCI_PCISTATUS_BM_SHF) 170 #define TX4938_PCI_PBACFG_RPBA_SHF 2 171 #define TX4938_PCI_PBACFG_RPBA_MSK (MSK(1) << TX4938_PCI_PBACFG_RPBA_SHF) 174 #define TX4938_PCI_PBACFG_PBAEN_SHF 1 175 #define TX4938_PCI_PBACFG_PBAEN_MSK (MSK(1) << TX4938_PCI_PBACFG_PBAEN_SHF) 179 #define TX4938_PCI_PCICFG_G2PM0EN_SHF 6 180 #define TX4938_PCI_PCICFG_G2PM0EN_MSK (MSK(1) << TX4938_PCI_PCICFG_G2PM0EN_SHF) 183 #define TX4938_PCI_PCICFG_G2PIOEN_SHF 5 184 #define TX4938_PCI_PCICFG_G2PIOEN_MSK (MSK(1) << TX4938_PCI_PCICFG_G2PIOEN_SHF) 187 #define TX4938_PCI_PCICFG_TCAR_SHF 4 188 #define TX4938_PCI_PCICFG_TCAR_MSK (MSK(1) << TX4938_PCI_PCICFG_TCAR_SHF)