lowlevel_init.S 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709
  1. /*
  2. * Low-level board setup code for TI DaVinci SoC based boards.
  3. *
  4. * Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
  5. *
  6. * Partially based on TI sources, original copyrights follow:
  7. */
  8. /*
  9. * Board specific setup info
  10. *
  11. * (C) Copyright 2003
  12. * Texas Instruments, <www.ti.com>
  13. * Kshitij Gupta <Kshitij@ti.com>
  14. *
  15. * Modified for OMAP 1610 H2 board by Nishant Kamat, Jan 2004
  16. *
  17. * Modified for OMAP 5912 OSK board by Rishi Bhattacharya, Apr 2004
  18. * See file CREDITS for list of people who contributed to this
  19. * project.
  20. *
  21. * Modified for DV-EVM board by Rishi Bhattacharya, Apr 2005
  22. * See file CREDITS for list of people who contributed to this
  23. * project.
  24. *
  25. * Modified for DV-EVM board by Swaminathan S, Nov 2005
  26. * See file CREDITS for list of people who contributed to this
  27. * project.
  28. *
  29. * This program is free software; you can redistribute it and/or
  30. * modify it under the terms of the GNU General Public License as
  31. * published by the Free Software Foundation; either version 2 of
  32. * the License, or (at your option) any later version.
  33. *
  34. * This program is distributed in the hope that it will be useful,
  35. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  36. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  37. * GNU General Public License for more details.
  38. *
  39. * You should have received a copy of the GNU General Public License
  40. * along with this program; if not, write to the Free Software
  41. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  42. * MA 02111-1307 USA
  43. */
  44. #include <config.h>
  45. #define MDSTAT_STATE 0x3f
  46. .globl lowlevel_init
  47. lowlevel_init:
  48. /*-------------------------------------------------------*
  49. * Mask all IRQs by setting all bits in the EINT default *
  50. *-------------------------------------------------------*/
  51. mov r1, $0
  52. ldr r0, =EINT_ENABLE0
  53. str r1, [r0]
  54. ldr r0, =EINT_ENABLE1
  55. str r1, [r0]
  56. /*------------------------------------------------------*
  57. * Put the GEM in reset *
  58. *------------------------------------------------------*/
  59. /* Put the GEM in reset */
  60. ldr r8, PSC_GEM_FLAG_CLEAR
  61. ldr r6, MDCTL_GEM
  62. ldr r7, [r6]
  63. and r7, r7, r8
  64. str r7, [r6]
  65. /* Enable the Power Domain Transition Command */
  66. ldr r6, PTCMD
  67. ldr r7, [r6]
  68. orr r7, r7, $0x02
  69. str r7, [r6]
  70. /* Check for Transition Complete(PTSTAT) */
  71. checkStatClkStopGem:
  72. ldr r6, PTSTAT
  73. ldr r7, [r6]
  74. ands r7, r7, $0x02
  75. bne checkStatClkStopGem
  76. /* Check for GEM Reset Completion */
  77. checkGemStatClkStop:
  78. ldr r6, MDSTAT_GEM
  79. ldr r7, [r6]
  80. ands r7, r7, $0x100
  81. bne checkGemStatClkStop
  82. /* Do this for enabling a WDT initiated reset this is a workaround
  83. for a chip bug. Not required under normal situations */
  84. ldr r6, P1394
  85. mov r10, $0
  86. str r10, [r6]
  87. /*------------------------------------------------------*
  88. * Enable L1 & L2 Memories in Fast mode *
  89. *------------------------------------------------------*/
  90. ldr r6, DFT_ENABLE
  91. mov r10, $0x01
  92. str r10, [r6]
  93. ldr r6, MMARG_BRF0
  94. ldr r10, MMARG_BRF0_VAL
  95. str r10, [r6]
  96. ldr r6, DFT_ENABLE
  97. mov r10, $0
  98. str r10, [r6]
  99. /*------------------------------------------------------*
  100. * DDR2 PLL Initialization *
  101. *------------------------------------------------------*/
  102. /* Select the Clock Mode Depending on the Value written in the Boot Table by the run script */
  103. mov r10, $0
  104. ldr r6, PLL2_CTL
  105. ldr r7, PLL_CLKSRC_MASK
  106. ldr r8, [r6]
  107. and r8, r8, r7
  108. mov r9, r10, lsl $8
  109. orr r8, r8, r9
  110. str r8, [r6]
  111. /* Select the PLLEN source */
  112. ldr r7, PLL_ENSRC_MASK
  113. and r8, r8, r7
  114. str r8, [r6]
  115. /* Bypass the PLL */
  116. ldr r7, PLL_BYPASS_MASK
  117. and r8, r8, r7
  118. str r8, [r6]
  119. /* Wait for few cycles to allow PLLEN Mux switch properly to bypass Clock */
  120. mov r10, $0x20
  121. WaitPPL2Loop:
  122. subs r10, r10, $1
  123. bne WaitPPL2Loop
  124. /* Reset the PLL */
  125. ldr r7, PLL_RESET_MASK
  126. and r8, r8, r7
  127. str r8, [r6]
  128. /* Power up the PLL */
  129. ldr r7, PLL_PWRUP_MASK
  130. and r8, r8, r7
  131. str r8, [r6]
  132. /* Enable the PLL from Disable Mode */
  133. ldr r7, PLL_DISABLE_ENABLE_MASK
  134. and r8, r8, r7
  135. str r8, [r6]
  136. /* Program the PLL Multiplier */
  137. ldr r6, PLL2_PLLM
  138. mov r2, $0x17 /* 162 MHz */
  139. str r2, [r6]
  140. /* Program the PLL2 Divisor Value */
  141. ldr r6, PLL2_DIV2
  142. mov r3, $0x01
  143. str r3, [r6]
  144. /* Program the PLL2 Divisor Value */
  145. ldr r6, PLL2_DIV1
  146. mov r4, $0x0b /* 54 MHz */
  147. str r4, [r6]
  148. /* PLL2 DIV2 MMR */
  149. ldr r8, PLL2_DIV_MASK
  150. ldr r6, PLL2_DIV2
  151. ldr r9, [r6]
  152. and r8, r8, r9
  153. mov r9, $0x01
  154. mov r9, r9, lsl $15
  155. orr r8, r8, r9
  156. str r8, [r6]
  157. /* Program the GOSET bit to take new divider values */
  158. ldr r6, PLL2_PLLCMD
  159. ldr r7, [r6]
  160. orr r7, r7, $0x01
  161. str r7, [r6]
  162. /* Wait for Done */
  163. ldr r6, PLL2_PLLSTAT
  164. doneLoop_0:
  165. ldr r7, [r6]
  166. ands r7, r7, $0x01
  167. bne doneLoop_0
  168. /* PLL2 DIV1 MMR */
  169. ldr r8, PLL2_DIV_MASK
  170. ldr r6, PLL2_DIV1
  171. ldr r9, [r6]
  172. and r8, r8, r9
  173. mov r9, $0x01
  174. mov r9, r9, lsl $15
  175. orr r8, r8, r9
  176. str r8, [r6]
  177. /* Program the GOSET bit to take new divider values */
  178. ldr r6, PLL2_PLLCMD
  179. ldr r7, [r6]
  180. orr r7, r7, $0x01
  181. str r7, [r6]
  182. /* Wait for Done */
  183. ldr r6, PLL2_PLLSTAT
  184. doneLoop:
  185. ldr r7, [r6]
  186. ands r7, r7, $0x01
  187. bne doneLoop
  188. /* Wait for PLL to Reset Properly */
  189. mov r10, $0x218
  190. ResetPPL2Loop:
  191. subs r10, r10, $1
  192. bne ResetPPL2Loop
  193. /* Bring PLL out of Reset */
  194. ldr r6, PLL2_CTL
  195. ldr r8, [r6]
  196. orr r8, r8, $0x08
  197. str r8, [r6]
  198. /* Wait for PLL to Lock */
  199. ldr r10, PLL_LOCK_COUNT
  200. PLL2Lock:
  201. subs r10, r10, $1
  202. bne PLL2Lock
  203. /* Enable the PLL */
  204. ldr r6, PLL2_CTL
  205. ldr r8, [r6]
  206. orr r8, r8, $0x01
  207. str r8, [r6]
  208. /*------------------------------------------------------*
  209. * Issue Soft Reset to DDR Module *
  210. *------------------------------------------------------*/
  211. /* Shut down the DDR2 LPSC Module */
  212. ldr r8, PSC_FLAG_CLEAR
  213. ldr r6, MDCTL_DDR2
  214. ldr r7, [r6]
  215. and r7, r7, r8
  216. orr r7, r7, $0x03
  217. str r7, [r6]
  218. /* Enable the Power Domain Transition Command */
  219. ldr r6, PTCMD
  220. ldr r7, [r6]
  221. orr r7, r7, $0x01
  222. str r7, [r6]
  223. /* Check for Transition Complete(PTSTAT) */
  224. checkStatClkStop:
  225. ldr r6, PTSTAT
  226. ldr r7, [r6]
  227. ands r7, r7, $0x01
  228. bne checkStatClkStop
  229. /* Check for DDR2 Controller Enable Completion */
  230. checkDDRStatClkStop:
  231. ldr r6, MDSTAT_DDR2
  232. ldr r7, [r6]
  233. and r7, r7, $MDSTAT_STATE
  234. cmp r7, $0x03
  235. bne checkDDRStatClkStop
  236. /*------------------------------------------------------*
  237. * Program DDR2 MMRs for 162MHz Setting *
  238. *------------------------------------------------------*/
  239. /* Program PHY Control Register */
  240. ldr r6, DDRCTL
  241. ldr r7, DDRCTL_VAL
  242. str r7, [r6]
  243. /* Program SDRAM Bank Config Register */
  244. ldr r6, SDCFG
  245. ldr r7, SDCFG_VAL
  246. str r7, [r6]
  247. /* Program SDRAM TIM-0 Config Register */
  248. ldr r6, SDTIM0
  249. ldr r7, SDTIM0_VAL_162MHz
  250. str r7, [r6]
  251. /* Program SDRAM TIM-1 Config Register */
  252. ldr r6, SDTIM1
  253. ldr r7, SDTIM1_VAL_162MHz
  254. str r7, [r6]
  255. /* Program the SDRAM Bank Config Control Register */
  256. ldr r10, MASK_VAL
  257. ldr r8, SDCFG
  258. ldr r9, SDCFG_VAL
  259. and r9, r9, r10
  260. str r9, [r8]
  261. /* Program SDRAM SDREF Config Register */
  262. ldr r6, SDREF
  263. ldr r7, SDREF_VAL
  264. str r7, [r6]
  265. /*------------------------------------------------------*
  266. * Issue Soft Reset to DDR Module *
  267. *------------------------------------------------------*/
  268. /* Issue a Dummy DDR2 read/write */
  269. ldr r8, DDR2_START_ADDR
  270. ldr r7, DUMMY_VAL
  271. str r7, [r8]
  272. ldr r7, [r8]
  273. /* Shut down the DDR2 LPSC Module */
  274. ldr r8, PSC_FLAG_CLEAR
  275. ldr r6, MDCTL_DDR2
  276. ldr r7, [r6]
  277. and r7, r7, r8
  278. orr r7, r7, $0x01
  279. str r7, [r6]
  280. /* Enable the Power Domain Transition Command */
  281. ldr r6, PTCMD
  282. ldr r7, [r6]
  283. orr r7, r7, $0x01
  284. str r7, [r6]
  285. /* Check for Transition Complete(PTSTAT) */
  286. checkStatClkStop2:
  287. ldr r6, PTSTAT
  288. ldr r7, [r6]
  289. ands r7, r7, $0x01
  290. bne checkStatClkStop2
  291. /* Check for DDR2 Controller Enable Completion */
  292. checkDDRStatClkStop2:
  293. ldr r6, MDSTAT_DDR2
  294. ldr r7, [r6]
  295. and r7, r7, $MDSTAT_STATE
  296. cmp r7, $0x01
  297. bne checkDDRStatClkStop2
  298. /*------------------------------------------------------*
  299. * Turn DDR2 Controller Clocks On *
  300. *------------------------------------------------------*/
  301. /* Enable the DDR2 LPSC Module */
  302. ldr r6, MDCTL_DDR2
  303. ldr r7, [r6]
  304. orr r7, r7, $0x03
  305. str r7, [r6]
  306. /* Enable the Power Domain Transition Command */
  307. ldr r6, PTCMD
  308. ldr r7, [r6]
  309. orr r7, r7, $0x01
  310. str r7, [r6]
  311. /* Check for Transition Complete(PTSTAT) */
  312. checkStatClkEn2:
  313. ldr r6, PTSTAT
  314. ldr r7, [r6]
  315. ands r7, r7, $0x01
  316. bne checkStatClkEn2
  317. /* Check for DDR2 Controller Enable Completion */
  318. checkDDRStatClkEn2:
  319. ldr r6, MDSTAT_DDR2
  320. ldr r7, [r6]
  321. and r7, r7, $MDSTAT_STATE
  322. cmp r7, $0x03
  323. bne checkDDRStatClkEn2
  324. /* DDR Writes and Reads */
  325. ldr r6, CFGTEST
  326. mov r3, $0x01
  327. str r3, [r6]
  328. /*------------------------------------------------------*
  329. * System PLL Initialization *
  330. *------------------------------------------------------*/
  331. /* Select the Clock Mode Depending on the Value written in the Boot Table by the run script */
  332. mov r2, $0
  333. ldr r6, PLL1_CTL
  334. ldr r7, PLL_CLKSRC_MASK
  335. ldr r8, [r6]
  336. and r8, r8, r7
  337. mov r9, r2, lsl $8
  338. orr r8, r8, r9
  339. str r8, [r6]
  340. /* Select the PLLEN source */
  341. ldr r7, PLL_ENSRC_MASK
  342. and r8, r8, r7
  343. str r8, [r6]
  344. /* Bypass the PLL */
  345. ldr r7, PLL_BYPASS_MASK
  346. and r8, r8, r7
  347. str r8, [r6]
  348. /* Wait for few cycles to allow PLLEN Mux switch properly to bypass Clock */
  349. mov r10, $0x20
  350. WaitLoop:
  351. subs r10, r10, $1
  352. bne WaitLoop
  353. /* Reset the PLL */
  354. ldr r7, PLL_RESET_MASK
  355. and r8, r8, r7
  356. str r8, [r6]
  357. /* Disable the PLL */
  358. orr r8, r8, $0x10
  359. str r8, [r6]
  360. /* Power up the PLL */
  361. ldr r7, PLL_PWRUP_MASK
  362. and r8, r8, r7
  363. str r8, [r6]
  364. /* Enable the PLL from Disable Mode */
  365. ldr r7, PLL_DISABLE_ENABLE_MASK
  366. and r8, r8, r7
  367. str r8, [r6]
  368. /* Program the PLL Multiplier */
  369. ldr r6, PLL1_PLLM
  370. mov r3, $0x15 /* For 594MHz */
  371. str r3, [r6]
  372. /* Wait for PLL to Reset Properly */
  373. mov r10, $0xff
  374. ResetLoop:
  375. subs r10, r10, $1
  376. bne ResetLoop
  377. /* Bring PLL out of Reset */
  378. ldr r6, PLL1_CTL
  379. orr r8, r8, $0x08
  380. str r8, [r6]
  381. /* Wait for PLL to Lock */
  382. ldr r10, PLL_LOCK_COUNT
  383. PLL1Lock:
  384. subs r10, r10, $1
  385. bne PLL1Lock
  386. /* Enable the PLL */
  387. orr r8, r8, $0x01
  388. str r8, [r6]
  389. nop
  390. nop
  391. nop
  392. nop
  393. /*------------------------------------------------------*
  394. * AEMIF configuration for NOR Flash (double check) *
  395. *------------------------------------------------------*/
  396. ldr r0, _PINMUX0
  397. ldr r1, _DEV_SETTING
  398. str r1, [r0]
  399. ldr r0, WAITCFG
  400. ldr r1, WAITCFG_VAL
  401. ldr r2, [r0]
  402. orr r2, r2, r1
  403. str r2, [r0]
  404. ldr r0, ACFG3
  405. ldr r1, ACFG3_VAL
  406. ldr r2, [r0]
  407. and r1, r2, r1
  408. str r1, [r0]
  409. ldr r0, ACFG4
  410. ldr r1, ACFG4_VAL
  411. ldr r2, [r0]
  412. and r1, r2, r1
  413. str r1, [r0]
  414. ldr r0, ACFG5
  415. ldr r1, ACFG5_VAL
  416. ldr r2, [r0]
  417. and r1, r2, r1
  418. str r1, [r0]
  419. /*--------------------------------------*
  420. * VTP manual Calibration *
  421. *--------------------------------------*/
  422. ldr r0, VTPIOCR
  423. ldr r1, VTP_MMR0
  424. str r1, [r0]
  425. ldr r0, VTPIOCR
  426. ldr r1, VTP_MMR1
  427. str r1, [r0]
  428. /* Wait for 33 VTP CLK cycles. VRP operates at 27 MHz */
  429. ldr r10, VTP_LOCK_COUNT
  430. VTPLock:
  431. subs r10, r10, $1
  432. bne VTPLock
  433. ldr r6, DFT_ENABLE
  434. mov r10, $0x01
  435. str r10, [r6]
  436. ldr r6, DDRVTPR
  437. ldr r7, [r6]
  438. and r7, r7, $0x1f
  439. and r8, r7, $0x3e0
  440. orr r8, r7, r8
  441. ldr r7, VTP_RECAL
  442. orr r8, r7, r8
  443. ldr r7, VTP_EN
  444. orr r8, r7, r8
  445. str r8, [r0]
  446. /* Wait for 33 VTP CLK cycles. VRP operates at 27 MHz */
  447. ldr r10, VTP_LOCK_COUNT
  448. VTP1Lock:
  449. subs r10, r10, $1
  450. bne VTP1Lock
  451. ldr r1, [r0]
  452. ldr r2, VTP_MASK
  453. and r2, r1, r2
  454. str r2, [r0]
  455. ldr r6, DFT_ENABLE
  456. mov r10, $0
  457. str r10, [r6]
  458. /*
  459. * Call board-specific lowlevel init.
  460. * That MUST be present and THAT returns
  461. * back to arch calling code with "mov pc, lr."
  462. */
  463. b dv_board_init
  464. .ltorg
  465. _PINMUX0:
  466. .word 0x01c40000 /* Device Configuration Registers */
  467. _PINMUX1:
  468. .word 0x01c40004 /* Device Configuration Registers */
  469. _DEV_SETTING:
  470. .word 0x00000c1f
  471. WAITCFG:
  472. .word 0x01e00004
  473. WAITCFG_VAL:
  474. .word 0
  475. ACFG3:
  476. .word 0x01e00014
  477. ACFG3_VAL:
  478. .word 0x3ffffffd
  479. ACFG4:
  480. .word 0x01e00018
  481. ACFG4_VAL:
  482. .word 0x3ffffffd
  483. ACFG5:
  484. .word 0x01e0001c
  485. ACFG5_VAL:
  486. .word 0x3ffffffd
  487. MDCTL_DDR2:
  488. .word 0x01c41a34
  489. MDSTAT_DDR2:
  490. .word 0x01c41834
  491. PTCMD:
  492. .word 0x01c41120
  493. PTSTAT:
  494. .word 0x01c41128
  495. EINT_ENABLE0:
  496. .word 0x01c48018
  497. EINT_ENABLE1:
  498. .word 0x01c4801c
  499. PSC_FLAG_CLEAR:
  500. .word 0xffffffe0
  501. PSC_GEM_FLAG_CLEAR:
  502. .word 0xfffffeff
  503. /* DDR2 MMR & CONFIGURATION VALUES, 162 MHZ clock */
  504. DDRCTL:
  505. .word 0x200000e4
  506. DDRCTL_VAL:
  507. .word 0x50006405
  508. SDREF:
  509. .word 0x2000000c
  510. SDREF_VAL:
  511. .word 0x000005c3
  512. SDCFG:
  513. .word 0x20000008
  514. SDCFG_VAL:
  515. #ifdef DDR_4BANKS
  516. .word 0x00178622
  517. #elif defined DDR_8BANKS
  518. .word 0x00178632
  519. #else
  520. #error "Unknown DDR configuration!!!"
  521. #endif
  522. SDTIM0:
  523. .word 0x20000010
  524. SDTIM0_VAL_162MHz:
  525. .word 0x28923211
  526. SDTIM1:
  527. .word 0x20000014
  528. SDTIM1_VAL_162MHz:
  529. .word 0x0016c722
  530. VTPIOCR:
  531. .word 0x200000f0 /* VTP IO Control register */
  532. DDRVTPR:
  533. .word 0x01c42030 /* DDR VPTR MMR */
  534. VTP_MMR0:
  535. .word 0x201f
  536. VTP_MMR1:
  537. .word 0xa01f
  538. DFT_ENABLE:
  539. .word 0x01c4004c
  540. VTP_LOCK_COUNT:
  541. .word 0x5b0
  542. VTP_MASK:
  543. .word 0xffffdfff
  544. VTP_RECAL:
  545. .word 0x40000
  546. VTP_EN:
  547. .word 0x02000
  548. CFGTEST:
  549. .word 0x80010000
  550. MASK_VAL:
  551. .word 0x00000fff
  552. /* GEM Power Up & LPSC Control Register */
  553. MDCTL_GEM:
  554. .word 0x01c41a9c
  555. MDSTAT_GEM:
  556. .word 0x01c4189c
  557. /* For WDT reset chip bug */
  558. P1394:
  559. .word 0x01c41a20
  560. PLL_CLKSRC_MASK:
  561. .word 0xfffffeff /* Mask the Clock Mode bit */
  562. PLL_ENSRC_MASK:
  563. .word 0xffffffdf /* Select the PLLEN source */
  564. PLL_BYPASS_MASK:
  565. .word 0xfffffffe /* Put the PLL in BYPASS */
  566. PLL_RESET_MASK:
  567. .word 0xfffffff7 /* Put the PLL in Reset Mode */
  568. PLL_PWRUP_MASK:
  569. .word 0xfffffffd /* PLL Power up Mask Bit */
  570. PLL_DISABLE_ENABLE_MASK:
  571. .word 0xffffffef /* Enable the PLL from Disable */
  572. PLL_LOCK_COUNT:
  573. .word 0x2000
  574. /* PLL1-SYSTEM PLL MMRs */
  575. PLL1_CTL:
  576. .word 0x01c40900
  577. PLL1_PLLM:
  578. .word 0x01c40910
  579. /* PLL2-SYSTEM PLL MMRs */
  580. PLL2_CTL:
  581. .word 0x01c40d00
  582. PLL2_PLLM:
  583. .word 0x01c40d10
  584. PLL2_DIV1:
  585. .word 0x01c40d18
  586. PLL2_DIV2:
  587. .word 0x01c40d1c
  588. PLL2_PLLCMD:
  589. .word 0x01c40d38
  590. PLL2_PLLSTAT:
  591. .word 0x01c40d3c
  592. PLL2_DIV_MASK:
  593. .word 0xffff7fff
  594. MMARG_BRF0:
  595. .word 0x01c42010 /* BRF margin mode 0 (R/W)*/
  596. MMARG_BRF0_VAL:
  597. .word 0x00444400
  598. DDR2_START_ADDR:
  599. .word 0x80000000
  600. DUMMY_VAL:
  601. .word 0xa55aa55a