• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1;sunxi platform application
2;---------------------------------------------------------------------------------------------------------
3; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
4; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态>
5;---------------------------------------------------------------------------------------------------------
6
7[product]
8version = "100"
9machine = "demo2"
10
11[platform]
12eraseflag   = 1
13debug_mode  = 3
14
15;----------------------------------------------------------------------------------
16;[target]  system bootup configuration
17;boot_clock     = CPU boot frequency, Unit: MHz
18;storage_type   = boot medium, 0-nand, 1-card0, 2-card2, -1(defualt)auto scan
19;advert_enable  = 0-close advert logo    1-open advert logo     (只有多核启动下有效)
20;----------------------------------------------------------------------------------
21[target]
22boot_clock   	= 1008
23storage_type    = -1
24advert_enable   = 0
25burn_key        = 0
26
27;----------------------------------------------------------------------------------
28;   system configuration
29;   ?
30;dcdc1_vol							---set dcdc1 voltage,mV,1500-3400,100mV/step
31;dcdc2_vol							---set dcdc2 voltage,mV,500-1200,10mV/step
32;															1220-1540,20mV/step
33;dcdc3_vol							---set dcdc3 voltage,mV,500-1200,10mV/step
34;															1220-1540,20mV/step
35;dcdc4_vol							---set dcdc4 voltage,mV,500-1200,10mV/step
36;															1220-1540,20mV/step
37;dcdc5_vol							---set dcdc5 voltage,mV,800-1120,10mV/step
38;															1240-1840,20mV/step
39;dcdc6_vol							---set dcdc6 voltage,mV,500-3400,100mV/step
40;aldo1_vol							---set aldo1 voltage,mV,700-3300,100mV/step
41;aldo2_vol							---set aldo2 voltage,mV,700-3300,100mV/step
42;aldo3_vol							---set aldo3 voltage,mV,700-3300,100mV/step
43;aldo4_vol							---set aldo4 voltage,mV,700-3300,100mV/step
44;aldo5_vol							---set aldo5 voltage,mV,700-3300,100mV/step
45;bldo1_vol							---set bldo1 voltage,mV,700-3300,100mV/step
46;bldo2_vol							---set bldo2 voltage,mV,700-3300,100mV/step
47;bldo3_vol							---set bldo3 voltage,mV,700-3300,100mV/step
48;bldo4_vol							---set bldo4 voltage,mV,700-3300,100mV/step
49;bldo5_vol							---set bldo5 voltage,mV,700-3300,100mV/step
50;cldo1_vol							---set cldo1 voltage,mV,700-3300,100mV/step
51;cldo4_vol							---set cldo4 voltage,mV,700-4200,100mV/step
52;----------------------------------------------------------------------------------
53[power_sply]
54dcdc1_vol		= 1003300
55dcdc2_vol		= 1001000
56dcdc4_vol		= 1000900
57aldo1_vol		= 1001800
58aldo2_vol		= 1001800
59aldo4_vol		= 1001800
60aldo5_vol		= 1003300
61bldo1_vol		= 1001800
62bldo2_vol		= 1003300
63bldo3_vol		= 1003300
64bldo4_vol		= 1001200
65bldo5_vol		= 1001200
66cldo1_vol		= 1003300
67cldo4_vol		= 1001800
68dc1sw_vol		= 1003300
69
70[card_boot]
71logical_start   = 40960
72sprite_gpio0    =
73
74;---------------------------------------------------------------------------------------------------------
75; if 1 == standby_mode, then support super standby;
76; else, support normal standby.
77;---------------------------------------------------------------------------------------------------------
78[pm_para]
79standby_mode		= 1
80
81[card0_boot_para]
82card_ctrl       = 0
83card_high_speed = 1
84card_line       = 4
85sdc_d1          = port:PF0<2><1><3><default>
86sdc_d0          = port:PF1<2><1><3><default>
87sdc_clk         = port:PF2<2><1><3><default>
88sdc_cmd         = port:PF3<2><1><3><default>
89sdc_d3          = port:PF4<2><1><3><default>
90sdc_d2          = port:PF5<2><1><3><default>
91;sdc_type	= "tm1"
92
93[card2_boot_para]
94card_ctrl       = 2
95card_high_speed = 1
96card_line       = 8
97sdc_clk         = port:PC5<3><1><3><default>
98sdc_cmd         = port:PC6<3><1><3><default>
99sdc_d0          = port:PC10<3><1><3><default>
100sdc_d1          = port:PC13<3><1><3><default>
101sdc_d2          = port:PC15<3><1><3><default>
102sdc_d3          = port:PC8<3><1><3><default>
103sdc_d4          = port:PC9<3><1><3><default>
104sdc_d5          = port:PC11<3><1><3><default>
105sdc_d6          = port:PC14<3><1><3><default>
106sdc_d7          = port:PC16<3><1><3><default>
107sdc_emmc_rst    = port:PC1<3><1><3><default>
108sdc_ds          = port:PC0<3><2><3><default>
109sdc_ex_dly_used = 2
110sdc_io_1v8	= 1
111;sdc_type	= "tm4"
112
113[gpio_bias]
114pc_bias		= 1800
115
116[twi_para]
117twi_port        = 0
118twi_scl         = port:PH14<2><default><default><default>
119twi_sda         = port:PH15<2><default><default><default>
120
121[auto_print]
122auto_print_used = 1
123
124[uart_para]
125uart_debug_port = 0
126uart_debug_tx   = port:PH00<2><1><default><default>
127uart_debug_rx   = port:PH01<2><1><default><default>
128
129[jtag_para]
130jtag_enable     = 0
131jtag_ms         = port:PH9<3><default><default><default>
132jtag_ck         = port:PH10<3><default><default><default>
133jtag_do         = port:PH11<3><default><default><default>
134jtag_di         = port:PH12<3><default><default><default>
135
136[clock]
137pll4            = 300
138pll6            = 600
139pll8            = 360
140pll9            = 297
141pll10           = 264
142
143;*****************************************************************************
144;
145;dram select configuration
146;
147;select_mode	:	dram模式选择,	0:不进行自动识别
148;					1:gpio识别模式(dram_para, dram_para1-15, 共16组有效)
149;					2:gpadc识别模式(dram_para, dram_para1-7, 共8组有效)
150;					3:1个IO+gpadc识别模式(dram_para, dram_para1-15, 共16组有效)。其中IO配置优先级按select_gpio0>select_gpio1>select_gpio2>select_gpio3
151;gpadc_channel	:	选择gpadc通道	有效值(0-3)
152;select_gpio1-4	:	选择gpio pin
153;*****************************************************************************
154
155
156[dram_select_para]
157select_mode	= 0
158gpadc_channel	= 0
159select_gpio0	=
160select_gpio1	=
161select_gpio2	=
162select_gpio3	=
163
164;*****************************************************************************
165;sdram configuration
166;
167;*****************************************************************************
168[dram_para]
169
170dram_clk       = 792
171dram_type      = 8
172dram_dx_odt    = 0x08080808
173dram_dx_dri    = 0x0e0e0e0e
174dram_ca_dri    = 0x0e0e
175dram_odt_en    = 0x7887bbbb
176dram_para1     = 0x30fa
177dram_para2     = 0x0000
178dram_mr0       = 0x0
179dram_mr1       = 0x34
180dram_mr2       = 0x1b
181dram_mr3       = 0x33
182dram_mr4       = 0x3
183dram_mr5       = 0x0
184dram_mr6       = 0x0
185dram_mr11      = 0x4
186dram_mr12      = 0x72
187dram_mr13      = 0x0
188dram_mr14      = 0x9
189dram_mr16      = 0x0
190dram_mr17      = 0x0
191dram_mr22      = 0x24
192dram_tpr0      = 0x0
193dram_tpr1      = 0x0
194dram_tpr2      = 0x0
195dram_tpr3      = 0x0
196dram_tpr6      = 0x40808080
197dram_tpr10     = 0x402f6633
198dram_tpr11     = 0
199dram_tpr12     = 0
200dram_tpr13     = 0x2000c60
201
202[dram_para1]
203
204dram_clk       = 792
205dram_type      = 8
206dram_dx_odt    = 0x0c0c0c0c
207dram_dx_dri    = 0x0e0e0e0e
208dram_ca_dri    = 0x0e0e
209dram_odt_en    = 0x7887bbbb
210dram_para1     = 0x30FA
211dram_para2     = 0x0000
212dram_mr0       = 0x0
213dram_mr1       = 0x34
214dram_mr2       = 0x1b
215dram_mr3       = 0x33
216dram_mr4       = 0x3
217dram_mr5       = 0x0
218dram_mr6       = 0x0
219dram_mr11      = 0x4
220dram_mr12      = 0x72
221dram_mr13      = 0x0
222dram_mr14      = 0x9
223dram_mr16      = 0x0
224dram_mr17      = 0x0
225dram_mr22      = 0x24
226dram_tpr0      = 0x0
227dram_tpr1      = 0x0
228dram_tpr2      = 0x0
229dram_tpr3      = 0x0
230dram_tpr6      = 0x31808080
231dram_tpr10     = 0x402e0000
232dram_tpr11     = 0x22262622
233dram_tpr12     = 0x0b0c0d0b
234dram_tpr13     = 0x61
235
236[dram_para2]
237
238dram_clk       = 792
239dram_type      = 8
240dram_dx_odt    = 0x0c0c0c0c
241dram_dx_dri    = 0x0e0e0e0e
242dram_ca_dri    = 0x0e0e
243dram_odt_en    = 0x7887bbbb
244dram_para1     = 0x30FA
245dram_para2     = 0x0000
246dram_mr0       = 0x0
247dram_mr1       = 0x34
248dram_mr2       = 0x1b
249dram_mr3       = 0x33
250dram_mr4       = 0x3
251dram_mr5       = 0x0
252dram_mr6       = 0x0
253dram_mr11      = 0x4
254dram_mr12      = 0x72
255dram_mr13      = 0x0
256dram_mr14      = 0x9
257dram_mr16      = 0x0
258dram_mr17      = 0x0
259dram_mr22      = 0x24
260dram_tpr0      = 0x0
261dram_tpr1      = 0x0
262dram_tpr2      = 0x0
263dram_tpr3      = 0x0
264dram_tpr6      = 0x31808080
265dram_tpr10     = 0x402e0000
266dram_tpr11     = 0x22262622
267dram_tpr12     = 0x0b0c0d0b
268dram_tpr13     = 0x61
269
270[dram_para3]
271
272dram_clk       = 792
273dram_type      = 8
274dram_dx_odt    = 0x0c0c0c0c
275dram_dx_dri    = 0x0e0e0e0e
276dram_ca_dri    = 0x0e0e
277dram_odt_en    = 0x7887bbbb
278dram_para1     = 0x30FA
279dram_para2     = 0x0000
280dram_mr0       = 0x0
281dram_mr1       = 0x34
282dram_mr2       = 0x1b
283dram_mr3       = 0x33
284dram_mr4       = 0x3
285dram_mr5       = 0x0
286dram_mr6       = 0x0
287dram_mr11      = 0x4
288dram_mr12      = 0x72
289dram_mr13      = 0x0
290dram_mr14      = 0x9
291dram_mr16      = 0x0
292dram_mr17      = 0x0
293dram_mr22      = 0x24
294dram_tpr0      = 0x0
295dram_tpr1      = 0x0
296dram_tpr2      = 0x0
297dram_tpr3      = 0x0
298dram_tpr6      = 0x31808080
299dram_tpr10     = 0x402e0000
300dram_tpr11     = 0x22262622
301dram_tpr12     = 0x0b0c0d0b
302dram_tpr13     = 0x61
303
304[dram_para4]
305
306dram_clk       = 792
307dram_type      = 8
308dram_dx_odt    = 0x0c0c0c0c
309dram_dx_dri    = 0x0e0e0e0e
310dram_ca_dri    = 0x0e0e
311dram_odt_en    = 0x7887bbbb
312dram_para1     = 0x30FA
313dram_para2     = 0x0000
314dram_mr0       = 0x0
315dram_mr1       = 0x34
316dram_mr2       = 0x1b
317dram_mr3       = 0x33
318dram_mr4       = 0x3
319dram_mr5       = 0x0
320dram_mr6       = 0x0
321dram_mr11      = 0x4
322dram_mr12      = 0x72
323dram_mr13      = 0x0
324dram_mr14      = 0x9
325dram_mr16      = 0x0
326dram_mr17      = 0x0
327dram_mr22      = 0x24
328dram_tpr0      = 0x0
329dram_tpr1      = 0x0
330dram_tpr2      = 0x0
331dram_tpr3      = 0x0
332dram_tpr6      = 0x31808080
333dram_tpr10     = 0x402e0000
334dram_tpr11     = 0x22262622
335dram_tpr12     = 0x0b0c0d0b
336dram_tpr13     = 0x61
337
338[dram_para5]
339
340dram_clk       = 792
341dram_type      = 8
342dram_dx_odt    = 0x0c0c0c0c
343dram_dx_dri    = 0x0e0e0e0e
344dram_ca_dri    = 0x0e0e
345dram_odt_en    = 0x7887bbbb
346dram_para1     = 0x30FA
347dram_para2     = 0x0000
348dram_mr0       = 0x0
349dram_mr1       = 0x34
350dram_mr2       = 0x1b
351dram_mr3       = 0x33
352dram_mr4       = 0x3
353dram_mr5       = 0x0
354dram_mr6       = 0x0
355dram_mr11      = 0x4
356dram_mr12      = 0x72
357dram_mr13      = 0x0
358dram_mr14      = 0x9
359dram_mr16      = 0x0
360dram_mr17      = 0x0
361dram_mr22      = 0x24
362dram_tpr0      = 0x0
363dram_tpr1      = 0x0
364dram_tpr2      = 0x0
365dram_tpr3      = 0x0
366dram_tpr6      = 0x31808080
367dram_tpr10     = 0x402e0000
368dram_tpr11     = 0x22262622
369dram_tpr12     = 0x0b0c0d0b
370dram_tpr13     = 0x61
371
372[dram_para6]
373
374dram_clk       = 792
375dram_type      = 8
376dram_dx_odt    = 0x0c0c0c0c
377dram_dx_dri    = 0x0e0e0e0e
378dram_ca_dri    = 0x0e0e
379dram_odt_en    = 0x7887bbbb
380dram_para1     = 0x30FA
381dram_para2     = 0x0000
382dram_mr0       = 0x0
383dram_mr1       = 0x34
384dram_mr2       = 0x1b
385dram_mr3       = 0x33
386dram_mr4       = 0x3
387dram_mr5       = 0x0
388dram_mr6       = 0x0
389dram_mr11      = 0x4
390dram_mr12      = 0x72
391dram_mr13      = 0x0
392dram_mr14      = 0x9
393dram_mr16      = 0x0
394dram_mr17      = 0x0
395dram_mr22      = 0x24
396dram_tpr0      = 0x0
397dram_tpr1      = 0x0
398dram_tpr2      = 0x0
399dram_tpr3      = 0x0
400dram_tpr6      = 0x31808080
401dram_tpr10     = 0x402e0000
402dram_tpr11     = 0x22262622
403dram_tpr12     = 0x0b0c0d0b
404dram_tpr13     = 0x61
405
406[dram_para7]
407
408dram_clk       = 792
409dram_type      = 8
410dram_dx_odt    = 0x0c0c0c0c
411dram_dx_dri    = 0x0e0e0e0e
412dram_ca_dri    = 0x0e0e
413dram_odt_en    = 0x7887bbbb
414dram_para1     = 0x30FA
415dram_para2     = 0x0000
416dram_mr0       = 0x0
417dram_mr1       = 0x34
418dram_mr2       = 0x1b
419dram_mr3       = 0x33
420dram_mr4       = 0x3
421dram_mr5       = 0x0
422dram_mr6       = 0x0
423dram_mr11      = 0x4
424dram_mr12      = 0x72
425dram_mr13      = 0x0
426dram_mr14      = 0x9
427dram_mr16      = 0x0
428dram_mr17      = 0x0
429dram_mr22      = 0x24
430dram_tpr0      = 0x0
431dram_tpr1      = 0x0
432dram_tpr2      = 0x0
433dram_tpr3      = 0x0
434dram_tpr6      = 0x31808080
435dram_tpr10     = 0x402e0000
436dram_tpr11     = 0x22262622
437dram_tpr12     = 0x0b0c0d0b
438dram_tpr13     = 0x61
439
440[dram_para8]
441
442dram_clk       = 792
443dram_type      = 8
444dram_dx_odt    = 0x0c0c0c0c
445dram_dx_dri    = 0x0e0e0e0e
446dram_ca_dri    = 0x0e0e
447dram_odt_en    = 0x7887bbbb
448dram_para1     = 0x30FA
449dram_para2     = 0x0000
450dram_mr0       = 0x0
451dram_mr1       = 0x34
452dram_mr2       = 0x1b
453dram_mr3       = 0x33
454dram_mr4       = 0x3
455dram_mr5       = 0x0
456dram_mr6       = 0x0
457dram_mr11      = 0x4
458dram_mr12      = 0x72
459dram_mr13      = 0x0
460dram_mr14      = 0x9
461dram_mr16      = 0x0
462dram_mr17      = 0x0
463dram_mr22      = 0x24
464dram_tpr0      = 0x0
465dram_tpr1      = 0x0
466dram_tpr2      = 0x0
467dram_tpr3      = 0x0
468dram_tpr6      = 0x31808080
469dram_tpr10     = 0x402e0000
470dram_tpr11     = 0x22262622
471dram_tpr12     = 0x0b0c0d0b
472dram_tpr13     = 0x61
473
474[dram_para9]
475
476dram_clk       = 792
477dram_type      = 8
478dram_dx_odt    = 0x0c0c0c0c
479dram_dx_dri    = 0x0e0e0e0e
480dram_ca_dri    = 0x0e0e
481dram_odt_en    = 0x7887bbbb
482dram_para1     = 0x30FA
483dram_para2     = 0x0000
484dram_mr0       = 0x0
485dram_mr1       = 0x34
486dram_mr2       = 0x1b
487dram_mr3       = 0x33
488dram_mr4       = 0x3
489dram_mr5       = 0x0
490dram_mr6       = 0x0
491dram_mr11      = 0x4
492dram_mr12      = 0x72
493dram_mr13      = 0x0
494dram_mr14      = 0x9
495dram_mr16      = 0x0
496dram_mr17      = 0x0
497dram_mr22      = 0x24
498dram_tpr0      = 0x0
499dram_tpr1      = 0x0
500dram_tpr2      = 0x0
501dram_tpr3      = 0x0
502dram_tpr6      = 0x31808080
503dram_tpr10     = 0x402e0000
504dram_tpr11     = 0x22262622
505dram_tpr12     = 0x0b0c0d0b
506dram_tpr13     = 0x61
507
508[dram_para10]
509
510dram_clk       = 792
511dram_type      = 8
512dram_dx_odt    = 0x0c0c0c0c
513dram_dx_dri    = 0x0e0e0e0e
514dram_ca_dri    = 0x0e0e
515dram_odt_en    = 0x7887bbbb
516dram_para1     = 0x30FA
517dram_para2     = 0x0000
518dram_mr0       = 0x0
519dram_mr1       = 0x34
520dram_mr2       = 0x1b
521dram_mr3       = 0x33
522dram_mr4       = 0x3
523dram_mr5       = 0x0
524dram_mr6       = 0x0
525dram_mr11      = 0x4
526dram_mr12      = 0x72
527dram_mr13      = 0x0
528dram_mr14      = 0x9
529dram_mr16      = 0x0
530dram_mr17      = 0x0
531dram_mr22      = 0x24
532dram_tpr0      = 0x0
533dram_tpr1      = 0x0
534dram_tpr2      = 0x0
535dram_tpr3      = 0x0
536dram_tpr6      = 0x31808080
537dram_tpr10     = 0x402e0000
538dram_tpr11     = 0x22262622
539dram_tpr12     = 0x0b0c0d0b
540dram_tpr13     = 0x61
541
542[dram_para11]
543
544dram_clk       = 792
545dram_type      = 8
546dram_dx_odt    = 0x0c0c0c0c
547dram_dx_dri    = 0x0e0e0e0e
548dram_ca_dri    = 0x0e0e
549dram_odt_en    = 0x7887bbbb
550dram_para1     = 0x30FA
551dram_para2     = 0x0000
552dram_mr0       = 0x0
553dram_mr1       = 0x34
554dram_mr2       = 0x1b
555dram_mr3       = 0x33
556dram_mr4       = 0x3
557dram_mr5       = 0x0
558dram_mr6       = 0x0
559dram_mr11      = 0x4
560dram_mr12      = 0x72
561dram_mr13      = 0x0
562dram_mr14      = 0x9
563dram_mr16      = 0x0
564dram_mr17      = 0x0
565dram_mr22      = 0x24
566dram_tpr0      = 0x0
567dram_tpr1      = 0x0
568dram_tpr2      = 0x0
569dram_tpr3      = 0x0
570dram_tpr6      = 0x31808080
571dram_tpr10     = 0x402e0000
572dram_tpr11     = 0x22262622
573dram_tpr12     = 0x0b0c0d0b
574dram_tpr13     = 0x61
575
576[dram_para12]
577
578dram_clk       = 792
579dram_type      = 8
580dram_dx_odt    = 0x0c0c0c0c
581dram_dx_dri    = 0x0e0e0e0e
582dram_ca_dri    = 0x0e0e
583dram_odt_en    = 0x7887bbbb
584dram_para1     = 0x30FA
585dram_para2     = 0x0000
586dram_mr0       = 0x0
587dram_mr1       = 0x34
588dram_mr2       = 0x1b
589dram_mr3       = 0x33
590dram_mr4       = 0x3
591dram_mr5       = 0x0
592dram_mr6       = 0x0
593dram_mr11      = 0x4
594dram_mr12      = 0x72
595dram_mr13      = 0x0
596dram_mr14      = 0x9
597dram_mr16      = 0x0
598dram_mr17      = 0x0
599dram_mr22      = 0x24
600dram_tpr0      = 0x0
601dram_tpr1      = 0x0
602dram_tpr2      = 0x0
603dram_tpr3      = 0x0
604dram_tpr6      = 0x31808080
605dram_tpr10     = 0x402e0000
606dram_tpr11     = 0x22262622
607dram_tpr12     = 0x0b0c0d0b
608dram_tpr13     = 0x61
609
610[dram_para13]
611
612dram_clk       = 792
613dram_type      = 8
614dram_dx_odt    = 0x0c0c0c0c
615dram_dx_dri    = 0x0e0e0e0e
616dram_ca_dri    = 0x0e0e
617dram_odt_en    = 0x7887bbbb
618dram_para1     = 0x30FA
619dram_para2     = 0x0000
620dram_mr0       = 0x0
621dram_mr1       = 0x34
622dram_mr2       = 0x1b
623dram_mr3       = 0x33
624dram_mr4       = 0x3
625dram_mr5       = 0x0
626dram_mr6       = 0x0
627dram_mr11      = 0x4
628dram_mr12      = 0x72
629dram_mr13      = 0x0
630dram_mr14      = 0x9
631dram_mr16      = 0x0
632dram_mr17      = 0x0
633dram_mr22      = 0x24
634dram_tpr0      = 0x0
635dram_tpr1      = 0x0
636dram_tpr2      = 0x0
637dram_tpr3      = 0x0
638dram_tpr6      = 0x31808080
639dram_tpr10     = 0x402e0000
640dram_tpr11     = 0x22262622
641dram_tpr12     = 0x0b0c0d0b
642dram_tpr13     = 0x61
643
644[dram_para14]
645
646dram_clk       = 792
647dram_type      = 8
648dram_dx_odt    = 0x0c0c0c0c
649dram_dx_dri    = 0x0e0e0e0e
650dram_ca_dri    = 0x0e0e
651dram_odt_en    = 0x7887bbbb
652dram_para1     = 0x30FA
653dram_para2     = 0x0000
654dram_mr0       = 0x0
655dram_mr1       = 0x34
656dram_mr2       = 0x1b
657dram_mr3       = 0x33
658dram_mr4       = 0x3
659dram_mr5       = 0x0
660dram_mr6       = 0x0
661dram_mr11      = 0x4
662dram_mr12      = 0x72
663dram_mr13      = 0x0
664dram_mr14      = 0x9
665dram_mr16      = 0x0
666dram_mr17      = 0x0
667dram_mr22      = 0x24
668dram_tpr0      = 0x0
669dram_tpr1      = 0x0
670dram_tpr2      = 0x0
671dram_tpr3      = 0x0
672dram_tpr6      = 0x31808080
673dram_tpr10     = 0x402e0000
674dram_tpr11     = 0x22262622
675dram_tpr12     = 0x0b0c0d0b
676dram_tpr13     = 0x61
677
678[dram_para15]
679
680dram_clk       = 792
681dram_type      = 8
682dram_dx_odt    = 0x0c0c0c0c
683dram_dx_dri    = 0x0e0e0e0e
684dram_ca_dri    = 0x0e0e
685dram_odt_en    = 0x7887bbbb
686dram_para1     = 0x30FA
687dram_para2     = 0x0000
688dram_mr0       = 0x0
689dram_mr1       = 0x34
690dram_mr2       = 0x1b
691dram_mr3       = 0x33
692dram_mr4       = 0x3
693dram_mr5       = 0x0
694dram_mr6       = 0x0
695dram_mr11      = 0x4
696dram_mr12      = 0x72
697dram_mr13      = 0x0
698dram_mr14      = 0x9
699dram_mr16      = 0x0
700dram_mr17      = 0x0
701dram_mr22      = 0x24
702dram_tpr0      = 0x0
703dram_tpr1      = 0x0
704dram_tpr2      = 0x0
705dram_tpr3      = 0x0
706dram_tpr6      = 0x31808080
707dram_tpr10     = 0x402e0000
708dram_tpr11     = 0x22262622
709dram_tpr12     = 0x0b0c0d0b
710dram_tpr13     = 0x61
711
712
713;----------------------------------------------------------------------------------
714;os life cycle para configuration
715;----------------------------------------------------------------------------------
716
717;------------------------------------------------------------------------------;
718; 10/100/100Mbps Ethernet MAC Controller Configure                             ;
719;------------------------------------------------------------------------------;
720;   配置选项:                                                                 ;
721;   gmac_used  ---  1: gmac used, 0: not used                                  ;
722;------------------------------------------------------------------------------;
723;         MII  GMII  RGMII        MII  GMII  RGMII        MII  GMII  RGMII     ;
724;PA00~03  *     *      *    PA10        *      *    PA20   *    *      *       ;
725;   PA04        *         PA11~14  *    *      *    PA21   *    *              ;
726;   PA05        *           PA15        *           PA22   *    *              ;
727;   PA06        *           PA16        *           PA23   *    *              ;
728;   PA07        *           PA17        *           PA24   *    *              ;
729;   PA08  *     *           PA18        *           PA25        *      *       ;
730;   PA09  *     *      *    PA19   *    *      *  PA26~27  *    *      *       ;
731;------------------------------------------------------------------------------;
732;[gmac0]
733;gmac0_used         = 1
734;phy-mode           = "rgmii"
735;gmac_rxd3          = port:PA00<2><default><default><default>
736;gmac_rxd2          = port:PA01<2><default><default><default>
737;gmac_rxd1          = port:PA02<2><default><default><default>
738;gmac_rxd0          = port:PA03<2><default><default><default>
739;gmac_rxck          = port:PA04<2><default><default><default>
740;gmac_rxctl         = port:PA05<2><default><default><default>
741;gmac_clkin         = port:PA06<2><default><default><default>
742;gmac_txd3          = port:PA07<2><default><default><default>
743;gmac_txd2          = port:PA08<2><default><default><default>
744;gmac_txd1          = port:PA09<2><default><default><default>
745;gmac_txd0          = port:PA10<2><default><default><default>
746;gmac_txck          = port:PA11<2><default><default><default>
747;gmac_txctl         = port:PA12<2><default><default><default>
748;gmac_mdc           = port:PA13<2><default><default><default>
749;gmac_mdio          = port:PA14<2><default><default><default>
750;gmac_fpga1         = port:PA15<2><default><default><default>
751;gmac_fpga2         = port:PA16<2><default><default><default>
752;gmac_fpga3         = port:PA17<2><default><default><default>
753;gmac_fpga4         = port:PA18<2><default><default><default>
754;gmac_fpga5         = port:PA19<2><default><default><default>
755;gmac_fpga7         = port:PA20<2><default><default><default>
756;gmac_fpga8         = port:PA21<2><default><default><default>
757;gmac_fpga9         = port:PA22<2><default><default><default>
758;gmac_fpga10        = port:PA23<2><default><default><default>
759;gmac_fpga11        = port:PA24<2><default><default><default>
760;gmac_fpga12        = port:PA25<2><default><default><default>
761;gmac_fpga13        = port:PA26<2><default><default><default>
762;gmac_fpga14        = port:PA27<2><default><default><default>
763;gmac_fpga15        = port:PA28<2><default><default><default>
764;gmac_fpga16        = port:PA29<2><default><default><default>
765;gmac_fpga17        = port:PA30<2><default><default><default>
766;gmac_fpga18        = port:PA31<2><default><default><default>
767;gmac-power0        = ""
768;gmac-power1        = ""
769;gmac-power2        = ""
770;tx-delay           = 0
771;rx-delay           = 0
772
773;------------------------------------------------------------------------------;
774; 10/100/100Mbps Ethernet MAC Controller Configure                             ;
775;------------------------------------------------------------------------------;
776;   配置选项:                                                                 ;
777;   gmac_used  ---  1: gmac used, 0: not used                                  ;
778;------------------------------------------------------------------------------;
779;         MII  GMII  RGMII        MII  GMII  RGMII        MII  GMII  RGMII     ;
780;PA00~03  *     *      *    PA10        *      *    PA20   *    *      *       ;
781;   PA04        *         PA11~14  *    *      *    PA21   *    *              ;
782;   PA05        *           PA15        *           PA22   *    *              ;
783;   PA06        *           PA16        *           PA23   *    *              ;
784;   PA07        *           PA17        *           PA24   *    *              ;
785;   PA08  *     *           PA18        *           PA25        *      *       ;
786;   PA09  *     *      *    PA19   *    *      *  PA26~27  *    *      *       ;
787;------------------------------------------------------------------------------;
788;[gmac1]
789;gmac1_used         = 0
790;phy-mode           = "rgmii"
791;gmac_rxd3          = port:PA00<2><default><default><default>
792;gmac_rxd2          = port:PA01<2><default><default><default>
793;gmac_rxd1          = port:PA02<2><default><default><default>
794;gmac_rxd0          = port:PA03<2><default><default><default>
795;gmac_rxck          = port:PA04<2><default><default><default>
796;gmac_rxctl         = port:PA05<2><default><default><default>
797;gmac_clkin         = port:PA06<2><default><default><default>
798;gmac_txd3          = port:PA07<2><default><default><default>
799;gmac_txd2          = port:PA08<2><default><default><default>
800;gmac_txd1          = port:PA09<2><default><default><default>
801;gmac_txd0          = port:PA10<2><default><default><default>
802;gmac_txck          = port:PA11<2><default><default><default>
803;gmac_txctl         = port:PA12<2><default><default><default>
804;gmac_mdc           = port:PA13<2><default><default><default>
805;gmac_mdio          = port:PA14<2><default><default><default>
806;gmac_fpga1         = port:PA15<2><default><default><default>
807;gmac_fpga2         = port:PA16<2><default><default><default>
808;gmac_fpga3         = port:PA17<2><default><default><default>
809;gmac_fpga4         = port:PA18<2><default><default><default>
810;gmac_fpga5         = port:PA19<2><default><default><default>
811;gmac_fpga7         = port:PA20<2><default><default><default>
812;gmac_fpga8         = port:PA21<2><default><default><default>
813;gmac_fpga9         = port:PA22<2><default><default><default>
814;gmac_fpga10        = port:PA23<2><default><default><default>
815;gmac_fpga11        = port:PA24<2><default><default><default>
816;gmac_fpga12        = port:PA25<2><default><default><default>
817;gmac_fpga13        = port:PA26<2><default><default><default>
818;gmac_fpga14        = port:PA27<2><default><default><default>
819;gmac_fpga15        = port:PA28<2><default><default><default>
820;gmac_fpga16        = port:PA29<2><default><default><default>
821;gmac_fpga17        = port:PA30<2><default><default><default>
822;gmac_fpga18        = port:PA31<2><default><default><default>
823;gmac-power0        = ""
824;gmac-power1        = ""
825;gmac-power2        = ""
826;tx-delay           = 0
827;rx-delay           = 0
828
829;----------------------------------------------------------------------------------
830;uart configuration
831;uart_type ---  2 (2 wire), 4 (4 wire), 8 (8 wire, full function)
832;----------------------------------------------------------------------------------
833[uart0]
834uart0_used       = 1
835uart0_port       = 0
836uart0_type       = 2
837uart0_tx         = port:PH00<2><1><default><default>
838uart0_rx         = port:PH01<2><1><default><default>
839
840;--------------------------------------------------------------------------------
841;tv configuration
842;
843;--------------------------------------------------------------------------------
844[tvout_para]
845tvout_used          =
846tvout_channel_num   =
847tv_en               =
848
849[tvin_para]
850tvin_used           =
851tvin_channel_num    =
852
853[secure]
854dram_region_mbytes       = 80
855drm_region_mbytes        = 0
856drm_region_start_mbytes  = 0
857