#ifndef _DEV_IC_MPC106REG_H_
#define _DEV_IC_MPC106REG_H_
#define MPC106_PMCR1 0x70
#define MPC106_PMCR2 0x72
#define MPC106_ODCR 0x73
#define MPC106_MEMSTARTADDR1 0x80
#define MPC106_MEMSTARTADDR2 0x84
#define MPC106_EXTMEMSTARTADDR1 0x88
#define MPC106_EXTMEMSTARTADDR2 0x8c
#define MPC106_MEMENDADDR1 0x90
#define MPC106_MEMENDADDR2 0x94
#define MPC106_EXTMEMENDADDR1 0x98
#define MPC106_EXTMEMENDADDR2 0x9c
#define MPC106_MEMEN 0xa0
#define MPC106_PICR1 0xa8
#define MPC106_PICR1_CBA_MASK __BITS(31,24)
#define MPC106_PICR1_BREAD_WS __BITS(23,22)
#define MPC106_PICR1_BREAD_WS0 0x00000000
#define MPC106_PICR1_BREAD_WS1 0x00400000
#define MPC106_PICR1_BREAD_WS2 0x00800000
#define MPC106_PICR1_BREAD_WS3 0x00c00000
#define MPC106_PICR1_CACHE_1G __BIT(21)
#define MPC106_PICR1_RCS0 __BIT(20)
#define MPC106_PICR1_XIO_MODE __BIT(19)
#define MPC106_PICR1_PROC_TYPE __BITS(18,17)
#define MPC106_PICR1_PROC_TYPE_601 0x00000000
#define MPC106_PICR1_PROC_TYPE_RSVD 0x00020000
#define MPC106_PICR1_PROC_TYPE_603 0x00040000
#define MPC106_PICR1_PROC_TYPE_604 0x00060000
#define MPC106_PICR1_XATS __BIT(16)
#define MPC106_PICR1_MP_ID __BITS(15,14)
#define MPC106_PICR1_LBA_EN __BIT(13)
#define MPC106_PICR1_FLASHWR_EN __BIT(12)
#define MPC106_PICR1_MCP_EN __BIT(11)
#define MPC106_PICR1_TEA_EN __BIT(10)
#define MPC106_PICR1_DPARK __BIT(9)
#define MPC106_PICR1_EXT_L2_EN __BIT(8)
#define MPC106_PICR1_NO_PORT_REGS __BIT(7)
#define MPC106_PICR1_ST_GATH_EN __BIT(6)
#define MPC106_PICR1_LE_MODE __BIT(5)
#define MPC106_PICR1_LOOP_SNOOP __BIT(4)
#define MPC106_PICR1_APARK __BIT(3)
#define MPC106_PICR1_SPECREADS __BIT(2)
#define MPC106_PICR1_L2_MP __BITS(1,0)
#define MPC106_PICR1_L2_MP_NONE 0x00000000
#define MPC106_PICR1_L2_MP_WT 0x00000001
#define MPC106_PICR1_L2_MP_WB 0x00000002
#define MPC106_PICR1_L2_MP_MP 0x00000003
#define MPC106_PICR2 0xac
#define MPC106_PICR2_L2_UPD_EN __BIT(31)
#define MPC106_PICR2_L2_EN __BIT(30)
#define MPC106_PICR2_NOSERCFG __BIT(29)
#define MPC106_PICR2_FLUSH_L2 __BIT(28)
#define MPC106_PICR2_NOSNOOP_EN __BIT(27)
#define MPC106_PICR2_CF_FF0_LOC __BIT(26)
#define MPC106_PICR2_FLASH_LOCK __BIT(25)
#define MPC106_PICR2_FAST_L2_MODE __BIT(24)
#define MPC106_PICR2_DATA_RAM_TYPE __BITS(23,22)
#define MPC106_PICR2_DATA_RAM_TYPE_SYNCBRST 0x00000000
#define MPC106_PICR2_DATA_RAM_TYPE_PIPEBRST 0x00400000
#define MPC106_PICR2_DATA_RAM_TYPE_ASYNC 0x00800000
#define MPC106_PICR2_DATA_RAM_TYPE_RSVD1 0x00c00000
#define MPC106_PICR2_WMODE __BITS(21,20)
#define MPC106_PICR2_WMODE_NORMAL 0x00000000
#define MPC106_PICR2_WMODE_NORMAL_PART 0x00100000
#define MPC106_PICR2_WMODE_DELAYED 0x00200000
#define MPC106_PICR2_WMODE_EARLY 0x00300000
#define MPC106_PICR2_SNOOP_WS __BITS(19,18)
#define MPC106_PICR2_SNOOP_WS0 0x00000000
#define MPC106_PICR2_SNOOP_WS1 0x00040000
#define MPC106_PICR2_SNOOP_WS2 0x00080000
#define MPC106_PICR2_SNOOP_WS3 0x000c0000
#define MPC106_PICR2_MOD_HIGH __BIT(17)
#define MPC106_PICR2_HIT_HIGH __BIT(16)
#define MPC106_PICR2_RSVD2 __BIT(15)
#define MPC106_PICR2_ADDR_ONLY_DISABLE __BIT(14)
#define MPC106_PICR2_HOLD __BIT(13)
#define MPC106_PICR2_INV_MODE __BIT(12)
#define MPC106_PICR2_RWITM __BIT(11)
#define MPC106_PICR2_L2_HIT_DELAY __BITS(10,9)
#define MPC106_PICR2_L2_HIT_DELAYRSVD 0x0000000
#define MPC106_PICR2_L2_HIT_DELAY1 0x0000200
#define MPC106_PICR2_L2_HIT_DELAY2 0x0000400
#define MPC106_PICR2_L2_HIT_DELAY3 0x0000600
#define MPC106_PICR2_BANKS __BIT(8)
#define MPC106_PICR2_FAST_CASTOUT __BIT(7)
#define MPC106_PICR2_TOE_WIDTH __BIT(6)
#define MPC106_PICR2_L2_SIZE __BITS(5,4)
#define MPC106_PICR2_L2_SIZE_256K 0x00000000
#define MPC106_PICR2_L2_SIZE_512K 0x00000010
#define MPC106_PICR2_L2_SIZE_1M 0x00000020
#define MPC106_PICR2_L2_SIZE_RSVD 0x00000030
#define MPC106_PICR2_APHASE_WS __BITS(3,2)
#define MPC106_PICR2_APHASE_WS0 0x00000000
#define MPC106_PICR2_APHASE_WS1 0x00000004
#define MPC106_PICR2_APHASE_WS2 0x00000008
#define MPC106_PICR2_APHASE_WS3 0x0000000c
#define MPC106_PICR2_DOE __BIT(1)
#define MPC106_PICR2_WDATA __BIT(0)
#define MPC106_ECC_SBECR 0xb8
#define MPC106_ECC_SBETR 0xb9
#define MPC106_AOVPR1 0xba
#define MPC106_AOVPR2 0xbb
#define MPC106_ERRENR1 0xc0
#define MPC106_ERRDR1 0xc1
#define MPC106_60xBUSERRSTATR 0xc3
#define MPC106_ERRENR2 0xc4
#define MPC106_ERRDR2 0xc5
#define MPC106_PCIBUSERRSTATR 0xc7
#define MPC106_ERRADDRR 0xc8
#define MPC106_ESCR1 0xe0
#define MPC106_ESCR2 0xe8
#define MPC106_MMSR1 0xe4
#define MPC106_MMSR2 0xec
#define MPC106_MCCR1 0xf0
#define MPC106_MCCR1_ROMNAL __BITS(31,28)
#define MPC106_MCCR1_ROMFAL __BITS(27,23)
#define MPC106_MCCR1_501_MODE __BIT(22)
#define MPC106_MCCR1_8N64 __BIT(21)
#define MPC106_MCCR1_BURST __BIT(20)
#define MPC106_MCCR1_MEMGO __BIT(19)
#define MPC106_MCCR1_SREN __BIT(18)
#define MPC106_MCCR1_RAMTYPE __BIT(17)
#define MPC106_MCCR1_PCKEN __BIT(16)
#define MPC106_MCCR2 0xf4
#define MPC106_MCRR2_TSWAIT __BITS(31,29)
#define MPC106_MCRR2_RESV0 __BITS(28,22)
#define MPC106_MCRR2_BSTOPRE0 __BIT(21)
#define MPC106_MCRR2_BSTOPRE1 __BIT(20)
#define MPC106_MCRR2_EXT_ECM_PAR_EN __BIT(19)
#define MPC106_MCRR2_EXT_ECM_ECC_EN __BIT(18)
#define MPC106_MCRR2_ECC_EN __BIT(17)
#define MPC106_MCRR2_EDO __BIT(16)
#define MPC106_MCRR2_REFINT __BITS(15,2)
#define MPC106_MCRR2_BUFMODE __BIT(1)
#define MPC106_MCRR2_RMW_PAR __BIT(0)
#define MPC106_MCCR3 0xf8
#define MPC106_MCCR4 0xfc
#define MPC106_MCRR4_PRETOACT __BITS(31,28)
#define MPC106_MCRR4_ACTOPRE __BITS(27,24)
#define MPC106_MCRR4_EXT_ECM_EN __BITS(23,22)
#define MPC106_ECR1 0x092
#define MPC106_ECR2 0x81C
#define MPC106_ECR2_L2_UPD 0x80
#define MPC106_ECR2_L2_EN 0x40
#define MPC106_ECR2_TEA_EN 0x20
#define MPC106_ECR2_L2_FLUSH 0x10
#define MPC106_ECR3 0x850
#endif