A10 DRAM Controller Register Guide

= DRAM Controller = DRAMC Base Address :0x01c01000

SDR_CCR
Default value:

Offset: 0x0000

SDR_TPR0
Default value: 0x30926692

Offset: 0x0218

Default map (boot0/1)
md 0x01c01000 0x100 01c01000: 00004000 000030e5 00cc0000 00000000   .@...0.......... 01c01010: 0882cf9d 30926692 00001090 0001a0c8   .....f.0........ 01c01020: 00000000 00000000 00000000 00000000   ................ 01c01030: 00000000 00000000 00000000 00000000   ................ 01c01040: 00000000 00000000 00000000 00000249   ............I... 01c01050: 00000000 00000000 00000000 00000056   ............V... 01c01060: 00000055 00000000 00000000 00000000   U............... 01c01070: 00000000 00000000 00000000 00000000   ................ 01c01080: 00000000 00000000 00000000 00000000   ................ 01c01090: 00000000 00000000 00210000 dd22ee11   ..........!...". 01c010a0: 7788bb44 00000000 07b00000 00000000    D..w............ 01c010b0: 8006b948 00c9ffff 00000000 00000000    H............... 01c010c0: 00000000 00000000 00000000 00000000    ................ 01c010d0: 00000000 00000000 00000000 00000000    ................ 01c010e0: 00000000 00000000 00000000 00000000    ................ 01c010f0: 00000000 00000000 00000000 00000000    ................ 01c01100: 00000000 00000000 00000000 00000000    ................ 01c01110: 00000000 00000000 00000000 00000000    ................ 01c01120: 00000000 00000000 00000000 00000000    ................ 01c01130: 00000000 00000000 00000000 00000000    ................ 01c01140: 00000000 00000000 00000000 00000000    ................ 01c01150: 00000000 00000000 00000000 00000000    ................ 01c01160: 00000000 00000000 00000000 00000000    ................ 01c01170: 00000000 00000000 00000000 00000000   ................ 01c01180: 00000000 00000000 00000000 00000000   ................ 01c01190: 00000000 00000000 00000000 00000000   ................ 01c011a0: 00000000 00000000 00000000 00000000   ................ 01c011b0: 00000000 00000000 00000000 00000000   ................ 01c011c0: 00000000 00000000 00000000 00000000   ................ 01c011d0: 00000000 00000000 00000000 00000000   ................ 01c011e0: 00000000 00000000 00000000 00000000   ................ 01c011f0: 00001a20 00000000 00000000 00000000    ............... 01c01200: 03737000 40000000 40000000 40000000   .ps....@...@...@ 01c01210: 40000000 40000000 ffffffff ffffffff   ...@...@........ 01c01220: ffffffff ffffffff 00003333 00003333   ........33..33.. 01c01230: 00006ffc 000000ff 00000000 00000000   .o.............. 01c01240: 00008000 00010400 00000000 00000000   ................ 01c01250: 00000301 00000301 00000301 00000301   ................ 01c01260: 00000301 00000301 00000000 00000000   ................ 01c01270: 00000000 00000000 00000000 00000000   ................ 01c01280: 00000000 00000000 00000000 00000000   ................ 01c01290: 00001031 00001031 00000735 00001035   1...1...5...5... 01c012a0: 00001035 00000731 00001031 00000735   5...1...1...5... 01c012b0: 00001035 00001031 00000731 00001035   5...1...1...5... 01c012c0: 00001031 00000301 00000301 00000731   1...........1... 01c012d0: 00000000 00000000 00000000 00000000   ................ 01c012e0: 00000000 00000000 00000000 00000000   ................

Initial values from CB2
NOTE: Uboot configure this part so, thats realy not 'initial'

