;Register definition for LS1021A SAP Access
;==========================================
;
;name		type	addr		size
;-------------------------------------------
;
;
;       Device Configuration and Pin Control
dcfg_porsr1     MM      0x01EE0000      32
dcfg_porsr2     MM      0x01EE0004      32
dcfg_gpporcr1   MM      0x01EE0020      32
dcfg_fusesr     MM      0x01EE0028      32
dcfg_devdisr1   MM      0x01EE0070      32
dcfg_devdisr2   MM      0x01EE0074      32
dcfg_devdisr3   MM      0x01EE0078      32
dcfg_devdisr4   MM      0x01EE007C      32
dcfg_devdisr5   MM      0x01EE0080      32
dcfg_coredisr   MM      0x01EE0094      32
dcfg_svr        MM      0x01EE00A4      32
dcfg_rstcr      MM      0x01EE00B0      32
dcfg_rstrqpblsr MM      0x01EE00B4      32
dcfg_rstrqmr1   MM      0x01EE00C0      32
dcfg_rstrqsr1   MM      0x01EE00C8      32
dcfg_brr        MM      0x01EE00E4      32
dcfg_rcwsr1     MM      0x01EE0100      32
dcfg_rcwsr2     MM      0x01EE0104      32
dcfg_rcwsr3     MM      0x01EE0108      32
dcfg_rcwsr4     MM      0x01EE010C      32
dcfg_rcwsr5     MM      0x01EE0110      32
dcfg_rcwsr6     MM      0x01EE0114      32
dcfg_rcwsr7     MM      0x01EE0118      32
dcfg_rcwsr8     MM      0x01EE011C      32
dcfg_rcwsr9     MM      0x01EE0120      32
dcfg_rcwsr10    MM      0x01EE0124      32
dcfg_rcwsr11    MM      0x01EE0128      32
dcfg_rcwsr12    MM      0x01EE012C      32
dcfg_rcwsr13    MM      0x01EE0130      32
dcfg_rcwsr14    MM      0x01EE0134      32
dcfg_rcwsr15    MM      0x01EE0138      32
dcfg_rcwsr16    MM      0x01EE013C      32
dcfg_crstsr     MM      0x01EE0400      32
;
scratchrw1      MM      0x01EE0200      32
scratchrw2      MM      0x01EE0204      32
scratchrw3      MM      0x01EE0208      32
scratchrw4      MM      0x01EE020C      32
scratchw1r1     MM      0x01EE0300      32
scratchw1r2     MM      0x01EE0304      32
scratchw1r3     MM      0x01EE0308      32
scratchw1r4     MM      0x01EE030C      32
;
;       Integrated Flash Controller
ifc_rev         MM      0x01530000
ifc_cspr0_ext   MM      0x0153000C
ifc_cspr0       MM      0x01530010
ifc_cspr1_ext   MM      0x01530018
ifc_cspr1       MM      0x0153001C
ifc_cspr2_ext   MM      0x01530024
ifc_cspr2       MM      0x01530028
ifc_cspr3_ext   MM      0x01530030
ifc_cspr3       MM      0x01530034
ifc_cspr4_ext   MM      0x0153003C
ifc_cspr4       MM      0x01530040
ifc_cspr5_ext   MM      0x01530048
ifc_cspr5       MM      0x0153004C
ifc_cspr6_ext   MM      0x01530054
ifc_cspr6       MM      0x01530058
;
ifc_amask0      MM      0x015300A0
ifc_amask1      MM      0x015300AC
ifc_amask2      MM      0x015300B8
ifc_amask3      MM      0x015300C4
ifc_amask4      MM      0x015300D0
ifc_amask5      MM      0x015300DC
ifc_amask6      MM      0x015300E8
;
ifc_csor0       MM      0x01530130
ifc_csor0_ext   MM      0x01530134
ifc_csor1       MM      0x0153013C
ifc_csor1_ext   MM      0x01530140
ifc_csor2       MM      0x01530148
ifc_csor2_ext   MM      0x0153014C
ifc_csor3       MM      0x01530154
ifc_csor3_ext   MM      0x01530158
ifc_csor4       MM      0x01530160
ifc_csor4_ext   MM      0x01530164
ifc_csor5       MM      0x0153016C
ifc_csor5_ext   MM      0x01530170
ifc_csor6       MM      0x01530178
ifc_csor6_ext   MM      0x0153017C
;
ifc_ftim0_cs0   MM      0x015301C0
ifc_ftim1_cs0   MM      0x015301C4
ifc_ftim2_cs0   MM      0x015301C8
ifc_ftim3_cs0   MM      0x015301CC
ifc_ftim0_cs1   MM      0x015301F0
ifc_ftim1_cs1   MM      0x015301F4
ifc_ftim2_cs1   MM      0x015301F8
ifc_ftim3_cs1   MM      0x015301FC
ifc_ftim0_cs2   MM      0x01530220
ifc_ftim1_cs2   MM      0x01530224
ifc_ftim2_cs2   MM      0x01530228
ifc_ftim3_cs2   MM      0x0153022C
ifc_ftim0_cs3   MM      0x01530250
ifc_ftim1_cs3   MM      0x01530254
ifc_ftim2_cs3   MM      0x01530258
ifc_ftim3_cs3   MM      0x0153025C
ifc_ftim0_cs4   MM      0x01530280
ifc_ftim1_cs4   MM      0x01530284
ifc_ftim2_cs4   MM      0x01530288
ifc_ftim3_cs4   MM      0x0153028C
ifc_ftim0_cs5   MM      0x015302B0
ifc_ftim1_cs5   MM      0x015302B4
ifc_ftim2_cs5   MM      0x015302B8
ifc_ftim3_cs5   MM      0x015302BC
ifc_ftim0_cs6   MM      0x015302E0
ifc_ftim1_cs6   MM      0x015302E4
ifc_ftim2_cs6   MM      0x015302E8
ifc_ftim3_cs6   MM      0x015302EC
;
ifc_rb_stat     MM      0x01530400
ifc_gcr         MM      0x0153040C
ifc_cm_ee_stat  MM      0x01530418
ifc_cm_evter_en MM      0x01530424
ifc_cm_evter_ie MM      0x01530430
ifc_cm_erattr0  MM      0x0153043C
ifc_cm_erattr1  MM      0x01530440
ifc_ccr         MM      0x0153044C
ifc_csr         MM      0x01530450
ifc_ddr_ccr_low MM      0x01530454
ifc_gpcm_ee_sta MM      0x01530800
ifc_gpcm_ee_en  MM      0x0153080C
ifc_gpcm_ee_ien MM      0x01530818
ifc_gpcm_eratt0 MM      0x01530824
ifc_gpcm_eratt1 MM      0x01530828
ifc_gpcm_eratt2 MM      0x0153082C
ifc_gpcm_stat   MM      0x01530830
;
ifc_ncfgr       MM      0x01531000
ifc_nand_fcr0   MM      0x01531014
ifc_nand_fcr1   MM      0x01531018
ifc_row0        MM      0x0153103C
ifc_col0        MM      0x01531044
ifc_col0_2kb    MM      0x01531044
ifc_col0_4kb    MM      0x01531044
ifc_col0_8kb    MM      0x01531044
ifc_row1        MM      0x0153104C
ifc_col1        MM      0x01531054
ifc_col1_2kb    MM      0x01531054
ifc_col1_4kb    MM      0x01531054
ifc_col1_8kb    MM      0x01531054
ifc_row2        MM      0x0153105C
ifc_col2        MM      0x01531064
ifc_col2_2kb    MM      0x01531064
ifc_col2_4kb    MM      0x01531064
ifc_col2_8kb    MM      0x01531064
ifc_row3        MM      0x0153106C
ifc_col3        MM      0x01531074
ifc_col3_2kb    MM      0x01531074
ifc_col3_4kb    MM      0x01531074
ifc_col3_8kb    MM      0x01531074
ifc_nand_bc     MM      0x01531108
ifc_nand_fir0   MM      0x01531110
ifc_nand_fir1   MM      0x01531114
ifc_nand_fir2   MM      0x01531118
ifc_nand_csel   MM      0x0153115C
ifc_nandseq_str MM      0x01531164
ifc_nand_ee_sta MM      0x0153116C
ifc_pgrdcmpl_es MM      0x01531174
ifc_nand_ee_en  MM      0x01531180
ifc_nand_ee_ien MM      0x0153118C
ifc_nand_eratt0 MM      0x01531198
ifc_nand_eratt1 MM      0x0153119C
ifc_nand_fsr    MM      0x015311E0
ifc_eccstat0    MM      0x015311E8
ifc_eccstat1    MM      0x015311EC
ifc_eccstat2    MM      0x015311F0
ifc_eccstat3    MM      0x015311F4
ifc_nandcr      MM      0x01531278
ifc_nand_ab_trg MM      0x01531284
ifc_nand_mdr    MM      0x0153128C
ifc_nor_ee_stat MM      0x01531400
ifc_nor_ee_en   MM      0x0153140C
ifc_nor_ee_ien  MM      0x01531418
ifc_nor_eratt0  MM      0x01531424
ifc_nor_eratt1  MM      0x01531428
ifc_nor_eratt2  MM      0x0153142C
ifc_norcr       MM      0x01531440
;

