daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest Jul 6th, 2015 605 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. ;A31 BOX application
  3. ;---------------------------------------------------------------------------------------------------------
  4. ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
  5. ; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态>
  6. ;---------------------------------------------------------------------------------------------------------
  7.  
  8. [product]
  9. version = "100"
  10. machine = "mars-a31s"
  11.  
  12. [platform]
  13. eraseflag   = 1
  14. ;----------------------------------------------------------------------------------
  15. ;   system configuration
  16. ;   ?
  17. ;dcdc1_vol                                                      ---set dcdc1 voltage,mV,1600-3400,100mV/step
  18. ;dcdc2_vol                                                      ---set dcdc2 voltage,mV,600-1540,20mV/step
  19. ;dcdc3_vol                                                      ---set dcdc3 voltage,mV,600-1860,20mV/step
  20. ;dcdc4_vol                                                      ---set dcdc4 voltage,mV,600-1540,20mV/step
  21. ;dcdc5_vol                                                      ---set dcdc5 voltage,mV,1000-2550,50mV/step
  22. ;aldo2_vol                                                      ---set aldo2 voltage,mV,700-3300,100mV/step
  23. ;aldo3_vol                                                      ---set aldo3 voltage,mV,700-3300,100mV/step
  24. ;cpus_source                                            ---select gpio1ldoo or not ,0-not select 1-select
  25. ;cpus_source                                            ---set gpio1ldo voltage,mV,700-3300,100mV/step
  26. ;----------------------------------------------------------------------------------
  27. [target]
  28. boot_clock      = 1008
  29. storage_type    = -1
  30.  
  31. ;--------------------------------------------------------
  32. ;for DDR3:          dcdc5_vol = 1500
  33. ;for DDR3L:         dcdc5_vol = 1350
  34. ;for LPDDR2,LPDDR3: dcdc5_vol = 1200
  35. ;--------------------------------------------------------
  36. [power_sply]
  37. dcdc1_vol                  = 3000
  38. dcdc2_vol                  = 1200
  39. dcdc3_vol                  = 1260
  40. dcdc4_vol                  = 1240
  41. dcdc5_vol                  = 1500
  42. dldo1_vol                  = 3000
  43. dldo2_vol                  = 2800
  44. dldo3_vol                  = 3300
  45. dldo4_vol                  = 3300
  46. aldo1_vol                  = 3300
  47. aldo2_vol                  = 1800
  48. aldo3_vol                  = 3000
  49.  
  50.  
  51. [card_boot]
  52. logical_start   = 40960
  53. sprite_gpio0    = port:PH13<1><default><default><0>
  54. sprite_work_delay        = 500
  55. sprite_err_delay         = 200
  56.  
  57. [card0_boot_para]
  58. card_ctrl       = 0
  59. card_high_speed = 1
  60. card_line       = 4
  61. sdc_d1          = port:PF0<2><1><default><default>
  62. sdc_d0          = port:PF1<2><1><default><default>
  63. sdc_clk         = port:PF2<2><1><default><default>
  64. sdc_cmd         = port:PF3<2><1><default><default>
  65. sdc_d3          = port:PF4<2><1><default><default>
  66. sdc_d2          = port:PF5<2><1><default><default>
  67.  
  68. [card2_boot_para]
  69. card_ctrl       = 2
  70. card_high_speed = 1
  71. card_line       = 4
  72. sdc_cmd         = port:PC6<3><1><default><default>
  73. sdc_clk         = port:PC7<3><1><default><default>
  74. sdc_d0          = port:PC8<3><1><default><default>
  75. sdc_d1          = port:PC9<3><1><default><default>
  76. sdc_d2          = port:PC10<3><1><default><default>
  77. sdc_d3          = port:PC11<3><1><default><default>
  78.  
  79. [twi_para]
  80. twi_port        = 0
  81. twi_scl         = port:PH14<2><default><default><default>
  82. twi_sda         = port:PH15<2><default><default><default>
  83.  
  84. [uart_para]
  85. uart_debug_port = 0
  86. uart_debug_tx   = port:PH20<2><1><default><default>
  87. uart_debug_rx   = port:PH21<2><1><default><default>
  88.  
  89. [jtag_para]
  90. jtag_enable     = 1
  91. jtag_ms         = port:PH9<3><default><default><default>
  92. jtag_ck         = port:PH10<3><default><default><default>
  93. jtag_do         = port:PH11<3><default><default><default>
  94. jtag_di         = port:PH12<3><default><default><default>
  95.  
  96. [clock]
  97. pll3            = 297
  98. pll4            = 300
  99. pll6            = 600
  100. pll7            = 297
  101. pll8            = 360
  102. pll9            = 297
  103. pll10           = 702
  104.  
  105. ;*****************************************************************************
  106. ;sdram configuration
  107. ;
  108. ;*****************************************************************************
  109. ;----------------------------------------------------------------------------------
  110. ;***************DDR3/DDR3L**************
  111. ;dram_type      = 3
  112. ;dram_zq        = 0xFB (for 8bit) or 0xBB (for 16bit)
  113. ;dram_odt_en    = 0
  114. ;dram_tpr13     = 0x10000
  115. ;***************LPDDR2******************
  116. ;dram_type      = 6
  117. ;dram_zq        = 0x149
  118. ;dram_odt_en    = 1
  119. ;dram_tpr13     = 0x10000
  120. ;***************LPDDR3******************
  121. ;dram_type      = 7
  122. ;dram_zq        = 0x149
  123. ;dram_odt_en    = 1
  124. ;dram_tpr13     = 0x10000
  125. ;----------------------------------------------------------------------------------
  126. [dram_para]
  127. dram_clk        = 432
  128. dram_type       = 3
  129. dram_zq         = 0xBB
  130. dram_odt_en     = 0
  131. dram_para1      = 0
  132. dram_para2      = 0
  133. dram_mr0        = 0
  134. dram_mr1        = 0
  135. dram_mr2        = 0
  136. dram_mr3        = 0
  137. dram_tpr0       = 0
  138. dram_tpr1       = 0
  139. dram_tpr2       = 0
  140. dram_tpr3       = 0
  141. dram_tpr4       = 0
  142. dram_tpr5       = 0
  143. dram_tpr6       = 0
  144. dram_tpr7       = 0
  145. dram_tpr8       = 0
  146. dram_tpr9       = 0
  147. dram_tpr10      = 0
  148. dram_tpr11      = 0
  149. dram_tpr12      = 0
  150. dram_tpr13      = 0x10000
  151.  
  152. ;----------------------------------------------------------------------------------
  153. ;os life cycle para configuration
  154. ;----------------------------------------------------------------------------------
  155.  
  156. ;---------------------------------------------------------------------------------------------------------
  157. ; if 1 == standby_mode, then support super standby;
  158. ; else, support normal standby.
  159. ;---------------------------------------------------------------------------------------------------------
  160. [pm_para]
  161. standby_mode            = 1
  162.  
  163. ;---------------------------------------------------------------------------------------------------------
  164. ; wakeup_src_para:
  165. ;       sometimes, u would like to add more wakeup src in standby mode, these para will be
  166. ;       help;
  167. ;       u need to make sure the standby mode support the wakeup src. Also, some hw
  168. ;       condition must be guaranteed.
  169. ;       including:
  170. ;       cpu_en: power on or off.
  171. ;               1: mean power on
  172. ;               0: mean power off
  173. ;       cpu_freq: indicating lowest freq. unit is Mhz;
  174. ;       dram selfresh_en: selfresh or not.
  175. ;               1: enable enter selfresh
  176. ;               0: disable enter selfresh
  177. ;       dram_pll: if not enter selfresh, indicating lowest freq. unit is Mhz;
  178. ;       wakeup_event:
  179. ;               (0x4    )       /* low battery event */
  180. ;               (0x8    )       /* usb insert event */
  181. ;               (0x10   )       /* charger insert event */
  182. ;               (0x20   )       /* power key ascend event */
  183. ;               (0x40   )       /* power key descend event */
  184. ;               (0x80   )       /* power key short press event */
  185. ;               (0x100  )       /* power key long press event */
  186. ;               (0x200  )       /* IR key event */
  187. ;               (0x400  )       /* alarm0 event */
  188. ;               (0x800  )       /* alarm1 event */
  189. ;               (0x1000 )       /* debug test event */
  190. ;               (0x2000 )       /* GPIO interrupt event, only used in extended standby */
  191. ;               (0x4000 )       /* USBMOUSE key event, only used in extended standby */
  192. ;               (0x8000 )       /* key event, volume home menu enter, only used in extended standby */
  193. ;               (0x10000)       /* earphone insert/pull event, only used in extended standby */
  194. ;               (0x180  )       /* power key short and long press event */
  195. ;       wakeup_src: to make the scenario work, the wakeup src is needed.
  196. ;---------------------------------------------------------------------------------------------------------
  197. [wakeup_src_para]
  198. cpu_en                          =       0
  199. cpu_freq                        =       48
  200. ; (cpu:apb:ahb)
  201. pll_ratio                       =       0x111
  202. dram_selfresh_en                =       1
  203. dram_freq                       =       36
  204. wakeup_event                    =   0x200
  205. wakeup_wifi                     = port:PL5<2><default><default><0>
  206.  
  207.  
  208. ;------------------------------------------------------------------------------;
  209. ; 10/100/100Mbps Ethernet MAC Controller Configure                             ;
  210. ;------------------------------------------------------------------------------;
  211. ;   配置选项:                                                                 ;
  212. ;   gmac_used  ---  1: gmac used, 0: not used                                  ;
  213. ;------------------------------------------------------------------------------;
  214. ;   gmac_interface --- 1:       PHY_INTERFACE_MODE_MII                                           ;
  215. ;                      2: PHY_INTERFACE_MODE_GMII                                        ;
  216. ;                      3: PHY_INTERFACE_MODE_RGMII                             ;
  217. ;                default: PHY_INTERFACE_MODE_MII                               ;
  218. ;------------------------------------------------------------------------------;
  219. ;         MII  GMII  RGMII        MII  GMII  RGMII        MII  GMII  RGMII     ;
  220. ;PA00~03  *     *      *    PA10        *      *    PA20   *    *      *       ;
  221. ;   PA04        *         PA11~14  *    *      *    PA21   *    *              ;
  222. ;   PA05        *           PA15        *           PA22   *    *              ;
  223. ;   PA06        *           PA16        *           PA23   *    *              ;
  224. ;   PA07        *           PA17        *           PA24   *    *              ;
  225. ;   PA08  *     *           PA18        *           PA25        *      *       ;
  226. ;   PA09  *     *      *    PA19   *    *      *  PA26~27  *    *      *       ;
  227. ;------------------------------------------------------------------------------;
  228. [gmac_para]
  229. gmac_used          = 1
  230. gmac_interface     = 2
  231. gmac_power         = "axp22_dldo1"
  232. gmac_txd0          = port:PA00<2><default><default><default>
  233. gmac_txd1          = port:PA01<2><default><default><default>
  234. gmac_txd2          = port:PA02<2><default><default><default>
  235. gmac_txd3          = port:PA03<2><default><default><default>
  236. gmac_txd4          = port:PA04<2><default><default><default>
  237. gmac_txd5          = port:PA05<2><default><default><default>
  238. gmac_txd6          = port:PA06<2><default><default><default>
  239. gmac_txd7          = port:PA07<2><default><default><default>
  240. gmac_txclk         = port:PA08<2><default><default><default>
  241. gmac_txen          = port:PA09<2><default><default><default>
  242. gmac_gtxclk        = port:PA10<2><default><default><default>
  243. gmac_rxd0          = port:PA11<2><default><default><default>
  244. gmac_rxd1          = port:PA12<2><default><default><default>
  245. gmac_rxd2          = port:PA13<2><default><default><default>
  246. gmac_rxd3          = port:PA14<2><default><default><default>
  247. gmac_rxd4          = port:PA15<2><default><default><default>
  248. gmac_rxd5          = port:PA16<2><default><default><default>
  249. gmac_rxd6          = port:PA17<2><default><default><default>
  250. gmac_rxd7          = port:PA18<2><default><default><default>
  251. gmac_rxdv          = port:PA19<2><default><default><default>
  252. gmac_rxclk         = port:PA20<2><default><default><default>
  253. gmac_txerr         = port:PA21<2><default><default><default>
  254. gmac_rxerr         = port:PA22<2><default><default><default>
  255. gmac_col           = port:PA23<2><default><default><default>
  256. gmac_crs           = port:PA24<2><default><default><default>
  257. gmac_clkin         = port:PA25<2><default><default><default>
  258. gmac_mdc           = port:PA26<2><default><default><default>
  259. gmac_mdio          = port:PA27<2><default><default><default>
  260.  
  261. ;----------------------------------------------------------------------------------
  262. ;i2c configuration
  263. ;----------------------------------------------------------------------------------
  264. [twi0_para]
  265. twi_used        = 1
  266. twi_scl         = port:PH14<2><default><default><default>
  267. twi_sda         = port:PH15<2><default><default><default>
  268.  
  269. [twi1_para]
  270. twi_used        = 1
  271. twi_scl         = port:PH16<2><default><default><default>
  272. twi_sda         = port:PH17<2><default><default><default>
  273.  
  274. [twi2_para]
  275. twi_used        = 1
  276. twi_scl         = port:PH18<2><default><default><default>
  277. twi_sda         = port:PH19<2><default><default><default>
  278.  
  279. [twi3_para]
  280. twi_used        = 0
  281. twi_scl         = port:PB05<4><default><default><default>
  282. twi_sda         = port:PB06<4><default><default><default>
  283.  
  284. ;----------------------------------------------------------------------------------
  285. ;uart configuration
  286. ;uart_type ---  2 (2 wire), 4 (4 wire), 8 (8 wire, full function)
  287. ;----------------------------------------------------------------------------------
  288. [uart_para0]
  289. uart_used       = 1
  290. uart_port       = 0
  291. uart_type       = 2
  292. uart_tx         = port:PH20<2><1><default><default>
  293. uart_rx         = port:PH21<2><1><default><default>
  294.  
  295. [uart_para1]
  296. uart_used       = 0
  297. uart_port       = 1
  298. uart_type       = 8
  299. uart_tx         = port:PA04<4><1><default><default>
  300. uart_rx         = port:PA05<4><1><default><default>
  301. uart_rts        = port:PA06<4><1><default><default>
  302. uart_cts        = port:PA07<4><1><default><default>
  303. ;uart_dtr       = port:PA00<4><1><default><default>
  304. ;uart_dsr       = port:PA01<4><1><default><default>
  305. ;uart_dcd       = port:PA02<4><1><default><default>
  306. ;uart_ring      = port:PA03<4><1><default><default>
  307.  
  308. [uart_para2]
  309. uart_used       = 1
  310. uart_port       = 2
  311. uart_type       = 4
  312. uart_tx         = port:PG06<2><1><default><default>
  313. uart_rx         = port:PG07<2><1><default><default>
  314. uart_rts        = port:PG08<2><1><default><default>
  315. uart_cts        = port:PG09<2><1><default><default>
  316.  
  317. [uart_para3]
  318. uart_used       = 0
  319. uart_port       = 3
  320. uart_type       = 4
  321. uart_tx         = port:PB05<3><1><default><default>
  322. uart_rx         = port:PB06<3><1><default><default>
  323. uart_rts        = port:PB04<3><1><default><default>
  324. uart_cts        = port:PB00<3><1><default><default>
  325.  
  326. [uart_para4]
  327. uart_used       = 0
  328. uart_port       = 4
  329. uart_type       = 2
  330. uart_tx         = port:PG17<2><1><default><default>
  331. uart_rx         = port:PG18<2><1><default><default>
  332. uart_rts        = port:PB04<3><1><default><default>
  333. uart_cts        = port:PB00<3><1><default><default>
  334.  
  335. [uart_para5]
  336. uart_used       = 0
  337. uart_port       = 5
  338. uart_type       = 4
  339. uart_tx         = port:PE04<3><1><default><default>
  340. uart_rx         = port:PE05<3><1><default><default>
  341. uart_rts        = port:PE06<3><1><default><default>
  342. uart_cts        = port:PE07<3><1><default><default>
  343.  
  344. ;----------------------------------------------------------------------------------
  345. ;spi configuration
  346. ;----------------------------------------------------------------------------------
  347. [spi0_para]
  348. spi_used       = 0
  349. spi_cs_bitmap  = 1
  350. spi_cs0        = port:PC27<3><1><default><default>
  351. spi_sclk       = port:PC02<3><default><default><default>
  352. spi_mosi       = port:PC00<3><default><default><default>
  353. spi_miso       = port:PC01<3><default><default><default>
  354.  
  355. [spi1_para]
  356. spi_used       = 0
  357. spi_cs_bitmap  = 1
  358. spi_cs1        = port:PG12<2><1><default><default>
  359. spi_cs0        = port:PG13<2><1><default><default>
  360. spi_sclk       = port:PG14<2><default><default><default>
  361. spi_mosi       = port:PG15<2><default><default><default>
  362. spi_miso       = port:PG16<2><default><default><default>
  363.  
  364. [spi2_para]
  365. spi_used       = 0
  366. spi_cs_bitmap  = 1
  367. spi_cs0        = port:PH09<2><default><default><default>
  368. spi_sclk       = port:PH10<2><default><default><default>
  369. spi_mosi       = port:PH11<2><default><default><default>
  370. spi_miso       = port:PH12<2><default><default><default>
  371.  
  372. [spi3_para]
  373. spi_used       = 0
  374. spi_cs_bitmap  = 1
  375. spi_cs0        = port:PA21<4><default><default><default>
  376. spi_sclk       = port:PA22<4><default><default><default>
  377. spi_mosi       = port:PA23<4><default><default><default>
  378. spi_miso       = port:PA24<4><default><default><default>
  379. spi_cs1        = port:PA25<4><default><default><default>
  380.  
  381. ;----------------------------------------------------------------------------------
  382. ;resistance tp configuration
  383. ;----------------------------------------------------------------------------------
  384. [rtp_para]
  385. rtp_used                   = 0
  386. rtp_screen_size            = 5
  387. rtp_regidity_level         = 5
  388. rtp_press_threshold_enable = 0
  389. rtp_press_threshold        = 0x1f40
  390. rtp_sensitive_level        = 0xf
  391. rtp_exchange_x_y_flag      = 0
  392.  
  393. ;----------------------------------------------------------------------------------
  394. ;capacitor tp configuration
  395. ;external int function
  396. ;wakeup output function
  397. ;notice ---    tp_int_port &  tp_io_port use the same port
  398. ;----------------------------------------------------------------------------------
  399. [ctp_para]
  400. ctp_used            = 0
  401. ctp_twi_id          = 1
  402. ctp_twi_addr        = 0x5d
  403. ctp_screen_max_x    = 1280
  404. ctp_screen_max_y    = 800
  405. ctp_revert_x_flag   = 1
  406. ctp_revert_y_flag   = 1
  407. ctp_exchange_x_y_flag = 1
  408.  
  409. ctp_int_port        = port:PA03<6><default><default><default>
  410. ctp_wakeup          = port:PA02<1><default><default><1>
  411. ;----------------------------------------------------------------------------------
  412. ;touch key configuration
  413. ;----------------------------------------------------------------------------------
  414. [tkey_para]
  415. tkey_used           = 0
  416. tkey_twi_id         =
  417. tkey_twi_addr       =
  418. tkey_int            =
  419.  
  420. ;----------------------------------------------------------------------------------
  421. ;motor configuration
  422. ;----------------------------------------------------------------------------------
  423. [motor_para]
  424. motor_used          = 0
  425. motor_shake         = port:power3<1><default><default><1>
  426.  
  427. [nand0_para]
  428. nand_support_2ch    = 1
  429.  
  430. nand0_used          = 1
  431. nand0_we            = port:PC00<2><default><default><default>
  432. nand0_ale           = port:PC01<2><default><default><default>
  433. nand0_cle           = port:PC02<2><default><default><default>
  434. nand0_ce1           = port:PC03<2><default><default><default>
  435. nand0_ce0           = port:PC04<2><default><default><default>
  436. nand0_nre           = port:PC05<2><default><default><default>
  437. nand0_rb0           = port:PC06<2><default><default><default>
  438. nand0_rb1           = port:PC07<2><default><default><default>
  439. nand0_d0            = port:PC08<2><default><default><default>
  440. nand0_d1            = port:PC09<2><default><default><default>
  441. nand0_d2            = port:PC10<2><default><default><default>
  442. nand0_d3            = port:PC11<2><default><default><default>
  443. nand0_d4            = port:PC12<2><default><default><default>
  444. nand0_d5            = port:PC13<2><default><default><default>
  445. nand0_d6            = port:PC14<2><default><default><default>
  446. nand0_d7            = port:PC15<2><default><default><default>
  447. nand0_ce2           = port:PC25<2><default><default><default>
  448. nand0_ce3           = port:PC26<2><default><default><default>
  449. nand0_ndqs          = port:PC24<2><default><default><default>
  450.  
  451. good_block_ratio    = 0
  452. id_number_ctl                 = 0x3
  453. nand_p0                       = 0x28010020
  454. nand_p1                       = 0x00eeeeee
  455.  
  456. [nand1_para]
  457. nand1_used          = 1
  458. nand1_we            = port:PH00<2><default><default><default>
  459. nand1_ale           = port:PH01<2><default><default><default>
  460. nand1_cle           = port:PH02<2><default><default><default>
  461. nand1_ce1           = port:PH03<2><default><default><default>
  462. nand1_ce0           = port:PH04<2><default><default><default>
  463. nand1_nre           = port:PH05<2><default><default><default>
  464. nand1_rb0           = port:PH06<2><default><default><default>
  465. nand1_rb1           = port:PH07<2><default><default><default>
  466. nand1_d0            = port:PC16<3><default><default><default>
  467. nand1_d1            = port:PC17<3><default><default><default>
  468. nand1_d2            = port:PC18<3><default><default><default>
  469. nand1_d3            = port:PC19<3><default><default><default>
  470. nand1_d4            = port:PC20<3><default><default><default>
  471. nand1_d5            = port:PC21<3><default><default><default>
  472. nand1_d6            = port:PC22<3><default><default><default>
  473. nand1_d7            = port:PC23<3><default><default><default>
  474. nand1_ce2           = port:PH29<2><default><default><default>
  475. nand1_ce3           = port:PH30<2><default><default><default>
  476. nand1_ndqs          = port:PH08<2><default><default><default>
  477.  
  478. ;----------------------------------------------------------------------------------
  479. ;disp init configuration
  480. ;
  481. ;disp_mode            (0:screen0<screen0,fb0>)
  482. ;screenx_output_type  (0:none; 1:lcd; 3:hdmi;)
  483. ;screenx_output_mode  (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)
  484. ;                     (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)
  485. ;fbx format           (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444)
  486. ;fbx pixel sequence   (0:ARGB 1:BGRA 2:ABGR 3:RGBA)
  487. ;fbx_width,fbx_height (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0)
  488. ;lcdx_backlight       (lcd init backlight,the range:[0,256],default:197
  489. ;lcdx_yy              (lcd init screen bright/contrast/saturation/hue, value:0~100, default:50/50/57/50)
  490. ;----------------------------------------------------------------------------------
  491. [disp_init]
  492. disp_init_enable         = 1
  493. disp_mode                = 0
  494.  
  495. screen0_output_type      = 3
  496. screen0_output_mode      = 10
  497.  
  498. screen1_output_type      = 3
  499. screen1_output_mode      = 10
  500.  
  501. fb0_format               = 10
  502. fb0_pixel_sequence       = 0
  503. fb0_scaler_mode_enable   = 1
  504. fb0_width                = 0
  505. fb0_height               = 0
  506.  
  507. fb1_format               = 10
  508. fb1_pixel_sequence       = 0
  509. fb1_scaler_mode_enable   = 0
  510. fb1_width                = 0
  511. fb1_height               = 0
  512.  
  513. lcd0_backlight           = 50
  514. lcd1_backlight           = 50
  515.  
  516. lcd0_bright              = 50
  517. lcd0_contrast            = 50
  518. lcd0_saturation          = 57
  519. lcd0_hue                 = 50
  520.  
  521. lcd1_bright              = 50
  522. lcd1_contrast            = 50
  523. lcd1_saturation          = 57
  524. lcd1_hue                 = 50
  525.  
  526. ;----------------------------------------------------------------------------------
  527. ;lcd0 configuration
  528.  
  529. ;lcd_if:               0:hv(sync+de); 1:8080; 2:ttl; 3:lvds; 4:dsi; 5:edp
  530. ;lcd_x:                lcd horizontal resolution
  531. ;lcd_y:                lcd vertical resolution
  532. ;lcd_width:            width of lcd in mm
  533. ;lcd_height:           height of lcd in mm
  534. ;lcd_dclk_freq:        in MHZ unit
  535. ;lcd_pwm_freq:         in HZ unit
  536. ;lcd_pwm_pol:          lcd backlight PWM polarity
  537. ;lcd_pwm_max_limit     lcd backlight PWM max limit(<=255)
  538. ;lcd_hbp:              hsync back porch
  539. ;lcd_ht:               hsync total cycle
  540. ;lcd_vbp:              vsync back porch
  541. ;lcd_vt:               vysnc total cycle
  542. ;lcd_hspw:             hsync plus width
  543. ;lcd_vspw:             vysnc plus width
  544. ;lcd_lvds_if:          0:single link;  1:dual link
  545. ;lcd_lvds_colordepth:  0:8bit; 1:6bit
  546. ;lcd_lvds_mode:        0:NS mode; 1:JEIDA mode
  547. ;lcd_frm:              0:disable; 1:enable rgb666 dither; 2:enable rgb656 dither
  548. ;lcd_gamma_en          lcd gamma correction enable
  549. ;lcd_bright_curve_en   lcd bright curve correction enable
  550. ;lcd_cmap_en           lcd color map function enable
  551. ;deu_mode              0:smoll lcd screen; 1:large lcd screen(larger than 10inch)
  552. ;lcdgamma4iep:         Smart Backlight parameter, lcd gamma vale * 10;
  553. ;                      decrease it while lcd is not bright enough; increase while lcd is too bright
  554. ;smart_color           90:normal lcd screen 65:retina lcd screen(9.7inch)
  555. ;----------------------------------------------------------------------------------
  556. [lcd0_para]
  557. lcd_used            = 0
  558.  
  559. lcd_if              = 3
  560. lcd_x               = 1280
  561. lcd_y               = 800
  562. lcd_width           = 150
  563. lcd_height          = 94
  564. lcd_dclk_freq       = 70
  565. lcd_pwm_freq        = 50000
  566. lcd_pwm_pol         = 0
  567. lcd_hbp             = 20
  568. lcd_ht              = 1418
  569. lcd_hspw            = 10
  570. lcd_vbp             = 10
  571. lcd_vt              = 814
  572. lcd_vspw            = 5
  573. lcd_lvds_if         = 0
  574. lcd_lvds_colordepth = 1
  575. lcd_lvds_mode       = 0
  576. lcd_frm             = 1
  577. lcd_gamma_en        = 0
  578. lcd_bright_curve_en = 0
  579. lcd_cmap_en         = 0
  580.  
  581. deu_mode            = 0
  582. lcdgamma4iep        = 22
  583. smart_color        = 90
  584.  
  585. lcd_bl_en           = port:PA25<1><0><default><1>
  586. lcd_power           = port:power2<1><0><default><1>
  587. lcd_pwm             = port:PH13<2><0><default><default>
  588.  
  589. lcdd0               = port:PD00<3><0><default><default>
  590. lcdd1               = port:PD01<3><0><default><default>
  591. lcdd2               = port:PD02<3><0><default><default>
  592. lcdd3               = port:PD03<3><0><default><default>
  593. lcdd4               = port:PD04<3><0><default><default>
  594. lcdd5               = port:PD05<3><0><default><default>
  595. lcdd6               = port:PD06<3><0><default><default>
  596. lcdd7               = port:PD07<3><0><default><default>
  597.  
  598. ;----------------------------------------------------------------------------------
  599. ;hdmi configuration
  600. ;----------------------------------------------------------------------------------
  601. [hdmi_para]
  602. hdmi_used           = 1
  603.  
  604. ;----------------------------------------------------------------------------------
  605. ;tv configuration
  606. ;----------------------------------------------------------------------------------
  607. [tv0_para]
  608. tv_used           = 1
  609. tv_module_name    = "gm7121"
  610. tv_twi_used       = 1
  611. tv_twi_id         = 1
  612. tv_twi_addr       = 0x46
  613. ;--------------------------------------------------------------------------------
  614. ;vip (video input port) configuration
  615. ;vip_used: 0:disable 1:enable
  616. ;vip_mode: 0:sample one interface to one buffer 1:sample two interface to one buffer
  617. ;vip_dev_qty: The quantity of devices linked to capture bus
  618. ;vip_dev(x)_isp_used 0:not use isp 1:use isp
  619. ;vip_dev(x)_fmt: 0:yuv 1:bayer raw rgb
  620. ;vip_dev(x)_stby_mode: 0:not shut down power at standby 1:shut down power at standby
  621. ;vip_dev(x)_vflip: flip in vertical direction 0:disable 1:enable
  622. ;vip_dev(x)_hflip: flip in horizontal direction 0:disable 1:enable
  623. ;vip_dev(x)_iovdd: camera module io power handle string, pmu power supply
  624. ;vip_dev(x)_iovdd_vol: camera module io power voltage, pmu power supply
  625. ;vip_dev(x)_avdd:       camera module analog power handle string, pmu power supply
  626. ;vip_dev(x)_avdd_vol:   camera module analog power voltage, pmu power supply
  627. ;vip_dev(x)_dvdd:       camera module core power handle string, pmu power supply
  628. ;vip_dev(x)_dvdd_vol:   camera module core power voltage, pmu power supply
  629. ;vip_dev(x)_afvdd:      camera module vcm power handle string, pmu power supply
  630. ;vip_dev(x)_afvdd_vol:  camera module vcm power voltage, pmu power supply
  631. ;x indicates the index of the devices which are linked to the same capture bus
  632. ;fill voltage in uV, e.g. iovdd = 2.8V, vip_devx_iovdd_vol = 2800000
  633. ;fill handle string as below:
  634. ;axp22_eldo3
  635. ;axp22_dldo4
  636. ;axp22_eldo2
  637. ;fill handle string "" when not using any pmu power supply
  638. ;--------------------------------------------------------------------------------
  639.  
  640. [vip0_para]
  641.  
  642. vip_used                 = 0
  643. vip_mode                 = 0
  644. vip_dev_qty              = 1
  645. vip_vip_mck                      = port:PE16<2><default><default><default>
  646.  
  647. vip_dev0_mname           = "ov8825"
  648. vip_dev0_lane            = 2
  649. vip_dev0_twi_id          = 0
  650. vip_dev0_twi_addr        = 0x6c
  651. vip_dev0_isp_used        = 1
  652. vip_dev0_fmt             = 1
  653. vip_dev0_stby_mode       = 0
  654. vip_dev0_vflip           = 0
  655. vip_dev0_hflip           = 0
  656. vip_dev0_iovdd           = "axp22_eldo3"
  657. vip_dev0_iovdd_vol       = 2800000
  658. vip_dev0_avdd            = "axp22_dldo4"
  659. vip_dev0_avdd_vol        = 2800000
  660. vip_dev0_dvdd            = "axp22_eldo2"
  661. vip_dev0_dvdd_vol        = 1500000
  662. vip_dev0_afvdd           = ""
  663. vip_dev0_afvdd_vol       = 2800000
  664. vip_dev0_power_en        = port:PH25<1><default><default><0>
  665. vip_dev0_reset           = port:PH23<1><default><default><0>
  666. vip_dev0_pwdn            = port:PH24<1><default><default><1>
  667. vip_dev0_flash_en        = port:PA26<1><default><default><0>
  668. vip_dev0_flash_mode      = port:PA27<1><default><default><0>
  669. vip_dev0_af_pwdn         = port:PA24<1><default><default><0>
  670.  
  671. vip_dev0_act_used        = 1
  672. vip_dev0_act_name        = "ad5820_act"
  673. vip_dev0_act_slave       = 0x18
  674.  
  675.  
  676. vip_dev1_mname           = ""
  677. vip_dev1_lane            = 1
  678. vip_dev1_twi_id          = 0
  679. vip_dev1_twi_addr        =
  680. vip_dev1_isp_used        = 0
  681. vip_dev1_fmt             = 1
  682. vip_dev1_stby_mode       = 0
  683. vip_dev1_vflip           = 0
  684. vip_dev1_hflip           = 0
  685. vip_dev1_iovdd           = "axp22_eldo3"
  686. vip_dev1_iovdd_vol       = 2800000
  687. vip_dev1_avdd            = "axp22_dldo4"
  688. vip_dev1_avdd_vol        = 2800000
  689. vip_dev1_dvdd            = "axp22_eldo2"
  690. vip_dev1_dvdd_vol        = 1500000
  691. vip_dev1_afvdd           = ""
  692. vip_dev1_afvdd_vol       = 2800000
  693. vip_dev1_power_en        =
  694. vip_dev1_reset           =
  695. vip_dev1_pwdn            =
  696. vip_dev1_flash_en        =
  697. vip_dev1_flash_mode      =
  698. vip_dev1_af_pwdn         =
  699.  
  700.  
  701.  
  702.  
  703.  
  704. [vip1_para]
  705.  
  706. vip_used                 = 0
  707. vip_mode                 = 0
  708. vip_dev_qty              = 1
  709. vip_csi_pck              = port:PE00<2><default><default><default>
  710. vip_csi_mck              = port:PE01<2><default><default><default>
  711. vip_csi_hsync            = port:PE02<2><default><default><default>
  712. vip_csi_vsync            = port:PE03<2><default><default><default>
  713. vip_csi_d0               = port:PE04<2><default><default><default>
  714. vip_csi_d1               = port:PE05<2><default><default><default>
  715. vip_csi_d2               = port:PE06<2><default><default><default>
  716. vip_csi_d3               = port:PE07<2><default><default><default>
  717. vip_csi_d4               = port:PE08<2><default><default><default>
  718. vip_csi_d5               = port:PE09<2><default><default><default>
  719. vip_csi_d6               = port:PE10<2><default><default><default>
  720. vip_csi_d7               = port:PE11<2><default><default><default>
  721. vip_csi_d8               = port:PE12<2><default><default><default>
  722. vip_csi_d9               = port:PE13<2><default><default><default>
  723. vip_csi_d10              = port:PE14<2><default><default><default>
  724. vip_csi_d11              = port:PE15<2><default><default><default>
  725.  
  726. vip_dev0_mname           = "ov5647"
  727. vip_dev0_twi_id          = 0
  728. vip_dev0_twi_addr        = 0x6c
  729. vip_dev0_isp_used        = 0
  730. vip_dev0_fmt                     = 0
  731. vip_dev0_stby_mode       = 0
  732. vip_dev0_vflip           = 0
  733. vip_dev0_hflip           = 0
  734. vip_dev0_iovdd           = "axp22_eldo3"
  735. vip_dev0_iovdd_vol       = 2800000
  736. vip_dev0_avdd            = "axp22_eldo3"
  737. vip_dev0_avdd_vol        = 2800000
  738. vip_dev0_dvdd            = "axp22_dldo4"
  739. vip_dev0_dvdd_vol        = 1500000
  740. vip_dev0_afvdd           = "axp22_eldo2"
  741. vip_dev0_afvdd_vol       = 2800000
  742. vip_dev0_power_en        = port:PA23<1><default><default><0>
  743. vip_dev0_reset           = port:PA21<1><default><default><0>
  744. vip_dev0_pwdn            = port:PA22<1><default><default><1>
  745. vip_dev0_flash_en        =
  746. vip_dev0_flash_mode      =
  747. vip_dev0_af_pwdn         =
  748.  
  749.  
  750. vip_dev0_act_used        = 1
  751. vip_dev0_act_name        = "ad5820_act"
  752. vip_dev0_act_slave       = 0x18
  753.  
  754.  
  755. vip_dev1_mname           = ""
  756. vip_dev1_twi_id          = 0
  757. vip_dev1_twi_addr        =
  758. vip_dev1_stby_mode       = 0
  759. vip_dev1_isp_used        = 0
  760. vip_dev1_fmt             = 1
  761. vip_dev1_vflip           = 0
  762. vip_dev1_hflip           = 0
  763. vip_dev1_iovdd           = "axp22_eldo3"
  764. vip_dev1_iovdd_vol       = 2800000
  765. vip_dev1_avdd            = "axp22_dldo4"
  766. vip_dev1_avdd_vol        = 2800000
  767. vip_dev1_dvdd            = "axp22_eldo2"
  768. vip_dev1_dvdd_vol        = 1500000
  769. vip_dev1_afvdd           = ""
  770. vip_dev1_afvdd_vol       = 2800000
  771. vip_dev1_power_en        =
  772. vip_dev1_reset           =
  773. vip_dev1_pwdn            =
  774. vip_dev1_flash_en        =
  775. vip_dev1_flash_mode      =
  776. vip_dev1_af_pwdn         =
  777.  
  778. [camera_list_para]
  779. camera_list_para_used   = 0
  780. ov7670                  = 0
  781. gc0308                  = 1
  782. gt2005                  = 0
  783. hi704                   = 0
  784. sp0838                  = 0
  785. mt9m112                 = 0
  786. mt9m113                 = 0
  787. gc2035                  = 1
  788. ov2655                  = 0
  789. hi253                   = 0
  790. gc0307                  = 1
  791. mt9d112                 = 0
  792. ov5640                  = 1
  793. ov5647                  = 1
  794. gc2015                  = 0
  795. ov2643                  = 0
  796. gc0329                  = 0
  797. gc0309                  = 0
  798. tvp5150                 = 0
  799. s5k4ec                  = 0
  800. ov5650_mv9335           = 0
  801. siv121d                 = 0
  802.  
  803. ;--------------------------------------------------------------------------------
  804. ;tv configuration
  805. ;
  806. ;--------------------------------------------------------------------------------
  807. [tvout_para]
  808. tvout_used          =
  809. tvout_channel_num   =
  810. tv_en               =
  811.  
  812. [tvin_para]
  813. tvin_used           = 0
  814. tvin_channel_num    = 4
  815.  
  816. ;--------------------------------------------------------------------------------
  817. ;   SDMMC PINS MAPPING                                                          |
  818. ; ------------------------------------------------------------------------------|
  819. ;   Config Guide                                                                |
  820. ;   sdc_used: 1-enable card, 0-disable card                                     |
  821. ;   sdc_detmode: card detect mode                                               |
  822. ;                1-detect card by gpio polling                                  |
  823. ;                2-detect card by gpio irq(must use IO with irq function)       |
  824. ;                3-no detect, always in for boot card                           |
  825. ;                4-manually insert and remove by /proc/driver/sunxi-mmc.x/insert|
  826. ;   sdc_buswidth: card bus width, 1-1bit, 4-4bit, 8-8bit                        |
  827. ;   sdc_use_wp: 1-with write protect IO, 0-no write protect IO                  |
  828. ;   sdc_isio: for sdio card                                                     |
  829. ;   sdc_regulator: power control.if card supports UHS-I/DDR and HS200 timing for|
  830. ;                  SD3.0 or eMMC4.5, regulator must be configured. the value is |
  831. ;                  the ldo name of AXP221, eg: sdc_regulator = "axp22_eldo2"    |
  832. ;   other: GPIO Mapping configuration                                           |
  833. ; ------------------------------------------------------------------------------|
  834. ;   Note:                                                                       |
  835. ;   1 if detmode=2, sdc_det's config=6                                          |
  836. ;     else if detmode=1, sdc_det's config=0                                     |
  837. ;     else sdc_det IO is not necessary                                          |
  838. ;   2 if the customer wants to support UHS-I and HS200 features, he must provide|
  839. ;     an independent power supply for the card. This is only used in platforms  |
  840. ;     that supports SD3.0 cards and eMMC4.4+ flashes                            |
  841. ;--------------------------------------------------------------------------------
  842. [mmc0_para]
  843. sdc_used          = 1
  844. sdc_detmode       = 3
  845. sdc_buswidth      = 4
  846. sdc_clk           = port:PF02<2><1><2><default>
  847. sdc_cmd           = port:PF03<2><1><2><default>
  848. sdc_d0            = port:PF01<2><1><2><default>
  849. sdc_d1            = port:PF00<2><1><2><default>
  850. sdc_d2            = port:PF05<2><1><2><default>
  851. sdc_d3            = port:PF04<2><1><2><default>
  852. sdc_det           = port:PA4<0><1><default><default>
  853. sdc_use_wp        = 0
  854. sdc_wp            =
  855. sdc_isio          = 0
  856. sdc_regulator     = "none"
  857.  
  858. [mmc1_para]
  859. sdc_used          = 1
  860. sdc_detmode       = 4
  861. sdc_buswidth      = 4
  862. sdc_clk           = port:PG00<2><1><2><default>
  863. sdc_cmd           = port:PG01<2><1><2><default>
  864. sdc_d0            = port:PG02<2><1><2><default>
  865. sdc_d1            = port:PG03<2><1><2><default>
  866. sdc_d2            = port:PG04<2><1><2><default>
  867. sdc_d3            = port:PG05<2><1><2><default>
  868. sdc_det           =
  869. sdc_use_wp        = 0
  870. sdc_wp            =
  871. sdc_isio          = 1
  872. sdc_regulator     = "none"
  873.  
  874. [mmc2_para]
  875. sdc_used          = 1
  876. sdc_detmode       = 4
  877. sdc_buswidth      = 4
  878. sdc_clk           = port:PC07<3><1><2><default>
  879. sdc_cmd           = port:PC06<3><1><2><default>
  880. sdc_d0            = port:PC08<3><1><2><default>
  881. sdc_d1            = port:PC09<3><1><2><default>
  882. sdc_d2            = port:PC10<3><1><2><default>
  883. sdc_d3            = port:PC11<3><1><2><default>
  884. sdc_d4            = port:PC12<3><1><2><default>
  885. sdc_d5            = port:PC13<3><1><2><default>
  886. sdc_d6            = port:PC14<3><1><2><default>
  887. sdc_d7            = port:PC15<3><1><2><default>
  888. emmc_rst          = port:PC24<3><1><2><default>
  889. sdc_det           =
  890. sdc_use_wp        = 0
  891. sdc_wp            =
  892. sdc_isio          = 1
  893. sdc_regulator     = "none"
  894.  
  895. [mmc3_para]
  896. sdc_used          = 0
  897. sdc_detmode       = 2
  898. sdc_buswidth      = 4
  899. sdc_clk           = port:PA10<2><1><2><default>
  900. sdc_cmd           = port:PA09<2><1><2><default>
  901. sdc_d0            = port:PA11<2><1><2><default>
  902. sdc_d1            = port:PA12<2><1><2><default>
  903. sdc_d2            = port:PA13<2><1><2><default>
  904. sdc_d3            = port:PA14<2><1><2><default>
  905. sdc_det           =
  906. sdc_use_wp        = 0
  907. sdc_wp            =
  908. sdc_isio          = 0
  909. sdc_regulator     = "none"
  910.  
  911. ; ------------------------------------------------------------------------------|
  912. ; sim card configuration
  913. ;--------------------------------------------------------------------------------
  914. [smc_para]
  915. smc_used            =
  916. smc_rst             =
  917. smc_vppen           =
  918. smc_vppp            =
  919. smc_det             =
  920. smc_vccen           =
  921. smc_sck             =
  922. smc_sda             =
  923.  
  924.  
  925. ;--------------------------------
  926. ;[usbc0]:控制器0的配置。
  927. ;usb_used:USB使能标志。置1,表示系统中USB模块可用,置0,则表示系统USB禁用。
  928. ;usb_port_type:USB端口的使用情况。 0:device only;1:host only;2:OTG
  929. ;usb_detect_type:USB端口的检查方式。0:不做检测;1:vbus/id检查;2:id/dpdm检查
  930. ;usb_id_gpio:USB ID pin脚配置。具体请参考gpio配置说明。
  931. ;usb_det_vbus_gpio:USB DET_VBUS pin脚配置。具体请参考gpio配置说明。
  932. ;usb_drv_vbus_gpio:USB DRY_VBUS pin脚配置。具体请参考gpio配置说明。
  933. ;usb_det_vbus_gpio: "axp_ctrl",表示axp 提供
  934. ;usb_restrict_gpio  usb限流控制pin
  935. ;usb_restric_flag:  usb限流标置
  936. ;usb_not_suspend:   usb远程唤醒标置,0:不支持,1:支持
  937. ;--------------------------------
  938. ;--------------------------------
  939. ;---       USB0控制标志
  940. ;--------------------------------
  941. [usbc0]
  942. usb_used            = 1
  943. usb_port_type       = 2
  944. usb_detect_type     = 1
  945. usb_id_gpio         = port:PH23<0><1><default><default>
  946. usb_det_vbus_gpio   = "axp_ctrl"
  947. usb_drv_vbus_gpio   = port:power4<1><0><default><0>
  948. usb_restrict_gpio   = port:PC27<1><0><default><0>
  949. usb_host_init_state = 1
  950. usb_restric_flag    = 0
  951. usb_restric_voltage = 3550000
  952. usb_restric_capacity= 5
  953. ;--------------------------------
  954. ;---       USB1控制标志
  955. ;--------------------------------
  956. [usbc1]
  957. usb_used            = 1
  958. usb_port_type       = 1
  959. usb_detect_type     = 0
  960. usb_id_gpio         =
  961. usb_det_vbus_gpio   =
  962. usb_drv_vbus_gpio   =
  963. usb_restrict_gpio   = port:PH26<1><0><default><0>
  964. usb_host_init_state = 1
  965. usb_restric_flag    = 0
  966. usb_not_suspend     = 0
  967.  
  968. ;--------------------------------
  969. ;---       USB2控制标志
  970. ;--------------------------------
  971. [usbc2]
  972. usb_used            = 1
  973. usb_port_type       = 1
  974. usb_detect_type     = 0
  975. usb_id_gpio         =
  976. usb_det_vbus_gpio   =
  977. usb_drv_vbus_gpio   = port:PC27<1><0><default><0>
  978. usb_restrict_gpio   =
  979. usb_host_init_state = 1
  980. usb_restric_flag    = 0
  981. usb_not_suspend     = 0
  982.  
  983. ;--------------------------------
  984. ;---       USB Device
  985. ;--------------------------------
  986. [usb_feature]
  987. vendor_id           = 0x18D1
  988. mass_storage_id     = 0x0001
  989. adb_id              = 0x0002
  990.  
  991. manufacturer_name   = "USB Developer"
  992. product_name        = "Android"
  993. serial_number       = "20080411"
  994.  
  995. [msc_feature]
  996. vendor_name         = "USB 2.0"
  997. product_name        = "USB Flash Driver"
  998. release             = 100
  999. luns                = 3
  1000.  
  1001. [fastboot_feature]
  1002. vendor_id           = 0x1F3A
  1003. mass_storage_id     = 0x1010
  1004. manufacturer_name   = "USB Developer"
  1005. product_name        = "Android Fastboot"
  1006. serial_number       = "20080411"
  1007.  
  1008. [serial_feature]
  1009. serial_unique       = 0
  1010.  
  1011. ;--------------------------------------------------------------------------------
  1012. ; G sensor configuration
  1013. ; gs_twi_id     ---  TWI ID for controlling Gsensor (0: TWI0, 1: TWI1, 2: TWI2)
  1014. ;--------------------------------------------------------------------------------
  1015. [gsensor_para]
  1016. gsensor_used        = 0
  1017. gsensor_twi_id      = 2
  1018. gsensor_twi_addr    = 0x18
  1019. gsensor_int1        = port:PA09<6><1><default><default>
  1020. gsensor_int2        =
  1021.  
  1022. ;--------------------------------------------------------------------------------
  1023. ; gps gpio configuration
  1024. ; gps_spi_id            --- the index of SPI controller. 0: SPI0, 1: SPI1, 2: SPI2, 15: no SPI used
  1025. ; gps_spi_cs_num        --- the chip select number of SPI controller. 0: SPI CS0, 1: SPI CS1
  1026. ; gps_lradc                     --- the lradc number for GPS used. 0 and 1 is valid, set 2 if not use lradc
  1027. ;--------------------------------------------------------------------------------
  1028. [gps_para]
  1029.  
  1030. ;--------------------------------------------------------------------------------
  1031. ;wifi configuration
  1032. ;wifi_sdc_id    ---  0- SDC0, 1- SDC1, 2- SDC2, 3- SDC3
  1033. ;wifi_usbc_id  ---  0- USB0, 1- USB1, 2- USB2
  1034. ;wifi_usbc_type --  1- EHCI(speed 2.0), 2- OHCI(speed 1.0)
  1035. ;wifi_mod_sel   ---  0- none, 1- ap6181, 2- ap6210(wifi+bt),
  1036. ;                    3 - rtl8723as(wifi+bt), 4- rtl8189es(SM89E00),
  1037. ;                    5 - rtl8192cu, 6 - rtl8188eu, 7 - mt6620,
  1038. ;                    8 - rtl8723au, 9 - ap6330(wifi+bt+fm)
  1039. ;--------------------------------------------------------------------------------
  1040. [wifi_para]
  1041. wifi_used          = 1
  1042. wifi_sdc_id        = 2
  1043. wifi_usbc_id       = 1
  1044. wifi_usbc_type     = 1
  1045. wifi_mod_sel       = 1
  1046. wifi_power         = "axp22_aldo1"
  1047.  
  1048. ; 1 - ap6181 sdio wifi gpio config
  1049. ap6xxx_wl_regon      = port:PL8<1><default><default><0>
  1050. ap6xxx_wl_host_wake  = port:PL5<0><default><default><0>
  1051. ap6xxx_gpio_power    = "axp22_dldo2"
  1052. ap6xxx_clk_power     = "axp22_dldo4"
  1053.  
  1054. ; 2 - ap6210 sdio wifi gpio config
  1055. ;ap6xxx_wl_regon      = port:PM00<1><default><default><0>
  1056. ;ap6xxx_wl_host_wake  = port:PM01<0><default><default><0>
  1057. ;ap6xxx_bt_regon      = port:PM03<1><default><default><0>
  1058. ;ap6xxx_bt_wake       = port:PG12<1><default><default><0>
  1059. ;ap6xxx_bt_host_wake  = port:PM04<0><default><default><0>
  1060. ;ap6xxx_gpio_power    = "axp22_dldo2"
  1061. ;ap6xxx_clk_power     = "axp22_dldo4"
  1062.  
  1063. ; 3 - rtl8723as sdio wifi + bt gpio config
  1064. ;rtk_rtl8723as_wl_dis       = port:PG10<1><default><default><0>
  1065. ;rtk_rtl8723as_bt_dis       = port:PG11<1><default><default><0>
  1066. ;rtk_rtl8723as_wl_host_wake = port:PG12<0><default><default><0>
  1067. ;rtk_rtl8723as_bt_host_wake = port:PG17<0><default><default><0>
  1068.  
  1069. ; 4 - rtl8189es sdio wifi gpio config
  1070. ;rtl8189es_shdn         = port:PG10<1><default><default><0>
  1071. ;rtl8189es_wakeup       = port:PG12<1><default><default><1>
  1072.  
  1073. ; 5 - rtl8192cu usb wifi
  1074.  
  1075. ; 6 - rtl8188eu usb wifi
  1076.  
  1077. ; 7 - mt6620 sdio+uart wifi+bt+gps+fm gpio config
  1078. ;mtk_6620_ldo      = port:PL04<1><default><default><0>
  1079. ;mtk_6620_pmu_en   = port:PL05<1><default><default><0>
  1080. ;mtk_6620_sys_rst  = port:PL08<1><default><default><0>
  1081. ;mtk_6620_wifi_int = port:PL06<6><1><default><default>
  1082. ;mtk_6620_bgf_int  = port:PL07<6><1><default><default>
  1083.  
  1084. ; 8 - rtl8723au usb wifi + bt
  1085.  
  1086. ; 9 - ap6330 sdio wifi gpio config
  1087. ;ap6xxx_wl_regon      = port:PM00<1><default><default><0>
  1088. ;ap6xxx_wl_host_wake  = port:PM01<0><default><default><0>
  1089. ;ap6xxx_bt_regon      = port:PM03<1><default><default><0>
  1090. ;ap6xxx_bt_wake       = port:PG12<1><default><default><0>
  1091. ;ap6xxx_bt_host_wake  = port:PM04<0><default><default><0>
  1092. ;ap6xxx_gpio_power    = "axp22_dldo2"
  1093. ;ap6xxx_clk_power     = "axp22_dldo4"
  1094.  
  1095. ;--------------------------------------------------------------------------------
  1096. ;3G configuration
  1097. ;--------------------------------------------------------------------------------
  1098. [3g_para]
  1099. 3g_used                         = 0
  1100. 3g_usbc_num                     = 2
  1101. 3g_uart_num                     = 0
  1102. bb_vbat                         = port:PL03<1><default><default><0>
  1103. bb_host_wake        = port:PM00<1><default><default><0>
  1104. bb_on                           = port:PM01<1><default><default><0>
  1105. bb_pwr_on                       = port:PM03<1><default><default><0>
  1106. bb_wake                         = port:PM04<1><default><default><0>
  1107. bb_rf_dis                       = port:PM05<1><default><default><0>
  1108. bb_rst                          = port:PM06<1><default><default><0>
  1109. 3g_int              =
  1110.  
  1111. ;--------------------------------------------------------------------------------
  1112. ;gyroscope
  1113. ;--------------------------------------------------------------------------------
  1114. [gy_para]
  1115. gy_used             = 0
  1116. gy_twi_id           = 2
  1117. gy_twi_addr         = 0x6a
  1118. gy_int1             = port:PA10<6><1><default><default>
  1119. gy_int2             =
  1120.  
  1121. ;--------------------------------------------------------------------------------
  1122. ;light sensor
  1123. ;--------------------------------------------------------------------------------
  1124. [ls_para]
  1125. ls_used             = 1
  1126. ls_twi_id           = 2
  1127. ls_twi_addr         = 0x23
  1128. ls_int              = port:PA12<6><1><default><default>
  1129.  
  1130. ;--------------------------------------------------------------------------------
  1131. ;compass
  1132. ;--------------------------------------------------------------------------------
  1133. [compass_para]
  1134. compass_used        = 1
  1135. compass_twi_id      = 2
  1136. compass_twi_addr    = 0x0d
  1137. compass_int         = port:PA11<6><1><default><default>
  1138.  
  1139. ;--------------------------------------------------------------------------------
  1140. ;blue tooth
  1141. ;bt_used                        ---- blue tooth used (0- no used, 1- used)
  1142. ;bt_uard_id                     ---- uart index
  1143. ;--------------------------------------------------------------------------------
  1144. [bt_para]
  1145. bt_used             = 1
  1146. bt_uart_id          = 2
  1147. bt_wakeup           =
  1148. bt_gpio             =
  1149. bt_rst              =
  1150.  
  1151. ;--------------------------------------------------------------------------------
  1152. ;i2s_master:1: SND_SOC_DAIFMT_CBM_CFM(codec clk & FRM master)        use
  1153. ;                       2: SND_SOC_DAIFMT_CBS_CFM(codec clk slave & FRM master)  not use
  1154. ;                       3: SND_SOC_DAIFMT_CBM_CFS(codec clk master & frame slave) not use
  1155. ;                       4: SND_SOC_DAIFMT_CBS_CFS(codec clk & FRM slave)         use
  1156. ;i2s_select:0 is pcm.1 is i2s
  1157. ;audio_format: 1:SND_SOC_DAIFMT_I2S(standard i2s format).            use
  1158. ;                          2:SND_SOC_DAIFMT_RIGHT_J(right justfied format).
  1159. ;                          3:SND_SOC_DAIFMT_LEFT_J(left justfied format)
  1160. ;                          4:SND_SOC_DAIFMT_DSP_A(pcm. MSB is available on 2nd BCLK rising edge after LRC rising edge). use
  1161. ;                          5:SND_SOC_DAIFMT_DSP_B(pcm. MSB is available on 1nd BCLK rising edge after LRC rising edge)
  1162. ;signal_inversion:1:SND_SOC_DAIFMT_NB_NF(normal bit clock + frame)  use
  1163. ;                                 2:SND_SOC_DAIFMT_NB_IF(normal BCLK + inv FRM)
  1164. ;                                 3:SND_SOC_DAIFMT_IB_NF(invert BCLK + nor FRM)  use
  1165. ;                                 4:SND_SOC_DAIFMT_IB_IF(invert BCLK + FRM)
  1166. ;over_sample_rate: support 128fs/192fs/256fs/384fs/512fs/768fs
  1167. ;sample_resolution      :16bits/20bits/24bits
  1168. ;word_select_size       :16bits/20bits/24bits/32bits
  1169. ;pcm_sync_period        :16/32/64/128/256
  1170. ;msb_lsb_first          :0: msb first; 1: lsb first
  1171. ;sign_extend            :0: zero pending; 1: sign extend
  1172. ;slot_index             :slot index: 0: the 1st slot - 3: the 4th slot
  1173. ;slot_width             :8 bit width / 16 bit width
  1174. ;frame_width            :0: long frame = 2 clock width;  1: short frame
  1175. ;tx_data_mode           :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
  1176. ;rx_data_mode           :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
  1177. ;--------------------------------------------------------------------------------
  1178. [i2s_para]
  1179. i2s_used            = 1
  1180. i2s_channel         = 2
  1181. i2s_master          = 1
  1182. i2s_select          = 0
  1183. audio_format        = 4
  1184. signal_inversion    = 3
  1185. over_sample_rate    = 256
  1186. sample_resolution   = 16
  1187. word_select_size    = 32
  1188. pcm_sync_period     = 256
  1189. msb_lsb_first       = 0
  1190. sign_extend         = 0
  1191. slot_index          = 0
  1192. slot_width          = 16
  1193. frame_width         = 1
  1194. tx_data_mode        = 0
  1195. rx_data_mode        = 0
  1196. i2s_mclk            =
  1197. i2s_bclk            = port:PB01<2><1><default><default>
  1198. i2s_lrclk           = port:PB02<2><1><default><default>
  1199. i2s_dout0           = port:PB03<2><1><default><default>
  1200. i2s_dout1           =
  1201. i2s_dout2           =
  1202. i2s_dout3           =
  1203. i2s_din             = port:PB07<2><1><default><default>
  1204.  
  1205. ;--------------------------------------------------------------------------------
  1206. ;pcm_master:1: SND_SOC_DAIFMT_CBM_CFM(codec clk & FRM master)        use
  1207. ;                       2: SND_SOC_DAIFMT_CBS_CFM(codec clk slave & FRM master)  not use
  1208. ;                       3: SND_SOC_DAIFMT_CBM_CFS(codec clk master & frame slave) not use
  1209. ;                       4: SND_SOC_DAIFMT_CBS_CFS(codec clk & FRM slave)         use
  1210. ;pcm_select:1 is pcm.0 is i2s
  1211. ;audio_format: 1:SND_SOC_DAIFMT_I2S(standard i2s format).            use
  1212. ;                          2:SND_SOC_DAIFMT_RIGHT_J(right justfied format).
  1213. ;                          3:SND_SOC_DAIFMT_LEFT_J(left justfied format)
  1214. ;                          4:SND_SOC_DAIFMT_DSP_A(pcm. MSB is available on 2nd BCLK rising edge after LRC rising edge). use
  1215. ;                          5:SND_SOC_DAIFMT_DSP_B(pcm. MSB is available on 1nd BCLK rising edge after LRC rising edge)
  1216. ;signal_inversion:1:SND_SOC_DAIFMT_NB_NF(normal bit clock + frame)  use
  1217. ;                                 2:SND_SOC_DAIFMT_NB_IF(normal BCLK + inv FRM)
  1218. ;                                 3:SND_SOC_DAIFMT_IB_NF(invert BCLK + nor FRM)  use
  1219. ;                                 4:SND_SOC_DAIFMT_IB_IF(invert BCLK + FRM)
  1220. ;over_sample_rate: support 128fs/192fs/256fs/384fs/512fs/768fs
  1221. ;sample_resolution      :16bits/20bits/24bits
  1222. ;word_select_size       :16bits/20bits/24bits/32bits
  1223. ;pcm_sync_period        :16/32/64/128/256
  1224. ;msb_lsb_first          :0: msb first; 1: lsb first
  1225. ;sign_extend            :0: zero pending; 1: sign extend
  1226. ;slot_index             :slot index: 0: the 1st slot - 3: the 4th slot
  1227. ;slot_width             :8 bit width / 16 bit width
  1228. ;frame_width            :0: long frame = 2 clock width;  1: short frame
  1229. ;tx_data_mode           :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
  1230. ;rx_data_mode           :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
  1231. ;--------------------------------------------------------------------------------
  1232. [pcm_para]
  1233. pcm_used            = 1
  1234. pcm_channel         = 2
  1235. pcm_master          = 4
  1236. pcm_select          = 1
  1237. audio_format        = 4
  1238. signal_inversion    = 3
  1239. over_sample_rate    = 512
  1240. sample_resolution   = 16
  1241. word_select_size    = 32
  1242. pcm_sync_period     = 64
  1243. msb_lsb_first       = 0
  1244. sign_extend         = 0
  1245. slot_index          = 0
  1246. slot_width          = 16
  1247. frame_width         = 1
  1248. tx_data_mode        = 0
  1249. rx_data_mode        = 0
  1250. pcm_mclk            =
  1251. pcm_bclk            = port:PG13<3><1><default><default>
  1252. pcm_lrclk           = port:PG14<3><1><default><default>
  1253. pcm_dout            = port:PG16<3><1><default><default>
  1254. pcm_din             = port:PG15<3><1><default><default>
  1255.  
  1256. [spdif_para]
  1257. spdif_used          = 1
  1258. spdif_dout          = port:PH28<3><1><default><default>
  1259. spdif_din           = port:PH27<3><1><default><default>
  1260.  
  1261. ;--------------------------------------------------------------------------------
  1262. ;pa_single_vol,pa_double_vol: 31 level,1.5db/step.0x1f is the large volume.
  1263. ;cap_vol:use for system record,0x0--0db,0x1--24db,0x2--27db,0x3--30db,0x4--33db,0x5--36db,0x6--39db,0x7--42db
  1264. ;headphone_vol,earpiece_vol: must least than 0x3b. 0x1 is a step.
  1265. ;headset_mic_vol: headset mic(mic2) vol,use for phone headset mic call
  1266. ;main_mic_vol: main mic(mic1) vol,use for phone main mic call
  1267. ;--------------------------------------------------------------------------------
  1268. [audio_para]
  1269. audio_used         = 1
  1270. audio_hp_ldo       = "none"
  1271. headphone_vol      = 0x3b
  1272. earpiece_vol       = 0x3b
  1273. cap_vol            = 0x5
  1274. pa_single_vol      = 0x19
  1275. pa_double_used     = 0
  1276. pa_double_vol      = 0x1f
  1277. headphone_direct_used   = 0
  1278. headphone_mute_used     = 0
  1279. audio_pa_ctrl           = port:PH24<1><default><default><0>
  1280. audio_mute_ctrl         =
  1281. headset_mic_vol    = 6
  1282. main_mic_vol       = 6
  1283.  
  1284. ;----------------------------------------------------------------------------------
  1285. ;ir --- infra remote configuration
  1286. ;----------------------------------------------------------------------------------
  1287. [ir_para]
  1288. ir_used             = 1
  1289. ir_rx               = port:PL04<2><1><default><default>
  1290. ir_power_key_code   = 0x57
  1291. ir_addr_code                            = 0x9f00
  1292.  
  1293. [axp_para]
  1294. axp_num          = 1
  1295. axp_0            = "axp22_dldo4"
  1296. ;axp_1           = "axp22_dldo1"
  1297.  
  1298. ;----------------------------------------------------------------------------------                                  
  1299. ;gpio configuration
  1300. ;----------------------------------------------------------------------------------
  1301. [boot_init_gpio]                    
  1302. use                = 1
  1303. gpio_pin_1         = port:PH13<1><default><default><1>
  1304.  
  1305. ;-------------------------------------------------------------------------------------
  1306. ;pmu_used                    ---0:not used,1:used
  1307. ;pmu_twi_addr                ---slave address
  1308. ;pmu_twi_id                  ---i2c bus number (0 TWI0, 1 TWI2, 2 TWI3)
  1309. ;pmu_irq_id                  ---irq number (0 irq0,1 irq1,……)
  1310. ;pmu_battery_rdc             ---battery initial resistance
  1311. ;pmu_battery_cap             ---battery capability,mAh
  1312. ;pmu_batdeten                ---battery detect en;0:disable 1:enable
  1313. ;pmu_runtime_chgcur          ---set initial charging current limite,mA,300/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
  1314. ;pmu_earlysuspend_chgcur     ---set earlysuspend charging current limite,mA,300/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
  1315. ;pmu_suspend_chgcur          ---set suspend charging current limite,mA,300/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
  1316. ;pmu_shutdown_chgcur         ---set shutdown charging current limite,mA,300/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
  1317. ;pmu_init_chgvol             ---set initial charing target voltage,mV,4100/4220/4200/4240
  1318. ;pmu_init_chgend_rate        ---set initial charing end current  rate,10/15
  1319. ;pmu_init_chg_enabled        ---set initial charing enabled,0:disable,1:enable
  1320. ;pmu_init_adc_freq           ---set initial adc frequency,Hz,100/200/400/800
  1321. ;pmu_init_adcts_freq         ---set initial adc TS,Hz,100/200/400/800
  1322. ;pmu_init_chg_pretime        ---set initial pre-charging time,min,40/50/60/70
  1323. ;pmu_init_chg_csttime        ---set initial constance-charging time,min,360/480/600/720
  1324. ;pmu_batt_cap_correct        ---correct the battery capacity or not when one charge cycle 0:not correct 1:correct
  1325. ;pmu_bat_regu_en                         ---bat regulator is enable or not when charge done 0:disable 1:enable
  1326. ;pmu_bat_para1                                   ---battery indication at 3.13V
  1327. ;pmu_bat_para2               ---battery indication at 3.27V
  1328. ;pmu_bat_para3               ---battery indication at 3.34V
  1329. ;pmu_bat_para4               ---battery indication at 3.41V
  1330. ;pmu_bat_para5               ---battery indication at 3.48V
  1331. ;pmu_bat_para6               ---battery indication at 3.52V
  1332. ;pmu_bat_para7               ---battery indication at 3.55V
  1333. ;pmu_bat_para8               ---battery indication at 3.57V
  1334. ;pmu_bat_para9               ---battery indication at 3.59V
  1335. ;pmu_bat_para10              ---battery indication at 3.61V
  1336. ;pmu_bat_para11              ---battery indication at 3.63V
  1337. ;pmu_bat_para12              ---battery indication at 3.64V
  1338. ;pmu_bat_para13              ---battery indication at 3.66V
  1339. ;pmu_bat_para14              ---battery indication at 3.7V
  1340. ;pmu_bat_para15              ---battery indication at 3.73V
  1341. ;pmu_bat_para16              ---battery indication at 3.77V
  1342. ;pmu_bat_para17              ---battery indication at 3.78V
  1343. ;pmu_bat_para18              ---battery indication at 3.8V
  1344. ;pmu_bat_para19              ---battery indication at 3.82V
  1345. ;pmu_bat_para20              ---battery indication at 3.84V
  1346. ;pmu_bat_para21              ---battery indication at 3.85V
  1347. ;pmu_bat_para22              ---battery indication at 3.87V
  1348. ;pmu_bat_para23              ---battery indication at 3.91V
  1349. ;pmu_bat_para24              ---battery indication at 3.94V
  1350. ;pmu_bat_para25              ---battery indication at 3.98V
  1351. ;pmu_bat_para26              ---battery indication at 4.01V
  1352. ;pmu_bat_para27              ---battery indication at 4.05V
  1353. ;pmu_bat_para28              ---battery indication at 4.08V
  1354. ;pmu_bat_para29              ---battery indication at 4.1V
  1355. ;pmu_bat_para30              ---battery indication at 4.12V
  1356. ;pmu_bat_para31              ---battery indication at 4.14V
  1357. ;pmu_bat_para32              ---battery indication at 4.15V
  1358. ;pmu_usbvol_limit            ---set usb-ac limited voltage enable,1:enable,0:disable
  1359. ;pmu_usbcur_limit            ---set usb-ac limited current enable,1:enable,0:disable
  1360. ;pmu_usbvol                  ---set usb-ac limited voltage level,mV,4000/4100/4200/4300/4400/4500/4600/4700,0 - not limite
  1361. ;pmu_usbcur                  ---set usb-ac limited current level,mA,500/900, 0 - not limite
  1362. ;pmu_usbvol_pc               ---set usb-pc limited voltage level,mV,4000/4100/4200/4300/4400/4500/4600/4700,0 - not limite
  1363. ;pmu_usbcur_pc               ---set usb-pc limited current level,mA,500/900, 0 - not limite
  1364. ;pmu_pwroff_vol              ---set protect voltage when system start up,mV,2600/2700/2800/2900/3000/3100/3200/3300
  1365. ;pmu_pwron_vol               ---set protect voltage after system start up,mV,2600/2700/2800/2900/3000/3100/3200/3300
  1366. ;pmu_pekoff_time             ---set pek off time,ms, 4000/6000/8000/10000
  1367. ;pmu_pekoff_func             ---set pek off func, 0:shutdown,1:restart
  1368. ;pmu_pekoff_en               ---set pek offlevel powerdown or not, 0:not powerdown,1:powerdown
  1369. ;pmu_peklong_time            ---set pek pek long irq time,ms,1000/1500/2000/2500
  1370. ;pmu_pekon_time              ---set pek on time,ms,128/1000/2000/3000
  1371. ;pmu_pwrok_time              ---set pmu pwrok delay time,ms,8/16/32/64
  1372. ;pmu_battery_warning_level1  ---low power warning high level,5%-20%,1%/step
  1373. ;pmu_battery_warning_level2  ---low power warning low level,0%-15%,1%/step
  1374. ;pmu_restvol_time            ---battery indicaton reflash time,30/60/120/
  1375. ;pmu_ocv_cou_adjust_time     ---ocv battery indication reflash time,60/120/30
  1376. ;pmu_chgled_func             ---CHGKED pin control,0:controlled by pmu,1:controlled by Charger
  1377. ;pmu_chgled_type             ---CHGLED Type select when pmu_chgled_func=0,0:Type A,1:Type B
  1378. ;pmu_vbusen_func             ---N_VBUSEN function select,0:as an output,1:as an input
  1379. ;pmu_reset                   ---when power key press longer than 16's,PMU reset or not.0:not reset 1:reset
  1380. ;pmu_IRQ_wakeup              ---press IRQ wakeup or not when sleep or power down.0:not wakeup 1:wakeup
  1381. ;pmu_hot_shutdowm            ---when PMU over temperature protect or not;0:disable 1:enable
  1382. ;pmu_inshort                 ---ACIN and VBUS inshort or not by software;0:auto detect 1:inshort
  1383. ;pmu_fake_power_off_enable   ---when 1 then PMU is not really power off and when 0 PMU is really power off
  1384. ;pmu_temp_protect_en         --- 0:temperature protect disable 1:enable
  1385. ;pmu_charge_ltf              ---
  1386. ;pmu_charge_htf              ---
  1387. ;pmu_discharge_ltf           ---
  1388. ;pmu_discharge_htf           ---
  1389. ;pmu_temp_para1              --- temp -25 voltage
  1390. ;pmu_temp_para2              --- temp -15 voltage
  1391. ;pmu_temp_para3              --- temp -10 voltage
  1392. ;pmu_temp_para4              --- temp -5  voltage
  1393. ;pmu_temp_para5              --- temp  0  voltage
  1394. ;pmu_temp_para6              --- temp  5  voltage
  1395. ;pmu_temp_para7              --- temp  10 voltage
  1396. ;pmu_temp_para8              --- temp  20 voltage
  1397. ;pmu_temp_para9              --- temp  30 voltage
  1398. ;pmu_temp_para10             --- temp  40 voltage
  1399. ;pmu_temp_para11             --- temp  45 voltage
  1400. ;pmu_temp_para12             --- temp  50 voltage
  1401. ;pmu_temp_para13             --- temp  55 voltage
  1402. ;pmu_temp_para14             --- temp  60 voltage
  1403. ;pmu_temp_para15             --- temp  70 voltage
  1404. ;pmu_temp_para16             --- temp  80 voltage
  1405. ;--------------------------------------------------------------------------------------------------------
  1406. [pmu_para]
  1407. pmu_used                   = 1
  1408. pmu_twi_addr               = 0x34
  1409. pmu_twi_id                 = 1
  1410. pmu_irq_id                 = 0
  1411. pmu_battery_rdc            = 100
  1412. pmu_battery_cap            = 0
  1413. pmu_batdeten               = 1
  1414. pmu_runtime_chgcur         = 900
  1415. pmu_earlysuspend_chgcur    = 900
  1416. pmu_suspend_chgcur         = 1500
  1417. pmu_shutdown_chgcur        = 1500
  1418. pmu_init_chgvol            = 4200
  1419. pmu_init_chgend_rate       = 15
  1420. pmu_init_chg_enabled       = 1
  1421. pmu_init_adc_freq          = 800
  1422. pmu_init_adcts_freq        = 800
  1423. pmu_init_chg_pretime       = 70
  1424. pmu_init_chg_csttime       = 720
  1425. pmu_batt_cap_correct       = 1
  1426. pmu_bat_regu_en            = 0
  1427.  
  1428. pmu_bat_para1              = 0
  1429. pmu_bat_para2              = 0
  1430. pmu_bat_para3              = 0
  1431. pmu_bat_para4              = 0
  1432. pmu_bat_para5              = 0
  1433. pmu_bat_para6              = 0
  1434. pmu_bat_para7              = 0
  1435. pmu_bat_para8              = 0
  1436. pmu_bat_para9              = 5
  1437. pmu_bat_para10             = 8
  1438. pmu_bat_para11             = 9
  1439. pmu_bat_para12             = 10
  1440. pmu_bat_para13             = 13
  1441. pmu_bat_para14             = 16
  1442. pmu_bat_para15             = 20
  1443. pmu_bat_para16             = 33
  1444. pmu_bat_para17             = 41
  1445. pmu_bat_para18             = 46
  1446. pmu_bat_para19             = 50
  1447. pmu_bat_para20             = 53
  1448. pmu_bat_para21             = 57
  1449. pmu_bat_para22             = 61
  1450. pmu_bat_para23             = 67
  1451. pmu_bat_para24             = 73
  1452. pmu_bat_para25             = 78
  1453. pmu_bat_para26             = 84
  1454. pmu_bat_para27             = 88
  1455. pmu_bat_para28             = 92
  1456. pmu_bat_para29             = 93
  1457. pmu_bat_para30             = 94
  1458. pmu_bat_para31             = 95
  1459. pmu_bat_para32             = 100
  1460.  
  1461. pmu_usbvol_limit           = 0
  1462. pmu_usbcur_limit           = 0
  1463. pmu_usbvol                 = 4000
  1464. pmu_usbcur                 = 0
  1465. pmu_usbvol_pc              = 4400
  1466. pmu_usbcur_pc              = 500
  1467. pmu_pwroff_vol             = 3300
  1468. pmu_pwron_vol              = 2600
  1469. pmu_pekoff_time            = 4000
  1470. pmu_pekoff_func            = 1
  1471. pmu_pekoff_en              = 1
  1472. pmu_peklong_time           = 1000
  1473. pmu_pekon_time             = 1000
  1474. pmu_pwrok_time             = 64
  1475. pmu_battery_warning_level1 = 3
  1476. pmu_battery_warning_level2 = 0
  1477. pmu_restvol_adjust_time    = 60
  1478. pmu_ocv_cou_adjust_time    = 60
  1479. pmu_chgled_func            = 0
  1480. pmu_chgled_type            = 0
  1481. pmu_vbusen_func            = 1
  1482. pmu_reset                  = 0
  1483. pmu_IRQ_wakeup             = 0
  1484. pmu_hot_shutdowm           = 1
  1485. pmu_inshort                = 0
  1486. power_start                = 1
  1487. pmu_fake_power_off_enable  = 0
  1488. pmu_temp_protect_en        = 0
  1489. pmu_charge_ltf             = 2261
  1490. pmu_charge_htf             = 388
  1491. pmu_discharge_ltf          = 3123
  1492. pmu_discharge_htf          = 237
  1493. pmu_temp_para1             = 7748
  1494. pmu_temp_para2             = 4610
  1495. pmu_temp_para3             = 3605
  1496. pmu_temp_para4             = 2843
  1497. pmu_temp_para5             = 2261
  1498. pmu_temp_para6             = 1811
  1499. pmu_temp_para7             = 1462
  1500. pmu_temp_para8             = 972
  1501. pmu_temp_para9             = 662
  1502. pmu_temp_para10            = 461
  1503. pmu_temp_para11            = 388
  1504. pmu_temp_para12            = 328
  1505. pmu_temp_para13            = 278
  1506. pmu_temp_para14            = 237
  1507. pmu_temp_para15            = 175
  1508. pmu_temp_para16            = 130
  1509. ;----------------------------------------------------------------------------------
  1510. ; dvfs voltage-frequency table configuration for general ic version
  1511. ;
  1512. ; max_freq: cpu maximum frequency, based on Hz, can not be more than 1008MHz
  1513. ; min_freq: cpu minimum frequency, based on Hz, can not be less than 96MHz
  1514. ;
  1515. ; temp_limit_freq: cpu maximum frequency according to tempreture limit
  1516. ; temp_limit_high: set cpu max freq to temp_limit_freq when tempreture > temp_limit_high
  1517. ; temp_limit_low:  set cpu max freq to max_freq when tempreture < temp_limit_low
  1518. ; temp_limit_low must be less than temp_limit_high, otherwise invalid
  1519. ;
  1520. ; LV_count: count of LV_freq/LV_volt, must be < 16
  1521. ;
  1522. ; LV1: core vdd is 1.26v if cpu frequency is (1104Mhz,  xxxxMhz]
  1523. ; LV2: core vdd is 1.26v if cpu frequency is (1056Mhz,  1104Mhz]
  1524. ; LV3: core vdd is 1.20v if cpu frequency is (864Mhz,   1056Mhz]
  1525. ; LV4: core vdd is 1.10v if cpu frequency is (720Mhz,   864Mhz]
  1526. ; LV5: core vdd is 1.00v if cpu frequency is (480Mhz,   720Mhz]
  1527. ; LV6: core vdd is 0.90v if cpu frequency is (0Mhz,     480Mhz]
  1528. ; LV7: core vdd is 0.90v if cpu frequency is (0Mhz,     480Mhz]
  1529. ; LV8: core vdd is 0.90v if cpu frequency is (0Mhz,     480Mhz]
  1530. ;
  1531. ;----------------------------------------------------------------------------------
  1532. [dvfs_table]
  1533. max_freq = 1200000000
  1534. min_freq = 120000000
  1535.  
  1536. temp_limit_freq = 1008000000
  1537. temp_limit_high = 85
  1538. temp_limit_low  = 75
  1539.  
  1540. LV_count = 8
  1541.  
  1542. LV1_freq = 1200000000
  1543. LV1_volt = 1500
  1544.  
  1545. LV2_freq = 1116000000
  1546. LV2_volt = 1400
  1547.  
  1548. LV3_freq = 1008000000
  1549. LV3_volt = 1260
  1550.  
  1551. LV4_freq = 864000000
  1552. LV4_volt = 1200
  1553.  
  1554. LV5_freq = 720000000
  1555. LV5_volt = 1100
  1556.  
  1557. LV6_freq = 480000000
  1558. LV6_volt = 1000
  1559.  
  1560. LV7_freq = 0
  1561. LV7_volt = 1000
  1562.  
  1563. LV8_freq = 0
  1564. LV8_volt = 1000
  1565.  
  1566. ;----------------------------------------------------------------------------------
  1567. ; dvfs voltage-frequency table configuration for ic D version
  1568. ;
  1569. ; max_freq: cpu maximum frequency, based on Hz, can not be more than 1008MHz
  1570. ; min_freq: cpu minimum frequency, based on Hz, can not be less than 96MHz
  1571. ;
  1572. ; temp_limit_freq: cpu maximum frequency according to tempreture limit
  1573. ; temp_limit_high: set cpu max freq to temp_limit_freq when tempreture > temp_limit_high
  1574. ; temp_limit_low:  set cpu max freq to max_freq when tempreture < temp_limit_low
  1575. ; temp_limit_low must be less than temp_limit_high, otherwise invalid
  1576. ;
  1577. ; LV_count: count of LV_freq/LV_volt, must be < 16
  1578. ;
  1579. ; LV1: core vdd is 1.20v if cpu frequency is (1116Mhz,  xxxxMhz]
  1580. ; LV2: core vdd is 1.16v if cpu frequency is (1056Mhz,  1116Mhz]
  1581. ; LV3: core vdd is 1.10v if cpu frequency is (900Mhz,   1056Mhz]
  1582. ; LV4: core vdd is 1.06v if cpu frequency is (828Mhz,   900Mhz]
  1583. ; LV5: core vdd is 1.00v if cpu frequency is (720Mhz,   828Mhz]
  1584. ; LV6: core vdd is 0.96v if cpu frequency is (600Mhz,   720Mhz]
  1585. ; LV7: core vdd is 0.90v if cpu frequency is (0Mhz,     480Mhz]
  1586. ; LV8: core vdd is 0.90v if cpu frequency is (0Mhz,     480Mhz]
  1587. ;
  1588. ;----------------------------------------------------------------------------------
  1589. [ver_d_dvfs_table]
  1590. max_freq = 1200000000
  1591. min_freq = 120000000
  1592.  
  1593. temp_limit_freq = 1008000000
  1594. temp_limit_high = 85
  1595. temp_limit_low  = 75
  1596.  
  1597. LV_count = 8
  1598.  
  1599. LV1_freq = 1200000000
  1600. LV1_volt = 1340
  1601.  
  1602. LV2_freq = 1008000000
  1603. LV2_volt = 1200
  1604.  
  1605. LV3_freq = 828000000
  1606. LV3_volt = 1100
  1607.  
  1608. LV4_freq = 720000000
  1609. LV4_volt = 1060
  1610.  
  1611. LV5_freq = 480000000
  1612. LV5_volt = 1020
  1613.  
  1614. LV6_freq = 0
  1615. LV6_volt = 1020
  1616.  
  1617. LV7_freq = 0
  1618. LV7_volt = 1020
  1619.  
  1620. LV8_freq = 0
  1621. LV8_volt = 1020
  1622.  
  1623. ;----------------------------------------------------------------------------------
  1624. ;cpus config parameters
  1625. ;cpus_uart_debug_used  --r_uart whether used for cpus debugging
  1626. ;
  1627. ;----------------------------------------------------------------------------------
  1628. [cpus_config_paras]
  1629. cpus_uart_debug_used = 1
  1630.  
  1631. ;----------------------------------------------------------------------------------
  1632. ;boot display configuration
  1633. ;output_type  (0:none; 1:lcd; 2:tv; 3:hdmi; 4:vga)
  1634. ;output_mode  (used for tv/hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50 5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60 11:pal 14:ntsc)
  1635. ;output_mode  (used for vga output, 0:1680*1050 1:1440*900 2:1360*768 3:1280*1024 4:1024*768 5:800*600 6:640*480 10:1920*1080 11:1280*720)
  1636. ;tv_mode      (used for tv output, 0:480i 1:576i 2:480p 3:576p 4:720p50 5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60 11:pal 14:ntsc)
  1637. ;auto_hpd     (auto detect hdmi/cvbs/ypbpr plug in)
  1638. ;----------------------------------------------------------------------------------
  1639. [boot_disp]
  1640. output_type              = 2
  1641. output_mode              = 5
  1642. auto_hpd                 = 1
  1643. tv_mode                  = 11
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top