Default map (boot0/1)
md 0x01c01000 0x100 01c01000: 00004020 000030e5 00000000 00000000    @...0.......... 01c01010: 0875a983 42d899b7 0000a090 00022a00   ..u....B.....*.. 01c01020: 00000000 00000000 00000000 00000000   ................ 01c01030: 00000000 00000000 00000000 00000000   ................ 01c01040: 00000000 00000000 00000000 00000249   ............I... 01c01050: 00000000 00000000 00000000 00000065   ............e... 01c01060: 00000055 00000000 00000000 00000000   U............... 01c01070: 00000000 00000000 00000000 00000000   ................ 01c01080: 00000000 00000000 00000000 00000000   ................ 01c01090: 00000000 00000000 00210000 dd22ee11   ..........!...". 01c010a0: 7788bb44 00000000 07f00000 00000002    D..w............ 01c010b0: 8002b75e 00c9ffff 00000000 00000000    ^............... 01c010c0: 00000000 00000000 00000000 00000000    ................ 01c010d0: 00000000 00000000 00000000 00000000    ................ 01c010e0: 00000000 00000000 00000000 00000000    ................ 01c010f0: 00000000 00000000 00000000 00000000    ................ 01c01100: 00000000 00000000 00000000 00000000    ................ 01c01110: 00000000 00000000 00000000 00000000    ................ 01c01120: 00000000 00000000 00000000 00000000    ................ 01c01130: 00000000 00000000 00000000 00000000    ................ 01c01140: 00000000 00000000 00000000 00000000    ................ 01c01150: 00000000 00000000 00000000 00000000    ................ 01c01160: 00000000 00000000 00000000 00000000    ................ 01c01170: 00000000 00000000 00000000 00000000   ................ 01c01180: 00000000 00000000 00000000 00000000   ................ 01c01190: 00000000 00000000 00000000 00000000   ................ 01c011a0: 00000000 00000000 00000000 00000000   ................ 01c011b0: 00000000 00000000 00000000 00000000   ................ 01c011c0: 00000000 00000000 00000000 00000000   ................ 01c011d0: 00000000 00000000 00000000 00000000   ................ 01c011e0: 00000000 00000000 00000000 00000000   ................ 01c011f0: 00001a50 00000004 00000010 00000000   P............... 01c01200: 03737000 40000000 40000000 40000000   .ps....@...@...@ 01c01210: 40000000 40000000 ffffffff ffffffff   ...@...@........ 01c01220: ffffffff ffffffff 00003333 00003333   ........33..33.. 01c01230: c7017ffc 000003ff 00000000 00000000   ................ 01c01240: 00008000 01010400 00000000 00000000   ................ 01c01250: 00000301 00000301 00000301 00000301   ................ 01c01260: 00000301 00000301 00000301 00000301   ................ 01c01270: 00000000 00000000 00000000 00000000   ................ 01c01280: 00000000 00000000 00000000 00000000   ................ 01c01290: 00001031 00001031 00000735 00001035   1...1...5...5... 01c012a0: 00001035 00000731 00001031 00000735   5...1...1...5... 01c012b0: 00001035 00001031 00000731 00001035   5...1...1...5... 01c012c0: 00000001 00001031 00000000 00001031   ....1.......1... 01c012d0: 00000000 00000000 00000000 00000000   ................ 01c012e0: 00000000 00000000 00000000 00000000   ................

map u-boot-spl (wip/a20)
01c01000: 00004020 000030e5 00000000 00000055    @...0......U... 01c01010: 0882cf83 42d899b7 0000a090 00022a00   .......B.....*.. 01c01020: 00000000 00000000 00000000 00000000   ................ 01c01030: 00000000 00000000 00000000 00000000   ................ 01c01040: 00000000 00000000 00000000 00000249   ............I... 01c01050: 00000000 00000000 00000000 00000055   ............U... 01c01060: 00000055 00000000 00000000 00000000   U............... 01c01070: 00000000 00000000 00000000 00000000   ................ 01c01080: 00000000 00000000 00000000 00000000   ................ 01c01090: 00000000 00000000 00210000 dd22ee11   ..........!...". 01c010a0: 7788bb44 00000000 07f00000 00000002    D..w............ 01c010b0: 0005294a 00c9ffff 00000000 00000000    J).............. 01c010c0: 00000000 00000000 00000000 00000000    ................ 01c010d0: 00000000 00000000 00000000 00000000    ................ 01c010e0: 00000000 00000000 00000000 00000000    ................ 01c010f0: 00000000 00000000 00000000 00000000    ................ 01c01100: 00000000 00000000 00000000 00000000    ................ 01c01110: 00000000 00000000 00000000 00000000    ................ 01c01120: 00000000 00000000 00000000 00000000    ................ 01c01130: 00000000 00000000 00000000 00000000    ................ 01c01140: 00000000 00000000 00000000 00000000    ................ 01c01150: 00000000 00000000 00000000 00000000    ................ 01c01160: 00000000 00000000 00000000 00000000    ................ 01c01170: 00000000 00000000 00000000 00000000   ................ 01c01180: 00000000 00000000 00000000 00000000   ................ 01c01190: 00000000 00000000 00000000 00000000   ................ 01c011a0: 00000000 00000000 00000000 00000000   ................ 01c011b0: 00000000 00000000 00000000 00000000   ................ 01c011c0: 00000000 00000000 00000000 00000000   ................ 01c011d0: 00000000 00000000 00000000 00000000   ................ 01c011e0: 00000000 00000000 00000000 00000000   ................ 01c011f0: 00001a50 00000004 00000010 00000000   P............... 01c01200: 03737000 40000000 40000000 40000000   .ps....@...@...@ 01c01210: 40000000 40000000 ffffffff ffffffff   ...@...@........ 01c01220: ffffffff ffffffff 00003333 00003333   ........33..33.. 01c01230: c7017ffc 000003ff 00000000 00000000   ................ 01c01240: 00008000 01010400 00000000 00000000   ................ 01c01250: 00000301 00000301 00000301 00000301   ................ 01c01260: 00000301 00000301 00000301 00000301   ................ 01c01270: 00000000 00000000 00000000 00000000   ................ 01c01280: 00000000 00000000 00000000 00000000   ................ 01c01290: 00001031 00001031 00000735 00001035   1...1...5...5... 01c012a0: 00001035 00000731 00001031 00000735   5...1...1...5... 01c012b0: 00001035 00001031 00000731 00001035   5...1...1...5... 01c012c0: 00000001 00001031 00000000 00000731   ....1.......1... 01c012d0: 00000000 00000000 00000000 00000000   ................ 01c012e0: 00000000 00000000 00000000 00000000   ................