Changeset 2352


Ignore:
Timestamp:
Jul 13, 2011, 11:28:41 PM (4 years ago)
Author:
wmb
Message:

OLPC XO-1.75 - fixed DRAM timings to match Marvell's latest recommendations. This is in the version of the file that splits out the parameters into individual fields, not the digested version that is used in CForth for the actual parameter setting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/olpc/1.75/xo-dram.fth

    r1987 r2352  
    7878mmap0
    7979h# 0000.0000 d# 23 rshift start-addr   
    80 h# 4000.0000 log2 d# 16 - area-length
     80h# 2000.0000 log2 d# 16 - area-length
    8181h# 0000.0000 d# 23 rshift addr-mask
    82821 cs-valid
     
    8484
    8585mmap1
    86 h# 4000.0000 d# 23 rshift start-addr
    87 h# 4000.0000 log2 d# 16 - area-length
     86h# 2000.0000 d# 23 rshift start-addr
     87h# 2000.0000 log2 d# 16 - area-length
    8888h# 0000.0000 d# 23 rshift addr-mask
    89 0 cs-valid
     891 cs-valid
    9090outbits
    9191
     
    167167
    168168sdram-timing4
    169 d#      5.625 ns>clk d#  4 max tcke
     169d#      5.625 ns>clk ( d#  4 max ) tcke
    170170d# 200000.000 ns>clk d# 1024 /roundup  init-count
    171             1                   trwd-ext-dly
     171            2                   trwd-ext-dly
    172172d#    100.000 ns>clk            reset-count
    173 d#        390                   init-count-nop
     173d#        391                   init-count-nop
    174174outbits
    175175
    176176sdram-timing5
    177177d# 37.500 ns>clk  0 max  tras
    178 d# 37.500 ns>clk  0 max  tfaw
     178d# 37.500 ns>clk  d# 20 max  tfaw
    179179d#      1                tccd-ccs-ext-dly
    180180outbits
     
    187187
    188188sdram-ctrl1
    189 1 aps-en
    190 1 aps-type
    191 4 aps-value
     1890 aps-en \ 1 aps-en
     1900 aps-type \ 1 aps-type
     1910 aps-value \ 4 aps-value
    192192d# 12.500 ns>clk acs-exit-dly
    1931930 acs-en
     
    199199
    200200sdram-ctrl2
    201 0 ref-posted-en
    202 0 ref-posted-max
    203 d# 16 sdram-line-boundary
     2011 ref-posted-en
     2027 ref-posted-max
     203d# 8 sdram-line-boundary
    2042040 refpb-mode
    2052050 pd-mode
    2062060 2t-mode
    2072070 rdimm-mode
    208 1 aprecharge
     2080 aprecharge
    2092090 int-shadow-mode
    2102100 test-mode
     
    2362360 al-en
    2372370 rq-ds-en
    238 3 cas-latency        \ For DDR3, upper 3 bits of CL - so 3 for CL6 and CL7
     2382 cas-latency        \ For DDR3, upper 3 bits of CL - so 3 for CL6 and CL7
    2392390 cas-latency-lower  \ For DDR3, lower bit of CL - so 0 for CL6, 1 for CL7
    240 1 cwl  \ 0 for WL5, 1 for WL6, 2 for WL7, 3 for WL8
     2400 cwl  \ 0 for WL5, 1 for WL6, 2 for WL7, 3 for WL8
    2412410 s4-type \ LPDDR2 only
    2422420 asr  \ DDR3 only
     
    268268
    269269sdram-ctrl8-odt-ctrl2
    270 1 xpage-en
     2700 xpage-en
    2712713 mc-queue-size-f
    2722723 mc-queue-size
     
    355355outbits
    356356
    357 phy-ctrl11
    358 0 mc-sync-type
    359 outbits
    360 
    361 \ This is the base value
    362 phy-ctrl14
    363 1 phy-sync-en
    364 0 dll-update-en
    365 0 phy-dll-rst
    366 0 phy-pll-rst
    367 0 dll-update-en-static
    368 outbits
    369 
    370 \ Assert DLL reset
    371 phy-ctrl14
    372 1 phy-sync-en
    373 0 dll-update-en
    374 1 phy-dll-rst
    375 0 phy-pll-rst
    376 0 dll-update-en-static
    377 outbits
    378 
    379 \ Release DLL reset
    380 phy-ctrl14
    381 1 phy-sync-en
    382 0 dll-update-en
    383 0 phy-dll-rst
    384 0 phy-pll-rst
    385 0 dll-update-en-static
    386 outbits
    387 
     357\ phy-ctrl11
     358\ 0 mc-sync-type
     359\ outbits
     360
     3610 [if]
    388362\ First value, with auto-cal enabled
    389363phy-ctrl10
     
    4193930 mc-ac-d
    420394outbits
     395[then]
    421396
    422397phy-ctrl3
     
    4274020 dq-oen-dly
    4284030 rd-ext-dly
    429 4 phy-rfifo-rptr-dly-val  \ Tune me !!!
    430 4 dq-ext-dly              \ Tune me !!!
     4043 phy-rfifo-rptr-dly-val  \ Tune me !!!
     4053 dq-ext-dly              \ Tune me !!!
    431406outbits
    432407
    433408phy-ctrl7
    4344091 phy-qs-vref-sel
    435 b# 1111 phy-dq-zpdrv
    436 b# 1111 phy-dq-zndrv
     410b# 0111 phy-dq-zpdrv
     411b# 0111 phy-dq-zndrv
    437412b# 1000 phy-dq-zptrm
    438413b# 0100 phy-dq-zntrm
    439 b# 1000 phy-dq-znr
    440 b# 0100 phy-dq-zpr
     414b# 0111 phy-dq-znr
     415b# 1001 phy-dq-zpr
    441416b#   10 phy-dq-vref-sel
    4424170 phy-dq-zd
     
    445420
    446421phy-ctrl8
    447 b# 1111 phy-adcm-zpdrv
    448 b# 1111 phy-adcm-zndrv
     422b# 0111 phy-adcm-zpdrv
     423b# 0111 phy-adcm-zndrv
    449424b# 0000 phy-adcm-zptrm
    450425b# 0000 phy-adcm-zntrm
    451 b# 1000 phy-adcm-znr
    452 b# 0100 phy-adcm-zpr
     426b# 0111 phy-adcm-znr
     427b# 1001 phy-adcm-zpr
    4534280 phy-adcm-zd
    454429outbits
     
    4644390 phy-wck-ac-dly
    4654400 phy-wck-ck-dly
    466 b# 1000 phy-ck-znr
    467 b# 0100 phy-ck-zpr
     441b# 0111 phy-ck-znr
     442b# 0111 phy-ck-zpr
    468443outbits
    469444
    470445phy-ctrl13
    471 2 dll-resrt-timer
     446d# 13 dll-resrt-timer
    4724470 dll-update-stall-mc-dis
    473 d# 16 dll-delay-test
    474 d# 08 dll-phsel
    475 1 dll-auto-manual-up
     4480 dll-delay-test
     449d# 04 dll-phsel
     4500 dll-auto-manual-up
    4764510 dll-auto-update-en
    4774520 dll-test-en
     
    480455
    481456phy-dll-ctrl1
    482 d# 16 dll-delay-test
    483 d#  8 dll-phsel
     4570 dll-delay-test
     458d# 4 dll-phsel
    4844590 dll-auto-update-en
    4854600 dll-test-en
     
    488463
    489464phy-dll-ctrl2
    490 d# 16 dll-delay-test
    491 d#  8 dll-phsel
     4650 dll-delay-test
     466d# 4 dll-phsel
    4924670 dll-auto-update-en
    4934680 dll-test-en
     
    496471
    497472phy-dll-ctrl3
    498 d# 16 dll-delay-test
    499 d#  8 dll-phsel
     4730 dll-delay-test
     474d# 4 dll-phsel
    5004750 dll-auto-update-en
    5014760 dll-test-en
    5024770 dll-bypass-en
     478outbits
     479
     480\ Assert DLL reset
     481phy-ctrl14
     4820 phy-sync-en
     4830 dll-update-en
     4841 phy-dll-rst
     4850 phy-pll-rst
     4860 dll-update-en-static
     487outbits
     488
     489\ Release DLL reset and enable update
     490phy-ctrl14
     4910 phy-sync-en
     4921 dll-update-en
     4930 phy-dll-rst
     4940 phy-pll-rst
     4950 dll-update-en-static
    503496outbits
    504497
Note: See TracChangeset for help on using the changeset viewer.