Guest User

h3-dolphin-p1.fex

a guest
Nov 21st, 2015
394
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;H3 dolphin-p1 board application
  2. ;H3 dolphin-p1 board application
  3. ;---------------------------------------------------------------------------------------------------------
  4. ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
  5. ; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态>
  6. ;---------------------------------------------------------------------------------------------------------
  7.  
  8. [product]
  9. version = "100"
  10. machine = "dolphin-p1"
  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 = 1
  102. recovery_key = port:PL04<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 = 0
  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 = 0x93890240
  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:PG10<6><default><default><0>
  237. wakeup_src_bt = port:PG11<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. ;userspace gpio interface for android
  329. ;----------------------------------------------------------------------------------
  330. [gpio_para]
  331. gpio_used = 1
  332. gpio_num = 2
  333. gpio_pin_1 = port:PL10<1><default><default><0>
  334. gpio_pin_2 = port:PA15<1><default><default><1>
  335.  
  336. [led_assign]
  337. normal_led = "gpio_pin_2"
  338. standby_led = "gpio_pin_1"
  339.  
  340. ;----------------------------------------------------------------------------------
  341. ;thermal configuration
  342. ;ths_trip_count : temperature trigger number
  343. ;ths_trip_0 : first temperature trigger
  344. ;ths_trip_1 : second temperature trigger
  345. ;ths_trip_2 : third temperature trigger, when upto this temperature, system shutdown
  346. ;ths_trip_0_min : first temperature trigger's min freq
  347. ;ths_trip_0_max : first temperature trigger's max freq
  348. ;ths_trip_1_min : second temperature trigger's min freq
  349. ;ths_trip_1_max : second temperature trigger's max freq
  350. ;----------------------------------------------------------------------------------
  351. [ths_para]
  352. ths_used = 1
  353. ths_trip1_count = 5
  354. ths_trip1_0 = 70
  355. ths_trip1_1 = 80
  356. ths_trip1_2 = 90
  357. ths_trip1_3 = 100
  358. ths_trip1_4 = 105
  359. ths_trip1_5 = 0
  360. ths_trip1_6 = 0
  361. ths_trip1_7 = 0
  362. ths_trip1_0_min = 0
  363. ths_trip1_0_max = 1
  364. ths_trip1_1_min = 1
  365. ths_trip1_1_max = 2
  366. ths_trip1_2_min = 2
  367. ths_trip1_2_max = 3
  368. ths_trip1_3_min = 3
  369. ths_trip1_3_max = 4
  370. ths_trip1_4_min = 4
  371. ths_trip1_4_max = 4
  372. ths_trip1_5_min = 0
  373. ths_trip1_5_max = 0
  374. ths_trip1_6_min = 0
  375. ths_trip1_6_max = 0
  376. ths_trip2_count = 1
  377. ths_trip2_0 = 105
  378. ;----------------------------------------------------------------------------------
  379. ;cooler_table cooler_count <=32
  380. ;----------------------------------------------------------------------------------
  381. [cooler_table]
  382. cooler_count = 5
  383. cooler0 = "1200000 4 4294967295 0"
  384. cooler1 = "1200000 3 4294967295 0"
  385. cooler2 = "1200000 2 4294967295 0"
  386. cooler3 = "1200000 1 4294967295 0"
  387. cooler4 = "504000 1 4294967295 0"
  388.  
  389.  
  390. [nand0_para]
  391. nand_support_2ch = 0
  392.  
  393. nand0_used = 1
  394. nand0_we = port:PC00<2><0><1><default>
  395. nand0_ale = port:PC01<2><0><1><default>
  396. nand0_cle = port:PC02<2><0><1><default>
  397. nand0_ce1 = port:PC03<2><1><1><default>
  398. nand0_ce0 = port:PC04<2><1><1><default>
  399. nand0_nre = port:PC05<2><0><1><default>
  400. nand0_rb0 = port:PC06<2><1><1><default>
  401. nand0_rb1 = port:PC07<2><1><1><default>
  402. nand0_d0 = port:PC08<2><0><1><default>
  403. nand0_d1 = port:PC09<2><0><1><default>
  404. nand0_d2 = port:PC10<2><0><1><default>
  405. nand0_d3 = port:PC11<2><0><1><default>
  406. nand0_d4 = port:PC12<2><0><1><default>
  407. nand0_d5 = port:PC13<2><0><1><default>
  408. nand0_d6 = port:PC14<2><0><1><default>
  409. nand0_d7 = port:PC15<2><0><1><default>
  410. nand0_ndqs = port:PC16<2><0><1><default>
  411.  
  412.  
  413. ;-----------------------------------------------------------------
  414. ;auto_hpd - 1:need hotplud for hdmi/tv; 0:don't hotplud for lcd
  415. ;output_type - 0:none; 1:lcd; 2:tv; 4:hdmi; 8:vga (as default config in homlet)
  416. ;hdmi_channel- the display channel for hdmi (as default config in homlet)
  417. ;cvbs_channel- the display channel for cvbs (as default config in homlet)
  418. ;hdmi_mode - as default config for output of hdmi in homlet
  419. ;cvbs_mode - as default config for output of tv in homlet. 11:PAL; 14:NTSC
  420. ;check the definition(of hdmi/cvbs_mode) of disp_tv_mode in sunxi_display2.h
  421. ;hdmi_mode_check - disable/enable the function of checking hdmi mode, 0 is disable, 1 is enable
  422. ;-----------------------------------------------------------------
  423. [boot_disp]
  424. advert_disp = 0
  425. auto_hpd = 1
  426. output_type = 4
  427. hdmi_channel = 0
  428. hdmi_mode = 4
  429. cvbs_channel = 1
  430. cvbs_mode = 11
  431. output_full = 1
  432. hdmi_mode_check = 1
  433.  
  434. ;----------------------------------------------------------------------------------
  435. ;disp init configuration
  436. ;
  437. ;disp_mode (0:screen0<screen0,fb0>; 1:screen1<screen1,fb0>)
  438. ;screenx_output_type (0:none; 1:lcd; 3:hdmi;)
  439. ;screenx_output_mode (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)
  440. ; (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)
  441. ;fbx format (0:ARGB 1:ABGR 2:RGBA 3:BGRA 5:RGB565 8:RGB888 12:ARGB4444 16:ARGB1555 18:RGBA5551)
  442. ;fbx_width,fbx_height (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0)
  443. ;lcdx_backlight (lcd init backlight,the range:[0,256],default:197
  444. ;----------------------------------------------------------------------------------
  445. [disp_init]
  446. disp_init_enable = 1
  447. disp_mode = 0
  448.  
  449. screen0_output_type = 3
  450. screen0_output_mode = 4
  451.  
  452. screen1_output_type = 3
  453. screen1_output_mode = 4
  454.  
  455. fb0_format = 0
  456. fb0_width = 0
  457. fb0_height = 0
  458.  
  459. fb1_format = 0
  460. fb1_width = 0
  461. fb1_height = 0
  462.  
  463. ;----------------------------------------------------------------------------------
  464. ;hdmi configuration
  465. ;----------------------------------------------------------------------------------
  466. [hdmi_para]
  467. hdmi_used = 1
  468. hdmi_power = "vcc-hdmi-18"
  469.  
  470. [tv_para]
  471. tv_used = 1
  472. tv_dac_used = 1
  473. tv_dac_src0 = 0
  474.  
  475. ;----------------------------------------------------------------------------------
  476. ;pwm config
  477. ;----------------------------------------------------------------------------------
  478. [pwm0_para]
  479. pwm_used = 0
  480. pwm_positive = port:PA05<3><0><default><default>
  481.  
  482. ;------------------------------------------------------------------------------;
  483. ; 10/100/100Mbps Ethernet MAC Controller Configure ;
  484. ;------------------------------------------------------------------------------;
  485. ; Options: ;
  486. ; gmac_used --- 0: not used, 1: external phy, 2: internal phy ;
  487. ; gmac_powerx -- A[:B] A: axp channel, B: voltage value ;
  488. : If set gamc_phy to use internal PHY, do not config port ;
  489. ;------------------------------------------------------------------------------;
  490. ; MII RMII MII RMII MII RMII ;
  491. ; PD00 * PD06 * * PD12 * * ;
  492. ; PD01 * PD07 * PD13 * * ;
  493. ; PD02 * * PD08 * PD14 * ;
  494. ; PD03 * * PD09 * * PD15 * ;
  495. ; PD04 * PD10 * * PD16 * * ;
  496. ; PD05 * PD11 * * PD17 * * ;
  497. ;------------------------------------------------------------------------------;
  498. [gmac0]
  499. gmac_used = 2
  500. ;gmac_rxd3 = port:PD00<2><default><3><default>
  501. ;gmac_rxd2 = port:PD01<2><default><3><default>
  502. ;gmac_rxd1 = port:PD02<2><default><3><default>
  503. ;gmac_rxd0 = port:PD03<2><default><3><default>
  504. ;gmac_rxclk = port:PD04<2><default><3><default>
  505. ;gmac_rxdv = port:PD05<2><default><3><default>
  506. ;gmac_rxerr = port:PD06<2><default><3><default>
  507. ;gmac_txd3 = port:PD07<2><default><3><default>
  508. ;gmac_txd2 = port:PD08<2><default><3><default>
  509. ;gmac_txd1 = port:PD09<2><default><3><default>
  510. ;gmac_txd0 = port:PD10<2><default><3><default>
  511. ;gmac_crs = port:PD11<2><default><3><default>
  512. ;gmac_txclk = port:PD12<2><default><3><default>
  513. ;gmac_txen = port:PD13<2><default><3><default>
  514. ;gmac_txerr = port:PD14<2><default><3><default>
  515. ;gmac_col = port:PD15<2><default><3><default>
  516. ;gmac_mdc = port:PD16<2><default><3><default>
  517. ;gmac_mdio = port:PD17<2><default><3><default>
  518. gmac_power1 =
  519.  
  520. ;--------------------------------------------------------------------------------
  521. ;vip (video input port) configuration
  522. ;vip_used: 0:disable 1:enable
  523. ;vip_mode: 0:sample one interface to one buffer 1:sample two interface to one buffer
  524. ;vip_dev_qty: The quantity of devices linked to capture bus
  525. ;
  526. ;vip_define_sensor_list: If you want use sensor detect function, please set vip_define_sensor_list = 1, and
  527. ; verify that file /system/etc/hawkview/sensor_list_cfg.ini is properly configured!
  528. ;
  529. ;vip_dev(x)_pos: sensor position, "rear" or "front", if vip_define_sensor_list = 1,
  530. ;vip_dev(x)_pos must be configured!
  531. ;
  532. ;vip_dev(x)_isp_used 0:not use isp 1:use isp
  533. ;vip_dev(x)_fmt: 0:yuv 1:bayer raw rgb
  534. ;vip_dev(x)_stby_mode: 0:not shut down power at standby 1:shut down power at standby
  535. ;vip_dev(x)_vflip: flip in vertical direction 0:disable 1:enable
  536. ;vip_dev(x)_hflip: flip in horizontal direction 0:disable 1:enable
  537. ;vip_dev(x)_iovdd: camera module io power handle string, pmu power supply
  538. ;vip_dev(x)_iovdd_vol: camera module io power voltage, pmu power supply
  539. ;vip_dev(x)_avdd: camera module analog power handle string, pmu power supply
  540. ;vip_dev(x)_avdd_vol: camera module analog power voltage, pmu power supply
  541. ;vip_dev(x)_dvdd: camera module core power handle string, pmu power supply
  542. ;vip_dev(x)_dvdd_vol: camera module core power voltage, pmu power supply
  543. ;vip_dev(x)_afvdd: camera module vcm power handle string, pmu power supply
  544. ;vip_dev(x)_afvdd_vol: camera module vcm power voltage, pmu power supply
  545. ;x indicates the index of the devices which are linked to the same capture bus
  546. ;fill voltage in uV, e.g. iovdd = 2.8V, vip_devx_iovdd_vol = 2800000
  547. ;fill handle string as below:
  548. ;axp22_eldo3
  549. ;axp22_dldo4
  550. ;axp22_eldo2
  551. ;fill handle string "" when not using any pmu power supply
  552. ;--------------------------------------------------------------------------------
  553.  
  554. [csi0]
  555.  
  556. vip_used = 0
  557. vip_mode = 0
  558. vip_dev_qty = 1
  559. vip_define_sensor_list = 0
  560.  
  561. vip_csi_pck = port:PE00<2><default><default><default>
  562. vip_csi_mck = port:PE01<2><default><default><default>
  563. vip_csi_hsync = port:PE02<2><default><default><default>
  564. vip_csi_vsync = port:PE03<2><default><default><default>
  565. vip_csi_d0 = port:PE04<2><default><default><default>
  566. vip_csi_d1 = port:PE05<2><default><default><default>
  567. vip_csi_d2 = port:PE06<2><default><default><default>
  568. vip_csi_d3 = port:PE07<2><default><default><default>
  569. vip_csi_d4 = port:PE08<2><default><default><default>
  570. vip_csi_d5 = port:PE09<2><default><default><default>
  571. vip_csi_d6 = port:PE10<2><default><default><default>
  572. vip_csi_d7 = port:PE11<2><default><default><default>
  573. vip_csi_sck = port:PE12<2><default><default><default>
  574. vip_csi_sda = port:PE13<2><default><default><default>
  575.  
  576. vip_dev0_mname = "ov5640"
  577. vip_dev0_pos = "rear"
  578. vip_dev0_lane = 1
  579. vip_dev0_twi_id = 0
  580. vip_dev0_twi_addr = 0x78
  581. vip_dev0_isp_used = 0
  582. vip_dev0_fmt = 0
  583. vip_dev0_stby_mode = 0
  584. vip_dev0_vflip = 0
  585. vip_dev0_hflip = 0
  586. vip_dev0_iovdd = ""
  587. vip_dev0_iovdd_vol = 2800000
  588. vip_dev0_avdd = ""
  589. vip_dev0_avdd_vol = 2800000
  590. vip_dev0_dvdd = ""
  591. vip_dev0_dvdd_vol = 1500000
  592. vip_dev0_afvdd = ""
  593. vip_dev0_afvdd_vol = 2800000
  594. vip_dev0_power_en =
  595. vip_dev0_reset =
  596. vip_dev0_pwdn =
  597. vip_dev0_flash_en =
  598. vip_dev0_flash_mode =
  599. vip_dev0_af_pwdn =
  600.  
  601. vip_dev0_act_used = 0
  602. vip_dev0_act_name = "ad5820_act"
  603. vip_dev0_act_slave = 0x18
  604.  
  605.  
  606. vip_dev1_mname = ""
  607. vip_dev1_pos = "front"
  608. vip_dev1_lane = 1
  609. vip_dev1_twi_id = 0
  610. vip_dev1_twi_addr =
  611. vip_dev1_isp_used = 0
  612. vip_dev1_fmt = 1
  613. vip_dev1_stby_mode = 0
  614. vip_dev1_vflip = 0
  615. vip_dev1_hflip = 0
  616. vip_dev1_iovdd = ""
  617. vip_dev1_iovdd_vol = 2800000
  618. vip_dev1_avdd = ""
  619. vip_dev1_avdd_vol = 2800000
  620. vip_dev1_dvdd = ""
  621. vip_dev1_dvdd_vol = 1500000
  622. vip_dev1_afvdd = ""
  623. vip_dev1_afvdd_vol = 2800000
  624. vip_dev1_power_en =
  625. vip_dev1_reset =
  626. vip_dev1_pwdn =
  627. vip_dev1_flash_en =
  628. vip_dev1_flash_mode =
  629. vip_dev1_af_pwdn =
  630.  
  631.  
  632. ;--------------------------------------------------------------------------------
  633. ;tv configuration
  634. ;
  635. ;--------------------------------------------------------------------------------
  636. [tvout_para]
  637. tvout_used =
  638. tvout_channel_num =
  639. tv_en =
  640.  
  641. [tvin_para]
  642. tvin_used =
  643. tvin_channel_num =
  644.  
  645. ;----------------------------------------------------------------------------------
  646. ;DE-Interlace configuration
  647. ;----------------------------------------------------------------------------------
  648. [di_para]
  649. di_used = 1
  650.  
  651. ;--------------------------------------------------------------------------------
  652. ; SDMMC PINS MAPPING |
  653. ; ------------------------------------------------------------------------------|
  654. ; Config Guide |
  655. ; sdc_used: 1-enable card, 0-disable card |
  656. ; sdc_detmode: card detect mode |
  657. ; 1-detect card by gpio polling |
  658. ; 2-detect card by gpio irq(must use IO with irq function) |
  659. ; 3-no detect, always in for boot card |
  660. ; 4-manually insert and remove by /proc/driver/sunxi-mmc.x/insert|
  661. ; sdc_buswidth: card bus width, 1-1bit, 4-4bit, 8-8bit |
  662. ; sdc_use_wp: 1-with write protect IO, 0-no write protect IO |
  663. ; sdc_isio: for sdio card |
  664. ; sdc_regulator: power control.if card supports UHS-I/DDR and HS200 timing for|
  665. ; SD3.0 or eMMC4.5, regulator must be configured. the value is |
  666. ; the ldo name of AXP221, eg: sdc_regulator = "axp22_eldo2" |
  667. ; other: GPIO Mapping configuration |
  668. ; ------------------------------------------------------------------------------|
  669. ; Note: |
  670. ; 1 if detmode=2, sdc_det's config=6 |
  671. ; else if detmode=1, sdc_det's config=0 |
  672. ; else sdc_det IO is not necessary |
  673. ; 2 if the customer wants to support UHS-I and HS200 features, he must provide|
  674. ; an independent power supply for the card. This is only used in platforms |
  675. ; that supports SD3.0 cards and eMMC4.4+ flashes |
  676. ;--------------------------------------------------------------------------------
  677. [mmc0_para]
  678. sdc_used = 1
  679. sdc_detmode = 1
  680. sdc_buswidth = 4
  681. sdc_clk = port:PF02<2><1><2><default>
  682. sdc_cmd = port:PF03<2><1><2><default>
  683. sdc_d0 = port:PF01<2><1><2><default>
  684. sdc_d1 = port:PF00<2><1><2><default>
  685. sdc_d2 = port:PF05<2><1><2><default>
  686. sdc_d3 = port:PF04<2><1><2><default>
  687. sdc_det = port:PF06<0><1><2><default>
  688. sdc_use_wp = 0
  689. sdc_wp =
  690. sdc_isio = 0
  691. sdc_regulator = "none"
  692. sdc_power_supply = "none"
  693.  
  694. [mmc1_para]
  695. sdc_used = 1
  696. sdc_detmode = 4
  697. sdc_buswidth = 4
  698. sdc_clk = port:PG00<2><1><3><default>
  699. sdc_cmd = port:PG01<2><1><3><default>
  700. sdc_d0 = port:PG02<2><1><3><default>
  701. sdc_d1 = port:PG03<2><1><3><default>
  702. sdc_d2 = port:PG04<2><1><3><default>
  703. sdc_d3 = port:PG05<2><1><3><default>
  704. sdc_det =
  705. sdc_use_wp = 0
  706. sdc_wp =
  707. sdc_isio = 1
  708. sdc_regulator = "none"
  709. sdc_power_supply = "none"
  710. sdc_2xmode = 1
  711. sdc_ddrmode = 1
  712.  
  713. [mmc2_para]
  714. sdc_used = 0
  715. sdc_detmode = 3
  716. sdc_buswidth = 8
  717. sdc_clk = port:PC05<3><1><2><default>
  718. sdc_cmd = port:PC06<3><1><2><default>
  719. sdc_d0 = port:PC08<3><1><2><default>
  720. sdc_d1 = port:PC09<3><1><2><default>
  721. sdc_d2 = port:PC10<3><1><2><default>
  722. sdc_d3 = port:PC11<3><1><2><default>
  723. sdc_d4 = port:PC12<3><1><2><default>
  724. sdc_d5 = port:PC13<3><1><2><default>
  725. sdc_d6 = port:PC14<3><1><2><default>
  726. sdc_d7 = port:PC15<3><1><2><default>
  727. emmc_rst = port:PC16<3><1><2><default>
  728. sdc_det =
  729. sdc_use_wp = 0
  730. sdc_wp =
  731. sdc_isio = 0
  732. sdc_regulator = "none"
  733. sdc_power_supply = "none"
  734. sdc_2xmode = 1
  735. sdc_ddrmode = 1
  736.  
  737. ; ------------------------------------------------------------------------------|
  738. ; sim card configuration
  739. ;--------------------------------------------------------------------------------
  740. [smc_para]
  741. smc_used =
  742. smc_rst = port:PA09<2><default><default><default>
  743. smc_vppen = port:PA20<3><default><default><default>
  744. smc_vppp = port:PA21<3><default><default><default>
  745. smc_det = port:PA10<2><default><default><default>
  746. smc_vccen = port:PA06<2><default><default><default>
  747. smc_sck = port:PA07<2><default><default><default>
  748. smc_sda = port:PA08<2><default><default><default>
  749.  
  750.  
  751. ;--------------------------------
  752. ;[usbc0]:控制器0的配置。
  753. ;usb_used:USB使能标志。置1,表示系统中USB模块可用,置0,则表示系统USB禁用。
  754. ;usb_port_type:USB端口的使用情况。 0:device only;1:host only;2:OTG
  755. ;usb_detect_type:USB端口的检查方式。0:不做检测;1:vbus/id检查;2:id/dpdm检查
  756. ;usb_id_gpio:USB ID pin脚配置。具体请参考gpio配置说明。
  757. ;usb_det_vbus_gpio:USB DET_VBUS pin脚配置。具体请参考gpio配置说明。
  758. ;usb_drv_vbus_gpio:USB DRY_VBUS pin脚配置。具体请参考gpio配置说明。
  759. ;usb_det_vbus_gpio: "axp_ctrl",表示axp 提供
  760. ;usb_restrict_gpio usb限流控制pin
  761. ;usb_restric_flag: usb限流标置
  762. ;--------------------------------
  763. ;--------------------------------
  764. ;--- USB0控制标志
  765. ;--------------------------------
  766. [usbc0]
  767. usb_used = 1
  768. usb_port_type = 0
  769. usb_detect_type = 1
  770. usb_id_gpio =
  771. usb_det_vbus_gpio =
  772. usb_drv_vbus_gpio = port:PL02<1><0><default><0>
  773. usb_host_init_state = 1
  774. usb_restrict_gpio =
  775. usb_restric_flag = 0
  776. usb_restric_voltage = 3550000
  777. usb_restric_capacity= 5
  778. usb_regulator_io = "nocare"
  779. usb_regulator_vol = 0
  780. usb_not_suspend = 0
  781.  
  782. ;--------------------------------
  783. ;--- USB1控制标志
  784. ;--------------------------------
  785. [usbc1]
  786. usb_used = 1
  787. usb_drv_vbus_gpio = port:PL03<1><0><default><0>
  788. usb_restrict_gpio =
  789. usb_host_init_state = 1
  790. usb_restric_flag = 0
  791. usb_regulator_io = "nocare"
  792. usb_regulator_vol = 0
  793. usb_not_suspend = 0
  794.  
  795. ;--------------------------------
  796. ;--- USB2控制标志
  797. ;--------------------------------
  798. [usbc2]
  799. usb_used = 0
  800. usb_drv_vbus_gpio =
  801. usb_restrict_gpio =
  802. usb_host_init_state = 1
  803. usb_restric_flag = 0
  804. usb_regulator_io = "nocare"
  805. usb_regulator_vol = 0
  806. usb_not_suspend = 0
  807.  
  808. ;--------------------------------
  809. ;--- USB3控制标志
  810. ;--------------------------------
  811. [usbc3]
  812. usb_used = 1
  813. usb_drv_vbus_gpio =
  814. usb_restrict_gpio =
  815. usb_host_init_state = 0
  816. usb_restric_flag = 0
  817. usb_regulator_io = "nocare"
  818. usb_regulator_vol = 0
  819. usb_not_suspend = 0
  820.  
  821. ;--------------------------------
  822. ;--- USB Device
  823. ;--------------------------------
  824. [usb_feature]
  825. vendor_id = 0x18D1
  826. mass_storage_id = 0x0001
  827. adb_id = 0x0002
  828.  
  829. manufacturer_name = "USB Developer"
  830. product_name = "Android"
  831. serial_number = "20080411"
  832.  
  833. [msc_feature]
  834. vendor_name = "USB 2.0"
  835. product_name = "USB Flash Driver"
  836. release = 100
  837. luns = 3
  838.  
  839. [serial_feature]
  840. serial_unique = 0
  841.  
  842.  
  843. ;--------------------------------------------------------------------------------
  844. ;wifi/bt/fm/gps/nfc modules configuration
  845. ;module_num:
  846. ; 0- none
  847. ; 1- rtl8188eu(wifi)
  848. ; 2- rtl8723bs(wifi+bt)
  849. ; 3- ap6181(wifi)
  850. ; 4- ap6210(wifi+bt)
  851. ; 5- ap6330(wifi+bt)
  852. ; 6- ap6335(wifi)
  853. ; 7- rtl8189etv(wifi)
  854. ;module_power0: axp used by module, "axp22_dldo1" - use dldo1, not use keep it empty
  855. ;module_power0_vol: power0 voltage, mv;
  856. ;chip_en: enable chip io
  857. ;lpo_use_apclk: ""- not use, "losc_out"- a23/33/H3, "ac10032k1"、"ac10032k2"、"ac10032k3"- a80
  858. ;--------------------------------------------------------------------------------
  859. [module_para]
  860. module_power0 =
  861. module_power0_vol = 0
  862. module_power1 =
  863. module_power1_vol =
  864. module_power2 =
  865. module_power2_vol =
  866. module_power3 =
  867. module_power3_vol =
  868. chip_en =
  869. lpo_use_apclk = "losc_out"
  870.  
  871. ;--------------------------------------------------------------------------------
  872. ;wifi configuration
  873. ;wifi_sdc_id: 0- SDC0, 1- SDC1, 2- SDC2, 3- SDC3
  874. ;wifi_usbc_id: 0- USB0, 1- USB1, 2- USB2
  875. ;wifi_usbc_type: 1- EHCI(speed 2.0), 2- OHCI(speed 1.0)
  876. ;wl_reg_on: wifi function enable pin
  877. ;wl_host_wake: wlan device wake-up host pin
  878. ;wl_host_wake_invert: whether wl_host_wake use inverter between ap and module
  879. ; 0: not used, 1: used
  880. ;--------------------------------------------------------------------------------
  881. [wifi_para]
  882. wifi_used = 1
  883. wifi_sdc_id = 1
  884. wifi_usbc_id = 3
  885. wifi_usbc_type = 1
  886. wl_reg_on = port:PL07<1><default><default><0>
  887. wl_host_wake = port:PG10<0><default><default><0>
  888. wl_host_wake_invert = 0
  889.  
  890. ;--------------------------------------------------------------------------------
  891. ;bluetooth configuration
  892. ;bt_used: 0- no used, 1- used
  893. ;bt_uard_id: 0- uart0, 1- uart1, 2- uart2
  894. ;bt_uart_baud: uart baud rate, unit: bps
  895. ;bt_rst_n: bt function enable io
  896. ;bt_wake: host wake-up bluetooth device
  897. ;bt_host_wake: bt device wake-up host
  898. ;bt_host_wake_invert: whether bt_host_wake use inverter between ap and module
  899. ; 0: not used, 1: used
  900. ;--------------------------------------------------------------------------------
  901. [bt_para]
  902. bt_used = 1
  903. bt_uart_id = 1
  904. bt_uart_baud = 1500000
  905. bt_rst_n = port:PG12<1><default><default><0>
  906. bt_wake = port:PG13<1><default><default><0>
  907. bt_host_wake = port:PG11<0><default><default><0>
  908. bt_host_wake_invert = 0
  909.  
  910. ;--------------------------------------------------------------------------------
  911. ;daudio_master:1: SND_SOC_DAIFMT_CBM_CFM(codec clk & FRM master) use
  912. ; 2: SND_SOC_DAIFMT_CBS_CFM(codec clk slave & FRM master) not use
  913. ; 3: SND_SOC_DAIFMT_CBM_CFS(codec clk master & frame slave) not use
  914. ; 4: SND_SOC_DAIFMT_CBS_CFS(codec clk & FRM slave) use
  915. ;daudio_select:0 is pcm.1 is i2s
  916. ;audio_format: 1:SND_SOC_DAIFMT_I2S(standard i2s format). use
  917. ; 2:SND_SOC_DAIFMT_RIGHT_J(right justfied format).
  918. ; 3:SND_SOC_DAIFMT_LEFT_J(left justfied format)
  919. ; 4:SND_SOC_DAIFMT_DSP_A(pcm. MSB is available on 2nd BCLK rising edge after LRC rising edge). use
  920. ; 5:SND_SOC_DAIFMT_DSP_B(pcm. MSB is available on 1nd BCLK rising edge after LRC rising edge)
  921. ;signal_inversion:1:SND_SOC_DAIFMT_NB_NF(normal bit clock + frame) use
  922. ; 2:SND_SOC_DAIFMT_NB_IF(normal BCLK + inv FRM)
  923. ; 3:SND_SOC_DAIFMT_IB_NF(invert BCLK + nor FRM) use
  924. ; 4:SND_SOC_DAIFMT_IB_IF(invert BCLK + FRM)
  925. ;over_sample_rate: support 128fs/192fs/256fs/384fs/512fs/768fs
  926. ;sample_resolution :16bits/20bits/24bits
  927. ;word_select_size :16bits/20bits/24bits/32bits
  928. ;pcm_sync_period :16/32/64/128/256
  929. ;msb_lsb_first :0: msb first; 1: lsb first
  930. ;sign_extend :0: zero pending; 1: sign extend
  931. ;slot_index :slot index: 0: the 1st slot - 3: the 4th slot
  932. ;slot_width :8 bit width / 16 bit width
  933. ;frame_width :0: long frame = 2 clock width; 1: short frame
  934. ;tx_data_mode :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
  935. ;rx_data_mode :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
  936. ;--------------------------------------------------------------------------------
  937. [pcm0]
  938. daudio_used = 0
  939. daudio_master = 4
  940. daudio_select = 1
  941. audio_format = 1
  942. signal_inversion = 1
  943. mclk_fs = 128
  944. sample_resolution = 16
  945. slot_width_select = 32
  946. ;pcm_sync_period = 256
  947. pcm_lrck_period = 32
  948. pcm_lrckr_period = 1
  949. msb_lsb_first = 0
  950. sign_extend = 0
  951. slot_index = 0
  952. slot_width = 32
  953. frame_width = 0
  954. tx_data_mode = 0
  955. rx_data_mode = 0
  956. i2s_mclk = port:PA18<2><1><default><default>
  957. i2s_bclk = port:PA19<2><1><default><default>
  958. i2s_dout0 = port:PA20<2><1><default><default>
  959. i2s_din = port:PA21<2><1><default><default>
  960.  
  961.  
  962. [pcm1]
  963. daudio_used = 0
  964. daudio_master = 4
  965. daudio_select = 1
  966. audio_format = 1
  967. signal_inversion = 1
  968. mclk_fs = 128
  969. sample_resolution = 16
  970. slot_width_select = 32
  971. ;pcm_sync_period = 256
  972. pcm_lrck_period = 32
  973. pcm_lrckr_period = 1
  974. msb_lsb_first = 0
  975. sign_extend = 0
  976. slot_index = 0
  977. slot_width = 32
  978. frame_width = 0
  979. tx_data_mode = 0
  980. rx_data_mode = 0
  981. i2s_mclk = port:PG10<2><1><default><default>
  982. i2s_bclk = port:PG11<2><1><default><default>
  983. i2s_dout0 = port:PG12<2><1><default><default>
  984. i2s_din = port:PG13<2><1><default><default>
  985.  
  986.  
  987. [audio0]
  988. audio_used = 1
  989. lineout_vol = 0x1f
  990. cap_vol = 0x5
  991. audio_hp_ldo = none
  992. adcagc_used = 0
  993. adcdrc_used = 0
  994. dacdrc_used = 0
  995. adchpf_used = 0
  996. dachpf_used = 0
  997. audio_pa_ctrl = port:PA16<1><default><default><0>
  998.  
  999. [spdif0]
  1000. spdif_used = 0
  1001. spdif_dout = port:PA17<2><1><default><default>
  1002.  
  1003. [audiohub]
  1004. hub_used = 0
  1005. codec_used = 1
  1006. spdif_used = 1
  1007. hdmi_used = 1
  1008.  
  1009. ;----------------------------------------------------------------------------------
  1010. ;ir rx --- infra remote configuration
  1011. ;----------------------------------------------------------------------------------
  1012. [s_cir0]
  1013. ir_used = 1
  1014. ir_rx = port:PL11<2><1><default><default>
  1015. ir_power_key_code0 = 0x57
  1016. ir_addr_code0 = 0x9f00
  1017. ir_power_key_code1 = 0x1a
  1018. ir_addr_code1 = 0xfb04
  1019. ir_power_key_code2 = 0x14
  1020. ir_addr_code2 = 0x7F80
  1021. ir_power_key_code3 = 0x15
  1022. ir_addr_code3 = 0x7F80
  1023. ir_power_key_code4 = 0x0b
  1024. ir_addr_code4 = 0xF708
  1025. ir_power_key_code5 = 0x03
  1026. ir_addr_code5 = 0x00EF
  1027. ir_power_key_code6 = 0x9f
  1028. ir_addr_code6 = 0x4CB3
  1029. ir_power_key_code7 = 0x0a
  1030. ir_addr_code7 = 0x7748
  1031. ir_power_key_code8 = 0x45
  1032. ir_addr_code8 = 0xbd02
  1033. ir_power_key_code9 = 0x4d
  1034. ir_addr_code9 = 0xde21
  1035. ir_power_key_code10 = 0x18
  1036. ir_addr_code10 = 0xfe01
  1037. ir_power_key_code11 = 0x18
  1038. ir_addr_code11 = 0xff00
  1039. ir_power_key_code12 = 0x4d
  1040. ir_addr_code12 = 0xff40
  1041. ir_power_key_code13 = 0x4d
  1042. ir_addr_code13 = 0x4040
  1043. ir_power_key_code14 = 0x1c
  1044. ir_addr_code14 = 0xdf00
  1045. ir_power_key_code15 = 0x4d
  1046. ir_addr_code15 = 0x94ca
  1047. ;----------------------------------------------------------------------------------
  1048. ;ir tx--- infra remote configuration
  1049. ;----------------------------------------------------------------------------------
  1050. [cir]
  1051. ir_used = 1
  1052. ir_tx = port:PH07<2><default><default><default>
  1053.  
  1054.  
  1055. ;----------------------------------------------------------------------------------
  1056. ; dvfs voltage-frequency table configuration
  1057. ;
  1058. ; pmuic_type:0:none, 1:gpio, 2:i2c
  1059. ; pmu_gpio0: gpio config.
  1060. ; pmu_levelx: 0~9999: voltage(mV), 10000~90000:gpio0 state. voltage form high to low.
  1061. ;
  1062. ; extremity_freq(Hz): cpu extremity frequency when run benckmark or demo apk
  1063. ; 1536MHz@1500mV with radiator, 1296MHz@1340mV without radiator
  1064. ; max_freq: cpu maximum frequency, based on Hz, can not be more than 1200MHz
  1065. ; min_freq: cpu minimum frequency, based on Hz, can not be less than 60MHz
  1066. ;
  1067. ; LV_count: count of LV_freq/LV_volt, must be < 16
  1068. ;
  1069. ; LV1: core vdd is 1.50v if cpu frequency is (1296Mhz, 1536Mhz]
  1070. ; LV2: core vdd is 1.34v if cpu frequency is (1200Mhz, 1296Mhz]
  1071. ; LV3: core vdd is 1.32v if cpu frequency is (1008Mhz, 1200Mhz]
  1072. ; LV4: core vdd is 1.20v if cpu frequency is (816Mhz, 1008Mhz]
  1073. ; LV5: core vdd is 1.10v if cpu frequency is (648Mhz, 816Mhz]
  1074. ; LV6: core vdd is 1.04v if cpu frequency is (0Mhz, 648Mhz]
  1075. ; LV7: core vdd is 1.04v if cpu frequency is (0Mhz, 648Mhz]
  1076. ; LV8: core vdd is 1.04v if cpu frequency is (0Mhz, 648Mhz]
  1077. ;
  1078. ;----------------------------------------------------------------------------------
  1079. [dvfs_table]
  1080. pmuic_type = 2
  1081. pmu_gpio0 = port:PL06<1><1><2><1>
  1082. pmu_level0 = 11300
  1083. pmu_level1 = 01100
  1084. ;extremity_freq = 1344000000
  1085. max_freq = 1200000000
  1086. min_freq = 480000000
  1087. boot_freq = 1008000000
  1088. LV_count = 8
  1089.  
  1090. LV1_freq = 1200000000
  1091. LV1_volt = 1300
  1092.  
  1093. LV2_freq = 1008000000
  1094. LV2_volt = 1200
  1095.  
  1096. LV3_freq = 0
  1097. LV3_volt = 1100
  1098.  
  1099. LV4_freq = 0
  1100. LV4_volt = 1100
  1101.  
  1102. LV5_freq = 0
  1103. LV5_volt = 1100
  1104.  
  1105. LV6_freq = 0
  1106. LV6_volt = 1100
  1107.  
  1108. LV7_freq = 0
  1109. LV7_volt = 1100
  1110.  
  1111. LV8_freq = 0
  1112. LV8_volt = 1100
  1113.  
  1114. [gpu_dvfs_table]
  1115.  
  1116. G_LV_count = 3
  1117.  
  1118. G_LV0_freq = 312000000
  1119. G_LV0_volt = 1200000
  1120.  
  1121. G_LV1_freq = 384000000
  1122. G_LV1_volt = 1200000
  1123.  
  1124. G_LV2_freq = 456000000
  1125. G_LV2_volt = 1200000
  1126.  
  1127. ;----------------------------------------------------------------------------------
  1128. ;special gpio config for Board Vendor ID
  1129. ;vid_used -- if board need distinguished by gpio,set '1';if not,set '0'
  1130. ;vid_count -- the count of vendor id bits
  1131. ;vid_bit_[0..3] -- gpio config for each bit of board vendor id
  1132. ;example: vendor id hex format :{0x 0 0 1 0 }
  1133. ; | | | |
  1134. ; [vid_bit_3] [vid_bit_2] [vid_bit_1] [vid_bit_0]
  1135. ;----------------------------------------------------------------------------------
  1136. [board_vendor]
  1137. vid_used = 1
  1138. vid_count = 6
  1139. vid_bit_0 = port:PD16<0><1><default><default>
  1140. vid_bit_1 = port:PD15<0><1><default><default>
  1141. vid_bit_2 = port:PD14<0><1><default><default>
  1142. vid_bit_3 = port:PD13<0><1><default><default>
  1143. vid_bit_4 = port:PD12<0><1><default><default>
  1144. vid_bit_5 = port:PD17<0><1><default><default>
  1145.  
  1146. ;----------------------------------------------------------------------------------
  1147. ;virtual device
  1148. ;virtual device for pinctrl testing
  1149. ;device have pin PA1 PA2
  1150. ;----------------------------------------------------------------------------------
  1151. [Vdevice]
  1152. Vdevice_used = 0
  1153. Vdevice_0 = port:PH10<5><1><2><default>
  1154. Vdevice_1 = port:PH11<5><1><2><default>
  1155.  
  1156. ;----------------------------------------------------------------------------------
  1157. ;s_uart0 config parameters
  1158. ;s_uart_used --s_uart0 whether used for arisc debugging
  1159. ;----------------------------------------------------------------------------------
  1160. [s_uart0]
  1161. s_uart_used = 0
  1162. s_uart_tx = port:PL02<2><default><default><default>
  1163. s_uart_rx = port:PL03<2><default><default><default>
  1164.  
  1165. ;----------------------------------------------------------------------------------
  1166. ;s_rsb0 config parameters
  1167. ;s_rsb_used --s_rsb0 whether used for arisc
  1168. ;----------------------------------------------------------------------------------
  1169. [s_rsb0]
  1170. s_rsb_used = 1
  1171. s_rsb_sck = port:PL00<2><1><2><default>
  1172. s_rsb_sda = port:PL01<2><1><2><default>
  1173.  
  1174. ;----------------------------------------------------------------------------------
  1175. ;s_jtag0 config parameters
  1176. ;s_jtag0_used --s_jtag0 whether used for arisc
  1177. ;
  1178. ;----------------------------------------------------------------------------------
  1179. [s_jtag0]
  1180. s_jtag_used = 0
  1181. s_jtag_tms = port:PL04<2><1><2><default>
  1182. s_jtag_tck = port:PL05<2><1><2><default>
  1183. s_jtag_tdo = port:PL06<2><1><2><default>
  1184. s_jtag_tdi = port:PL07<2><1><2><default>
  1185.  
  1186. ;----------------------------------------------------------------------------------
  1187. ;s_powchk cpus power check
  1188. ;s_powchk_used --power check whether used for arisc in super standby
  1189. ; bit31:enable power updat, bit1:wakeup when power state exception
  1190. ; bit0:wakeup when power consumption exception
  1191. ;s_power_reg the expected regs stand for power on/off state
  1192. ;s_system_power the limit maxmum power consumption when super standby (unit: mw)
  1193. ;
  1194. ;----------------------------------------------------------------------------------
  1195. [s_powchk]
  1196. s_powchk_used = 0x80000000
  1197. s_power_reg = 0x00000000
  1198. s_system_power = 50
  1199.  
  1200. ;----------------------------------------------------------------------------------
  1201. ;scr configuration
  1202. ;----------------------------------------------------------------------------------
  1203. [sim0]
  1204. scr_used = 1
  1205. scr_vccen = port:PA06<2><default><default><default>
  1206. scr_slk = port:PA07<2><default><default><default>
  1207. scr_sda = port:PA08<2><default><default><default>
  1208. scr_rst = port:PA09<2><default><default><default>
  1209. scr_det = port:PA10<2><default><default><default>
  1210.  
  1211.  
  1212. ;--------------------------------------------------------------------------------
  1213. ;tsc configuration
  1214. ;--------------------------------------------------------------------------------
  1215. [ts0]
  1216. tsc_used = 1
  1217. tsc_clk = port:PE00<3><default><default><default>
  1218. tsc_err = port:PE01<3><default><default><default>
  1219. tsc_sync = port:PE02<3><default><default><default>
  1220. tsc_dvld = port:PE03<3><default><default><default>
  1221. tsc_d0 = port:PE04<3><default><default><default>
  1222. tsc_d1 = port:PE05<3><default><default><default>
  1223. tsc_d2 = port:PE06<3><default><default><default>
  1224. tsc_d3 = port:PE07<3><default><default><default>
  1225. tsc_d4 = port:PE08<3><default><default><default>
  1226. tsc_d5 = port:PE09<3><default><default><default>
  1227. tsc_d6 = port:PE10<3><default><default><default>
  1228. tsc_d7 = port:PE11<3><default><default><default>
  1229.  
  1230. ;--------------------------------------------------------------------------------
  1231. ;gpio key
  1232. ;--------------------------------------------------------------------------------
  1233. [gpio_power_key]
  1234. key_used = 0
  1235. key_io = port:PL04<6><default><default><0>
  1236.  
  1237. ;----------------------------------------------------------------------------------
  1238. ; key para
  1239. ;
  1240. ; key_used --0:not used, 1:used
  1241. ; key_cnt --how many key button attach to keyadc.
  1242. ; key*_vol --the threshold of input voltage of key.
  1243. ;
  1244. ; For example: if key2_vol < $(keyadc value) < key3_vol, then key3 be reported.
  1245. ;----------------------------------------------------------------------------------
  1246. [key_para]
  1247. key_used = 0
  1248. key_cnt = 5
  1249. key1_vol = 222
  1250. key2_vol = 444
  1251. key3_vol = 666
  1252. key4_vol = 857
  1253. key5_vol = 2000
  1254.  
  1255.  
  1256. ;----------------------------------------------------------------------------------
  1257. ;display seven segment para
  1258. ;----------------------------------------------------------------------------------
  1259. [d7s_para]
  1260. d7s_used = 0
  1261. din_gpio = port:PD00<1><default><default><1>
  1262. clk_gpio = port:PD01<1><default><default><1>
  1263. stb_gpio = port:PD02<1><default><default><1>
RAW Paste Data