Go to the documentation of this file.
22 #define CHIPCREGOFFS(field) offsetof(struct chipcregs, field)
222 #define CID_ID_MASK 0x0000ffff
223 #define CID_REV_MASK 0x000f0000
224 #define CID_REV_SHIFT 16
225 #define CID_PKG_MASK 0x00f00000
226 #define CID_PKG_SHIFT 20
227 #define CID_CC_MASK 0x0f000000
228 #define CID_CC_SHIFT 24
229 #define CID_TYPE_MASK 0xf0000000
230 #define CID_TYPE_SHIFT 28
233 #define CC_CAP_UARTS_MASK 0x00000003
234 #define CC_CAP_MIPSEB 0x00000004
235 #define CC_CAP_UCLKSEL 0x00000018
237 #define CC_CAP_UINTCLK 0x00000008
238 #define CC_CAP_UARTGPIO 0x00000020
239 #define CC_CAP_EXTBUS_MASK 0x000000c0
240 #define CC_CAP_EXTBUS_NONE 0x00000000
241 #define CC_CAP_EXTBUS_FULL 0x00000040
242 #define CC_CAP_EXTBUS_PROG 0x00000080
243 #define CC_CAP_FLASH_MASK 0x00000700
244 #define CC_CAP_PLL_MASK 0x00038000
245 #define CC_CAP_PWR_CTL 0x00040000
246 #define CC_CAP_OTPSIZE 0x00380000
247 #define CC_CAP_OTPSIZE_SHIFT 19
248 #define CC_CAP_OTPSIZE_BASE 5
249 #define CC_CAP_JTAGP 0x00400000
250 #define CC_CAP_ROM 0x00800000
251 #define CC_CAP_BKPLN64 0x08000000
252 #define CC_CAP_PMU 0x10000000
253 #define CC_CAP_SROM 0x40000000
255 #define CC_CAP_NFLASH 0x80000000
257 #define CC_CAP2_SECI 0x00000001
259 #define CC_CAP2_GSIO 0x00000002
262 #define PCAP_REV_MASK 0x000000ff
263 #define PCAP_RC_MASK 0x00001f00
264 #define PCAP_RC_SHIFT 8
265 #define PCAP_TC_MASK 0x0001e000
266 #define PCAP_TC_SHIFT 13
267 #define PCAP_PC_MASK 0x001e0000
268 #define PCAP_PC_SHIFT 17
269 #define PCAP_VC_MASK 0x01e00000
270 #define PCAP_VC_SHIFT 21
271 #define PCAP_CC_MASK 0x1e000000
272 #define PCAP_CC_SHIFT 25
273 #define PCAP5_PC_MASK 0x003e0000
274 #define PCAP5_PC_SHIFT 17
275 #define PCAP5_VC_MASK 0x07c00000
276 #define PCAP5_VC_SHIFT 22
277 #define PCAP5_CC_MASK 0xf8000000
278 #define PCAP5_CC_SHIFT 27
284 #define PMU_MAX_TRANSITION_DLY 15000