;Register definition for MGT5200 ;=============================== ; ; name: user defined name of the register ; type: the type of the register ; GPR general purpose register ; SPR special purpose register ; MM memory mapped register ; MBAR memory mapped based on JTAG readable MBAR ; DMMx direct memory mapped register with offset ; x = 1..4 ; the base is defined in the configuration file ; e.g. DMM1 0x02200000 ; IMMx indirect memory mapped register ; x = 1..4 ; the addr and data address is defined in the configuration file ; e.g. IMM1 0xFEC00000 0xFEE00000 ; addr: the number, adddress or offset of the register ; size the size of the register (8,16 or 32) ; ;name type addr size ;------------------------------------------- ; sp GPR 1 ; xer SPR 1 lr SPR 8 ctr SPR 9 dsisr SPR 18 dar SPR 19 dec SPR 22 sdr1 SPR 25 srr0 SPR 26 srr1 SPR 27 csrr0 SPR 58 csrr1 SPR 59 ; tbl SPR 268 tbu SPR 269 sprg0 SPR 272 sprg1 SPR 273 sprg2 SPR 274 sprg3 SPR 275 sprg4 SPR 276 sprg5 SPR 277 sprg6 SPR 278 sprg7 SPR 279 ear SPR 282 svr SPR 286 pvr SPR 287 ; ibcr SPR 309 dbcr SPR 310 mbarspr SPR 311 dabr2 SPR 317 ; ibat0u SPR 528 ibat0l SPR 529 ibat1u SPR 530 ibat1l SPR 531 ibat2u SPR 532 ibat2l SPR 533 ibat3u SPR 534 ibat3l SPR 535 ; dbat0u SPR 536 dbat0l SPR 537 dbat1u SPR 538 dbat1l SPR 539 dbat2u SPR 540 dbat2l SPR 541 dbat3u SPR 542 dbat3l SPR 543 ; ibat4u SPR 560 ibat4l SPR 561 ibat5u SPR 562 ibat5l SPR 563 ibat6u SPR 564 ibat6l SPR 565 ibat7u SPR 566 ibat7l SPR 567 ; dbat4u SPR 568 dbat4l SPR 569 dbat5u SPR 570 dbat5l SPR 571 dbat6u SPR 572 dbat6l SPR 573 dbat7u SPR 574 dbat7l SPR 575 ; dmiss SPR 976 dcmp SPR 977 imiss SPR 980 icmp SPR 981 rpa SPR 982 ; hid0 SPR 1008 hid1 SPR 1009 iabr SPR 1010 hid2 SPR 1011 ; dabr SPR 1013 iabr2 SPR 1018 ; ; ; IPIB base address registers ; mbar MBAR 0x000 32 cs0str MBAR 0x004 32 cs0spr MBAR 0x008 32 cs1str MBAR 0x00c 32 cs1spr MBAR 0x010 32 cs2str MBAR 0x014 32 cs2spr MBAR 0x018 32 cs3str MBAR 0x01c 32 cs3spr MBAR 0x020 32 cs4str MBAR 0x024 32 cs4spr MBAR 0x028 32 cs5str MBAR 0x02c 32 cs5spr MBAR 0x030 32 sdramstr MBAR 0x034 32 sdramspr MBAR 0x038 32 pci1str MBAR 0x03c 32 pci1spr MBAR 0x040 32 pci2str MBAR 0x044 32 pci2spr MBAR 0x048 32 bootstr MBAR 0x04c 32 bootspr MBAR 0x050 32 adren MBAR 0x054 32 cs6str MBAR 0x058 32 cs6spr MBAR 0x05c 32 cs7str MBAR 0x060 32 cs7spr MBAR 0x064 32 ;