Guest User

Untitled

a guest
Aug 26th, 2018
266
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;sun50iw6p1 application
  2. ;---------------------------------------------------------------------------------------------------------
  3. ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
  4. ; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态>
  5. ;---------------------------------------------------------------------------------------------------------
  6.  
  7. [product]
  8. version = "100"
  9. machine = "petrel-p1"
  10.  
  11. [platform]
  12. eraseflag = 1
  13.  
  14. ;----------------------------------------------------------------------------------
  15. ; burn_key: 0-do not use dragonKey 1-use dragonKey
  16. ; dragonboard_test: 0-build dragonboard for flash boot 1-build dragonboard for TF boot
  17. ; power_mode: 0-use axp 1-use dummy axp
  18. ; advert_enable 0-close advert logo 1-open advert logo (只有多核启动下有效)
  19. ;----------------------------------------------------------------------------------
  20. [target]
  21. boot_clock = 1320
  22. storage_type = -1
  23. burn_key = 0
  24. dragonboard_test = 0
  25. power_mode = 0
  26. advert_enable = 0
  27.  
  28. [secure]
  29. dram_region_mbytes = 80
  30. drm_region_mbytes = 0
  31. drm_region_start_mbytes = 0
  32.  
  33. [power_sply]
  34. dcdca_vol = 1001000
  35. dcdcd_vol = 1001000
  36. aldo2_vol = 1003300
  37. aldo3_vol = 1003300
  38. bldo2_vol = 1001800
  39. cldo1_vol = 1003300
  40. cldo2_vol = 1003300
  41. cldo3_vol = 1003300
  42.  
  43. ;---------------------------------------------
  44. ;
  45. ; normal config: eg. px_bias = "pmu_name:supply_name:voltage"
  46. ;
  47. ; pmu_name = axp809, axp806
  48. ; supply_name = dcdc1, dcdc2, aldo1, gpio1ldo, etc...
  49. ;---------------------------------------------
  50. [gpio_bias]
  51. pc_bias = "axp806:bldo2:1800"
  52. pg_bias = "axp806:bldo3:1800"
  53.  
  54.  
  55. ;----------------------------------------------------------------------------------
  56. ; ir_boot_recovery_used : 1: used this function 0: not used
  57. ; ir_work_mode : 模式选择
  58. ; 0: 刷机,
  59. ; 1: 一键恢复(uboot阶段),
  60. ; 2: 安卓recovery,
  61. ; 3: 安卓恢复出厂设置.
  62. ; 如果不设置,默认为安卓recovery .
  63. ; ir_press_times : ir遥控器连续按几次才生效,如果不设置默认为按1次生效
  64. ; ir_detect_time : ir遥控检测时间,单位:ms,如果不设置默认为3000ms
  65. ; ir_recovery_key_code0 : ir check key code
  66. ; ir_addr_code0 : ir key addr
  67. ; you can increase ir support num, like:
  68. ; ir_recovery_key_code1, or 2, 3, but limit to 16
  69. ;----------------------------------------------------------------------------------
  70. [ir_boot_recovery]
  71. ir_boot_recovery_used = 0
  72. ir_work_mode = 1
  73. ir_press_times = 1
  74. ir_detect_time = 2000
  75. ir_recovery_key_code0 = 0x57
  76. ir_addr_code0 = 0x9f00
  77.  
  78.  
  79. ;----------------------------------------------------------------------------------
  80. ; sprite_gpio0: led that indicates the state of card product
  81. ; next_work: the action after finishing card product 2-reboot 3-shutdown
  82. ;----------------------------------------------------------------------------------
  83. [card_boot]
  84. logical_start = 40960
  85. sprite_gpio0 = port:PL04<1><default><default><1>
  86. next_work = 3
  87.  
  88. ;----------------------------------------------------------------------------------
  89. ; used : 模块使能端, 1:开启,0:关闭
  90. ; press_mode_enable : 长短按模式使能,1:开启,0:关闭
  91. ; a)如果开启了该模式,则key_work_mode失效,short_press_mode和long_press_mode生>效,
  92. ; recovery按键可以通过长按和短按来触发两种不同的模式;
  93. ; b)如果关闭了该模式,则key_work_mode生效,recovery按键只能触发一种模式.
  94. ; key_work_mode : 模式选择
  95. ; 0: 刷机,
  96. ; 1: 一键恢复(uboot阶段),
  97. ; 2: 安卓recovery,
  98. ; 3: 安卓恢复出厂设置.
  99. ; 如果不设置,模式为安卓recovery.
  100. ; short_press_mode : 长按触发的模式,选项同上.
  101. ; long_press_mode : 短按触发的模式,选项同上.
  102. ; key_press_time : 定义长按的时间,单位:毫秒.
  103. ; recovery_key : 按键配置.
  104. ;----------------------------------------------------------------------------------
  105. [key_boot_recovery]
  106. used = 1
  107. press_mode_enable = 0
  108. key_work_mode = 1
  109. short_press_mode = 0
  110. long_press_mode = 1
  111. key_press_time = 2000
  112. recovery_key = port:PL02<0><default><default><default>
  113.  
  114. ;----------------------------------------------------------------------------------
  115. ; GPIO init on uboot
  116. ; PH02 - for hdmi scdc control
  117. ;----------------------------------------------------------------------------------
  118. [boot_init_gpio]
  119. boot_init_gpio_used = 1
  120. gpio0 = port:PL07<1><default><default><1>
  121. gpio1 = port:PA03<1><default><default><0>
  122. gpio2 = port:PH02<1><default><default><1>
  123.  
  124.  
  125. ;---------------------------------------------------------------------------------------------------------
  126. ; if 1 == standby_mode, then support super standby;
  127. ; else, support normal standby.
  128. ;---------------------------------------------------------------------------------------------------------
  129. [pm_para]
  130. standby_mode = 1
  131.  
  132. [card0_boot_para]
  133. card_ctrl = 0
  134. card_high_speed = 1
  135. card_line = 4
  136. sdc_d1 = port:PF0<2><1><2><default>
  137. sdc_d0 = port:PF1<2><1><2><default>
  138. sdc_clk = port:PF2<2><1><2><default>
  139. sdc_cmd = port:PF3<2><1><2><default>
  140. sdc_d3 = port:PF4<2><1><2><default>
  141. sdc_d2 = port:PF5<2><1><2><default>
  142.  
  143. [card2_boot_para]
  144. card_ctrl = 2
  145. card_high_speed = 1
  146. card_line = 8
  147. sdc_ds = port:PC01<3><1><3><default>
  148. sdc_clk = port:PC04<3><1><3><default>
  149. sdc_cmd = port:PC05<3><1><3><default>
  150. sdc_d0 = port:PC06<3><1><3><default>
  151. sdc_d1 = port:PC07<3><1><3><default>
  152. sdc_d2 = port:PC08<3><1><3><default>
  153. sdc_d3 = port:PC09<3><1><3><default>
  154. sdc_d4 = port:PC10<3><1><3><default>
  155. sdc_d5 = port:PC11<3><1><3><default>
  156. sdc_d6 = port:PC12<3><1><3><default>
  157. sdc_d7 = port:PC13<3><1><3><default>
  158. sdc_emmc_rst = port:PC14<3><1><3><default>
  159. sdc_ex_dly_used = 2
  160. sdc_io_1v8 = 1
  161. sdc_tm4_hs400_max_freq = 100
  162. sdc_tm4_hs200_max_freq = 150
  163.  
  164. [twi_para]
  165. twi_port = 0
  166. twi_scl = port:PL00<3><1><0><default>
  167. twi_sda = port:PL01<3><1><0><default>
  168.  
  169. [uart_para]
  170. uart_debug_port = 0
  171. uart_debug_tx = port:PH00<2><1><default><default>
  172. uart_debug_rx = port:PH01<2><1><default><default>
  173.  
  174. [jtag_para]
  175. jtag_enable = 1
  176. jtag_ms = port:PD23<5><default><default><default>
  177. jtag_ck = port:PD24<5><default><default><default>
  178. jtag_do = port:PD25<5><default><default><default>
  179. jtag_di = port:PD26<5><default><default><default>
  180.  
  181. [clock]
  182. pll4 = 300
  183. pll6 = 600
  184. pll8 = 360
  185. pll9 = 297
  186. pll10 = 264
  187.  
  188. ;*****************************************************************************
  189. ; sdram configuration
  190. ;
  191. ; if dram_clk ≠ 0, will use dram_clk to set dram clk.
  192. ; if dram_clk = 0, will use dram_tpr7 to set dram clk.
  193. ; dram_tpr7[31:24] to set DDR4 clk,
  194. ; dram_tpr7[23:16] to set DDR3 clk,
  195. ; dram_tpr7[15: 8] to set LPDDR2 clk,
  196. ; dram_tpr7[ 7: 0] to set LPDDR3 clk.
  197. ; ps: unit = 12M.
  198. ; for example, if dram_tpr7[31:24] = 0x10,
  199. ; then the dram clk of DDR4 will be (16*12)M.
  200. ;
  201. ;*****************************************************************************
  202. [dram_para]
  203. dram_clk = 0
  204. dram_type = 7
  205. dram_zq = 0x3b3bfb
  206. dram_odt_en = 0x31
  207. dram_para1 = 0x30FA
  208. dram_para2 = 0x04000000
  209. dram_mr0 = 0x1c70
  210. dram_mr1 = 0x40
  211. dram_mr2 = 0x18
  212. dram_mr3 = 0x1
  213. dram_mr4 = 0x0
  214. dram_mr5 = 0x400
  215. dram_mr6 = 0x848
  216. dram_tpr0 = 0x0048A192
  217. dram_tpr1 = 0x01b1a94b
  218. dram_tpr2 = 0x00061043
  219. dram_tpr3 = 0x78787896
  220. dram_tpr4 = 0x0000
  221. dram_tpr5 = 0x0
  222. dram_tpr6 = 0x09090900
  223. dram_tpr7 = 0x4d462a3e
  224. dram_tpr8 = 0x0
  225. dram_tpr9 = 0
  226. dram_tpr10 = 0x0
  227. dram_tpr11 = 0x00440000
  228. dram_tpr12 = 0x0
  229. dram_tpr13 = 0x0000
  230. ;----------------------------------------------------------------------------------
  231. ;os life cycle para configuration
  232. ;----------------------------------------------------------------------------------
  233.  
  234. ;------------------------------------------------------------------------------;
  235. ; 10/100/100Mbps Ethernet MAC Controller Configure ;
  236. ;------------------------------------------------------------------------------;
  237. ; 配置选项: ;
  238. ; gmac_used --- 1: gmac used, 0: not used ;
  239. ; gmac_powerx -- A[:B] A: axp channel, B: voltage value ;
  240. ; phy-mode -- rgmii, rmii, mii ;
  241. ; tx-delay -- transmit clock delay: 0~7 ;
  242. ; rx-delay -- receive clock delay: 0~31 ;
  243. ;------------------------------------------------------------------------------;
  244. [gmac0]
  245. gmac0_used = 1
  246. phy-mode = "rgmii"
  247. gmac_rxd3 = port:PD00<5><default><3><default>
  248. gmac_rxd2 = port:PD01<5><default><3><default>
  249. gmac_rxd1 = port:PD02<5><default><3><default>
  250. gmac_rxd0 = port:PD03<5><default><3><default>
  251. gmac_rxck = port:PD04<5><default><3><default>
  252. gmac_rxctl = port:PD05<5><default><3><default>
  253. gmac_txd3 = port:PD07<5><default><3><default>
  254. gmac_txd2 = port:PD08<5><default><3><default>
  255. gmac_txd1 = port:PD09<5><default><3><default>
  256. gmac_txd0 = port:PD10<5><default><3><default>
  257. gmac_txck = port:PD11<5><default><3><default>
  258. gmac_txctl = port:PD12<5><default><3><default>
  259. gmac_clkin = port:PD13<5><default><3><default>
  260. gmac_mdc = port:PD19<5><default><3><default>
  261. gmac_mdio = port:PD20<5><default><3><default>
  262. gmac_ephyrst = port:PD21<5><default><3><default>
  263. gmac-power0 = "vcc-io"
  264. gmac-power1 = "axp806_aldo3"
  265. gmac-power2 =
  266. tx-delay = 0
  267. rx-delay = 0
  268.  
  269. ;----------------------------------------------------------------------------------
  270. ;i2c configuration
  271. ;----------------------------------------------------------------------------------
  272. [twi0]
  273. twi0_used = 0
  274. twi0_scl = port:PD25<2><default><default><default>
  275. twi0_sda = port:PD26<2><default><default><default>
  276.  
  277. [twi0_suspend]
  278. twi0_scl = port:PD25<7><default><default><default>
  279. twi0_sda = port:PD26<7><default><default><default>
  280.  
  281. [twi1]
  282. twi1_used = 0
  283. twi1_scl = port:PH05<4><default><default><default>
  284. twi1_sda = port:PH06<4><default><default><default>
  285.  
  286. [twi1_suspend]
  287. twi1_scl = port:PH05<7><default><default><default>
  288. twi1_sda = port:PH06<7><default><default><default>
  289.  
  290. [twi2]
  291. twi2_used = 0
  292. twi2_scl = port:PD23<2><default><default><default>
  293. twi2_sda = port:PD24<2><default><default><default>
  294.  
  295. [twi2_suspend]
  296. twi2_scl = port:PD23<7><default><default><default>
  297. twi2_sda = port:PD24<7><default><default><default>
  298.  
  299. [twi3]
  300. twi3_used = 1
  301. twi3_scl = port:PB17<2><default><default><default>
  302. twi3_sda = port:PB18<2><default><default><default>
  303. ;----------------------------------------------------------------------------------
  304. ;TWI device configuration
  305. ;compatible --- device name
  306. ;reg --- device address
  307. ;----------------------------------------------------------------------------------
  308. ;[twi0/twi_board0]
  309. ;compatible =
  310. ;reg =
  311.  
  312. ;----------------------------------------------------------------------------------
  313. ;uart configuration
  314. ;uart_port --- x (/dev/ttySx, x=0,1,2,...)
  315. ;uart_type --- 2 (2 wire), 4 (4 wire), 8 (8 wire, full function)
  316. ;----------------------------------------------------------------------------------
  317. [uart0]
  318. uart0_used = 1
  319. uart0_port = 0
  320. uart0_type = 2
  321. uart0_tx = port:PH00<2><1><default><default>
  322. uart0_rx = port:PH01<2><1><default><default>
  323.  
  324. [uart0_suspend]
  325. uart0_tx = port:PH00<7><1><default><default>
  326. uart0_rx = port:PH01<7><1><default><default>
  327.  
  328. [uart1]
  329. uart1_used = 1
  330. uart1_port = 1
  331. uart1_type = 4
  332. uart1_tx = port:PG6<2><1><default><default>
  333. uart1_rx = port:PG7<2><1><default><default>
  334. uart1_rts = port:PG8<2><1><default><default>
  335. uart1_cts = port:PG9<2><1><default><default>
  336. uart1_bt = 1
  337.  
  338. [uart1_suspend]
  339. uart1_tx = port:PG6<7><1><default><default>
  340. uart1_rx = port:PG7<7><1><default><default>
  341. uart1_rts = port:PG8<7><1><default><default>
  342. uart1_cts = port:PG9<7><1><default><default>
  343.  
  344. [uart2]
  345. uart2_used = 0
  346. uart2_port = 2
  347. uart2_type = 4
  348. uart2_tx = port:PD19<4><1><default><default>
  349. uart2_rx = port:PD20<4><1><default><default>
  350. uart2_rts = port:PD21<4><1><default><default>
  351. uart2_cts = port:PD22<4><1><default><default>
  352.  
  353. [uart2_suspend]
  354. uart2_tx = port:PD19<7><1><default><default>
  355. uart2_rx = port:PD20<7><1><default><default>
  356. uart2_rts = port:PD21<7><1><default><default>
  357. uart2_cts = port:PD22<7><1><default><default>
  358.  
  359. [uart3]
  360. uart3_used = 0
  361. uart3_port = 3
  362. uart3_type = 4
  363. uart3_tx = port:PD23<4><1><default><default>
  364. uart3_rx = port:PD24<4><1><default><default>
  365. uart3_rts = port:PD25<4><1><default><default>
  366. uart3_cts = port:PD26<4><1><default><default>
  367.  
  368. [uart3_suspend]
  369. uart3_tx = port:PD23<7><1><default><default>
  370. uart3_rx = port:PD24<7><1><default><default>
  371. uart3_rts = port:PD25<7><1><default><default>
  372. uart3_cts = port:PD26<7><1><default><default>
  373.  
  374. ;----------------------------------------------------------------------------------
  375. ;SPI controller configuration
  376. ;----------------------------------------------------------------------------------
  377. [spi0]
  378. spi0_used = 0
  379. spi0_cs_number = 1
  380. spi0_cs_bitmap = 1
  381. spi0_cs0 = port:PC05<4><1><default><default>
  382. spi0_sclk = port:PC00<4><default><default><default>
  383. spi0_mosi = port:PC02<4><default><default><default>
  384. spi0_miso = port:PC03<4><default><default><default>
  385.  
  386. [spi0_suspend]
  387. spi0_cs0 = port:PC05<7><1><default><default>
  388. spi0_sclk = port:PC00<7><default><default><default>
  389. spi0_mosi = port:PC02<7><default><default><default>
  390. spi0_miso = port:PC03<7><default><default><default>
  391.  
  392. [spi1]
  393. spi1_used = 0
  394. spi1_cs_number = 1
  395. spi1_cs_bitmap = 1
  396. spi1_cs0 = port:PH03<2><1><default><default>
  397. spi1_sclk = port:PH04<2><default><default><default>
  398. spi1_mosi = port:PH05<2><default><default><default>
  399. spi1_miso = port:PH06<2><default><default><default>
  400.  
  401. [spi1_suspend]
  402. spi1_cs0 = port:PH03<7><1><default><default>
  403. spi1_sclk = port:PH04<7><default><default><default>
  404. spi1_mosi = port:PH05<7><default><default><default>
  405. spi1_miso = port:PH06<7><default><default><default>
  406.  
  407. ;----------------------------------------------------------------------------------
  408. ;SPI device configuration
  409. ;compatible --- device name
  410. ;spi-max-frequency --- work frequency
  411. ;reg --- chip select
  412. ;optional properties: spi-cpha, spi-cpol, spi-cs-high
  413. ;----------------------------------------------------------------------------------
  414. ;[spi0/spi_board0]
  415. ;compatible =
  416. ;spi-max-frequency =
  417. ;reg =
  418. ;spi-cpha
  419. ;spi-cpol
  420. ;spi-cs-high
  421.  
  422. ;----------------------------------------------------------------------------------
  423. ;pcie controller configuration
  424. ;----------------------------------------------------------------------------------
  425. [pcie]
  426. pcie_used = 1
  427. pcie_rest = port:PG03<1><default><default><default>
  428. pcie_power = port:PL08<1><default><default><default>
  429. pcie_reg = port:PM03<1><default><default><default>
  430. pcie_iodvdd = 1800
  431. pcie_speed_gen = 0x02
  432. pcie_vdd = "vdd_pcie"
  433. pcie_vdd_vol = 900000
  434. pcie_vcc = "vcc-pcie"
  435. pcie_vcc_vol = 1800000
  436. pcie_vcc_slot = "vcc-pcie-slot"
  437. pcie_vcc_slot_vol = 3300000
  438.  
  439. ;----------------------------------------------------------------------------------
  440. ;resistance tp configuration
  441. ;----------------------------------------------------------------------------------
  442. [rtp_para]
  443. rtp_used = 0
  444. rtp_screen_size = 5
  445. rtp_regidity_level = 5
  446. rtp_press_threshold_enable = 0
  447. rtp_press_threshold = 0x1f40
  448. rtp_sensitive_level = 0xf
  449. rtp_exchange_x_y_flag = 0
  450.  
  451. ;----------------------------------------------------------------------------------
  452. ;capacitor tp configuration
  453. ;external int function
  454. ;wakeup output function
  455. ;notice --- tp_int_port & tp_io_port use the same port
  456. ;----------------------------------------------------------------------------------
  457. [ctp]
  458. compatible = "allwinner,sun50i-ctp-para"
  459. ctp_used = 0
  460. ctp_twi_id = 0
  461. ctp_twi_addr = 0x5d
  462. ctp_screen_max_x = 1280
  463. ctp_screen_max_y = 800
  464. ctp_revert_x_flag = 1
  465. ctp_revert_y_flag = 1
  466. ctp_exchange_x_y_flag = 1
  467.  
  468. ctp_int_port = port:PH04<6><default><default><default>
  469. ctp_wakeup = port:PH08<1><default><default><1>
  470. ctp_power_ldo = "vcc-ctp"
  471. ctp_power_ldo_vol = 3300
  472. ctp_power_io =
  473.  
  474. ;--------------------------------------------------------------------------------
  475. ; CTP automatic detection configuration
  476. ;ctp_detect_used --- Whether startup automatic inspection function. 1:used,0:unused
  477. ;Module name postposition 1 said detection, 0 means no detection.
  478. ;--------------------------------------------------------------------------------
  479. [ctp_list]
  480. compatible = "allwinner,sun50i-ctp-list"
  481. ctp_det_used = 0
  482. ft5x_ts = 1
  483. gt82x = 1
  484. gslX680 = 1
  485. gt9xx_ts = 0
  486. gt9xxnew_ts = 1
  487. gt811 = 1
  488. zet622x = 1
  489. aw5306_ts = 1
  490.  
  491. ;----------------------------------------------------------------------------------
  492. ;touch key configuration
  493. ;----------------------------------------------------------------------------------
  494. [tkey_para]
  495. tkey_used = 0
  496. tkey_twi_id =
  497. tkey_twi_addr =
  498. tkey_int =
  499.  
  500. ;----------------------------------------------------------------------------------
  501. ;motor configuration
  502. ;----------------------------------------------------------------------------------
  503. [motor_para]
  504. motor_used = 1
  505. motor_shake = port:power3<1><default><default><1>
  506.  
  507. [nand0_para]
  508. nand0_support_2ch = 0
  509.  
  510. nand0_used = 1
  511. nand0_we = port:PC00<2><0><1><default>
  512. nand0_ale = port:PC01<2><0><1><default>
  513. nand0_cle = port:PC02<2><0><1><default>
  514. nand0_ce1 = port:PC15<2><1><1><default>
  515. nand0_ce0 = port:PC03<2><1><1><default>
  516. nand0_nre = port:PC04<2><0><1><default>
  517. nand0_rb0 = port:PC05<2><1><1><default>
  518. nand0_rb1 = port:PC16<2><1><1><default>
  519. nand0_d0 = port:PC06<2><0><1><default>
  520. nand0_d1 = port:PC07<2><0><1><default>
  521. nand0_d2 = port:PC08<2><0><1><default>
  522. nand0_d3 = port:PC09<2><0><1><default>
  523. nand0_d4 = port:PC10<2><0><1><default>
  524. nand0_d5 = port:PC11<2><0><1><default>
  525. nand0_d6 = port:PC12<2><0><1><default>
  526. nand0_d7 = port:PC13<2><0><1><default>
  527. nand0_ndqs = port:PC14<2><0><1><default>
  528. ;nand0_ce2 = port:PC17<2><1><1><default>
  529. ;nand0_ce3 = port:PC18<2><1><1><default>
  530.  
  531. nand0_regulator1 = "vcc-nand"
  532. nand0_regulator2 = "none"
  533. nand0_cache_level = 0x55aaaa55
  534. nand0_flush_cache_num = 0x55aaaa55
  535. nand0_capacity_level = 0x55aaaa55
  536. nand0_id_number_ctl = 0x55aaaa55
  537. nand0_print_level = 0x55aaaa55
  538. nand0_p0 = 0x55aaaa55
  539. nand0_p1 = 0x55aaaa55
  540. nand0_p2 = 0x55aaaa55
  541. nand0_p3 = 0x55aaaa55
  542.  
  543. ;----------------------------------------------------------------------------------
  544. ;esm.img load addr (fdt node: /soc/esm)
  545. ;
  546. ;esm_img_size_addr : store esm.img size, will be updated when booting
  547. ;esm_img_buff_addr : store esm.img buff, will be updated when booting
  548. ;----------------------------------------------------------------------------------
  549. [esm]
  550. esm_img_size_addr = 0
  551. esm_img_buff_addr = 0
  552.  
  553. ;----------------------------------------------------------------------------------
  554. ;disp init configuration
  555. ;
  556. ;disp_mode (0:screen0<screen0,fb0>)
  557. ;screenx_output_type (0:none; 1:lcd; 3:hdmi;)
  558. ;screenx_output_mode (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)
  559. ; (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)
  560. ;screenx_output_format (0:RGB 1:yuv444 2:yuv422 3:yuv420)
  561. ;screenx_output_bits (0:8bit 1:10bit 2:12bit 2:16bit)
  562. ;screenx_output_eotf (0:reserve 4:SDR 16:HDR10 18:HLG)
  563. ;screenx_output_cs (0:undefined 257:BT709 260:BT601 263:BT2020)
  564. ;screenx_output_dvi_hdmi (0:undefined 1:dvi mode 2:hdmi mode)
  565. ;screen0_output_range (0:default 1:full 2:limited)
  566. ;screen0_output_scan (0:no data 1:overscan 2:underscan)
  567. ;screen0_output_aspect_ratio (8-same as original picture 9-4:3 10-16:9 11-14:9)
  568. ;fbx format (0:ARGB 1:ABGR 2:RGBA 3:BGRA 5:RGB565 8:RGB888 12:ARGB4444 16:ARGB1555 18:RGBA5551)
  569. ;fbx_width,fbx_height (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0)
  570. ;disp_para_zone (0: disp parameter store in the part Reserve1), 1: disp paremeter store in file parameter.fex)
  571. ;----------------------------------------------------------------------------------
  572. [disp]
  573. disp_init_enable = 1
  574. disp_mode = 0
  575.  
  576. screen0_output_type = 3
  577. screen0_output_mode = 10
  578.  
  579. screen0_output_format = 1
  580. screen0_output_bits = 0
  581. screen0_output_eotf = 4
  582. screen0_output_cs = 257
  583. screen0_output_dvi_hdmi = 2
  584. screen0_output_range = 2
  585. screen0_output_scan = 0
  586. screen0_output_aspect_ratio = 8
  587.  
  588. screen1_output_type = 3
  589. screen1_output_mode = 2
  590. screen1_output_format = 1
  591. screen1_output_bits = 0
  592. screen1_output_eotf = 4
  593. screen1_output_cs = 260
  594. screen1_output_dvi_hdmi = 2
  595. screen1_output_range = 2
  596. screen1_output_scan = 0
  597. screen1_output_aspect_ratio = 8
  598.  
  599. dev0_output_type = 4
  600. dev0_output_mode = 10
  601. dev0_screen_id = 0
  602. dev0_do_hpd = 1
  603.  
  604. dev1_output_type = 2
  605. dev1_output_mode = 11
  606. dev1_screen_id = 1
  607. dev1_do_hpd = 1
  608.  
  609. dev2_output_type = 0
  610. def_output_dev = 0
  611. hdmi_mode_check = 1
  612.  
  613. fb0_format = 0
  614. fb0_width = 1280
  615. fb0_height = 720
  616.  
  617. fb1_format = 0
  618. fb1_width = 0
  619. fb1_height = 0
  620.  
  621. disp_para_zone = 1
  622.  
  623. ;----------------------------------------------------------------------------------
  624. ;lcd0 configuration
  625.  
  626. ;lcd_if: 0:hv(sync+de); 1:8080; 2:ttl; 3:lvds; 4:dsi; 5:edp
  627. ;lcd_backlight lcd init backlight
  628. ;lcd_x: lcd horizontal resolution
  629. ;lcd_y: lcd vertical resolution
  630. ;lcd_width: width of lcd in mm
  631. ;lcd_height: height of lcd in mm
  632. ;lcd_dclk_freq: in MHZ unit
  633. ;lcd_pwm_freq: in HZ unit
  634. ;lcd_pwm_pol: lcd backlight PWM polarity
  635. ;lcd_pwm_max_limit lcd backlight PWM max limit(<=255)
  636. ;lcd_hbp: hsync back porch
  637. ;lcd_ht: hsync total cycle
  638. ;lcd_vbp: vsync back porch
  639. ;lcd_vt: vysnc total cycle
  640. ;lcd_hspw: hsync plus width
  641. ;lcd_vspw: vysnc plus width
  642. ;lcd_lvds_if: 0:single link; 1:dual link
  643. ;lcd_lvds_colordepth: 0:8bit; 1:6bit
  644. ;lcd_lvds_mode: 0:NS mode; 1:JEIDA mode
  645. ;lcd_frm: 0:disable; 1:enable rgb666 dither; 2:enable rgb656 dither
  646. ;lcd_hv_clk_phase lcd hv panel lock phase, 0:0 degree; 1:90 degree; 2: 180 degree; 3: 270 degree
  647. ;lcd_hv_sync_polarity lcd hv panel sync signals polarity
  648. ; 0:vsync active low, hsync active low; 1:vsync active high, hsync active low
  649. ; 2:vsync active low, hsync active high; 3:vsync active high, hsync active high
  650. ;lcd_gamma_en lcd gamma correction enable
  651. ;lcd_bright_curve_en lcd bright curve correction enable
  652. ;lcd_cmap_en lcd color map function enable
  653. ;----------------------------------------------------------------------------------
  654. [lcd0]
  655. lcd_used = 0
  656.  
  657. lcd_driver_name = "default_lcd"
  658. lcd_backlight = 50
  659. lcd_if = 3
  660. lcd_x = 1280
  661. lcd_y = 800
  662. lcd_width = 150
  663. lcd_height = 94
  664. lcd_dclk_freq = 70
  665. lcd_pwm_used = 1
  666. lcd_pwm_ch = 0
  667. lcd_pwm_freq = 50000
  668. lcd_pwm_pol = 1
  669. lcd_pwm_max_limit = 255
  670. lcd_hbp = 20
  671. lcd_ht = 1418
  672. lcd_hspw = 10
  673. lcd_vbp = 10
  674. lcd_vt = 814
  675. lcd_vspw = 5
  676. lcd_lvds_if = 0
  677. lcd_lvds_colordepth = 1
  678. lcd_lvds_mode = 0
  679. lcd_frm = 1
  680. lcd_hv_clk_phase = 0
  681. lcd_hv_sync_polarity= 0
  682. lcd_gamma_en = 0
  683. lcd_bright_curve_en = 0
  684. lcd_cmap_en = 0
  685.  
  686. lcd_bl_en = port:PD23<1><0><default><1>
  687. lcd_bl_en_power = "none"
  688. lcd_power = "vcc-lcd-0"
  689. lcd_fix_power = "vcc-dsi-33"
  690.  
  691. lcdd0 = port:PD12<3><0><default><default>
  692. lcdd1 = port:PD13<3><0><default><default>
  693. lcdd2 = port:PD14<3><0><default><default>
  694. lcdd3 = port:PD15<3><0><default><default>
  695. lcdd4 = port:PD16<3><0><default><default>
  696. lcdd5 = port:PD17<3><0><default><default>
  697. lcdd6 = port:PD18<3><0><default><default>
  698. lcdd7 = port:PD19<3><0><default><default>
  699. lcdd8 = port:PD20<3><0><default><default>
  700. lcdd9 = port:PD21<3><0><default><default>
  701. lcd_pin_power = "vcc-pd"
  702.  
  703. [lcd0_suspend]
  704. lcdd0 = port:PD12<7><0><default><default>
  705. lcdd1 = port:PD13<7><0><default><default>
  706. lcdd2 = port:PD14<7><0><default><default>
  707. lcdd3 = port:PD15<7><0><default><default>
  708. lcdd4 = port:PD16<7><0><default><default>
  709. lcdd5 = port:PD17<7><0><default><default>
  710. lcdd6 = port:PD18<7><0><default><default>
  711. lcdd7 = port:PD19<7><0><default><default>
  712. lcdd8 = port:PD20<7><0><default><default>
  713. lcdd9 = port:PD21<7><0><default><default>
  714.  
  715. [hdmi]
  716. hdmi_used = 1
  717. ;hdmi_power = "vcc3v3-hdmi"
  718. hdmi_hdcp_enable = 0
  719. hdmi_hdcp22_enable = 0
  720. hdmi_cts_compatibility = 0
  721. hdmi_cec_support = 1
  722. hdmi_cec_super_standby = 1
  723. hdmi_skip_bootedid = 1
  724. ddc_scl = port:PH8<2><default><1><default>
  725. ddc_sda = port:PH9<2><default><1><default>
  726. cec_io = port:PH10<2><default><1><default>
  727.  
  728. ddc_en_io_ctrl = 1
  729. ddc_io_ctrl = port:PH02<1><default><default><0>
  730. ;----------------------------------------------------------------------------------
  731. ;tv configuration
  732. ;dac_src (dac no,support dac_src0~dac_src3,dac num max is 4)
  733. ;interface (interface type,1<->cvbs,2<->YPBPR,4<->SVIDEO)
  734. ;dac_type (0<->composite,1<->luma,2<->chroma,3<->reserved,4<->y/green,
  735. ; 5<->u/pb/blue,6<->v/pr/red)
  736. ;NOTE: tv0,tv1 can not use the same dac_src.
  737. ;----------------------------------------------------------------------------------
  738.  
  739. [tv0]
  740. used = 0
  741. dac_src0 = 0
  742. dac_type0 = 0
  743. interface = 1
  744.  
  745. ;tv(ac200 cvbs) configuration
  746. ;tv_used 1 : enable this module.
  747. ;tv_module_name : the module name.
  748. ;tv_regulator_name : regutlate name of ac200
  749. ;tv_twi_used 1 : use i2c to communitcate with slave-device ; other: not use i2c.
  750. ;tv_twi_id : the id-number of i2c-controler of host-device.
  751. ;tv_twi_addr : the i2c-address of slave-device.
  752. ;tv_clk_div : divide number of tcon_lcd clock
  753. ;ccir* : ac200 video pin inf
  754. ;----------------------------------------------------------------------------------
  755. [ac200]
  756. tv_used = 1
  757. tv_module_name = "tv_ac200"
  758. tv_twi_used = 1
  759. tv_twi_id = 3
  760. tv_twi_addr = 16
  761. tv_pwm_ch=1
  762. tv_clk_div=5
  763. tv_regulator_name="vcc-audio-33"
  764.  
  765. ccir_clk = port:PB00<2><0><default><default>
  766. ccir_de = port:PB01<2><0><default><default>
  767. ccir_hs = port:PB02<2><0><default><default>
  768. ccir_vs = port:PB03<2><0><default><default>
  769. ccir_do0 = port:PB04<2><0><default><default>
  770. ccir_do1 = port:PB05<2><0><default><default>
  771. ccir_do2 = port:PB06<2><0><default><default>
  772. ccir_do3 = port:PB07<2><0><default><default>
  773. ccir_do4 = port:PB08<2><0><default><default>
  774. ccir_do5 = port:PB09<2><0><default><default>
  775. ccir_do6 = port:PB10<2><0><default><default>
  776. ccir_do7 = port:PB11<2><0><default><default>
  777.  
  778. ;----------------------------------------------------------------------------------
  779. ;for hotplug please do not suspend ccir_clk pin
  780. ;----------------------------------------------------------------------------------
  781. [ac200_suspend]
  782. ;ccir_clk = port:PB00<7><0><default><default>
  783. ccir_de = port:PB01<7><0><default><default>
  784. ccir_hs = port:PB02<7><0><default><default>
  785. ccir_vs = port:PB03<7><0><default><default>
  786. ccir_do0 = port:PB04<7><0><default><default>
  787. ccir_do1 = port:PB05<7><0><default><default>
  788. ccir_do2 = port:PB06<7><0><default><default>
  789. ccir_do3 = port:PB07<7><0><default><default>
  790. ccir_do4 = port:PB08<7><0><default><default>
  791. ccir_do5 = port:PB09<7><0><default><default>
  792. ccir_do6 = port:PB10<7><0><default><default>
  793. ccir_do7 = port:PB11<7><0><default><default>
  794. ;----------------------------------------------------------------------------------
  795. ;pwm config
  796. ;----------------------------------------------------------------------------------
  797. [pwm0]
  798. pwm_used = 1
  799. pwm_positive = port:PD22<2><0><default><default>
  800.  
  801. [pwm0_suspend]
  802. pwm_positive = port:PD22<7><0><default><default>
  803.  
  804. [pwm1]
  805. pwm_used = 1
  806. pwm_positive = port:PB19<2><0><default><default>
  807.  
  808. [pwm1_suspend]
  809. pwm_positive = port:PB19<7><0><default><default>
  810.  
  811.  
  812. [pwm16]
  813. s_pwm0_used = 0
  814. pwm_positive = port:PL08<2><0><default><default>
  815.  
  816. [pwm16_suspend]
  817. pwm_positive = port:PL08<7><0><default><default>
  818.  
  819. ;-----------------------------------------------------------------
  820. ;auto_hpd - 1:need hotplud for hdmi/tv; 0:don't hotplud for lcd
  821. ;output_type - 0:none; 1:lcd; 2:tv; 3:hdmi; 4:vga (as default config in homlet)
  822. ;hdmi_channel - the display channel for hdmi (as default config in homlet)
  823. ;cvbs_channel - the display channel for cvbs (as default config in homlet)
  824. ;hdmi_mode - as default config for output of hdmi in homlet
  825. ;cvbs_mode - as default config for output of tv in homlet. 11:PAL; 14:NTSC
  826. ;hdmi_mode_check - disable/enable the function of checking hdmi mode, 0 is disable, 1 is enable
  827. ;-----------------------------------------------------------------
  828. [boot_disp]
  829. auto_hpd = 1
  830. output_disp = 0
  831. output_type = 3
  832. output_mode = 11
  833. hdmi_channel = 0
  834. hdmi_mode = 4
  835. ;cvbs_channel = 1
  836. ;cvbs_mode = 11
  837. ;hdmi_mode_check = 1
  838. ;output_full = 1
  839.  
  840. ;--------------------------------------------------------------------------------
  841. ;csi (COMS Sensor Interface) configuration
  842. ;csi(x)_dev(x)_used: 0:disable 1:enable
  843. ;csi(x)_dev(x)_isp_used 0:not use isp 1:use isp
  844. ;csi(x)_dev(x)_fmt: 0:yuv 1:bayer raw rgb
  845. ;csi(x)_dev(x)_stby_mode: 0:not shut down power at standby 1:shut down power at standby
  846. ;csi(x)_dev(x)_vflip: flip in vertical direction 0:disable 1:enable
  847. ;csi(x)_dev(x)_hflip: flip in horizontal direction 0:disable 1:enable
  848. ;csi(x)_dev(x)_iovdd: camera module io power handle string, pmu power supply
  849. ;csi(x)_dev(x)_iovdd_vol: camera module io power voltage, pmu power supply
  850. ;csi(x)_dev(x)_avdd: camera module analog power handle string, pmu power supply
  851. ;csi(x)_dev(x)_avdd_vol: camera module analog power voltage, pmu power supply
  852. ;csi(x)_dev(x)_dvdd: camera module core power handle string, pmu power supply
  853. ;csi(x)_dev(x)_dvdd_vol: camera module core power voltage, pmu power supply
  854. ;csi(x)_dev(x)_afvdd: camera module vcm power handle string, pmu power supply
  855. ;csi(x)_dev(x)_afvdd_vol: camera module vcm power voltage, pmu power supply
  856. ;fill voltage in uV, e.g. iovdd = 2.8V, csix_iovdd_vol = 2800000
  857. ;fill handle string as below:
  858. ;axp22_eldo3
  859. ;axp22_dldo4
  860. ;axp22_eldo2
  861. ;fill handle string "" when not using any pmu power supply
  862. ;--------------------------------------------------------------------------------
  863.  
  864. [csi0]
  865. csi0_used = 0
  866. csi0_sensor_list = 0
  867. csi0_pck = port:PD00<4><default><default><default>
  868. csi0_mck = port:PD01<4><0><1><0>
  869. csi0_hsync = port:PD02<4><default><default><default>
  870. csi0_vsync = port:PD03<4><default><default><default>
  871. csi0_d0 = port:PD04<4><default><default><default>
  872. csi0_d1 = port:PD05<4><default><default><default>
  873. csi0_d2 = port:PD06<4><default><default><default>
  874. csi0_d3 = port:PD07<4><default><default><default>
  875. csi0_d4 = port:PD08<4><default><default><default>
  876. csi0_d5 = port:PD09<4><default><default><default>
  877. csi0_d6 = port:PD10<4><default><default><default>
  878. csi0_d7 = port:PD11<4><default><default><default>
  879. csi0_sck = port:PD12<4><default><default><default>
  880. csi0_sda = port:PD13<4><default><default><default>
  881.  
  882. [csi0/csi0_dev0]
  883. csi0_dev0_used = 0
  884. csi0_dev0_mname = "ov5640"
  885. csi0_dev0_twi_addr = 0x78
  886. csi0_dev0_pos = "rear"
  887. csi0_dev0_isp_used = 1
  888. csi0_dev0_fmt = 0
  889. csi0_dev0_stby_mode = 0
  890. csi0_dev0_vflip = 0
  891. csi0_dev0_hflip = 0
  892. csi0_dev0_iovdd = "iovdd-csi"
  893. csi0_dev0_iovdd_vol = 2800000
  894. csi0_dev0_avdd = "avdd-csi"
  895. csi0_dev0_avdd_vol = 2800000
  896. csi0_dev0_dvdd = "dvdd-csi-18"
  897. csi0_dev0_dvdd_vol = 1500000
  898. csi0_dev0_afvdd = "afvcc-csi"
  899. csi0_dev0_afvdd_vol = 2800000
  900. ;csi0_dev0_power_en = port:PB04<1><0><1><0>
  901. csi0_dev0_power_en =
  902. csi0_dev0_reset = port:PE14<1><0><1><0>
  903. csi0_dev0_pwdn = port:PE15<1><0><1><0>
  904. csi0_dev0_flash_used = 0
  905. csi0_dev0_flash_type = 2
  906. csi0_dev0_flash_en =
  907. csi0_dev0_flash_mode =
  908. csi0_dev0_flvdd = ""
  909. csi0_dev0_flvdd_vol =
  910. csi0_dev0_af_pwdn =
  911. csi0_dev0_act_used = 0
  912. csi0_dev0_act_name = "ad5820_act"
  913. csi0_dev0_act_slave = 0x18
  914.  
  915. [csi0/csi0_dev1]
  916. csi0_dev1_used = 0
  917. csi0_dev1_mname = ""
  918. csi0_dev1_twi_addr = 0x78
  919. csi0_dev1_pos = "rear"
  920. csi0_dev1_isp_used = 1
  921. csi0_dev1_fmt = 0
  922. csi0_dev1_stby_mode = 0
  923. csi0_dev1_vflip = 0
  924. csi0_dev1_hflip = 0
  925. csi0_dev1_iovdd = "iovdd-csi"
  926. csi0_dev1_iovdd_vol = 2800000
  927. csi0_dev1_avdd = "avdd-csi"
  928. csi0_dev1_avdd_vol = 2800000
  929. csi0_dev1_dvdd = "dvdd-csi-18"
  930. csi0_dev1_dvdd_vol = 1500000
  931. csi0_dev1_afvdd = "afvcc-csi"
  932. csi0_dev1_afvdd_vol = 2800000
  933. csi0_dev1_power_en =
  934. csi0_dev1_reset =
  935. csi0_dev1_pwdn =
  936. csi0_dev1_flash_used = 0
  937. csi0_dev1_flash_type = 2
  938. csi0_dev1_flash_en =
  939. csi0_dev1_flash_mode =
  940. csi0_dev1_flvdd = ""
  941. csi0_dev1_flvdd_vol =
  942. csi0_dev1_af_pwdn =
  943. csi0_dev1_act_used = 0
  944. csi0_dev1_act_name = "ad5820_act"
  945. csi0_dev1_act_slave = 0x18
  946.  
  947. ;--------------------------------------------------------------------------------
  948. ;tv configuration
  949. ;
  950. ;--------------------------------------------------------------------------------
  951. [tvout_para]
  952. tvout_used =
  953. tvout_channel_num =
  954. tv_en =
  955.  
  956. [tvin_para]
  957. tvin_used =
  958. tvin_channel_num =
  959.  
  960. ; ------------------------------------------------------------------------------|
  961. ; de-interlace configuration
  962. ;--------------------------------------------------------------------------------
  963. [di]
  964. di_used = 1
  965.  
  966. ;--------------------------------------------------------------------------------
  967. ; SDMMC PINS MAPPING |
  968. ; ------------------------------------------------------------------------------|
  969. ; Config Guide |
  970. ; sdc_used: 1-enable card, 0-disable card |
  971. ; non-removable:if you use as main memory,you should set it,for example eMMC |
  972. ; bus-width: card bus width, 1-1bit, 4-4bit, 8-8bit |
  973. ; sunxi-power-save-mode: if use sdio card,should not set it |
  974. ; vmmc:regulator for card/emmc power |
  975. ; vqmmc:regulator for card/emmc io power |
  976. ; vdmmc:regulator for card detect pin pull up power |
  977. ; other: GPIO Mapping configuration |
  978. ; ------------------------------------------------------------------------------|
  979. ; Note: |
  980. ; |
  981. ; |
  982. ; |
  983. ; |
  984. ; |
  985. ; |
  986. ;--------------------------------------------------------------------------------
  987. [sdc0]
  988. sdc0_used = 1
  989. bus-width = 4
  990. sdc0_d1 = port:PF00<2><1><2><default>
  991. sdc0_d0 = port:PF01<2><1><2><default>
  992. sdc0_clk = port:PF02<2><1><2><default>
  993. sdc0_cmd = port:PF03<2><1><2><default>
  994. sdc0_d3 = port:PF04<2><1><2><default>
  995. sdc0_d2 = port:PF05<2><1><2><default>
  996. cd-gpios = port:PF06<0><1><2><default>
  997. sunxi-power-save-mode =
  998. sunxi-dis-signal-vol-sw =
  999. vmmc="vcc-sdcv"
  1000. vqmmc="vcc-sdcvq33"
  1001. vdmmc="vcc-sdcvd"
  1002. ctl-spec-caps = 0x80
  1003.  
  1004.  
  1005. [sdc1]
  1006. sdc1_used = 1
  1007. bus-width = 4
  1008. sdc1_clk = port:PG00<2><1><3><default>
  1009. sdc1_cmd = port:PG01<2><1><3><default>
  1010. sdc1_d0 = port:PG02<2><1><3><default>
  1011. sdc1_d1 = port:PG03<2><1><3><default>
  1012. sdc1_d2 = port:PG04<2><1><3><default>
  1013. sdc1_d3 = port:PG05<2><1><3><default>
  1014. ;sunxi-power-save-mode =
  1015. sd-uhs-sdr50 =
  1016. sd-uhs-ddr50 =
  1017. sd-uhs-sdr104 =
  1018. cap-sdio-irq =
  1019. keep-power-in-suspend =
  1020. ignore-pm-notify =
  1021. max-frequency = 150000000
  1022.  
  1023. [sdc2]
  1024. sdc2_used = 1
  1025. non-removable =
  1026. bus-width = 8
  1027. sdc2_ds = port:PC01<3><1><3><default>
  1028. sdc2_clk = port:PC04<3><1><3><default>
  1029. sdc2_cmd = port:PC05<3><1><3><default>
  1030. sdc2_d0 = port:PC06<3><1><3><default>
  1031. sdc2_d1 = port:PC07<3><1><3><default>
  1032. sdc2_d2 = port:PC08<3><1><3><default>
  1033. sdc2_d3 = port:PC09<3><1><3><default>
  1034. sdc2_d4 = port:PC10<3><1><3><default>
  1035. sdc2_d5 = port:PC11<3><1><3><default>
  1036. sdc2_d6 = port:PC12<3><1><3><default>
  1037. sdc2_d7 = port:PC13<3><1><3><default>
  1038. sdc2_emmc_rst = port:PC14<3><1><3><default>
  1039. cd-gpios =
  1040. sunxi-power-save-mode =
  1041. sunxi-dis-signal-vol-sw =
  1042. mmc-ddr-1_8v =
  1043. mmc-hs200-1_8v =
  1044. mmc-hs400-1_8v =
  1045. max-frequency = 150000000
  1046. sdc_tm4_sm0_freq0 = 0
  1047. sdc_tm4_sm0_freq1 = 0
  1048. sdc_tm4_sm1_freq0 = 0x00000000
  1049. sdc_tm4_sm1_freq1 = 0
  1050. sdc_tm4_sm2_freq0 = 0x00000000
  1051. sdc_tm4_sm2_freq1 = 0
  1052. sdc_tm4_sm3_freq0 = 0x05000000
  1053. sdc_tm4_sm3_freq1 = 0x00000405
  1054. sdc_tm4_sm4_freq0 = 0x00050000
  1055. sdc_tm4_sm4_freq1 = 0x00000408
  1056. vmmc="vcc-emmcv"
  1057. ;vqmmc="vcc-emmcvq33"
  1058. vqmmc="vcc-emmcvq18"
  1059. vdmmc="none"
  1060.  
  1061.  
  1062. ;[mmc3]
  1063. ;mmc3_used = 0
  1064. ;mmc3_detmode = 2
  1065. ;mmc3_buswidth = 4
  1066. ;mmc3_clk = port:PA10<2><1><2><default>
  1067. ;mmc3_cmd = port:PA09<2><1><2><default>
  1068. ;mmc3_d0 = port:PA11<2><1><2><default>
  1069. ;mmc3_d1 = port:PA12<2><1><2><default>
  1070. ;mmc3_d2 = port:PA13<2><1><2><default>
  1071. ;mmc3_d3 = port:PA14<2><1><2><default>
  1072. ;mmc3_det =
  1073. ;mmc3_use_wp = 0
  1074. ;mmc3_wp =
  1075. ;mmc3_isio = 0
  1076. ;mmc3_regulator = "none"
  1077.  
  1078. ; ------------------------------------------------------------------------------|
  1079. ; sim card configuration
  1080. ;--------------------------------------------------------------------------------
  1081. [smc]
  1082. smc_used =
  1083. smc_rst =
  1084. smc_vppen =
  1085. smc_vppp =
  1086. smc_det =
  1087. smc_vccen =
  1088. smc_sck =
  1089. smc_sda =
  1090.  
  1091. ;-------------------------------------------------------------------------------
  1092. ;userspace gpio interface for android
  1093. ;----------------------------------------------------------------------------------
  1094. [gpio_para]
  1095. compatible = "allwinner,sunxi-init-gpio"
  1096. gpio_used = 1
  1097. gpio_num = 3
  1098. gpio_pin_1 = port:PL04<1><default><default><1>
  1099. gpio_pin_2 = port:PL03<1><default><default><0>
  1100. gpio_pin_3 = port:PL07<1><default><default><0>
  1101. normal_led = "gpio_pin_1"
  1102. standby_led = "gpio_pin_2"
  1103. network_led = "gpio_pin_3"
  1104. easy_light_used = 1
  1105. normal_led_light = 1
  1106. standby_led_light = 1
  1107. network_led_light = 1
  1108.  
  1109. ;--------------------------------
  1110. ;[usbc0]: usbc0 configuration.
  1111. ;usb_used: usb controller enable. 0-disable, 1-enable.
  1112. ;usb_port_type: usb mode. 0-device, 1-host, 2-otg.
  1113. ;usb_detect_type: usb hotplug detect mode. 0-none, 1-vbus/id detect, 2-id/dpdm detect.
  1114. ;usb_detect_mode: usb otg switch has two config. 0-thread scan, 1-id gpio interrupt.
  1115. ;usb_id_gpio: usb id detect IO.
  1116. ;usb_det_vbus_gpio: USB DET_VBUS has two config. (1)gpio pin; (2)"axp_ctrl", use axp intf.
  1117. ;usb_drv_vbus_gpio: USB DRY_VBUS has two config. (1)gpio pin; (2)"axp_ctrl", use axp intf.
  1118. ;--------------------------------
  1119. ;--------------------------------
  1120. ;--- USB0 CONFIG
  1121. ;--------------------------------
  1122. [usbc0]
  1123. usbc0_used = 1
  1124. usb_port_type = 1
  1125. usb_detect_type = 1
  1126. usb_detect_mode = 0
  1127. usb_id_gpio =
  1128. usb_det_vbus_gpio =
  1129. usb_drv_vbus_gpio = port:PL05<1><0><default><1>
  1130. usb_host_init_state = 1
  1131. usb_regulator_io = "nocare"
  1132. usb_wakeup_suspend = 0
  1133. ;--- USB Device
  1134. usb_luns = 3
  1135. usb_serial_unique = 0
  1136. usb_serial_number = "20080411"
  1137. rndis_wceis = 1
  1138.  
  1139. ;--------------------------------
  1140. ;--- USB1 CONFIG
  1141. ;--------------------------------
  1142. [usbc1]
  1143. usbc1_used = 1
  1144. usb_drv_vbus_gpio = port:PL05<1><0><default><1>
  1145. usb_host_init_state = 1
  1146. usb_regulator_io = "nocare"
  1147. usb_wakeup_suspend = 0
  1148.  
  1149. ;--------------------------------
  1150. ;--- USB2 CONFIG
  1151. ;--------------------------------
  1152. [usbc2]
  1153. usbc2_used = 0
  1154. usb_drv_vbus_gpio =
  1155. usb_host_init_state = 1
  1156. usb_regulator_io = "nocare"
  1157. usb_wakeup_suspend = 0
  1158.  
  1159. ;--------------------------------
  1160. ;--- USB3 CONFIG
  1161. ;--------------------------------
  1162. [usbc3]
  1163. usbc3_used = 0
  1164. usb_drv_vbus_gpio =
  1165. usb_host_init_state = 1
  1166. usb_regulator_io = "nocare"
  1167. usb_wakeup_suspend = 0
  1168.  
  1169. ;--------------------------------
  1170. ;--- serial number flag
  1171. ;--------------------------------
  1172. [serial_feature]
  1173. sn_filename = "sn.txt"
  1174.  
  1175. ;--------------------------------------------------------------------------------
  1176. ; G sensor configuration
  1177. ; gs_twi_id --- TWI ID for controlling Gsensor (0: TWI0, 1: TWI1, 2: TWI2)
  1178. ;--------------------------------------------------------------------------------
  1179. [gsensor]
  1180. compatible = "allwinner,sun50i-gsensor-para";
  1181. gsensor_used = 0
  1182. gsensor_twi_id = 1
  1183. gsensor_twi_addr = 0x18
  1184. gsensor_int1 = port:PA09<6><1><default><default>
  1185. gsensor_int2 =
  1186. gsensor_vcc_io = "vcc-deviceio"
  1187. gsensor_vcc_io_val = 3100
  1188.  
  1189. ;--------------------------------------------------------------------------------
  1190. ; G sensor automatic detection configuration
  1191. ;gsensor_detect_used --- Whether startup automatic inspection function. 1:used,0:unused
  1192. ;Module name postposition 1 said detection, 0 means no detection.
  1193. ;--------------------------------------------------------------------------------
  1194. [gsensor_list_para]
  1195. compatible = "allwinner,sun50i-gsensor-list-para"
  1196. gsensor_det_used = 0
  1197. lsm9ds0_acc_mag = 1
  1198. bma250 = 1
  1199. mma8452 = 1
  1200. mma7660 = 1
  1201. mma865x = 1
  1202. afa750 = 1
  1203. lis3de_acc = 1
  1204. lis3dh_acc = 1
  1205. kxtik = 1
  1206. dmard10 = 0
  1207. dmard06 = 1
  1208. mxc622x = 1
  1209. fxos8700 = 1
  1210. lsm303d = 0
  1211.  
  1212. ;--------------------------------------------------------------------------------
  1213. ;wlan configuration
  1214. ;wlan_used: 0-not use, 1- use
  1215. ;wlan_busnum: sdio/usb index
  1216. ;clocks: external low power clock input (32.768KHz)
  1217. ;wlan_power: input supply voltage
  1218. ;wlan_io_regulator: wlan/sdio I/O voltage
  1219. ;wlan_regon: power up/down internal regulators used by wifi section
  1220. ;wlan_hostwake: wlan to wake-up host
  1221. ;--------------------------------------------------------------------------------
  1222. [wlan]
  1223. wlan_used = 1
  1224. wlan_busnum = 1
  1225. wlan_usbnum = 3
  1226. ;wlan_power = "vcc-wifi"
  1227. wlan_io_regulator = "axp806_bldo3"
  1228. wlan_en = port:PL08<1><default><default><0>
  1229. wlan_regon = port:PM03<1><default><default><0>
  1230. wlan_hostwake = port:PM00<0><default><default><0>
  1231.  
  1232. ;--------------------------------------------------------------------------------
  1233. ;bluetooth configuration
  1234. ;bt_used: 0- no used, 1- used
  1235. ;clocks: external low power clock input (32.768KHz)
  1236. ;bt_power: input supply voltage
  1237. ;bt_io_regulator: bluetooth I/O voltage
  1238. ;bt_rst_n: power up/down internal regulators used by BT section
  1239. ;--------------------------------------------------------------------------------
  1240. [bt]
  1241. bt_used = 1
  1242. ;clocks = "&clk_losc_out"
  1243. ;bt_power = "vcc-wifi"
  1244. ;bt_io_regulator = "vcc-wifi-io"
  1245. bt_rst_n = port:PM04<1><default><default><0>
  1246.  
  1247. ;--------------------------------------------------------------------------------
  1248. ;bluetooth lpm configuration
  1249. ;btlpm_used: 0- no used, 1- used
  1250. ;uart_index: 0- uart0, 1- uart1, 2- uart2
  1251. ;bt_wake: host wake-up bluetooth device
  1252. ;bt_hostwake: bt device wake-up host
  1253. ;--------------------------------------------------------------------------------
  1254. [btlpm]
  1255. btlpm_used = 1
  1256. uart_index = 1
  1257. bt_hostwake_enable = 0
  1258. bt_wake = port:PM02<1><default><default><1>
  1259. bt_hostwake = port:PM01<6><default><default><0>
  1260.  
  1261. ;--------------------------------------------------------------------------------
  1262. ;3G configuration
  1263. ;--------------------------------------------------------------------------------
  1264. [3g_para]
  1265. 3g_used = 0
  1266. 3g_usbc_num = 2
  1267. 3g_uart_num = 0
  1268. bb_vbat = port:PL03<1><default><default><0>
  1269. bb_host_wake = port:PM00<1><default><default><0>
  1270. bb_on = port:PM01<1><default><default><0>
  1271. bb_pwr_on = port:PM03<1><default><default><0>
  1272. bb_wake = port:PM04<1><default><default><0>
  1273. bb_rf_dis = port:PM05<1><default><default><0>
  1274. bb_rst = port:PM06<1><default><default><0>
  1275. 3g_int =
  1276.  
  1277. ;--------------------------------------------------------------------------------
  1278. ;gyroscope
  1279. ;--------------------------------------------------------------------------------
  1280. [gy_para]
  1281. compatible ="allwinner,sun50i-gyr_sensors-para"
  1282. gy_used = 0
  1283. gy_twi_id = 2
  1284. gy_twi_addr = 0x6a
  1285. gy_int1 = port:PA10<6><1><default><default>
  1286. gy_int2 =
  1287.  
  1288. ;--------------------------------------------------------------------------------
  1289. ; Gyro automatic detection configuration
  1290. ;gy_detect_used --- Whether startup automatic inspection function. 1:used,0:unused
  1291. ;Module name postposition 1 said detection, 0 means no detection.
  1292. ;--------------------------------------------------------------------------------
  1293. [gy_list_para]
  1294. compatible = "allwinner,sun50i-gyr_sensors-list-para"
  1295. gy_det_used = 1
  1296. lsm9ds0_gyr = 1
  1297. l3gd20_gyr = 0
  1298. bmg160_gyr = 1
  1299.  
  1300. ;--------------------------------------------------------------------------------
  1301. ;light sensor
  1302. ;--------------------------------------------------------------------------------
  1303. [ls_para]
  1304. compatible = "allwinner,sun50i-lsensors-para"
  1305. ls_used = 0
  1306. ls_twi_id = 2
  1307. ls_twi_addr = 0x23
  1308. ls_int = port:PA12<6><1><default><default>
  1309.  
  1310. ;--------------------------------------------------------------------------------
  1311. ; lsensor automatic detection configuration
  1312. ;ls_detect_used --- Whether startup automatic inspection function. 1:used,0:unused
  1313. ;Module name postposition 1 said detection, 0 means no detection.
  1314. ;--------------------------------------------------------------------------------
  1315. [ls_list_para]
  1316. compatible = "allwinner,sun50i-lsensors-list-para"
  1317. ls_det_used = 1
  1318. ltr_501als = 1
  1319. jsa1212 = 0
  1320. jsa1127 = 1
  1321.  
  1322. ;--------------------------------------------------------------------------------
  1323. ;compass
  1324. ;--------------------------------------------------------------------------------
  1325. [compass_para]
  1326. compatible ="allwinner,sun50i-compass-para"
  1327. compass_used = 0
  1328. compass_twi_id = 2
  1329. compass_twi_addr = 0x0d
  1330. compass_int = port:PA11<6><1><default><default>
  1331.  
  1332. ;--------------------------------------------------------------------------------
  1333. ; compass sensor automatic detection configuration
  1334. ;compass_detect_used --- Whether startup automatic inspection function. 1:used,0:unused
  1335. ;Module name postposition 1 said detection, 0 means no detection.
  1336. ;--------------------------------------------------------------------------------
  1337. [compass_list_para]
  1338. compatible ="allwinner,sun50i-compass-list-para"
  1339. compass_det_used = 1
  1340. lsm9ds0 = 1
  1341. lsm303d = 0
  1342. akm8963 = 1
  1343.  
  1344. ;--------------------------------------------------------------------------------
  1345. ; NOTE :Make sure dmic_used = 0x1,
  1346. ; snddmic_used = 0x1, if register the sound card dmic.
  1347. ;---------------------------------------------------------------------------------
  1348. [dmic]
  1349. dmic_used = 0
  1350. [snddmic]
  1351. snddmic_used = 0
  1352.  
  1353. ;--------------------------------------------------------------------------------
  1354. ; NOTE :Make sure spdif_used = 0x1,
  1355. ; spdifmach_used = 0x1, if register the sound card spdif.
  1356. ;--------------------------------------------------------------------------------
  1357. [spdif]
  1358. spdif_used = 1
  1359. [sndspdif]
  1360. sndspdif_used = 1
  1361. ;----------------------------------------------------------------------------------
  1362. ; NOTE :Make sure audiohdmi_used = 0x1,
  1363. ; sndhdmi_used = 0x1, if register the sound card hdmi. Daudio1 used for HDMI
  1364. ;---------------------------------------------------------------------------------
  1365. [audiohdmi]
  1366. audiohdmi_used = 1
  1367. [sndhdmi]
  1368. sndhdmi_used = 1
  1369. ;---------------------------------------------------------------------------------
  1370. ;allwinner,pcm_lrck_period : 16/32/64/128/256
  1371. ;allwinner,slot_width_select : 16bits/20bits/24bits/32bits
  1372. ;allwinner,daudio_master : 1: SND_SOC_DAIFMT_CBM_CFM(codec clk & FRM master)
  1373. ; 2: SND_SOC_DAIFMT_CBS_CFM(codec clk slave & FRM master) allwinner not use
  1374. ; 3: SND_SOC_DAIFMT_CBM_CFS(codec clk master & frame slave) allwinner not use
  1375. ; 4: SND_SOC_DAIFMT_CBS_CFS(codec clk & FRM slave)
  1376. ;allwinner,audio_format : 1: SND_SOC_DAIFMT_I2S(standard i2s format).
  1377. ; 2: SND_SOC_DAIFMT_RIGHT_J(right justfied format).
  1378. ; 3: SND_SOC_DAIFMT_LEFT_J(left justfied format).
  1379. ; 4: SND_SOC_DAIFMT_DSP_A(MSB available on 2nd BCLK rising edge after LRCK rising).
  1380. ; 5: SND_SOC_DAIFMT_DSP_B(MSB available on 1nd BCLK rising edge after LRC rising).
  1381. ;allwinner,signal_inversion : 1: SND_SOC_DAIFMT_NB_NF(normal bit clock + frame)
  1382. ; 2: SND_SOC_DAIFMT_NB_IF(normal BCLK + inv FRM)
  1383. ; 3: SND_SOC_DAIFMT_IB_NF(invert BCLK + nor FRM)
  1384. ; 4: SND_SOC_DAIFMT_IB_IF(invert BCLK + FRM)
  1385. ;allwinner,frametype : 0: short frame = 1 clock width;
  1386. ; 1: long frame = 2 clock width;
  1387. ;allwinner,tdm_config : 0: pcm
  1388. ; 1: i2s
  1389. ;allwinner,mclk_div : 0: not output(normal setting this) 1/2/4/6/8/12/16/24/32/48/64/96/128/176/192:
  1390. ; setting mclk as input clock to external codec, freq is pll_audio/mclk_div
  1391. ;allwinner,daudio0_used : 0: not use
  1392. ; 1: use
  1393.  
  1394. ;--------------------------------------------------------------------------------
  1395. ; NOTE :Make sure snddaudio0_used = 0x1,
  1396. ; daudio0_used = 0x1, if register the sound card DAUDIO0.
  1397. ;--------------------------------------------------------------------------------
  1398. [snddaudio0]
  1399. snddaudio0_used = 0
  1400. ;-----------------------------------------------------------------------------
  1401. [daudio0]
  1402. pcm_lrck_period = 0x20
  1403. slot_width_select = 0x20
  1404. daudio_master = 0x04
  1405. audio_format = 0x01
  1406. signal_inversion = 0x01
  1407. frametype = 0x00
  1408. tdm_config = 0x01
  1409. mclk_div = 0x00
  1410. daudio0_used = 0
  1411.  
  1412.  
  1413. ;--------------------------------------------------------------------------------
  1414. ; NOTE :Make sure snddaudio2_used = 0x1,
  1415. ; daudio2_used = 0x1, if register the sound card DAUDIO2.
  1416. ;--------------------------------------------------------------------------------
  1417. [snddaudio2]
  1418. snddaudio2_used = 1
  1419. ;-----------------------------------------------------------------------------
  1420. [daudio2]
  1421. pcm_lrck_period = 0x40
  1422. slot_width_select = 0x20
  1423. daudio_master = 0x04
  1424. audio_format = 0x04
  1425. signal_inversion = 0x03
  1426. frametype = 0x00
  1427. tdm_config = 0x01
  1428. mclk_div = 0x01
  1429. daudio2_used = 1
  1430.  
  1431. ;--------------------------------------------------------------------------------
  1432. ; NOTE :Make sure snddaudio3_used = 0x1,
  1433. ; daudio3_used = 0x1, if register the Daudio3 used for ACX00 codec card
  1434. ;--------------------------------------------------------------------------------
  1435. [snddaudio3]
  1436. snddaudio3_used = 1
  1437. ;-----------------------------------------------------------------------------
  1438. [daudio3]
  1439. pcm_lrck_period = 0x20
  1440. slot_width_select = 0x20
  1441. daudio_master = 0x04
  1442. audio_format = 0x01
  1443. signal_inversion = 0x01
  1444. frametype = 0x00
  1445. tdm_config = 0x01
  1446. mclk_div = 0x01
  1447. daudio3_used = 1
  1448.  
  1449. ;--------------------------------------------------------------------------------
  1450. ; NOTE :Make sure ac200_codec = 0x1,
  1451. ; if register the acx00-codec running for audio output
  1452. ;--------------------------------------------------------------------------------
  1453. [ac200_codec]
  1454. ac200_codec_used = 1
  1455. gpio-spk = port:PL06<1><1><default><default>
  1456.  
  1457. ;--------------------------------------------------------------------------------
  1458. ;ir --- infra remote configuration
  1459. ;ir_protocol_used : 0 = NEC / 1 = RC5
  1460. ;--------------------------------------------------------------------------------
  1461. [s_cir0]
  1462. s_cir0_used = 1
  1463. ir_protocol_used = 0
  1464. ir_power_key_code0 = 0x57
  1465. ir_addr_code0 = 0x9f00
  1466. ir_power_key_code1 = 0x1a
  1467. ir_addr_code1 = 0xfb04
  1468. ir_power_key_code2 = 0x14
  1469. ir_addr_code2 = 0x7F80
  1470. ir_power_key_code3 = 0x15
  1471. ir_addr_code3 = 0x7F80
  1472. ir_power_key_code4 = 0x0b
  1473. ir_addr_code4 = 0xF708
  1474. ir_power_key_code5 = 0x03
  1475. ir_addr_code5 = 0x00EF
  1476. ir_power_key_code6 = 0xdc
  1477. ir_addr_code6 = 0x4cb3
  1478. ir_power_key_code7 = 0x0a
  1479. ir_addr_code7 = 0x7748
  1480. ir_power_key_code8 = 0x45
  1481. ir_addr_code8 = 0xbd02
  1482. ir_power_key_code9 = 0x4d
  1483. ir_addr_code9 = 0xde21
  1484. ir_power_key_code10 = 0x18
  1485. ir_addr_code10 = 0xfe01
  1486. ir_power_key_code11 = 0x18
  1487. ir_addr_code11 = 0xff00
  1488. ir_power_key_code12 = 0x4d
  1489. ir_addr_code12 = 0xff40
  1490. ir_power_key_code13 = 0x88
  1491. ir_addr_code13 = 0xdd22
  1492. ir_power_key_code14 = 0x0d
  1493. ir_addr_code14 = 0xbc00
  1494. ir_power_key_code15 = 0x0d
  1495. ir_addr_code15 = 0xfc00
  1496. ir_power_key_code16 = 0x51
  1497. ir_addr_code16 = 0x7f80
  1498.  
  1499. rc5_ir_power_key_code0 = 0x01
  1500. rc5_ir_addr_code0 = 0x04
  1501.  
  1502. ;--------------------------------------------------------------------------------------------------------
  1503. ;compatible ---pmu0 name, axpdummy is a dummy axp
  1504. ;used ---0:not used,1:used
  1505. ;pmu_id ---if bit7 is 1, then is a dummy axp; else 0:axp19x,1:axp209,2:axp22x,3:axp806,4:axp808,5:axp809,6:axp803,7:axp813,8:axp157
  1506. ;--------------------------------------------------------------------------------------------------------
  1507. [pmu0]
  1508. compatible = "axp806"
  1509. used = 1
  1510. pmu_id = 3
  1511. pmu_irq_wakeup = 1
  1512. pmu_hot_shutdown = 1
  1513.  
  1514. ;--------------------------------------------------------------------------------------------------------
  1515. ;pmu_bat_unused ---0:used,1: charger unsupported on this pmu
  1516. ;pmu_pwroff_vol ---set protect voltage when system start up,mV,2600/2700/2800/2900/3000/3100/3200/3300
  1517. ;power_start ---when system is in charging, shutdown is power off or resart;0:restart 1:poweroff
  1518. ;--------------------------------------------------------------------------------------------------------
  1519. [charger0]
  1520. pmu_bat_unused = 1
  1521. pmu_pwroff_vol = 3300
  1522. power_start = 0
  1523.  
  1524. ;--------------------------------------------------------------------------------------------------------
  1525. ;compatible ---powerkey0 name, support:axp806-powerkey
  1526. ;pmu_powkey_off_time ---set pek off time,ms, 4000/6000/8000/10000
  1527. ;pmu_powkey_off_func ---set pek off func, 0:shutdown,1:restart
  1528. ;pmu_powkey_off_en ---set pek offlevel powerdown or not, 0:not powerdown,1:powerdown
  1529. ;pmu_powkey_long_time ---set pek pek long irq time,ms,1000/1500/2000/2500
  1530. ;pmu_powkey_on_time ---set pek on time,ms,128/1000/2000/3000
  1531. ;--------------------------------------------------------------------------------------------------------
  1532. [powerkey0]
  1533. compatible = "axp806-powerkey"
  1534. pmu_powkey_off_time = 6000
  1535. pmu_powkey_off_func = 0
  1536. pmu_powkey_off_en = 1
  1537. pmu_powkey_long_time = 1500
  1538. pmu_powkey_on_time = 1000
  1539.  
  1540. ;--------------------------------------------------------------------------------------------------------
  1541. ;compatible ---regulator0 name, support:axpdummy-regulator
  1542. ;regulator_count ---pmu ldo count, changed with different pmu
  1543. ;regulator(1~regulator_count) ---ldo details
  1544. ;--------------------------------------------------------------------------------------------------------
  1545. [regulator0]
  1546. compatible = "axp806-regulator"
  1547. regulator_count = 16
  1548. regulator1 = "axp806_dcdca none vdd-cpua"
  1549. regulator2 = "axp806_dcdcb none"
  1550. regulator3 = "axp806_dcdcc none vdd-gpu"
  1551. regulator4 = "axp806_dcdcd none vdd-sys vdd-hdmi vdd-pcie vdd-usb"
  1552. regulator5 = "axp806_dcdce none vcc-dram"
  1553. regulator6 = "axp806_aldo1 none vcc-pl vcc-led vcc-ir vcc-pg vcc-pm vcc-ts"
  1554. regulator7 = "axp806_aldo2 none ac-ldoin vcc-audio-33 vcc-ephy usb-dvdd vcc-tv"
  1555. regulator8 = "axp806_aldo3 none vcc-pcie-slot"
  1556. regulator9 = "axp806_bldo1 none vdd-dram-18 vdd-bias vcc-pll"
  1557. regulator10 = "axp806_bldo2 none vcc-emmc-18 vcc-pcie vdd-efuse vcc-hdmi vcc-emmcvq18"
  1558. regulator11 = "axp806_bldo3 none"
  1559. regulator12 = "axp806_bldo4 none"
  1560. regulator13 = "axp806_cldo1 none vcc-io vcc-nand vcc-card vcc-pd vcc-usb vcc-uart vcc-jtagx vcc-emmc-33 vcc-camera-33 vcc-emmcv vcc-sdcv vcc-sdcvq33 vcc-sdcvd"
  1561. regulator14 = "axp806_cldo2 none"
  1562. regulator15 = "axp806_cldo3 none vcc-wifi"
  1563. regulator16 = "axp806_sw none"
  1564.  
  1565.  
  1566. ;----------------------------------------------------------------------------------
  1567. ; dvfs voltage-frequency table configuration
  1568. ;
  1569. ; max_freq: cpu maximum frequency, based on Hz
  1570. ; min_freq: cpu minimum frequency, based on Hz
  1571. ;
  1572. ; lv_count: count of lv_freq/lv_volt, must be < 16
  1573. ;
  1574. ; cpu dvfs driver will choose dvfs_table_x according to different cpu
  1575. ;
  1576. ;----------------------------------------------------------------------------------
  1577. [dvfs_table_0]
  1578. max_freq = 1800000000
  1579. min_freq = 480000000
  1580.  
  1581. lv_count = 8
  1582. lv1_freq = 1800000000
  1583. lv1_volt = 1160
  1584.  
  1585. lv2_freq = 1488000000
  1586. lv2_volt = 1060
  1587.  
  1588. lv3_freq = 1320000000
  1589. lv3_volt = 1000
  1590.  
  1591. lv4_freq = 1080000000
  1592. lv4_volt = 940
  1593.  
  1594. lv5_freq = 888000000
  1595. lv5_volt = 880
  1596.  
  1597. lv6_freq = 0
  1598. lv6_volt = 880
  1599.  
  1600. lv7_freq = 0
  1601. lv7_volt = 880
  1602.  
  1603. lv8_freq = 0
  1604. lv8_volt = 880
  1605.  
  1606. [dvfs_table_1]
  1607. max_freq = 1800000000
  1608. min_freq = 480000000
  1609.  
  1610. lv_count = 8
  1611. lv1_freq = 1800000000
  1612. lv1_volt = 1100
  1613.  
  1614. lv2_freq = 1488000000
  1615. lv2_volt = 1000
  1616.  
  1617. lv3_freq = 1320000000
  1618. lv3_volt = 940
  1619.  
  1620. lv4_freq = 1080000000
  1621. lv4_volt = 880
  1622.  
  1623. lv5_freq = 888000000
  1624. lv5_volt = 820
  1625.  
  1626. lv6_freq = 0
  1627. lv6_volt = 820
  1628.  
  1629. lv7_freq = 0
  1630. lv7_volt = 820
  1631.  
  1632. lv8_freq = 0
  1633. lv8_volt = 820
  1634.  
  1635. [dvfs_table_2]
  1636. max_freq = 1800000000
  1637. min_freq = 480000000
  1638.  
  1639. lv_count = 8
  1640. lv1_freq = 1800000000
  1641. lv1_volt = 1060
  1642.  
  1643. lv2_freq = 1488000000
  1644. lv2_volt = 960
  1645.  
  1646. lv3_freq = 1320000000
  1647. lv3_volt = 900
  1648.  
  1649. lv4_freq = 1080000000
  1650. lv4_volt = 840
  1651.  
  1652. lv5_freq = 888000000
  1653. lv5_volt = 800
  1654.  
  1655. lv6_freq = 0
  1656. lv6_volt = 800
  1657.  
  1658. lv7_freq = 0
  1659. lv7_volt = 800
  1660.  
  1661. lv8_freq = 0
  1662. lv8_volt = 800
  1663.  
  1664. ;----------------------------------------------------------------------------------
  1665. ;s_uart0 config parameters
  1666. ;s_uart0_used --s_uart0 whether used for arisc debugging
  1667. ;
  1668. ;----------------------------------------------------------------------------------
  1669. [s_uart0]
  1670. s_uart0_used = 0
  1671. s_uart0_tx = port:PL02<2><default><default><default>
  1672. s_uart0_rx = port:PL03<2><default><default><default>
  1673.  
  1674. ;----------------------------------------------------------------------------------
  1675. ;s_rsb0 config parameters
  1676. ;s_rsb0_used --s_rsb0 whether used for arisc
  1677. ;
  1678. ;----------------------------------------------------------------------------------
  1679. [s_rsb0]
  1680. s_rsb0_used = 0
  1681. s_rsb0_sck = port:PL00<2><1><2><default>
  1682. s_rsb0_sda = port:PL01<2><1><2><default>
  1683.  
  1684. ;----------------------------------------------------------------------------------
  1685. ;s_jtag0 config parameters
  1686. ;s_jtag0_used --s_jtag0 whether used for arisc
  1687. ;
  1688. ;----------------------------------------------------------------------------------
  1689. [s_jtag0]
  1690. s_jtag0_used = 0
  1691. s_jtag0_tms = port:PL04<2><1><2><default>
  1692. s_jtag0_tck = port:PL05<2><1><2><default>
  1693. s_jtag0_tdo = port:PL06<2><1><2><default>
  1694. s_jtag0_tdi = port:PL07<2><1><2><default>
  1695.  
  1696. ;----------------------------------------------------------------------------------
  1697. ;virtual device
  1698. ;virtual device for pinctrl testing
  1699. ;device have pin PA1 PA2
  1700. ;----------------------------------------------------------------------------------
  1701. [Vdevice]
  1702. Vdevice_used = 0
  1703. Vdevice_0 = port:PH09<5><1><2><default>
  1704. Vdevice_1 = port:PH10<5><1><2><default>
  1705.  
  1706. ;----------------------------------------------------------------------------------
  1707. ;GPU parameters
  1708. ;gpu_idle : GPU idle, if this is enabled, GPU will be powered off when it is idle.
  1709. ;dvfs_status : dvfs status, if this is enabled, GPU DVFS will work. Actually, GPU
  1710. ; DVFS functionality depends on some kernel features such as devfreq.
  1711. ;temp_ctrl_status : temperature control status, if this is enabled, the gpu frequency
  1712. ; will drop down if the temperature of gpu is too high.
  1713. ;scene_ctrl_status: scene control status, if this is enabled, android layer can ask
  1714. ; gpu driver to change frequency in certain scene.
  1715. ;max_normal_level : restrict the level for normal mode.
  1716. ;----------------------------------------------------------------------------------
  1717. [gpu]
  1718. gpu_idle = 0
  1719. dvfs_status = 1
  1720. temp_ctrl_status = 1
  1721. scene_ctrl_status = 1
  1722. max_normal_level = 13
  1723.  
  1724. ;---------------------------------------------------------------------------------
  1725. ; used 1: box 0:pad
  1726. ; start_type 1: start system directly when power supply 0: wait IR/KEY to power on
  1727. ; irkey_used 1: ir key used 0: not
  1728. ; pmukey_used 1: physical button used, 0: not, the key is link to PMU PWROK
  1729. ;---------------------------------------------------------------------------------
  1730. [box_start_os]
  1731. used = 1
  1732. start_type = 1
  1733. irkey_used = 1
  1734. pmukey_used = 1
  1735.  
  1736. ;---------------------------------------------------------------------------------
  1737. ; the module used when box_start_os is used, the this module is to support on/off
  1738. ; led when box into box standby, the gpio is only support PL and AXP gpio(0/1)
  1739. ;---------------------------------------------------------------------------------
  1740. [box_standby_led]
  1741. gpio0 = port:PL07<1><default><default><0>
  1742. gpio1 = port:PL03<1><default><default><1>
  1743. gpio2 = port:PL04<1><default><default><0>
  1744.  
  1745. ;--------------------------------------------------------------------------------
  1746. ;gpio power key
  1747. ;key_io:the config of PL/PM pin.
  1748. ;trigger_mode: low-level trigger :0 high-level trigger:1
  1749. ;
  1750. ;For example: if key_io is PL04, then the key_index must be 4.
  1751. ;--------------------------------------------------------------------------------
  1752. [gpio_power_key]
  1753. compatible = "allwinner,sunxi-gpio-power-key"
  1754. device_type = "gpio_power_key"
  1755. gpio_power_key_used = 0
  1756. key_io = port:PL05<0><default><default><0>
  1757. trigger_mode = 1
RAW Paste Data