;Register definition for PXA270
;==============================
;
; name: user defined name of the register
; type: the type of the register
;	GPR	general purpose register
;	CP15	CP15 register
;	MM	memory mapped register
;	DMMx	direct memory mapped register with offset
;		x = 1..4
;		the base is defined in the configuration file
;		e.g. DMM1 0x02200000
; addr:	the number, adddress or offset of the register
; size	the size of the register (8,16 or 32)
;
;
; CP15 Registers Numbers for xScale:
;
;       +-----+-+-------+-----+-+-------+
;       |opc_2|0|  CRm  |opc_1|0|  nbr  |
;       +-----+-+-------+-----+-+-------+
;
; The 16bit register number is used to build the appropriate MCR/MRC instruction.
;
;
;name		type	addr		size
;-------------------------------------------
;
id		CP15    0x0000          32      ;ID code
cache   	CP15    0x2000          32      ;Cache type
ctr             CP15    0x0001          32      ;Control
aux     	CP15    0x2001          32      ;Auxiliary Control
ttb             CP15    0x0002          32      ;Translation Table Base
dac             CP15    0x0003          32      ;Domain Access Control
fsr     	CP15    0x0005          32      ;Fault Status
far     	CP15    0x0006          32      ;Fault Address
pid        	CP15    0x000d          32      ;Process ID
cpacc      	CP15    0x010f          32      ;Coprocessor Access
;
cclkcfg     	CP14    0x0006          32      ;CCLKCFG Register (CP14 Register 6)
pwrmode     	CP14    0x0007          32      ;PWRMODE Register (CP14 Register 7)
;
;
;       DMA Controller
;
dcsr0           MM      0x40000000
dcsr1           MM      0x40000004
dcsr2           MM      0x40000008
dcsr3           MM      0x4000000C
dcsr4           MM      0x40000010
dcsr5           MM      0x40000014
dcsr6           MM      0x40000018
dcsr7           MM      0x4000001C
dcsr8           MM      0x40000020
dcsr9           MM      0x40000024
dcsr10          MM      0x40000028
dcsr11          MM      0x4000002C
dcsr12          MM      0x40000030
dcsr13          MM      0x40000034
dcsr14          MM      0x40000038
dcsr15          MM      0x4000003C
dint            MM      0x400000f0
drcmr0          MM      0x40000100
drcmr1          MM      0x40000104
drcmr2          MM      0x40000108
drcmr3          MM      0x4000010C
drcmr4          MM      0x40000110
drcmr5          MM      0x40000114
drcmr6          MM      0x40000118
drcmr7          MM      0x4000011C
drcmr8          MM      0x40000120
drcmr9          MM      0x40000124
drcmr10         MM      0x40000128
drcmr11         MM      0x4000012C
drcmr12         MM      0x40000130
drcmr13         MM      0x40000134
drcmr14         MM      0x40000138
drcmr15         MM      0x4000013C
drcmr16         MM      0x40000140
drcmr17         MM      0x40000144
drcmr18         MM      0x40000148
drcmr19         MM      0x4000014C
drcmr20         MM      0x40000150
drcmr21         MM      0x40000154
drcmr22         MM      0x40000158
drcmr23         MM      0x4000015C
drcmr24         MM      0x40000160
drcmr25         MM      0x40000164
drcmr26         MM      0x40000168
drcmr27         MM      0x4000016C
drcmr28         MM      0x40000170
drcmr29         MM      0x40000174
drcmr30         MM      0x40000178
drcmr31         MM      0x4000017C
drcmr32         MM      0x40000180
drcmr33         MM      0x40000184
drcmr34         MM      0x40000188
drcmr35         MM      0x4000018C
drcmr36         MM      0x40000190
drcmr37         MM      0x40000194
drcmr38         MM      0x40000198
drcmr39         MM      0x4000019C
ddadr0          MM      0x40000200
dsadr0          MM      0x40000204
dtadr0          MM      0x40000208
dcmd0           MM      0x4000020C
ddadr1          MM      0x40000210
dsadr1          MM      0x40000214
dtadr1          MM      0x40000218
dcmd1           MM      0x4000021C
ddadr2          MM      0x40000220
dsadr2          MM      0x40000224
dtadr2          MM      0x40000228
dcmd2           MM      0x4000022C
ddadr3          MM      0x40000230
dsadr3          MM      0x40000234
dtadr3          MM      0x40000238
dcmd3           MM      0x4000023C
ddadr4          MM      0x40000240
dsadr4          MM      0x40000244
dtadr4          MM      0x40000248
dcmd4           MM      0x4000024C
ddadr5          MM      0x40000250
dsadr5          MM      0x40000254
dtadr5          MM      0x40000258
dcmd5           MM      0x4000025C
ddadr6          MM      0x40000260
dsadr6          MM      0x40000264
dtadr6          MM      0x40000268
dcmd6           MM      0x4000026C
ddadr7          MM      0x40000270
dsadr7          MM      0x40000274
dtadr7          MM      0x40000278
dcmd7           MM      0x4000027C
ddadr8          MM      0x40000280
dsadr8          MM      0x40000284
dtadr8          MM      0x40000288
dcmd8           MM      0x4000028C
ddadr9          MM      0x40000290
dsadr9          MM      0x40000294
dtadr9          MM      0x40000298
dcmd9           MM      0x4000029C
ddadr10         MM      0x400002A0
dsadr10         MM      0x400002A4
dtadr10         MM      0x400002A8
dcmd10          MM      0x400002AC
ddadr11         MM      0x400002B0
dsadr11         MM      0x400002B4
dtadr11         MM      0x400002B8
dcmd11          MM      0x400002BC
ddadr12         MM      0x400002C0
dsadr12         MM      0x400002C4
dtadr12         MM      0x400002C8
dcmd12          MM      0x400002CC
ddadr13         MM      0x400002D0
dsadr13         MM      0x400002D4
dtadr13         MM      0x400002D8
dcmd13          MM      0x400002DC
ddadr14         MM      0x400002E0
dsadr14         MM      0x400002E4
dtadr14         MM      0x400002E8
dcmd14          MM      0x400002EC
ddadr15         MM      0x400002F0
dsadr15         MM      0x400002F4
dtadr15         MM      0x400002F8
dcmd15          MM      0x400002FC
;
;       Full Function UART
;
ffrbr           MM      0x40100000
ffthr           MM      0x40100000
ffier           MM      0x40100004
ffiir           MM      0x40100008
fffcr           MM      0x40100008
fflcr           MM      0x4010000C
ffmcr           MM      0x40100010
fflsr           MM      0x40100014
ffmsr           MM      0x40100018
ffspr           MM      0x4010001C
ffisr           MM      0x40100020
ffdll           MM      0x40100000
ffdlh           MM      0x40100004
;
;       Bluetooth UART
;
btrbr           MM      0x40200000
btthr           MM      0x40200000
btier           MM      0x40200004
btiir           MM      0x40200008
btfcr           MM      0x40200008
btlcr           MM      0x4020000C
btmcr           MM      0x40200010
btlsr           MM      0x40200014
btmsr           MM      0x40200018
btspr           MM      0x4020001C
btisr           MM      0x40200020
btdll           MM      0x40200000
btdlh           MM      0x40200004
;
;       I2C
;
ibmr            MM      0x40301680
idbr            MM      0x40301688
icr             MM      0x40301690
isr             MM      0x40301698
isar            MM      0x403016A0
;
;       I2S
;
sacr0           MM      0x40400000
sacr1           MM      0x40400004
sasr0           MM      0x4040000C
saimr           MM      0x40400014
saicr           MM      0x40400018
sadiv           MM      0x40400060
sadr            MM      0x40400080
;
;       AC97
;
pocr            MM      0x40500000
picr            MM      0x40500004
mccr            MM      0x40500008
gcr             MM      0x4050000C
posr            MM      0x40500010
pisr            MM      0x40500014
mcsr            MM      0x40500018
gsr             MM      0x4050001C
car             MM      0x40500020
pcdr            MM      0x40500040
mcdr            MM      0x40500060
mocr            MM      0x40500100
micr            MM      0x40500108
mosr            MM      0x40500110
misr            MM      0x40500118
modr            MM      0x40500140
;
;       UDC
;
udccr           MM      0x40600000
udccs0          MM      0x40600010
udccs1          MM      0x40600014
udccs2          MM      0x40600018
udccs3          MM      0x4060001C
udccs4          MM      0x40600020
udccs5          MM      0x40600024
udccs6          MM      0x40600028
udccs7          MM      0x4060002C
udccs8          MM      0x40600030
udccs9          MM      0x40600034
udccs10         MM      0x40600038
udccs11         MM      0x4060003C
udccs12         MM      0x40600040
udccs13         MM      0x40600044
udccs14         MM      0x40600048
udccs15         MM      0x4060004C
ufnrh           MM      0x40600060
ufnrl           MM      0x40600064
ubcr2           MM      0x40600068
ubcr4           MM      0x4060006C
ubcr7           MM      0x40600070
ubcr9           MM      0x40600074
ubcr12          MM      0x0600078
ubcr14          MM      0x4060007C
uddr0           MM      0x40600080
uddr1           MM      0x40600100
uddr2           MM      0x40600180
uddr3           MM      0x40600200
uddr4           MM      0x40600400
uddr5           MM      0x406000A0
uddr6           MM      0x40600600
uddr7           MM      0x40600680
uddr8           MM      0x40600700
uddr9           MM      0x40600900
uddr10          MM      0x406000C0
uddr11          MM      0x40600B00
uddr12          MM      0x40600B80
uddr13          MM      0x40600C00
uddr14          MM      0x40600E00
uddr15          MM      0x406000E0
uicr0           MM      0x40600050
uicr1           MM      0x40600054
usir0           MM      0x40600058
usir1           MM      0x4060005C
;
;       Standart UART
;
strbr           MM      0x40700000
stthr           MM      0x40700000
stier           MM      0x40700004
stiir           MM      0x40700008
stfcr           MM      0x40700008
stlcr           MM      0x4070000C
stmcr           MM      0x40700010
stlsr           MM      0x40700014
stmsr           MM      0x40700018
stspr           MM      0x4070001C
stisr           MM      0x40700020
stdll           MM      0x40700000
stdlh           MM      0x40700004
;
;       ICP
;
iccr0           MM      0x40800000
iccr1           MM      0x40800004
iccr2           MM      0x40800008
icdr            MM      0x4080000C
icsr0           MM      0x40800014
icsr1           MM      0x40800018
;
;       RTC
;
rcnr            MM      0x40900000
rtar            MM      0x40900004
rtsr            MM      0x40900008
rttr            MM      0x4090000C
;
;       OS Timer
;
osmr0           MM      0x40A00000
osmr1           MM      0x40A00004
osmr2           MM      0x40A00008
osmr3           MM      0x40A0000C
oscr            MM      0x40A00010
ossr            MM      0x40A00014
ower            MM      0x40A00018
oier            MM      0x40A0001C
;
;       PWM 0 / 1
;
pwm_ctrl0       MM      0x40B00000
pwm_pwduty0     MM      0x40B00004
pwm_perval0     MM      0x40B00008
pwm_ctrl1       MM      0x40C00000
pwm_pwduty1     MM      0x40C00004
pwm_perval1     MM      0x40C00008
;
;       Interrupt Control
;
icip            MM      0x40D00000
icmr            MM      0x40D00004
iclr            MM      0x40D00008
icfp            MM      0x40D0000C
icpr            MM      0x40D00010
iccr            MM      0x40D00014
;
;       GPIO
;
gplr0           MM      0x40E00000
gplr1           MM      0x40E00004
gplr2           MM      0x40E00008
gpdr0           MM      0x40E0000C
gpdr1           MM      0x40E00010
gpdr2           MM      0x40E00014
gpsr0           MM      0x40E00018
gpsr1           MM      0x40E0001C
gpsr2           MM      0x40E00020
gpcr0           MM      0x40E00024
gpcr1           MM      0x40E00028
gpcr2           MM      0x40E0002C
grer0           MM      0x40E00030
grer1           MM      0x40E00034
grer2           MM      0x40E00038
gfer0           MM      0x40E0003C
gfer1           MM      0x40E00040
gfer2           MM      0x40E00044
gedr0           MM      0x40E00048
gedr1           MM      0x40E0004C
gedr2           MM      0x40E00050
gafr0_l         MM      0x40E00054
gafr0_u         MM      0x40E00058
gafr1_l         MM      0x40E0005C
gafr1_u         MM      0x40E00060
gafr2_l         MM      0x40E00064
gafr2_u         MM      0x40E00068
;
;       Power Management and Reset Control
;
pmcr            MM      0x40F00000
pssr            MM      0x40F00004
pspr            MM      0x40F00008
pwer            MM      0x40F0000C
prer            MM      0x40F00010
pfer            MM      0x40F00014
pedr            MM      0x40F00018
pcfr            MM      0x40F0001C
pgsr0           MM      0x40F00020
pgsr1           MM      0x40F00024
pgsr2           MM      0x40F00028
rcsr            MM      0x40F00030
;
;       SSP
;
sscr0           MM      0x41000000
sscr1           MM      0x41000004
sssr            MM      0x41000008
ssitr           MM      0x4100000C
ssdr            MM      0x41000010
;
;       MMC Controller
;
mmc_strpcl      MM      0x41100000
mmc_stat        MM      0x41100004
mmc_clkrt       MM      0x41100008
mmc_spi         MM      0x4110000C
mmc_cmdat       MM      0x41100010
mmc_resto       MM      0x41100014
mmc_rdto        MM      0x41100018
mmc_blklen      MM      0x4110001C
mmc_nob         MM      0x41100020
mmc_prtbuf      MM      0x41100024
mmc_i_mask      MM      0x41100028
mmc_i_reg       MM      0x4110002C
mmc_cmd         MM      0x41100030
mmc_argh        MM      0x41100034
mmc_argl        MM      0x41100038
mmc_res         MM      0x4110003C
mmc_rxfifo      MM      0x41100040
mmc_txfifo      MM      0x41100044
;
;       Clocks Manager
;
cccr            MM      0x41300000
cken            MM      0x41300004
oscc            MM      0x41300008
;
;       LCD Controller
;
lccr0           MM      0x44000000
lccr1           MM      0x44000004
lccr2           MM      0x44000008
lccr3           MM      0x4400000C
fdadr0          MM      0x44000200
fsadr0          MM      0x44000204
fidr0           MM      0x44000208
ldcmd0          MM      0x4400020C
fdadr1          MM      0x44000210
fsadr1          MM      0x44000214
fidr1           MM      0x44000218
ldcmd1          MM      0x4400021C
fbr0            MM      0x44000020
fbr1            MM      0x44000024
lcsr            MM      0x44000038
liidr           MM      0x4400003C
trgbr           MM      0x44000040
tcr             MM      0x44000044
;
;       Memory Controller
;
mdcnfg          MM      0x48000000
mdrefr          MM      0x48000004
msc0            MM      0x48000008
msc1            MM      0x4800000C
msc2            MM      0x48000010
mecr            MM      0x48000014
sxlcr           MM      0x48000018
sxcnfg          MM      0x4800001C
flycnfg         MM      0x48000020
sxmrs           MM      0x48000024
mcmem0          MM      0x48000028
mcmem1          MM      0x4800002C
mcatt0          MM      0x48000030
mcatt1          MM      0x48000034
mcio0           MM      0x48000038
mcio1           MM      0x4800003C
mdmrs           MM      0x48000040
boot_def        MM      0x48000044

