Advertisement
Guest User

h3-dolphin-perf.fex

a guest
Nov 21st, 2015
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.79 KB | None | 0 0
  1. ;H3 perf board application
  2. ;H3 perf board application
  3. ;---------------------------------------------------------------------------------------------------------
  4. ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
  5. ; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态>
  6. ;---------------------------------------------------------------------------------------------------------
  7.  
  8. [product]
  9. version = "100"
  10. machine = "dolphin-perf"
  11.  
  12. ;---------------------------------------------------------------------------------------------------------
  13. ; eraseflag - 1 erase data partition, 0 - do not erase data partition
  14. ; next_work - action after burn, 0x0 by config, 0x1, normal, 0x2 reboot 0x3 ,shutdown,0x4 reupdate ,0x5 boot
  15. ;---------------------------------------------------------------------------------------------------------
  16. [platform]
  17. debug_mode = 1
  18. eraseflag = 1
  19. next_work = 2
  20.  
  21. ;----------------------------------------------------------------------------------
  22. ;[target] system bootup configuration
  23. ;boot_clock = CPU boot frequency, Unit: MHz
  24. ;storage_type = boot medium, 0-nand, 1-card0, 2-card2, -1(defualt)auto scan
  25. ;----------------------------------------------------------------------------------
  26. [target]
  27. boot_clock = 1008
  28. storage_type = -1
  29. burn_key = 0
  30.  
  31. ;---------------------------------------------------------------------------------
  32. ; uboot key detect enable
  33. ; 当keyen_flag = 1 时,支持按键检测
  34. ; 当keyen_flag = 0 时,不支持
  35. ;---------------------------------------------------------------------------------
  36. [key_detect_en]
  37. keyen_flag = 0
  38.  
  39. ;---------------------------------------------------------------------------------
  40. ;"一键进烧写功能"的按键值配置,按住位于min~max范围内的按键都可以强制进烧写
  41. ; fel_key_max用于配置按键的最大键值
  42. ; fel_key_min用于配置按键的最小键值
  43. ;---------------------------------------------------------------------------------
  44. [fel_key]
  45. fel_key_max =07
  46. fel_key_min =02
  47.  
  48. ;----------------------------------------------------------------------------------
  49. ;card boot
  50. ;logical_start用于配置启动卡上mbr的位置相对于SD卡sector 0的偏移,单位为sector(512byte)
  51. ;sprite_gpio0用于配置卡量产时指示灯所用的gpio
  52. ;----------------------------------------------------------------------------------
  53. ;-------------------------------------------------------------------------------
  54. ; sprite_work_delay :
  55. ; sprite_err_delay :
  56. ; sprite_gpio0 : 卡量产、一键recovery状态指示灯
  57. ; next_work : 卡量产完成,工作状态(默认关机)
  58. ;-------------------------------------------------------------------------------
  59. [card_boot]
  60. logical_start = 40960
  61. sprite_work_delay = 500
  62. sprite_err_delay = 200
  63. sprite_gpio0 = port:PA15<1><default><default><default>
  64. next_work = 3
  65.  
  66. ;---------------------------------------------------------------------------------
  67. ; used : 1: used this config, 0: not
  68. ; start_type : 1: start system directly when power supply, 0: wait IR/KEY to power on
  69. ; irkey_used : 1: ir key used, 0: not
  70. ; pmukey_used: 1: physical button used, 0: not
  71. ; pmukey_num : the index of gpio, only support PL
  72. ; led_power : 1: light, 0: off, the control gpio is PL10
  73. ; led_state : 1: light, 0: off, default is 0
  74. ;---------------------------------------------------------------------------------
  75. [box_start_os]
  76. used = 1
  77. start_type = 1
  78. irkey_used = 1
  79. pmukey_used = 0
  80. pmukey_num = 0
  81. led_power = 0
  82. led_state = 0
  83.  
  84. ;-------------------------------------------------------------------------------
  85. ; boot阶段上电初始化GPIO
  86. ; used :模块使能端 置1:开启模块 置0:关闭模块
  87. ; gpiox :上电初始化gpio (名称自定,但不能重复,并且GPIO允许可以多个)
  88. ; PH06 : 系统显示LED GPIO
  89. ;-------------------------------------------------------------------------------
  90. [boot_init_gpio]
  91. used = 1
  92. gpio0 = port:PA15<1><default><default><1>
  93.  
  94. ;----------------------------------------------------------------------------------
  95. ; used: 模块使能端 1:开启模块 0:关闭模块
  96. ; mode: 模式选择 1:一键进入OTA升级 2:一键恢复(通过sysrecovery分区来恢复) 其他值:无效
  97. ; recovery_key : 按键配置 (例如:recovery_key= port:PH16<0><default>)
  98. ;----------------------------------------------------------------------------------
  99. [recovery_para]
  100. used = 1
  101. mode = 2
  102. recovery_key = port:PA13<0><default><default><default>
  103.  
  104.  
  105. ;---------------------------------------------------------------------------------------------------------
  106. ; if 1 == standby_mode, then support super standby;
  107. ; else, support normal standby.
  108. ;---------------------------------------------------------------------------------------------------------
  109. [pm_para]
  110. standby_mode = 1
  111.  
  112. [card0_boot_para]
  113. card_ctrl = 0
  114. card_high_speed = 1
  115. card_line = 4
  116. sdc_d1 = port:PF00<2><1><2><default>
  117. sdc_d0 = port:PF01<2><1><2><default>
  118. sdc_clk = port:PF02<2><1><2><default>
  119. sdc_cmd = port:PF03<2><1><2><default>
  120. sdc_d3 = port:PF04<2><1><2><default>
  121. sdc_d2 = port:PF05<2><1><2><default>
  122.  
  123. [card2_boot_para]
  124. card_ctrl = 2
  125. card_high_speed = 1
  126. card_line = 8
  127. sdc_cmd = port:PC06<3><1><2><default>
  128. sdc_clk = port:PC05<3><1><2><default>
  129. sdc_d0 = port:PC08<3><1><2><default>
  130. sdc_d1 = port:PC09<3><1><2><default>
  131. sdc_d2 = port:PC10<3><1><2><default>
  132. sdc_d3 = port:PC11<3><1><2><default>
  133. sdc_d4 = port:PC12<3><1><2><default>
  134. sdc_d5 = port:PC13<3><1><2><default>
  135. sdc_d6 = port:PC14<3><1><2><default>
  136. sdc_d7 = port:PC15<3><1><2><default>
  137. sdc_2xmode = 1
  138. sdc_ddrmode = 1
  139.  
  140. [twi_para]
  141. twi_port = 0
  142. twi_scl = port:PA11<2><default><default><default>
  143. twi_sda = port:PA12<2><default><default><default>
  144.  
  145. [uart_para]
  146. uart_debug_port = 0
  147. uart_debug_tx = port:PA04<2><1><default><default>
  148. uart_debug_rx = port:PA05<2><1><default><default>
  149.  
  150. [force_uart_para]
  151. force_uart_port = 0
  152. force_uart_tx = port:PF02<3><1><default><default>
  153. force_uart_rx = port:PF04<3><1><default><default>
  154.  
  155. [jtag_para]
  156. jtag_enable = 1
  157. jtag_ms = port:PA00<3><default><default><default>
  158. jtag_ck = port:PA01<3><default><default><default>
  159. jtag_do = port:PA02<3><default><default><default>
  160. jtag_di = port:PA03<3><default><default><default>
  161.  
  162. [clock]
  163. pll_video = 297
  164. pll_ve = 402
  165. pll_periph0 = 600
  166. pll_gpu = 576
  167. pll_periph1 = 600
  168. pll_de = 864
  169.  
  170. ;*****************************************************************************
  171. ;sdram configuration
  172. ;
  173. ; dram_tpr13[31:31]=1, use gpio type to detect dram type and
  174. ; dram_tpr13[31:31]=0, not use gpio type to detect dram type.
  175. ;
  176. ; if set ddr type auto detect, use dram_tpr7 to set dram clk.
  177. ; for example: if dram_tpr13[13:13] = 1, it use
  178. ; dram_tpr7[29:20] to set lpddr2 clk,
  179. ; dram_tpr7[19:10] to set lpddr3 clk,
  180. ; dram_tpr7[9:0] to set ddr3 or ddr3l clk.
  181. ;*****************************************************************************
  182. [dram_para]
  183. dram_clk = 576
  184. dram_type = 3
  185. dram_zq = 0x3b3bfb
  186. dram_odt_en = 0x1
  187. dram_para1 = 0x10E40000
  188. dram_para2 = 0x0000
  189. dram_mr0 = 0x1840
  190. dram_mr1 = 0x40
  191. dram_mr2 = 0x18
  192. dram_mr3 = 0x2
  193. dram_tpr0 = 0x0048A192
  194. dram_tpr1 = 0x01C2418D
  195. dram_tpr2 = 0x00076051
  196. dram_tpr3 = 0
  197. dram_tpr4 = 0
  198. dram_tpr5 = 0
  199. dram_tpr6 = 100
  200. dram_tpr7 = 0x13890240
  201. dram_tpr8 = 0
  202. dram_tpr9 = 0
  203. dram_tpr10 = 0
  204. dram_tpr11 = 0x6aaa0000
  205. dram_tpr12 = 0x7979
  206. dram_tpr13 = 0x1802800
  207. ;----------------------------------------------------------------------------------
  208. ;os life cycle para configuration
  209. ;----------------------------------------------------------------------------------
  210.  
  211. ;---------------------------------------------------------------------------------------------------------
  212. ; wakeup_src_para:
  213. ; sometimes, u would like to add more wakeup src in standby mode, these para will be
  214. ; help;
  215. ; u need to make sure the standby mode support the wakeup src. Also, some hw
  216. ; condition must be guaranteed.
  217. ; including:
  218. ; cpu_en: power on or off.
  219. ; 1: mean power on
  220. ; 0: mean power off
  221. ; cpu_freq: indicating lowest freq. unit is Mhz;
  222. ; dram selfresh_en: selfresh or not.
  223. ; 1: enable enter selfresh
  224. ; 0: disable enter selfresh
  225. ; dram_pll: if not enter selfresh, indicating lowest freq. unit is Mhz;
  226. ; wakeup_src: to make the scenario work, the wakeup src is needed.
  227. ;---------------------------------------------------------------------------------------------------------
  228. [wakeup_src_para]
  229. cpu_en = 0
  230. cpu_freq = 48
  231. ; (cpu:apb:ahb)
  232. pll_ratio = 0x111
  233. dram_selfresh_en = 1
  234. dram_freq = 36
  235. wakeup_src0 =
  236. ;wakeup_src_wl = port:PL04<6><default><default><0>
  237. ;wakeup_src_bt = port:PL03<6><default><default><0>
  238.  
  239. ;----------------------------------------------------------------------------------
  240. ;i2c configuration
  241. ;----------------------------------------------------------------------------------
  242. [twi0]
  243. twi_used = 1
  244. twi_scl = port:PA11<2><default><default><default>
  245. twi_sda = port:PA12<2><default><default><default>
  246.  
  247. [twi1]
  248. twi_used = 1
  249. twi_scl = port:PA18<3><default><default><default>
  250. twi_sda = port:PA19<3><default><default><default>
  251.  
  252. [twi2]
  253. twi_used = 0
  254. twi_scl = port:PE12<3><default><default><default>
  255. twi_sda = port:PE13<3><default><default><default>
  256.  
  257. ;----------------------------------------------------------------------------------
  258. ;uart configuration
  259. ;uart_type --- 2 (2 wire), 4 (4 wire), 8 (8 wire, full function)
  260. ;----------------------------------------------------------------------------------
  261. [uart0]
  262. uart_used = 1
  263. uart_port = 0
  264. uart_type = 2
  265. uart_tx = port:PA04<2><1><default><default>
  266. uart_rx = port:PA05<2><1><default><default>
  267.  
  268. [uart1]
  269. uart_used = 1
  270. uart_port = 1
  271. uart_type = 4
  272. uart_tx = port:PG06<2><1><default><default>
  273. uart_rx = port:PG07<2><1><default><default>
  274. uart_rts = port:PG08<2><1><default><default>
  275. uart_cts = port:PG09<2><1><default><default>
  276.  
  277. [uart2]
  278. uart_used = 0
  279. uart_port = 2
  280. uart_type = 4
  281. uart_tx = port:PA00<2><1><default><default>
  282. uart_rx = port:PA01<2><1><default><default>
  283. uart_rts = port:PA02<2><1><default><default>
  284. uart_cts = port:PA03<2><1><default><default>
  285.  
  286. [uart3]
  287. uart_used = 0
  288. uart_port = 3
  289. uart_type = 4
  290. uart_tx = port:PA13<3><1><default><default>
  291. uart_rx = port:PA14<3><1><default><default>
  292. uart_rts = port:PA15<3><1><default><default>
  293. uart_cts = port:PA16<3><1><default><default>
  294.  
  295. ;----------------------------------------------------------------------------------
  296. ;SPI controller configuration
  297. ;----------------------------------------------------------------------------------
  298. [spi0]
  299. spi_used = 0
  300. spi_cs_bitmap = 1
  301. spi_mosi = port:PC00<3><default><default><default>
  302. spi_miso = port:PC01<3><default><default><default>
  303. spi_sclk = port:PC02<3><default><default><default>
  304. spi_cs0 = port:PC03<3><1><default><default>
  305.  
  306. [spi1]
  307. spi_used = 0
  308. spi_cs_bitmap = 1
  309. spi_cs0 = port:PA13<2><1><default><default>
  310. spi_sclk = port:PA14<2><default><default><default>
  311. spi_mosi = port:PA15<2><default><default><default>
  312. spi_miso = port:PA16<2><default><default><default>
  313.  
  314. ;----------------------------------------------------------------------------------
  315. ;SPI device configuration
  316. ;----------------------------------------------------------------------------------
  317. [spi_devices]
  318. spi_dev_num = 1
  319.  
  320. [spi_board0]
  321. modalias = m25p32
  322. max_speed_hz = 33000000
  323. bus_num = 0
  324. chip_select = 0
  325. mode = 0
  326.  
  327.  
  328. ;----------------------------------------------------------------------------------
  329. ;thermal configuration
  330. ;ths_trip_count : temperature trigger number
  331. ;ths_trip_0 : first temperature trigger
  332. ;ths_trip_1 : second temperature trigger
  333. ;ths_trip_2 : third temperature trigger, when upto this temperature, system shutdown
  334. ;ths_trip_0_min : first temperature trigger's min freq
  335. ;ths_trip_0_max : first temperature trigger's max freq
  336. ;ths_trip_1_min : second temperature trigger's min freq
  337. ;ths_trip_1_max : second temperature trigger's max freq
  338. ;----------------------------------------------------------------------------------
  339. [ths_para]
  340. ths_used = 1
  341. ths_trip1_count = 5
  342. ths_trip1_0 = 70
  343. ths_trip1_1 = 80
  344. ths_trip1_2 = 90
  345. ths_trip1_3 = 100
  346. ths_trip1_4 = 105
  347. ths_trip1_5 = 0
  348. ths_trip1_6 = 0
  349. ths_trip1_7 = 0
  350. ths_trip1_0_min = 0
  351. ths_trip1_0_max = 1
  352. ths_trip1_1_min = 1
  353. ths_trip1_1_max = 2
  354. ths_trip1_2_min = 2
  355. ths_trip1_2_max = 3
  356. ths_trip1_3_min = 3
  357. ths_trip1_3_max = 4
  358. ths_trip1_4_min = 4
  359. ths_trip1_4_max = 4
  360. ths_trip1_5_min = 0
  361. ths_trip1_5_max = 0
  362. ths_trip1_6_min = 0
  363. ths_trip1_6_max = 0
  364. ths_trip2_count = 1
  365. ths_trip2_0 = 105
  366. ;----------------------------------------------------------------------------------
  367. ;cooler_table cooler_count <=32
  368. ;----------------------------------------------------------------------------------
  369. [cooler_table]
  370. cooler_count = 5
  371. cooler0 = "1200000 4 4294967295 0"
  372. cooler1 = "1200000 3 4294967295 0"
  373. cooler2 = "1200000 2 4294967295 0"
  374. cooler3 = "1200000 1 4294967295 0"
  375. cooler4 = "504000 1 4294967295 0"
  376.  
  377.  
  378. [nand0_para]
  379. nand_support_2ch = 0
  380.  
  381. nand0_used = 1
  382. nand0_we = port:PC00<2><0><1><default>
  383. nand0_ale = port:PC01<2><0><1><default>
  384. nand0_cle = port:PC02<2><0><1><default>
  385. nand0_ce1 = port:PC03<2><1><1><default>
  386. nand0_ce0 = port:PC04<2><1><1><default>
  387. nand0_nre = port:PC05<2><0><1><default>
  388. nand0_rb0 = port:PC06<2><1><1><default>
  389. nand0_rb1 = port:PC07<2><1><1><default>
  390. nand0_d0 = port:PC08<2><0><1><default>
  391. nand0_d1 = port:PC09<2><0><1><default>
  392. nand0_d2 = port:PC10<2><0><1><default>
  393. nand0_d3 = port:PC11<2><0><1><default>
  394. nand0_d4 = port:PC12<2><0><1><default>
  395. nand0_d5 = port:PC13<2><0><1><default>
  396. nand0_d6 = port:PC14<2><0><1><default>
  397. nand0_d7 = port:PC15<2><0><1><default>
  398. nand0_ndqs = port:PC16<2><0><1><default>
  399.  
  400.  
  401. ;-----------------------------------------------------------------
  402. ;auto_hpd - 1:need hotplud for hdmi/tv; 0:don't hotplud for lcd
  403. ;output_type - 0:none; 1:lcd; 2:tv; 4:hdmi; 8:vga (as default config in homlet)
  404. ;hdmi_channel- the display channel for hdmi (as default config in homlet)
  405. ;cvbs_channel- the display channel for cvbs (as default config in homlet)
  406. ;hdmi_mode - as default config for output of hdmi in homlet
  407. ;cvbs_mode - as default config for output of tv in homlet. 11:PAL; 14:NTSC
  408. ;check the definition(of hdmi/cvbs_mode) of disp_tv_mode in sunxi_display2.h
  409. ;hdmi_mode_check - disable/enable the function of checking hdmi mode, 0 is disable, 1 is enable
  410. ;-----------------------------------------------------------------
  411. [boot_disp]
  412. advert_disp = 0
  413. auto_hpd = 1
  414. output_type = 4
  415. hdmi_channel = 0
  416. hdmi_mode = 4
  417. cvbs_channel = 1
  418. cvbs_mode = 11
  419. output_full = 1
  420. hdmi_mode_check = 1
  421.  
  422. ;----------------------------------------------------------------------------------
  423. ;disp init configuration
  424. ;
  425. ;disp_mode (0:screen0<screen0,fb0>; 1:screen1<screen1,fb0>)
  426. ;screenx_output_type (0:none; 1:lcd; 3:hdmi;)
  427. ;screenx_output_mode (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)
  428. ; (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)
  429. ;fbx format (0:ARGB 1:ABGR 2:RGBA 3:BGRA 5:RGB565 8:RGB888 12:ARGB4444 16:ARGB1555 18:RGBA5551)
  430. ;fbx_width,fbx_height (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0)
  431. ;lcdx_backlight (lcd init backlight,the range:[0,256],default:197
  432. ;----------------------------------------------------------------------------------
  433. [disp_init]
  434. disp_init_enable = 1
  435. disp_mode = 0
  436.  
  437. screen0_output_type = 3
  438. screen0_output_mode = 4
  439.  
  440. screen1_output_type = 3
  441. screen1_output_mode = 4
  442.  
  443. fb0_format = 0
  444. fb0_width = 0
  445. fb0_height = 0
  446.  
  447. fb1_format = 0
  448. fb1_width = 0
  449. fb1_height = 0
  450.  
  451. ;----------------------------------------------------------------------------------
  452. ;hdmi configuration
  453. ;----------------------------------------------------------------------------------
  454. [hdmi_para]
  455. hdmi_used = 1
  456. hdmi_power = "vcc-hdmi-18"
  457.  
  458. [tv_para]
  459. tv_used = 1
  460. tv_dac_used = 1
  461. tv_dac_src0 = 0
  462.  
  463. ;----------------------------------------------------------------------------------
  464. ;pwm config
  465. ;----------------------------------------------------------------------------------
  466. [pwm0_para]
  467. pwm_used = 0
  468. pwm_positive = port:PA05<3><0><default><default>
  469.  
  470. ;------------------------------------------------------------------------------;
  471. ; 10/100/100Mbps Ethernet MAC Controller Configure ;
  472. ;------------------------------------------------------------------------------;
  473. ; Options: ;
  474. ; gmac_used --- 0: not used, 1: external phy, 2: internal phy ;
  475. ; gmac_powerx -- A[:B] A: axp channel, B: voltage value ;
  476. : If set gamc_phy to use internal PHY, do not config port ;
  477. ;------------------------------------------------------------------------------;
  478. ; MII RMII MII RMII MII RMII ;
  479. ; PD00 * PD06 * * PD12 * * ;
  480. ; PD01 * PD07 * PD13 * * ;
  481. ; PD02 * * PD08 * PD14 * ;
  482. ; PD03 * * PD09 * * PD15 * ;
  483. ; PD04 * PD10 * * PD16 * * ;
  484. ; PD05 * PD11 * * PD17 * * ;
  485. ;------------------------------------------------------------------------------;
  486. [gmac0]
  487. gmac_used = 2
  488. ;gmac_rxd3 = port:PD00<2><default><3><default>
  489. ;gmac_rxd2 = port:PD01<2><default><3><default>
  490. ;gmac_rxd1 = port:PD02<2><default><3><default>
  491. ;gmac_rxd0 = port:PD03<2><default><3><default>
  492. ;gmac_rxclk = port:PD04<2><default><3><default>
  493. ;gmac_rxdv = port:PD05<2><default><3><default>
  494. ;gmac_rxerr = port:PD06<2><default><3><default>
  495. ;gmac_txd3 = port:PD07<2><default><3><default>
  496. ;gmac_txd2 = port:PD08<2><default><3><default>
  497. ;gmac_txd1 = port:PD09<2><default><3><default>
  498. ;gmac_txd0 = port:PD10<2><default><3><default>
  499. ;gmac_crs = port:PD11<2><default><3><default>
  500. ;gmac_txclk = port:PD12<2><default><3><default>
  501. ;gmac_txen = port:PD13<2><default><3><default>
  502. ;gmac_txerr = port:PD14<2><default><3><default>
  503. ;gmac_col = port:PD15<2><default><3><default>
  504. ;gmac_mdc = port:PD16<2><default><3><default>
  505. ;gmac_mdio = port:PD17<2><default><3><default>
  506. gmac_power1 =
  507.  
  508. ;--------------------------------------------------------------------------------
  509. ;vip (video input port) configuration
  510. ;vip_used: 0:disable 1:enable
  511. ;vip_mode: 0:sample one interface to one buffer 1:sample two interface to one buffer
  512. ;vip_dev_qty: The quantity of devices linked to capture bus
  513. ;
  514. ;vip_define_sensor_list: If you want use sensor detect function, please set vip_define_sensor_list = 1, and
  515. ; verify that file /system/etc/hawkview/sensor_list_cfg.ini is properly configured!
  516. ;
  517. ;vip_dev(x)_pos: sensor position, "rear" or "front", if vip_define_sensor_list = 1,
  518. ;vip_dev(x)_pos must be configured!
  519. ;
  520. ;vip_dev(x)_isp_used 0:not use isp 1:use isp
  521. ;vip_dev(x)_fmt: 0:yuv 1:bayer raw rgb
  522. ;vip_dev(x)_stby_mode: 0:not shut down power at standby 1:shut down power at standby
  523. ;vip_dev(x)_vflip: flip in vertical direction 0:disable 1:enable
  524. ;vip_dev(x)_hflip: flip in horizontal direction 0:disable 1:enable
  525. ;vip_dev(x)_iovdd: camera module io power handle string, pmu power supply
  526. ;vip_dev(x)_iovdd_vol: camera module io power voltage, pmu power supply
  527. ;vip_dev(x)_avdd: camera module analog power handle string, pmu power supply
  528. ;vip_dev(x)_avdd_vol: camera module analog power voltage, pmu power supply
  529. ;vip_dev(x)_dvdd: camera module core power handle string, pmu power supply
  530. ;vip_dev(x)_dvdd_vol: camera module core power voltage, pmu power supply
  531. ;vip_dev(x)_afvdd: camera module vcm power handle string, pmu power supply
  532. ;vip_dev(x)_afvdd_vol: camera module vcm power voltage, pmu power supply
  533. ;x indicates the index of the devices which are linked to the same capture bus
  534. ;fill voltage in uV, e.g. iovdd = 2.8V, vip_devx_iovdd_vol = 2800000
  535. ;fill handle string as below:
  536. ;axp22_eldo3
  537. ;axp22_dldo4
  538. ;axp22_eldo2
  539. ;fill handle string "" when not using any pmu power supply
  540. ;--------------------------------------------------------------------------------
  541.  
  542. [csi0]
  543.  
  544. vip_used = 0
  545. vip_mode = 0
  546. vip_dev_qty = 1
  547. vip_define_sensor_list = 0
  548.  
  549. vip_csi_pck = port:PE00<2><default><default><default>
  550. vip_csi_mck = port:PE01<2><default><default><default>
  551. vip_csi_hsync = port:PE02<2><default><default><default>
  552. vip_csi_vsync = port:PE03<2><default><default><default>
  553. vip_csi_d0 = port:PE04<2><default><default><default>
  554. vip_csi_d1 = port:PE05<2><default><default><default>
  555. vip_csi_d2 = port:PE06<2><default><default><default>
  556. vip_csi_d3 = port:PE07<2><default><default><default>
  557. vip_csi_d4 = port:PE08<2><default><default><default>
  558. vip_csi_d5 = port:PE09<2><default><default><default>
  559. vip_csi_d6 = port:PE10<2><default><default><default>
  560. vip_csi_d7 = port:PE11<2><default><default><default>
  561. vip_csi_sck = port:PE12<2><default><default><default>
  562. vip_csi_sda = port:PE13<2><default><default><default>
  563.  
  564. vip_dev0_mname = "ov5640"
  565. vip_dev0_pos = "rear"
  566. vip_dev0_lane = 1
  567. vip_dev0_twi_id = 0
  568. vip_dev0_twi_addr = 0x78
  569. vip_dev0_isp_used = 0
  570. vip_dev0_fmt = 0
  571. vip_dev0_stby_mode = 0
  572. vip_dev0_vflip = 0
  573. vip_dev0_hflip = 0
  574. vip_dev0_iovdd = ""
  575. vip_dev0_iovdd_vol = 2800000
  576. vip_dev0_avdd = ""
  577. vip_dev0_avdd_vol = 2800000
  578. vip_dev0_dvdd = ""
  579. vip_dev0_dvdd_vol = 1500000
  580. vip_dev0_afvdd = ""
  581. vip_dev0_afvdd_vol = 2800000
  582. vip_dev0_power_en =
  583. vip_dev0_reset =
  584. vip_dev0_pwdn =
  585. vip_dev0_flash_en =
  586. vip_dev0_flash_mode =
  587. vip_dev0_af_pwdn =
  588.  
  589. vip_dev0_act_used = 0
  590. vip_dev0_act_name = "ad5820_act"
  591. vip_dev0_act_slave = 0x18
  592.  
  593.  
  594. vip_dev1_mname = ""
  595. vip_dev1_pos = "front"
  596. vip_dev1_lane = 1
  597. vip_dev1_twi_id = 0
  598. vip_dev1_twi_addr =
  599. vip_dev1_isp_used = 0
  600. vip_dev1_fmt = 1
  601. vip_dev1_stby_mode = 0
  602. vip_dev1_vflip = 0
  603. vip_dev1_hflip = 0
  604. vip_dev1_iovdd = ""
  605. vip_dev1_iovdd_vol = 2800000
  606. vip_dev1_avdd = ""
  607. vip_dev1_avdd_vol = 2800000
  608. vip_dev1_dvdd = ""
  609. vip_dev1_dvdd_vol = 1500000
  610. vip_dev1_afvdd = ""
  611. vip_dev1_afvdd_vol = 2800000
  612. vip_dev1_power_en =
  613. vip_dev1_reset =
  614. vip_dev1_pwdn =
  615. vip_dev1_flash_en =
  616. vip_dev1_flash_mode =
  617. vip_dev1_af_pwdn =
  618.  
  619.  
  620. ;--------------------------------------------------------------------------------
  621. ;tv configuration
  622. ;
  623. ;--------------------------------------------------------------------------------
  624. [tvout_para]
  625. tvout_used =
  626. tvout_channel_num =
  627. tv_en =
  628.  
  629. [tvin_para]
  630. tvin_used =
  631. tvin_channel_num =
  632.  
  633. ;----------------------------------------------------------------------------------
  634. ;DE-Interlace configuration
  635. ;----------------------------------------------------------------------------------
  636. [di_para]
  637. di_used = 1
  638.  
  639. ;--------------------------------------------------------------------------------
  640. ; SDMMC PINS MAPPING |
  641. ; ------------------------------------------------------------------------------|
  642. ; Config Guide |
  643. ; sdc_used: 1-enable card, 0-disable card |
  644. ; sdc_detmode: card detect mode |
  645. ; 1-detect card by gpio polling |
  646. ; 2-detect card by gpio irq(must use IO with irq function) |
  647. ; 3-no detect, always in for boot card |
  648. ; 4-manually insert and remove by /proc/driver/sunxi-mmc.x/insert|
  649. ; sdc_buswidth: card bus width, 1-1bit, 4-4bit, 8-8bit |
  650. ; sdc_use_wp: 1-with write protect IO, 0-no write protect IO |
  651. ; sdc_isio: for sdio card |
  652. ; sdc_regulator: power control.if card supports UHS-I/DDR and HS200 timing for|
  653. ; SD3.0 or eMMC4.5, regulator must be configured. the value is |
  654. ; the ldo name of AXP221, eg: sdc_regulator = "axp22_eldo2" |
  655. ; other: GPIO Mapping configuration |
  656. ; ------------------------------------------------------------------------------|
  657. ; Note: |
  658. ; 1 if detmode=2, sdc_det's config=6 |
  659. ; else if detmode=1, sdc_det's config=0 |
  660. ; else sdc_det IO is not necessary |
  661. ; 2 if the customer wants to support UHS-I and HS200 features, he must provide|
  662. ; an independent power supply for the card. This is only used in platforms |
  663. ; that supports SD3.0 cards and eMMC4.4+ flashes |
  664. ;--------------------------------------------------------------------------------
  665. [mmc0_para]
  666. sdc_used = 1
  667. sdc_detmode = 1
  668. sdc_buswidth = 4
  669. sdc_clk = port:PF02<2><1><2><default>
  670. sdc_cmd = port:PF03<2><1><2><default>
  671. sdc_d0 = port:PF01<2><1><2><default>
  672. sdc_d1 = port:PF00<2><1><2><default>
  673. sdc_d2 = port:PF05<2><1><2><default>
  674. sdc_d3 = port:PF04<2><1><2><default>
  675. sdc_det = port:PF06<0><1><2><default>
  676. sdc_use_wp = 0
  677. sdc_wp =
  678. sdc_isio = 0
  679. sdc_regulator = "none"
  680. sdc_power_supply = "none"
  681.  
  682. [mmc1_para]
  683. sdc_used = 1
  684. sdc_detmode = 4
  685. sdc_buswidth = 4
  686. sdc_clk = port:PG00<2><1><3><default>
  687. sdc_cmd = port:PG01<2><1><3><default>
  688. sdc_d0 = port:PG02<2><1><3><default>
  689. sdc_d1 = port:PG03<2><1><3><default>
  690. sdc_d2 = port:PG04<2><1><3><default>
  691. sdc_d3 = port:PG05<2><1><3><default>
  692. sdc_det =
  693. sdc_use_wp = 0
  694. sdc_wp =
  695. sdc_isio = 1
  696. sdc_regulator = "none"
  697. sdc_power_supply = "none"
  698. sdc_2xmode = 1
  699. sdc_ddrmode = 1
  700.  
  701. [mmc2_para]
  702. sdc_used = 0
  703. sdc_detmode = 3
  704. sdc_buswidth = 8
  705. sdc_clk = port:PC05<3><1><2><default>
  706. sdc_cmd = port:PC06<3><1><2><default>
  707. sdc_d0 = port:PC08<3><1><2><default>
  708. sdc_d1 = port:PC09<3><1><2><default>
  709. sdc_d2 = port:PC10<3><1><2><default>
  710. sdc_d3 = port:PC11<3><1><2><default>
  711. sdc_d4 = port:PC12<3><1><2><default>
  712. sdc_d5 = port:PC13<3><1><2><default>
  713. sdc_d6 = port:PC14<3><1><2><default>
  714. sdc_d7 = port:PC15<3><1><2><default>
  715. emmc_rst = port:PC16<3><1><2><default>
  716. sdc_det =
  717. sdc_use_wp = 0
  718. sdc_wp =
  719. sdc_isio = 0
  720. sdc_regulator = "none"
  721. sdc_power_supply = "none"
  722. sdc_2xmode = 1
  723. sdc_ddrmode = 1
  724.  
  725. ; ------------------------------------------------------------------------------|
  726. ; sim card configuration
  727. ;--------------------------------------------------------------------------------
  728. [smc_para]
  729. smc_used =
  730. smc_rst = port:PA09<2><default><default><default>
  731. smc_vppen = port:PA20<3><default><default><default>
  732. smc_vppp = port:PA21<3><default><default><default>
  733. smc_det = port:PA10<2><default><default><default>
  734. smc_vccen = port:PA06<2><default><default><default>
  735. smc_sck = port:PA07<2><default><default><default>
  736. smc_sda = port:PA08<2><default><default><default>
  737.  
  738.  
  739. ;--------------------------------
  740. ;[usbc0]:控制器0的配置。
  741. ;usb_used:USB使能标志。置1,表示系统中USB模块可用,置0,则表示系统USB禁用。
  742. ;usb_port_type:USB端口的使用情况。 0:device only;1:host only;2:OTG
  743. ;usb_detect_type:USB端口的检查方式。0:不做检测;1:vbus/id检查;2:id/dpdm检查
  744. ;usb_id_gpio:USB ID pin脚配置。具体请参考gpio配置说明。
  745. ;usb_det_vbus_gpio:USB DET_VBUS pin脚配置。具体请参考gpio配置说明。
  746. ;usb_drv_vbus_gpio:USB DRY_VBUS pin脚配置。具体请参考gpio配置说明。
  747. ;usb_det_vbus_gpio: "axp_ctrl",表示axp 提供
  748. ;usb_restrict_gpio usb限流控制pin
  749. ;usb_restric_flag: usb限流标置
  750. ;--------------------------------
  751. ;--------------------------------
  752. ;--- USB0控制标志
  753. ;--------------------------------
  754. [usbc0]
  755. usb_used = 1
  756. usb_port_type = 1
  757. usb_detect_type = 1
  758. usb_id_gpio =
  759. usb_det_vbus_gpio =
  760. usb_drv_vbus_gpio = port:PA00<1><0><default><0>
  761. usb_host_init_state = 1
  762. usb_restrict_gpio =
  763. usb_restric_flag = 0
  764. usb_restric_voltage = 3550000
  765. usb_restric_capacity= 5
  766. usb_regulator_io = "nocare"
  767. usb_regulator_vol = 0
  768. usb_not_suspend = 0
  769.  
  770. ;--------------------------------
  771. ;--- USB1控制标志
  772. ;--------------------------------
  773. [usbc1]
  774. usb_used = 1
  775. usb_drv_vbus_gpio = port:PA01<1><0><default><0>
  776. usb_restrict_gpio =
  777. usb_host_init_state = 1
  778. usb_restric_flag = 0
  779. usb_regulator_io = "nocare"
  780. usb_regulator_vol = 0
  781. usb_not_suspend = 0
  782.  
  783. ;--------------------------------
  784. ;--- USB2控制标志
  785. ;--------------------------------
  786. [usbc2]
  787. usb_used = 0
  788. usb_drv_vbus_gpio =
  789. usb_restrict_gpio =
  790. usb_host_init_state = 1
  791. usb_restric_flag = 0
  792. usb_regulator_io = "nocare"
  793. usb_regulator_vol = 0
  794. usb_not_suspend = 0
  795.  
  796. ;--------------------------------
  797. ;--- USB3控制标志
  798. ;--------------------------------
  799. [usbc3]
  800. usb_used = 1
  801. usb_drv_vbus_gpio =
  802. usb_restrict_gpio =
  803. usb_host_init_state = 0
  804. usb_restric_flag = 0
  805. usb_regulator_io = "nocare"
  806. usb_regulator_vol = 0
  807. usb_not_suspend = 0
  808.  
  809. ;--------------------------------
  810. ;--- USB Device
  811. ;--------------------------------
  812. [usb_feature]
  813. vendor_id = 0x18D1
  814. mass_storage_id = 0x0001
  815. adb_id = 0x0002
  816.  
  817. manufacturer_name = "USB Developer"
  818. product_name = "Android"
  819. serial_number = "20080411"
  820.  
  821. [msc_feature]
  822. vendor_name = "USB 2.0"
  823. product_name = "USB Flash Driver"
  824. release = 100
  825. luns = 3
  826.  
  827. [serial_feature]
  828. serial_unique = 0
  829.  
  830.  
  831. ;--------------------------------------------------------------------------------
  832. ;wifi/bt/fm/gps/nfc modules configuration
  833. ;module_power0: axp used by module, "axp22_dldo1" - use dldo1, not use keep it empty
  834. ;module_power0_vol: power0 voltage, mv;
  835. ;chip_en: enable chip io
  836. ;lpo_use_apclk: ""- not use, "losc_out"- a23/33/H3, "ac10032k1"、"ac10032k2"、"ac10032k3"- a80
  837. ;--------------------------------------------------------------------------------
  838. [module_para]
  839. module_power0 =
  840. module_power0_vol = 0
  841. module_power1 =
  842. module_power1_vol =
  843. module_power2 =
  844. module_power2_vol =
  845. module_power3 =
  846. module_power3_vol =
  847. chip_en =
  848. lpo_use_apclk =
  849.  
  850. ;--------------------------------------------------------------------------------
  851. ;wifi configuration
  852. ;wifi_sdc_id: 0- SDC0, 1- SDC1, 2- SDC2, 3- SDC3
  853. ;wifi_usbc_id: 0- USB0, 1- USB1, 2- USB2
  854. ;wifi_usbc_type: 1- EHCI(speed 2.0), 2- OHCI(speed 1.0)
  855. ;wl_reg_on: wifi function enable pin
  856. ;wl_host_wake: wlan device wake-up host pin
  857. ;wl_host_wake_invert: whether wl_host_wake use inverter between ap and module
  858. ; 0: not used, 1: used
  859. ;--------------------------------------------------------------------------------
  860. [wifi_para]
  861. wifi_used = 1
  862. wifi_sdc_id = 1
  863. wifi_usbc_id = 3
  864. wifi_usbc_type = 1
  865. wl_reg_on =
  866. wl_host_wake =
  867. wl_host_wake_invert = 0
  868.  
  869. ;--------------------------------------------------------------------------------
  870. ;bluetooth configuration
  871. ;bt_used: 0- no used, 1- used
  872. ;bt_uard_id: 0- uart0, 1- uart1, 2- uart2
  873. ;bt_uart_baud: uart baud rate, unit: bps
  874. ;bt_rst_n: bt function enable io
  875. ;bt_wake: host wake-up bluetooth device
  876. ;bt_host_wake: bt device wake-up host
  877. ;bt_host_wake_invert: whether bt_host_wake use inverter between ap and module
  878. ; 0: not used, 1: used
  879. ;--------------------------------------------------------------------------------
  880. [bt_para]
  881. bt_used = 0
  882. bt_uart_id = 1
  883. bt_uart_baud =
  884. bt_rst_n =
  885. bt_wake =
  886. bt_host_wake =
  887. bt_host_wake_invert = 0
  888.  
  889. ;--------------------------------------------------------------------------------
  890. ;daudio_master:1: SND_SOC_DAIFMT_CBM_CFM(codec clk & FRM master) use
  891. ; 2: SND_SOC_DAIFMT_CBS_CFM(codec clk slave & FRM master) not use
  892. ; 3: SND_SOC_DAIFMT_CBM_CFS(codec clk master & frame slave) not use
  893. ; 4: SND_SOC_DAIFMT_CBS_CFS(codec clk & FRM slave) use
  894. ;daudio_select:0 is pcm.1 is i2s
  895. ;audio_format: 1:SND_SOC_DAIFMT_I2S(standard i2s format). use
  896. ; 2:SND_SOC_DAIFMT_RIGHT_J(right justfied format).
  897. ; 3:SND_SOC_DAIFMT_LEFT_J(left justfied format)
  898. ; 4:SND_SOC_DAIFMT_DSP_A(pcm. MSB is available on 2nd BCLK rising edge after LRC rising edge). use
  899. ; 5:SND_SOC_DAIFMT_DSP_B(pcm. MSB is available on 1nd BCLK rising edge after LRC rising edge)
  900. ;signal_inversion:1:SND_SOC_DAIFMT_NB_NF(normal bit clock + frame) use
  901. ; 2:SND_SOC_DAIFMT_NB_IF(normal BCLK + inv FRM)
  902. ; 3:SND_SOC_DAIFMT_IB_NF(invert BCLK + nor FRM) use
  903. ; 4:SND_SOC_DAIFMT_IB_IF(invert BCLK + FRM)
  904. ;over_sample_rate: support 128fs/192fs/256fs/384fs/512fs/768fs
  905. ;sample_resolution :16bits/20bits/24bits
  906. ;word_select_size :16bits/20bits/24bits/32bits
  907. ;pcm_sync_period :16/32/64/128/256
  908. ;msb_lsb_first :0: msb first; 1: lsb first
  909. ;sign_extend :0: zero pending; 1: sign extend
  910. ;slot_index :slot index: 0: the 1st slot - 3: the 4th slot
  911. ;slot_width :8 bit width / 16 bit width
  912. ;frame_width :0: long frame = 2 clock width; 1: short frame
  913. ;tx_data_mode :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
  914. ;rx_data_mode :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
  915. ;--------------------------------------------------------------------------------
  916. [pcm0]
  917. daudio_used = 0
  918. daudio_master = 4
  919. daudio_select = 1
  920. audio_format = 1
  921. signal_inversion = 1
  922. mclk_fs = 128
  923. sample_resolution = 16
  924. slot_width_select = 32
  925. ;pcm_sync_period = 256
  926. pcm_lrck_period = 32
  927. pcm_lrckr_period = 1
  928. msb_lsb_first = 0
  929. sign_extend = 0
  930. slot_index = 0
  931. slot_width = 32
  932. frame_width = 0
  933. tx_data_mode = 0
  934. rx_data_mode = 0
  935. i2s_mclk = port:PA18<2><1><default><default>
  936. i2s_bclk = port:PA19<2><1><default><default>
  937. i2s_dout0 = port:PA20<2><1><default><default>
  938. i2s_din = port:PA21<2><1><default><default>
  939.  
  940.  
  941. [pcm1]
  942. daudio_used = 0
  943. daudio_master = 4
  944. daudio_select = 1
  945. audio_format = 1
  946. signal_inversion = 1
  947. mclk_fs = 128
  948. sample_resolution = 16
  949. slot_width_select = 32
  950. ;pcm_sync_period = 256
  951. pcm_lrck_period = 32
  952. pcm_lrckr_period = 1
  953. msb_lsb_first = 0
  954. sign_extend = 0
  955. slot_index = 0
  956. slot_width = 32
  957. frame_width = 0
  958. tx_data_mode = 0
  959. rx_data_mode = 0
  960. i2s_mclk = port:PG10<2><1><default><default>
  961. i2s_bclk = port:PG11<2><1><default><default>
  962. i2s_dout0 = port:PG12<2><1><default><default>
  963. i2s_din = port:PG13<2><1><default><default>
  964.  
  965.  
  966. [audio0]
  967. audio_used = 1
  968. lineout_vol = 0x1f
  969. cap_vol = 0x5
  970. audio_hp_ldo = none
  971. adcagc_used = 0
  972. adcdrc_used = 0
  973. dacdrc_used = 0
  974. adchpf_used = 0
  975. dachpf_used = 0
  976. audio_pa_ctrl = port:PA16<1><default><default><0>
  977.  
  978. [spdif0]
  979. spdif_used = 1
  980. spdif_dout = port:PA17<2><1><default><default>
  981.  
  982. [audiohub]
  983. hub_used = 0
  984. codec_used = 1
  985. spdif_used = 1
  986. hdmi_used = 1
  987.  
  988. ;----------------------------------------------------------------------------------
  989. ;ir rx --- infra remote configuration
  990. ;----------------------------------------------------------------------------------
  991. [s_cir0]
  992. ir_used = 1
  993. ir_rx = port:PL11<2><1><default><default>
  994. ir_power_key_code0 = 0x57
  995. ir_addr_code0 = 0x9f00
  996. ir_power_key_code1 = 0x1a
  997. ir_addr_code1 = 0xfb04
  998. ir_power_key_code2 = 0x14
  999. ir_addr_code2 = 0x7F80
  1000. ir_power_key_code3 = 0x15
  1001. ir_addr_code3 = 0x7F80
  1002. ir_power_key_code4 = 0x0b
  1003. ir_addr_code4 = 0xF708
  1004. ir_power_key_code5 = 0x03
  1005. ir_addr_code5 = 0x00EF
  1006. ir_power_key_code6 = 0x9f
  1007. ir_addr_code6 = 0x4CB3
  1008. ir_power_key_code7 = 0x0a
  1009. ir_addr_code7 = 0x7748
  1010. ir_power_key_code8 = 0x45
  1011. ir_addr_code8 = 0xbd02
  1012. ir_power_key_code9 = 0x4d
  1013. ir_addr_code9 = 0xde21
  1014. ir_power_key_code10 = 0x18
  1015. ir_addr_code10 = 0xfe01
  1016. ir_power_key_code11 = 0x57
  1017. ir_addr_code11 = 0xff00
  1018. ir_power_key_code12 = 0x4d
  1019. ir_addr_code12 = 0xff40
  1020.  
  1021.  
  1022. ;----------------------------------------------------------------------------------
  1023. ;ir tx--- infra remote configuration
  1024. ;----------------------------------------------------------------------------------
  1025. [cir]
  1026. ir_used = 1
  1027. ir_tx = port:PH07<2><default><default><default>
  1028.  
  1029.  
  1030. ;----------------------------------------------------------------------------------
  1031. ; dvfs voltage-frequency table configuration
  1032. ;
  1033. ; pmuic_type:0:none, 1:gpio, 2:i2c
  1034. ; pmu_gpio0: gpio config.
  1035. ; pmu_levelx: 0~9999: voltage(mV), 10000~90000:gpio0 state. voltage form high to low.
  1036. ;
  1037. ; extremity_freq(Hz): cpu extremity frequency when run benckmark or demo apk
  1038. ; 1536MHz@1500mV with radiator, 1296MHz@1340mV without radiator
  1039. ; max_freq: cpu maximum frequency, based on Hz, can not be more than 1200MHz
  1040. ; min_freq: cpu minimum frequency, based on Hz, can not be less than 60MHz
  1041. ;
  1042. ; LV_count: count of LV_freq/LV_volt, must be < 16
  1043. ;
  1044. ; LV1: core vdd is 1.50v if cpu frequency is (1296Mhz, 1536Mhz]
  1045. ; LV2: core vdd is 1.34v if cpu frequency is (1200Mhz, 1296Mhz]
  1046. ; LV3: core vdd is 1.32v if cpu frequency is (1008Mhz, 1200Mhz]
  1047. ; LV4: core vdd is 1.20v if cpu frequency is (816Mhz, 1008Mhz]
  1048. ; LV5: core vdd is 1.10v if cpu frequency is (648Mhz, 816Mhz]
  1049. ; LV6: core vdd is 1.04v if cpu frequency is (0Mhz, 648Mhz]
  1050. ; LV7: core vdd is 1.04v if cpu frequency is (0Mhz, 648Mhz]
  1051. ; LV8: core vdd is 1.04v if cpu frequency is (0Mhz, 648Mhz]
  1052. ;
  1053. ;----------------------------------------------------------------------------------
  1054. [dvfs_table]
  1055. pmuic_type = 0
  1056. pmu_gpio0 = port:PL06<1><1><2><1>
  1057. pmu_level0 = 11300
  1058. pmu_level1 = 01100
  1059. ;extremity_freq = 1344000000
  1060. max_freq = 1200000000
  1061. min_freq = 480000000
  1062.  
  1063. LV_count = 8
  1064.  
  1065. LV1_freq = 1200000000
  1066. LV1_volt = 1300
  1067.  
  1068. LV2_freq = 1008000000
  1069. LV2_volt = 1200
  1070.  
  1071. LV3_freq = 0
  1072. LV3_volt = 1100
  1073.  
  1074. LV4_freq = 0
  1075. LV4_volt = 1100
  1076.  
  1077. LV5_freq = 0
  1078. LV5_volt = 1100
  1079.  
  1080. LV6_freq = 0
  1081. LV6_volt = 1100
  1082.  
  1083. LV7_freq = 0
  1084. LV7_volt = 1100
  1085.  
  1086. LV8_freq = 0
  1087. LV8_volt = 1100
  1088.  
  1089. [gpu_dvfs_table]
  1090.  
  1091. G_LV_count = 3
  1092.  
  1093. G_LV0_freq = 312000000
  1094. G_LV0_volt = 1200000
  1095.  
  1096. G_LV1_freq = 384000000
  1097. G_LV1_volt = 1200000
  1098.  
  1099. G_LV2_freq = 456000000
  1100. G_LV2_volt = 1200000
  1101.  
  1102.  
  1103. ;----------------------------------------------------------------------------------
  1104. ;virtual device
  1105. ;virtual device for pinctrl testing
  1106. ;device have pin PA1 PA2
  1107. ;----------------------------------------------------------------------------------
  1108. [Vdevice]
  1109. Vdevice_used = 0
  1110. Vdevice_0 = port:PA01<5><1><2><default>
  1111. Vdevice_1 = port:PA02<5><1><2><default>
  1112.  
  1113. ;----------------------------------------------------------------------------------
  1114. ;s_uart0 config parameters
  1115. ;s_uart_used --s_uart0 whether used for arisc debugging
  1116. ;----------------------------------------------------------------------------------
  1117. [s_uart0]
  1118. s_uart_used = 1
  1119. s_uart_tx = port:PL02<2><default><default><default>
  1120. s_uart_rx = port:PL03<2><default><default><default>
  1121.  
  1122. ;----------------------------------------------------------------------------------
  1123. ;s_rsb0 config parameters
  1124. ;s_rsb_used --s_rsb0 whether used for arisc
  1125. ;----------------------------------------------------------------------------------
  1126. [s_rsb0]
  1127. s_rsb_used = 1
  1128. s_rsb_sck = port:PL00<2><1><2><default>
  1129. s_rsb_sda = port:PL01<2><1><2><default>
  1130.  
  1131. ;----------------------------------------------------------------------------------
  1132. ;s_jtag0 config parameters
  1133. ;s_jtag0_used --s_jtag0 whether used for arisc
  1134. ;
  1135. ;----------------------------------------------------------------------------------
  1136. [s_jtag0]
  1137. s_jtag_used = 0
  1138. s_jtag_tms = port:PL04<2><1><2><default>
  1139. s_jtag_tck = port:PL05<2><1><2><default>
  1140. s_jtag_tdo = port:PL06<2><1><2><default>
  1141. s_jtag_tdi = port:PL07<2><1><2><default>
  1142.  
  1143. ;----------------------------------------------------------------------------------
  1144. ;s_powchk cpus power check
  1145. ;s_powchk_used --power check whether used for arisc in super standby
  1146. ; bit31:enable power updat, bit1:wakeup when power state exception
  1147. ; bit0:wakeup when power consumption exception
  1148. ;s_power_reg the expected regs stand for power on/off state
  1149. ;s_system_power the limit maxmum power consumption when super standby (unit: mw)
  1150. ;
  1151. ;----------------------------------------------------------------------------------
  1152. [s_powchk]
  1153. s_powchk_used = 0x80000000
  1154. s_power_reg = 0x00000000
  1155. s_system_power = 50
  1156.  
  1157. ;----------------------------------------------------------------------------------
  1158. ;scr configuration
  1159. ;----------------------------------------------------------------------------------
  1160. [sim0]
  1161. scr_used = 1
  1162. scr_vccen = port:PA06<2><default><default><default>
  1163. scr_slk = port:PA07<2><default><default><default>
  1164. scr_sda = port:PA08<2><default><default><default>
  1165. scr_rst = port:PA09<2><default><default><default>
  1166. scr_det = port:PA10<2><default><default><default>
  1167.  
  1168.  
  1169. ;--------------------------------------------------------------------------------
  1170. ;tsc configuration
  1171. ;--------------------------------------------------------------------------------
  1172. [ts0]
  1173. tsc_used = 1
  1174. tsc_clk = port:PE00<3><default><default><default>
  1175. tsc_err = port:PE01<3><default><default><default>
  1176. tsc_sync = port:PE02<3><default><default><default>
  1177. tsc_dvld = port:PE03<3><default><default><default>
  1178. tsc_d0 = port:PE04<3><default><default><default>
  1179. tsc_d1 = port:PE05<3><default><default><default>
  1180. tsc_d2 = port:PE06<3><default><default><default>
  1181. tsc_d3 = port:PE07<3><default><default><default>
  1182. tsc_d4 = port:PE08<3><default><default><default>
  1183. tsc_d5 = port:PE09<3><default><default><default>
  1184. tsc_d6 = port:PE10<3><default><default><default>
  1185. tsc_d7 = port:PE11<3><default><default><default>
  1186.  
  1187. ;--------------------------------------------------------------------------------
  1188. ;gpio key
  1189. ;--------------------------------------------------------------------------------
  1190. [gpio_power_key]
  1191. key_used = 0
  1192. key_io = port:PL04<6><default><default><0>
  1193.  
  1194. ;----------------------------------------------------------------------------------
  1195. ; key para
  1196. ;
  1197. ; key_used --0:not used, 1:used
  1198. ; key_cnt --how many key button attach to keyadc.
  1199. ; key*_vol --the threshold of input voltage of key.
  1200. ;
  1201. ; For example: if key2_vol < $(keyadc value) < key3_vol, then key3 be reported.
  1202. ;----------------------------------------------------------------------------------
  1203. [key_para]
  1204. key_used = 1
  1205. key_cnt = 5
  1206. key1_vol = 222
  1207. key2_vol = 444
  1208. key3_vol = 666
  1209. key4_vol = 857
  1210. key5_vol = 2000
  1211.  
  1212.  
  1213. ;----------------------------------------------------------------------------------
  1214. ;display seven segment para
  1215. ;----------------------------------------------------------------------------------
  1216. [d7s_para]
  1217. d7s_used = 1
  1218. din_gpio = port:PD00<1><default><default><1>
  1219. clk_gpio = port:PD01<1><default><default><1>
  1220. stb_gpio = port:PD02<1><default><default><1>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement