11 #define CPR0_DCR_BASE 0x0C 12 #define cprcfga (CPR0_DCR_BASE+0x0) 13 #define cprcfgd (CPR0_DCR_BASE+0x1) 15 #define mtcpr(reg, d) \ 17 PPC_SET_DEVICE_CONTROL_REGISTER(cprcfga,reg); \ 18 PPC_SET_DEVICE_CONTROL_REGISTER(cprcfgd,d); \ 21 #define mfcpr(reg, d) \ 23 PPC_SET_DEVICE_CONTROL_REGISTER(cprcfga,reg); \ 24 d = PPC_DEVICE_CONTROL_REGISTER(cprcfgd); \ 29 #define SDR_DCR_BASE 0x0E 30 #define sdrcfga (SDR_DCR_BASE+0x0) 31 #define sdrcfgd (SDR_DCR_BASE+0x1) 33 #define mtsdr(reg, d) \ 35 PPC_SET_DEVICE_CONTROL_REGISTER(sdrcfga,reg); \ 36 PPC_SET_DEVICE_CONTROL_REGISTER(sdrcfgd,d); \ 39 #define mfsdr(reg, d) \ 41 PPC_SET_DEVICE_CONTROL_REGISTER(sdrcfga,reg); \ 42 d = PPC_DEVICE_CONTROL_REGISTER(sdrcfgd); \ 46 #define EBC_DCR_BASE 0x12 47 #define ebccfga (EBC_DCR_BASE+0x0) 48 #define ebccfgd (EBC_DCR_BASE+0x1) 50 #define mtebc(reg, d) \ 52 PPC_SET_DEVICE_CONTROL_REGISTER(ebccfga,reg); \ 53 PPC_SET_DEVICE_CONTROL_REGISTER(ebccfgd,d); \ 56 #define mfebc(reg, d) \ 58 PPC_SET_DEVICE_CONTROL_REGISTER(ebccfga,reg); \ 59 d = PPC_DEVICE_CONTROL_REGISTER(ebccfgd); \ 92 SDR0_EMAC0RXST = 0x4301,
114 EMAC0EXAddress = 0xEF600900,
115 EMAC1EXAddress = 0xEF600A00,
118 keEMAC1000Mbps = 0x00800000,
119 keEMAC16KRxFIFO = 0x00280000,
120 keEMAC8KRxFIFO = 0x00200000,
121 keEMAC4KRxFIFO = 0x00180000,
122 keEMAC2KRxFIFO = 0x00100000,
123 keEMAC1KRxFIFO = 0x00080000,
124 keEMAC16KTxFIFO = 0x00050000,
125 keEMAC8KTxFIFO = 0x00040000,
126 keEMAC4KTxFIFO = 0x00030000,
127 keEMAC2KTxFIFO = 0x00020000,
128 keEMAC1KTxFIFO = 0x00010000,
129 keEMACJumbo = 0x00000800,
130 keEMACIPHYAddr4 = 0x180,
131 keEMACOPB50MHz = 0x00,
132 keEMACOPB66MHz = 0x08,
133 keEMACOPB83MHz = 0x10,
134 keEMACOPB100MHz = 0x18,
135 keEMACOPBGt100 = 0x20,
138 keMALRdMaxBurst4 = 0,
139 keMALRdMaxBurst8 = 0x00100000,
140 keMALRdMaxBurst16 = 0x00200000,
141 keMALRdMaxBurst32 = 0x00300000,
143 keMALWrLowPriority = 0,
144 keMALWrMedLowPriority = 0x00040000,
145 keMALWrMedHiPriority = 0x00080000,
146 keMALWrHighPriority = 0x000C0000,
148 keMALWrMaxBurst4 = 0,
149 keMALWrMaxBurst8 = 0x00010000,
150 keMALWrMaxBurst16 = 0x00020000,
151 keMALWrMaxBurst32 = 0x00030000,
155 keSTADirectRd = 0x1000,
156 keSTADirectWr = 0x0800,
157 keSTAIndirAddr = 0x2000,
158 keSTAIndirRd = 0x3000,
159 keSTAIndirWr = 0x2800
183 enum { GPIOAddress = 0xEF600800 };
190 enum { RGMIIAddress = 0xEF600B00 };
General purpose assembler macros, linker command file support and some inline functions for direct re...
Definition: ppc405ex.h:185
Definition: ppc405ex.h:162