页次: 1
这个问题我也遇到了,我发现用Tina sdk原本配置,修改那几个分频系数后触摸就非常丝滑,用fanhua大佬的配置就死活不行,还没对比细节差异,现在就是遇到没有ts_uinput,不知道咋整:lol:
没有ts_uinput的问题我试着改了tslib的config文件貌似ok了,貌似是配置没用?奇怪的是menuconfig中明明开了Tools Paogram(ts_uinput)
修改:在/compile_dir/target/tslib-1.15/configure中
# if test "${enable_tools+set}" = set; then :
# enableval=$enable_tools;
# else
# enable_tools=yes
# fi
enable_tools=yes
HoWi 说:官方的文档都是强烈建议用外部dcdc,猜测是估计对内部的ldo信心不大,只是给个选择https://whycan.com/files/members/432/Dingtalk_20240330162750.jpg
大佬方便分享一下这个文档吗,datasheet里没有这个描述
在这里,其他大佬分享的各种文档,T113_硬件设计指南
https://whycan.com/t_7738.html
近日偶然发现一块串口屏使用的是F1c100s,于是心血来潮拿出多年来在坑网仰慕各位大佬的学习经历,着手在这个板子上移植个linux玩一玩,这是背景。。。
起初使用板子上的片上spi flash,跟着各位大佬的路线,一路火花带闪电的移植好了,并且成功进入系统,点亮屏幕(不过背光控制引脚死活设置不成功,直接硬件飞线点亮:D )
然后,看到板子上有一个TF卡座,想着把系统做在TF卡上,这样拷贝文件就方便很多,于是一路火花带闪电的路上我掉进了坑里。。。爬遍坑网都找不到原因在哪。。。晚上睡觉做梦都复现错误的log:
U-Boot SPL 2018.01 (Mar 06 2024 - 18:32:03)
DRAM: 32 MiB
Trying to boot from MMC1
mmc_init: -110, time 21880
spl: mmc init failed with error: -110
SPL: Unsupported Boot Device!
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
后来,我仔细对了Licheepi nano的原理图后发现了问题:
Licheepi的:
串口屏的:
嗯,我手上的板子SD卡是1bit模式。。。
果断飞线改造
然后插卡上电:
U-Boot SPL 2018.01 (Mar 06 2024 - 18:32:03)
DRAM: 32 MiB
Trying to boot from MMC1
U-Boot 2018.01 (Mar 06 2024 - 18:32:03 +0800) Allwinner Technology
CPU: Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM: 32 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
In: serial@1c25000
Out: serial@1c25000
Err: serial@1c25000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 2
破案了!!!!
不过想请教一下各位大佬,1bit模式能有什么方法支持么?
是不是要改sys_config.fex?
;----------------------------------------------------------------------------------
;uart configuration
;uart_used = uart x enable
;uart_port = x; x is order number of ttySx
;uart_type = 2:2 wire,4:4 wire,8:8 wire, full function
;----------------------------------------------------------------------------------
[uart0]
uart_used = 1
uart_port = 0
uart_type = 2
uart_tx = port:PB08<3><1><default><default>
uart_rx = port:PB09<3><1><default><default>
bootcmd已经设定了使用ttyS0所以,个人理解sys_config.fex把uart0_port设置成其他的就可以了?
使用的是uboot+BSP内核+buildroot,TF卡启动,添加的rtl8189fs驱动有问题,各位大神帮忙瞅瞅
启动日志:
[ 0.689341] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.
[ 0.697240] spi spi0: master is unqueued, this is deprecated
[ 0.703945] m25p_probe()982 - Use the Dual Mode Read.
[ 0.709875] m25p80 spi0.0: found m25p05-nonjedec, expected w25q128
[ 0.717018] m25p80 spi0.0: m25p05-nonjedec (64 Kbytes)
[ 0.724342] partitions_register()865 - m25p80_read() ret 0, PartCnt: 0
[ 0.731857] m25p80: probe of spi0.0 failed with error -22
[ 0.738265] gmac0 not be used
[ 0.741850] gmac0: probe of gmac0 failed with error -22
[ 0.747900] ------------[ cut here ]------------
[ 0.751814] kernel BUG at drivers/mmc/host/sunxi-mci.c:2656!
[ 0.751814] Internal error: Oops - BUG: 0 [#1] ARM
[ 0.751814] Modules linked in:
[ 0.751814] CPU: 0 Not tainted (3.4.39 #14)
[ 0.751814] PC is at sunxi_mci_rescan_card+0x28/0x4c
[ 0.751814] LR is at platform_wifi_power_on+0xb0/0x150
[ 0.751814] pc : [<c03ad888>] lr : [<c03103ac>] psr: 60000013
[ 0.751814] sp : c1821f30 ip : c1821f40 fp : c1821f3c
[ 0.751814] r10: 00000000 r9 : c069ae80 r8 : 00000000
[ 0.751814] r7 : c0632588 r6 : c1820000 r5 : c069ae80 r4 : 00000001
[ 0.751814] r3 : 00000000 r2 : c064e780 r1 : 00000001 r0 : 00000001
[ 0.751814] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 0.751814] Control: 10c5387d Table: 40004059 DAC: 00000015
[ 0.751814]
[ 0.751814] PC: 0xc03ad808:
[ 0.751814] d808 e1a04000 e5933004 e2433002 e3530001 889da830 e590328c e3a02000 e59f5028
[ 0.751814] d828 e59f0028 e5832078 e5953004 e12fff33 e594328c e3a02001 e59f0014 e5832078
[ 0.751814] d848 e5953004 e12fff33 e89da830 c066382c 0010624c 01eb84e8 e1a0c00d e92dd800
[ 0.751814] d868 e24cb004 e3500003 9a000000 e7f001f2 e59f3028 e7933100 e3530000 1a000000
[ 0.751814] d888 e7f001f2 e2911000 e5930004 13a01001 e583106c e3a01000 ebffb02b e89da800
[ 0.751814] d8a8 c06e0d04 e1a0c00d e92dd830 e24cb004 e59030c8 e1a04000 e3130002 0a000003
[ 0.751814] d8c8 e5903000 e59f0028 e5931004 eb03b9ba e3a03003 e584305c e594300c e3a00000
[ 0.751814] d8e8 e584008c e5932000 e3a02007 e5832000 e89da830 c05ba356 e1a0c00d e92ddbf0
[ 0.751814]
[ 0.751814] LR: 0xc031032c:
[ 0.751814] 032c 0a00000a e3003f5c e34c3067 e5933000 e3530003 9a00003c e30903f4 e34c005e
[ 0.751814] 034c eb062f1c e3540003 1a000028 ea000030 e51b2030 e30338c0 e34c3068 e5832000
[ 0.751814] 036c e3003f5c e34c3067 e5933000 e3530003 9a000005 e3a03005 e30717e4 e34c104c
[ 0.751814] 038c e3090414 e34c005e eb062f0a e30338c0 e34c3068 e3a01001 e5930000 eb02752c
[ 0.751814] 03ac e3a04064 e30665b0 e3406666 e303582c e34c5066 e5953004 e1a00006 e12fff33
[ 0.751814] 03cc e2544001 1afffffa e3003f5c e34c3067 e5933000 e3530003 9a000015 e30717e4
[ 0.751814] 03ec e34c104c e309043c e34c005e eb062ef1 e3003f5c e34c3067 e5933000 e3530003
[ 0.751814] 040c 9a00000b e3090460 e34c005e eb062ee9 ea000007 e51b0030 ebf9b1e7 e30c3f60
[ 0.751814]
[ 0.751814] SP: 0xc1821eb0:
[ 0.751814] 1eb0 00000007 205bf2f8 30202020 3734372e 5d353538 60000020 c002f7d8 c03ad88c
[ 0.751814] 1ed0 60000013 c000f754 c1821f3c c1821ee8 c000f4ac c000a020 00000001 00000001
[ 0.751814] 1ef0 c064e780 00000000 00000001 c069ae80 c1820000 c0632588 00000000 c069ae80
[ 0.751814] 1f10 00000000 c1821f3c c1821f40 c1821f30 c03103ac c03ad888 60000013 ffffffff
[ 0.751814] 1f30 c1821f74 c1821f40 c03103ac c03ad86c c1821f74 00000001 00000000 00000000
[ 0.751814] 1f50 00000000 00000000 c05c18a8 00000007 c069ae80 c1820000 c1821f8c c1821f78
[ 0.751814] 1f70 c06325c0 c0310308 00000007 c069ae80 c1821fcc c1821f90 c000a414 c0632594
[ 0.751814] 1f90 00000006 00000006 00000107 c061d844 c004a40c 00000007 00000107 00000007
[ 0.751814]
[ 0.751814] IP: 0xc1821ec0:
[ 0.751814] 1ec0 5d353538 60000020 c002f7d8 c03ad88c 60000013 c000f754 c1821f3c c1821ee8
[ 0.751814] 1ee0 c000f4ac c000a020 00000001 00000001 c064e780 00000000 00000001 c069ae80
[ 0.751814] 1f00 c1820000 c0632588 00000000 c069ae80 00000000 c1821f3c c1821f40 c1821f30
[ 0.751814] 1f20 c03103ac c03ad888 60000013 ffffffff c1821f74 c1821f40 c03103ac c03ad86c
[ 0.751814] 1f40 c1821f74 00000001 00000000 00000000 00000000 00000000 c05c18a8 00000007
[ 0.751814] 1f60 c069ae80 c1820000 c1821f8c c1821f78 c06325c0 c0310308 00000007 c069ae80
[ 0.751814] 1f80 c1821fcc c1821f90 c000a414 c0632594 00000006 00000006 00000107 c061d844
[ 0.751814] 1fa0 c004a40c 00000007 00000107 00000007 00000107 c069ae80 c06417d0 c063d7b0
[ 0.751814]
[ 0.751814] FP: 0xc1821ebc:
[ 0.751814] 1ebc 3734372e 5d353538 60000020 c002f7d8 c03ad88c 60000013 c000f754 c1821f3c
[ 0.751814] 1edc c1821ee8 c000f4ac c000a020 00000001 00000001 c064e780 00000000 00000001
[ 0.751814] 1efc c069ae80 c1820000 c0632588 00000000 c069ae80 00000000 c1821f3c c1821f40
[ 0.751814] 1f1c c1821f30 c03103ac c03ad888 60000013 ffffffff c1821f74 c1821f40 c03103ac
[ 0.751814] 1f3c c03ad86c c1821f74 00000001 00000000 00000000 00000000 00000000 c05c18a8
[ 0.751814] 1f5c 00000007 c069ae80 c1820000 c1821f8c c1821f78 c06325c0 c0310308 00000007
[ 0.751814] 1f7c c069ae80 c1821fcc c1821f90 c000a414 c0632594 00000006 00000006 00000107
[ 0.751814] 1f9c c061d844 c004a40c 00000007 00000107 00000007 00000107 c069ae80 c06417d0
[ 0.751814]
[ 0.751814] R2: 0xc064e700:
[ 0.751814] e700 00000012 00000013 00000014 00000015 00000016 00000017 00000018 00000019
[ 0.751814] e720 0000001a 0000001b 0000001c 0000001d 0000001e 0000001f c069c928 00010000
[ 0.751814] e740 0000000f 00000007 00000001 00000007 00000001 c064e754 c064e754 000001f4
[ 0.751814] e760 0000000a 00000000 00000000 00000000 00000001 c064e774 c064e774 00000000
[ 0.751814] e780 c064e780 c064e780 00000007 ffffffff 00000000 00000001 ffffffff 00000000
[ 0.751814] e7a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.751814] e7c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.751814] e7e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.751814]
[ 0.751814] R5: 0xc069ae00:
[ 0.751814] ae00 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.751814] ae20 c03fc6f8 c03fc700 c064ac14 c03fd6a8 c03fd6b0 c064ac14 c03ff0c0 c03ff490
[ 0.751814] ae40 c064ac14 c03fc274 c03fc27c c064ac14 00000004 00000014 00000003 00554e47
[ 0.751814] ae60 aaf4d45b 760be78a 5d076393 65eaee4a 704c98ac 00000000 00000000 00000000
[ 0.751814] ae80 00000000 00000000 00000000 00000000 00000000 c07ca0c0 c07ca140 00000000
[ 0.751814] aea0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.751814] aec0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.751814] aee0 00000000 00000001 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.751814]
[ 0.751814] R6: 0xc181ff80:
[ 0.751814] ff80 ffffffff ffffffff c064f9c0 c064f7a8 c0650230 00000000 00000000 b2f8abe8
[ 0.751814] ffa0 abe923e9 bae8ab71 87e023ea 3a68a8e1 bae8bbe9 bae0a369 bbe8ba2b a248f2f8
[ 0.751814] ffc0 22e1aae9 32e8b2e8 32c8bad8 a2403a69 aae82af1 22f823e8 aae938e8 a3e02bb5
[ 0.751814] ffe0 38e9baf8 ab782bf8 ba682bf0 9af93264 aae83bf8 22e18bf0 2a69abf1 ab38ba68
[ 0.751814] 0000 00000000 00000001 00000000 c181db40 c064e68c 00000000 00000015 c181db40
[ 0.751814] 0020 c064c6a0 00000000 c06502e0 c0661658 c1820000 c06502e0 c1821a2c c1821a00
[ 0.751814] 0040 c04a13d0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.751814] 0060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.751814]
[ 0.751814] R7: 0xc0632508:
[ 0.751814] 2508 e24cb004 e59f0014 ebeea053 e3500000 189da800 e59f0008 ebee9f2d e89da800
[ 0.751814] 2528 c0670280 c0670230 e1a0c00d e92dd830 e24cb004 e59f3034 e59f4034 e5931020
[ 0.751814] 2548 e3510000 05841000 0a000006 e59f0024 ebea9896 e3500000 e5840000 1a000001
[ 0.751814] 2568 e59f0014 ebf9a694 e3a00000 e89da830 c0696ae8 c06d7bc8 c059f364 c059ff0c
[ 0.751814] 2588 e1a0c00d e92dd830 e24cb004 e3003f5c e34c3067 e5933000 e3530000 0a000002
[ 0.751814] 25a8 e3010368 e34c005d ebf9a683 e3a00000 ebefb3db ebf3774e e2502000 0a00000b
[ 0.751814] 25c8 e3003f5c e34c3067 e5933000 e3530003 93e04000 9a000025 e59f10bc e3010380
[ 0.751814] 25e8 e34c005d ebf9a674 e3e04000 ea00001f e3014194 e34c4067 e3a03001 e5843048
[ 0.751814]
[ 0.751814] R9: 0xc069ae00:
[ 0.751814] ae00 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.751814] ae20 c03fc6f8 c03fc700 c064ac14 c03fd6a8 c03fd6b0 c064ac14 c03ff0c0 c03ff490
[ 0.751814] ae40 c064ac14 c03fc274 c03fc27c c064ac14 00000004 00000014 00000003 00554e47
[ 0.751814] ae60 aaf4d45b 760be78a 5d076393 65eaee4a 704c98ac 00000000 00000000 00000000
[ 0.751814] ae80 00000000 00000000 00000000 00000000 00000000 c07ca0c0 c07ca140 00000000
[ 0.751814] aea0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.751814] aec0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.751814] aee0 00000000 00000001 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.751814] Process swapper (pid: 1, stack limit = 0xc18202f0)
[ 0.751814] Stack: (0xc1821f30 to 0xc1822000)
[ 0.751814] 1f20: c1821f74 c1821f40 c03103ac c03ad86c
[ 0.751814] 1f40: c1821f74 00000001 00000000 00000000 00000000 00000000 c05c18a8 00000007
[ 0.751814] 1f60: c069ae80 c1820000 c1821f8c c1821f78 c06325c0 c0310308 00000007 c069ae80
[ 0.751814] 1f80: c1821fcc c1821f90 c000a414 c0632594 00000006 00000006 00000107 c061d844
[ 0.751814] 1fa0: c004a40c 00000007 00000107 00000007 00000107 c069ae80 c06417d0 c063d7b0
[ 0.751814] 1fc0: c1821ff4 c1821fd0 c061f910 c000a380 00000006 00000006 c061f26c 00000000
[ 0.751814] 1fe0: 00000000 00000013 00000000 c1821ff8 c0031d60 c061f824 2a69abf1 ab78ba68
[ 0.751814] Backtrace:
[ 0.751814] [<c03ad860>] (sunxi_mci_rescan_card+0x0/0x4c) from [<c03103ac>] (platform_wifi_power_on+0xb0/0x150)
[ 0.751814] [<c03102fc>] (platform_wifi_power_on+0x0/0x150) from [<c06325c0>] (rtw_drv_entry+0x38/0x120)
[ 0.751814] r6:c1820000 r5:c069ae80 r4:00000007
[ 0.751814] [<c0632588>] (rtw_drv_entry+0x0/0x120) from [<c000a414>] (do_one_initcall+0xa0/0x15c)
[ 0.751814] r5:c069ae80 r4:00000007
[ 0.751814] [<c000a374>] (do_one_initcall+0x0/0x15c) from [<c061f910>] (kernel_init+0xf8/0x1a4)
[ 0.751814] r8:c063d7b0 r7:c06417d0 r6:c069ae80 r5:00000107 r4:00000007
[ 0.751814] [<c061f818>] (kernel_init+0x0/0x1a4) from [<c0031d60>] (do_exit+0x0/0x648)
[ 0.751814] r7:00000013
[ 0.751814] Code: e59f3028 e7933100 e3530000 1a000000 (e7f001f2)
[ 1.877072] ---[ end trace 0efa3ee478cc5fd4 ]---
[ 1.882359] [DISP] disp_lcd_pwm_enable,line:1021:pwm device hdl is NULL
[ 1.890121] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 1.890128]
[ 1.900639] Rebooting in 5 seconds..
config配置:
;A23 PAD application
;---------------------------------------------------------------------------------------------------------
; port configuration:
; port_name = port:GPIO<mux><pull up/down><driver level><default value>
; mux: GPIO function configuration, 0-input, 1-output, 2+: special funciton for modules
; pull up/down: 1-pull up, 2-pull down
; driver level: 0,1,2,3. 2 is recommended
; default value: default output value when this IO is configured as an output IO
;---------------------------------------------------------------------------------------------------------
[product]
version = "100"
machine = "tiger-cdr"
[platform]
eraseflag = 0
;----------------------------------------------------------------------------------
;[target] system bootup configuration
;boot_clock = CPU boot frequency, Unit: MHz
;storage_type = boot medium, 0-nand, 1-card0, 2-card2, -1(defualt)auto scan
;speed_mod 0 : normal read ; 1 dual line fast read
;----------------------------------------------------------------------------------
[target]
boot_clock = 1008
storage_type = -1
[boot_spi_board0]
boot_spi_speed_hz = 60000000
speed_mod = 1
;----------------------------------------------------------------------------------
;dcdc1_vol ---set dcdc1 voltage,mV,1600-3400,100mV/step
;dcdc2_vol ---set dcdc2 voltage,mV,600-1540,20mV/step
;dcdc3_vol ---set dcdc3 voltage,mV,600-1860,20mV/step
;dcdc4_vol ---set dcdc4 voltage,mV,600-1540,20mV/step
;dcdc5_vol ---set dcdc5 voltage,mV,1000-2550,50mV/step
;aldo2_vol ---set aldo2 voltage,mV,700-3300,100mV/step
;aldo3_vol ---set aldo3 voltage,mV,700-3300,100mV/step
;----------------------------------------------------------------------------------
[power_sply]
dcdc2_vol = 1200
dcdc3_vol = 3300
aldo2_vol = 2500
aldo3_vol = 3000
ldo1_vol = 3300
ldo2_vol = 3000
;ldo3_vol = 2800
;ldo4_vol = 1800
;----------------------------------------------------------------------------------
;card boot
;----------------------------------------------------------------------------------
[card_boot]
logical_start = 40960
spinor_verify = 1
sprite_gpio0 =
;----------------------------------------------------------------------------------
;[cardx_boot_para] boot card configuration
;card_ctrl = boot card NO. 0 or 2
;card_high_speed = speed mode, 0-normal mode(up to 25MHz), 1-high speed mode(up to 50MHz)
;card_line = boot card buswidth(1 or 4)
;----------------------------------------------------------------------------------
[card0_boot_para]
card_ctrl = 0
card_high_speed = 1
card_line = 4
sdc_d1 = port:PF0<2><1><default><default>
sdc_d0 = port:PF1<2><1><default><default>
sdc_clk = port:PF2<2><1><default><default>
sdc_cmd = port:PF3<2><1><default><default>
sdc_d3 = port:PF4<2><1><default><default>
sdc_d2 = port:PF5<2><1><default><default>
;[card2_boot_para]
;card_ctrl = 2
;card_high_speed = 1
;card_line = 4
;sdc_cmd = port:PC00<2><1><2><default>
;sdc_clk = port:PC01<2><1><2><default>
;sdc_d0 = port:PC03<2><1><2><default>
;sdc_d1 = port:PC04<2><1><2><default>
;sdc_d2 = port:PC05<2><1><2><default>
;sdc_d3 = port:PC06<2><1><2><default>
;----------------------------------------------------------------------------------
;[twi_para] twi for boot code
;twi_port = twi controller ID
;----------------------------------------------------------------------------------
[twi_para]
twi_port = 0
twi_scl = port:PB06<2><default><default><default>
twi_sda = port:PB07<2><default><default><default>
;----------------------------------------------------------------------------------
;[uart_para] boot debug port configuration
;uart_debug_port = uart port ID for boot debug
;----------------------------------------------------------------------------------
;origin
;[uart_para]
;uart_debug_port = 1
;uart_debug_tx = port:PE21<4><1><default><default>
;uart_debug_rx = port:PE22<4><1><default><default>
[uart_para]
uart_debug_port = 0
uart_debug_tx = port:PB08<3><1><default><default>
uart_debug_rx = port:PB09<3><1><default><default>
;uart_debug_port = 2
;uart_debug_tx = port:PB00<2><1><default><default>
;uart_debug_rx = port:PB01<2><1><default><default>
;card print
;uart_debug_tx = port:PF02<3><1><default><default>
;uart_debug_rx = port:PF04<3><1><default><default>
;----------------------------------------------------------------------------------
;[jtag_para] jtag configuration
;jtag_enable = 0-disable jtag, 1-enable jtag
;----------------------------------------------------------------------------------
[jtag_para]
jtag_enable = 0
jtag_ms = port:PF00<3><default><default><default>
jtag_ck = port:PF05<3><default><default><default>
jtag_do = port:PF03<3><default><default><default>
jtag_di = port:PF01<3><default><default><default>
;----------------------------------------------------------------------------------
;[clock] pll configuration
;----------------------------------------------------------------------------------
[clock]
pll3 = 297
pll4 = 300
pll6 = 600
pll8 = 360
pll9 = 480
pll10 = 297
;---------------------------------------------------------------------------------------------------------
;[pm_para] power management
;standby_mode = 0-normal standby, 1-super standby
;---------------------------------------------------------------------------------------------------------
[pm_para]
standby_mode = 1
;----------------------------------------------------------------------------------
;sys_pwr_dm_para
;this para is used to change default sys_pwr_dm config when necessary.
; allowed sys_pwr_dm is such as follow:
; vdd-cpua
; vdd-cpub
; vdd-gpu
; vcc-dram
; vdd-sys
; which is compatible with pmu regu config. see: [pmu1_regu] for more info.
; value: 0: del the pwr_dm from sys_pwr_dm_mask;
; 1: add the pwr_dm into sys_pwr_dm_mask;
;----------------------------------------------------------------------------------
[sys_pwr_dm_para]
;vdd-cpua = 1
;vdd-sys = 1
;----------------------------------------------------------------------------------
;dynamic_standby_para
; enable:
; value: 0: all config is ignored.
; 1: all config is effective.
; dram_selfresh_flag:
; value: 0: dram will not enter selfresh,
; this config is used for stop dram entering selfresh, in case of dram memory have bug.
; 1: dram will enter slefresh.
;
;----------------------------------------------------------------------------------
[dynamic_standby_para]
enable = 0
dram_selfresh_flag = 1
vdd_cpua_vol = 1200
vdd_sys_vol = 1200
;*****************************************************************************
;sdram configuration
;
;*****************************************************************************
[dram_para]
dram_clk = 360
dram_type = 2
dram_zq = 0x39bb
dram_odt_en = 0
dram_para1 = 0x10E20000
dram_para2 = 0x0000
dram_mr0 = 0x1840
dram_mr1 = 0x4
dram_mr2 = 0x18
dram_mr3 = 0x4
dram_tpr0 = 0x00832087
dram_tpr1 = 0x01C24085
dram_tpr2 = 0x0002A01D
dram_tpr3 = 0x0
dram_tpr4 = 0x0
dram_tpr5 = 0x0
dram_tpr6 = 0x0
dram_tpr7 = 0x0
dram_tpr8 = 0x0
dram_tpr9 = 0x0
dram_tpr10 = 0x0
dram_tpr11 = 0x220000
dram_tpr12 = 0x78
dram_tpr13 = 0x0d000000
;---------------------------------------------------------------------------------------------------------
; if 1 == standby_mode, then support super standby;
; else, support normal standby.
;---------------------------------------------------------------------------------------------------------
[pm_para]
standby_mode = 0
;---------------------------------------------------------------------------------------------------------
; wakeup_src_para:
; sometimes, u would like to add more wakeup src in standby mode, these para will be
; help;
; u need to make sure the standby mode support the wakeup src. Also, some hw
; condition must be guaranteed.
; including:
; cpu_en: power on or off.
; 1: mean power on
; 0: mean power off
; cpu_freq: indicating lowest freq. unit is Mhz;
; dram selfresh_en: selfresh or not.
; 1: enable enter selfresh
; 0: disable enter selfresh
; dram_pll: if not enter selfresh, indicating lowest freq. unit is Mhz;
; wakeup_src: to make the scenario work, the wakeup src is needed.
;---------------------------------------------------------------------------------------------------------
[wakeup_src_para]
cpu_en = 0
cpu_freq = 48
; (cpu:apb:ahb)
pll_ratio = 0x111
dram_selfresh_en= 1
dram_freq = 36
wakeup_src_wl = port:PL07<4><default><default><0>
wakeup_src_bt = port:PL09<4><default><default><0>
bb_wake_ap = port:PL02<4><default><default><0>
;----------------------------------------------------------------------------------
;i2c configuration
; twi_used = twix enable ;; twi0->use pmu axp209 , twi1->use gsenor
;----------------------------------------------------------------------------------
[twi0]
twi_used = 0
twi_scl = port:PB06<2><default><default><default>
twi_sda = port:PB07<2><default><default><default>
[twi1]
twi_used = 0
twi_scl = port:PB08<2><default><default><default>
twi_sda = port:PB09<2><default><default><default>
;----------------------------------------------------------------------------------
;uart configuration
;uart_used = uart x enable
;uart_port = x; x is order number of ttySx
;uart_type = 2:2 wire,4:4 wire,8:8 wire, full function
;----------------------------------------------------------------------------------
[uart0]
uart_used = 1
uart_port = 0
uart_type = 2
uart_tx = port:PB08<3><1><default><default>
uart_rx = port:PB09<3><1><default><default>
;card print
;uart_tx = port:PF02<3><1><default><default>
;uart_rx = port:PF04<3><1><default><default>
[uart1]
uart_used = 0
uart_port = 0
uart_type = 2
uart_tx = port:PE21<4><1><default><default>
uart_rx = port:PE22<4><1><default><default>
[uart2]
uart_used = 0
uart_port = 0
uart_type = 2
uart_tx = port:PB00<2><1><default><default>
uart_rx = port:PB01<2><1><default><default>
;----------------------------------------------------------------------------------
;SPI controller configuration
;spi_used = SPIx enable
;spi_cs_bitmap = SPI bit mapping
;----------------------------------------------------------------------------------
[spi0]
spi_used = 1
spi_cs_bitmap = 1
spi_mosi = port:PC03<3><default><default><default>
spi_miso = port:PC00<3><default><default><default>
spi_sclk = port:PC01<3><default><default><default>
spi_cs0 = port:PC02<3><1><default><default>
;----------------------------------------------------------------------------------
;SPI device configuration
;spi_dev_num: number of spi devices
;----------------------------------------------------------------------------------
[spi_devices]
spi_dev_num = 1
;----------------------------------------------------------------------------------
;[spi_board0] spi device configuration
;modalias = spi device name
;max_speed_hz = max transfer speed
;bus_num = bus ID
;chip_select = chip select, 0,1
;mode = SPI transfer mode
; sflash_size- 16 : 16M nor flash size , 8 : 8M nor flash size
;----------------------------------------------------------------------------------
[spi_board0]
modalias = "w25q128"
max_speed_hz = 50000000
bus_num = 0
chip_select = 0
mode = 0
sflash_size = 16
;----------------------------------------------------------------------------------
;capacitor tp configuration
;ctp_twi_id : twi controller ID
;ctp_twi_addr : I2C slave address, 7bit
;ctp_screen_max_x/_y : resolution of touch panel
;ctp_revert_x/_y_flag : whether need to revert x/y
;ctp_exchange_x_y_flag: whether need to exchange the value of x and y
;ctp_int_port : port for tp's interrupt signal
;ctp_wakeup : port for wakeup tp
;----------------------------------------------------------------------------------
[ctp_para]
ctp_used = 1
ctp_name = "gt911_m785q6"
ctp_twi_id = 0
ctp_twi_addr = 0x48
ctp_screen_max_x = 800
ctp_screen_max_y = 480
ctp_revert_x_flag = 0
ctp_revert_y_flag = 0
ctp_exchange_x_y_flag = 1
ctp_int_port = port:PG04<6><default><default><default>
ctp_wakeup = port:PG03<1><default><default><1>
;--------------------------------------------------------------------------------
; CTP automatic detection configuration
;ctp_detect_used --- Whether startup automatic inspection function. 1:used,0:unused
;Module name postposition 1 said detection, 0 means no detection.
;--------------------------------------------------------------------------------
[ctp_list_para]
ctp_det_used = 0
gt911_ts = 1
ft5x_ts = 1
gt82x = 1
gslX680 = 1
gt9xx_ts = 1
gt811 = 1
zet622x = 1
aw5306_ts = 1
;----------------------------------------------------------------------------------
;touch key configuration
;tkey_twi_id : twi controller ID
;tkey_twi_addr : I2C slave address, 7bit
;tkey_int : port for touch key's interrupt signal
;----------------------------------------------------------------------------------
[tkey_para]
tkey_used = 0
tkey_twi_id =
tkey_twi_addr =
tkey_int =
;----------------------------------------------------------------------------------
;motor configuration
;motor_shake : port for making the moto shaking
;----------------------------------------------------------------------------------
[motor_para]
motor_used = 0
motor_shake = port:power3<1><default><default><1>
;----------------------------------------------------------------------------------
;cooler_table cooler_count <=32
;----------------------------------------------------------------------------------
[cooler_table]
cooler_count = 4
cooler0 = "1340000 4 4294967295 0"
cooler1 = "1200000 4 4294967295 0"
cooler2 = "1008000 4 4294967295 0"
cooler3 = "648000 4 4294967295 0"
;----------------------------------------------------------------------------------
;disp init configuration
;
;disp_mode (0:screen0<screen0,fb0>)
;screenx_output_type (0:none; 1:lcd; 3:hdmi;)
;screenx_output_mode (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)
; (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)
;fbx format (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444)
;fbx pixel sequence (0:ARGB 1:BGRA 2:ABGR 3:RGBA)
;fb0_scaler_mode_enable(scaler mode enable, used FE)
;fbx_width,fbx_height (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0)
;lcdx_backlight (lcd init backlight,the range:[0,256],default:197
;lcdx_yy (lcd init screen bright/contrast/saturation/hue, value:0~100, default:50/50/57/50)
;lcd0_contrast (LCD contrast, 0~100)
;lcd0_saturation (LCD saturation, 0~100)
;lcd0_hue (LCD hue, 0~100)
;----------------------------------------------------------------------------------
[disp_init]
disp_init_enable = 0
disp_mode = 0
screen0_output_type = 1
screen0_output_mode = 4
screen1_output_type = 1
screen1_output_mode = 4
fb0_format = 10
fb0_pixel_sequence = 0
fb0_scaler_mode_enable = 0
fb0_width = 0
fb0_height = 0
fb1_format = 10
fb1_pixel_sequence = 0
fb1_scaler_mode_enable = 0
fb1_width = 0
fb1_height = 0
lcd0_backlight = 102
lcd1_backlight = 102
lcd0_bright = 50
lcd0_contrast = 50
lcd0_saturation = 57
lcd0_hue = 50
lcd1_bright = 50
lcd1_contrast = 50
lcd1_saturation = 57
lcd1_hue = 50
;----------------------------------------------------------------------------------
;lcd0 configuration
;lcd_if: 0:hv(sync+de); 1:8080; 2:ttl; 3:lvds; 4:dsi; 5:edp; 6:extend dsi
;lcd_x: lcd horizontal resolution
;lcd_y: lcd vertical resolution
;lcd_width: width of lcd in mm
;lcd_height: height of lcd in mm
;lcd_dclk_freq: in MHZ unit
;lcd_pwm_freq: in HZ unit
;lcd_pwm_pol: lcd backlight PWM polarity
;lcd_pwm_max_limit lcd backlight PWM max limit(<=255)
;lcd_hbp: hsync back porch
;lcd_ht: hsync total cycle
;lcd_vbp: vsync back porch
;lcd_vt: vysnc total cycle
;lcd_hspw: hsync plus width
;lcd_vspw: vysnc plus width
;lcd_lvds_if: 0:single link; 1:dual link
;lcd_lvds_colordepth: 0:8bit; 1:6bit
;lcd_lvds_mode: 0:NS mode; 1:JEIDA mode
;lcd_frm: 0:disable; 1:enable rgb666 dither; 2:enable rgb656 dither
;lcd_io_phase: 0:noraml; 1:intert phase(0~3bit: vsync phase; 4~7bit:hsync phase;
; 8~11bit:dclk phase; 12~15bit:de phase)
;lcd_gamma_en lcd gamma correction enable
;lcd_bright_curve_en lcd bright curve correction enable
;lcd_cmap_en lcd color map function enable
;deu_mode 0:smoll lcd screen; 1:large lcd screen(larger than 10inch)
;lcdgamma4iep: Smart Backlight parameter, lcd gamma vale * 10;
; decrease it while lcd is not bright enough; increase while lcd is too bright
;smart_color 90:normal lcd screen 65:retina lcd screen(9.7inch)
;----------------------------------------------------------------------------------
[lcd0_para]
lcd_used = 0
lcd_driver_name = "wtq05027d01"
lcd_if = 0
lcd_x = 480
lcd_y = 272
lcd_width = 0
lcd_height = 0
lcd_dclk_freq = 9
lcd_pwm_used = 1
lcd_pwm_ch = 0
lcd_pwm_freq = 50000
lcd_pwm_pol = 1
lcd_hbp = 37
lcd_ht = 531
lcd_hspw = 6
lcd_vbp = 12
lcd_vt = 288
lcd_vspw = 10
lcd_lvds_if = 0
lcd_lvds_colordepth = 0
lcd_lvds_mode = 0
lcd_frm = 0
lcd_io_phase = 0x0100
lcd_gamma_en = 0
lcd_bright_curve_en = 1
lcd_cmap_en = 0
deu_mode = 0
lcdgamma4iep = 22
smart_color = 90
lcd_bl_en = port:PB4<1><0><default><1>
lcd_power = ""
lcdd2 = port:PE04<3><0><default><default>
lcdd3 = port:PE05<3><0><default><default>
lcdd4 = port:PE06<3><0><default><default>
lcdd5 = port:PE07<3><0><default><default>
lcdd6 = port:PE08<3><0><default><default>
lcdd7 = port:PE09<3><0><default><default>
lcdd10 = port:PE10<3><0><default><default>
lcdd11 = port:PE11<3><0><default><default>
lcdd12 = port:PE12<3><0><default><default>
lcdd13 = port:PE13<3><0><default><default>
lcdd14 = port:PE14<3><0><default><default>
lcdd15 = port:PE15<3><0><default><default>
lcdd18 = port:PE16<3><0><default><default>
lcdd19 = port:PE17<3><0><default><default>
lcdd20 = port:PE18<3><0><default><default>
lcdd21 = port:PE19<3><0><default><default>
lcdd22 = port:PE23<3><0><default><default>
lcdd23 = port:PE24<3><0><default><default>
lcdclk = port:PE00<3><0><3><default>
lcdde = port:PE01<3><0><3><default>
lcdhsync = port:PE02<3><0><3><default>
lcdvsync = port:PE03<3><0><3><default>
;----------------------------------------------------------------------------------
;pwm config
;----------------------------------------------------------------------------------
[pwm0_para]
pwm_used = 0
pwm_positive = port:PB04<2><0><default><default>
[pwm1_para]
pwm_used = 0
pwm_positive = port:PH01<2><0><default><default>
;------------------------------------------------------------------------------;
; 10/100/100Mbps Ethernet MAC Controller Configure ;
;------------------------------------------------------------------------------;
; Options: ;
; gmac_used --- 0: not used, 1: external phy, 2: internal phy ;
; gmac_powerx -- A[:B] A: axp channel, B: voltage value ;
; If set gamc_phy to use internal PHY, do not config port ;
;------------------------------------------------------------------------------;
; MII RMII MII RMII MII RMII ;
; PD00 * PD06 * * PD12 * * ;
; PD01 * PD07 * PD13 * * ;
; PD02 * * PD08 * PD14 * ;
; PD03 * * PD09 * * PD15 * ;
; PD04 * PD10 * * PD16 * * ;
; PD05 * PD11 * * PD17 * * ;
;------------------------------------------------------------------------------;
[gmac0]
gmac_used = 0
gmac_power1 =
;--------------------------------------------------------------------------------
;vip (video input port) configuration
;vip_used: 0:disable 1:enable
;vip_mode: 0:sample one interface to one buffer 1:sample two interface to one buffer
;vip_dev_qty: The quantity of devices linked to capture bus
;
;vip_define_sensor_list: If you want use sensor detect function, please set vip_define_sensor_list = 1, and
; verify that file /system/etc/hawkview/sensor_list_cfg.ini is properly configured!
;
;vip_dev(x)_pos: sensor position, "rear" or "front", if vip_define_sensor_list = 1,vip_dev(x)_pos must be configured!
;
;vip_dev(x)_isp_used 0:not use isp 1:use isp
;vip_dev(x)_fmt: 0:yuv 1:bayer raw rgb
;vip_dev(x)_stby_mode: 0:not shut down power at standby 1:shut down power at standby
;vip_dev(x)_vflip: flip in vertical direction 0:disable 1:enable
;vip_dev(x)_hflip: flip in horizontal direction 0:disable 1:enable
;vip_dev(x)_iovdd: camera module io power handle string, pmu power supply
;vip_dev(x)_iovdd_vol: camera module io power voltage, pmu power supply
;vip_dev(x)_avdd: camera module analog power handle string, pmu power supply
;vip_dev(x)_avdd_vol: camera module analog power voltage, pmu power supply
;vip_dev(x)_dvdd: camera module core power handle string, pmu power supply
;vip_dev(x)_dvdd_vol: camera module core power voltage, pmu power supply
;vip_dev(x)_afvdd: camera module vcm power handle string, pmu power supply
;vip_dev(x)_afvdd_vol: camera module vcm power voltage, pmu power supply
;x indicates the index of the devices which are linked to the same capture bus
;fill voltage in uV, e.g. iovdd = 2.8V, vip_devx_iovdd_vol = 2800000
;fill handle string as below:
;axp22_eldo3
;axp22_dldo4
;axp22_eldo2
;fill handle string "" when not using any pmu power supply
;--------------------------------------------------------------------------------
[csi0]
vip_used = 0
vip_mode = 0
vip_dev_qty = 1
vip_define_sensor_list = 0
vip_csi_mck = port:PE20<3><default><default><default>
vip_csi_sck = port:PE21<2><default><default><default>
vip_csi_sda = port:PE22<2><default><default><default>
vip_dev0_mname = "h22_mipi"
vip_dev0_pos = "rear"
vip_dev0_lane = 1
vip_dev0_twi_id = 0
vip_dev0_twi_addr = 0x60
vip_dev0_isp_used = 1
vip_dev0_fmt = 1
vip_dev0_stby_mode = 0
vip_dev0_vflip = 0
vip_dev0_hflip = 0
vip_dev0_iovdd = ""
vip_dev0_iovdd_vol = 3000000
vip_dev0_avdd = "csi-avdd"
vip_dev0_avdd_vol = 3000000
vip_dev0_dvdd = "csi-dvdd"
vip_dev0_dvdd_vol = 3000000
vip_dev0_afvdd = ""
vip_dev0_afvdd_vol = 2800000
vip_dev0_power_en =
vip_dev0_reset = port:PG00<1><default><default><default>
vip_dev0_pwdn = port:PG01<1><default><default><default>
vip_dev0_flash_en =
vip_dev0_flash_mode =
vip_dev0_af_pwdn =
vip_dev0_act_used = 0
vip_dev0_act_name = "dw9714_act"
vip_dev0_act_slave = 0x18
vip_dev1_mname = ""
vip_dev1_pos = "front"
vip_dev1_lane = 1
vip_dev1_twi_id = 0
vip_dev1_twi_addr =
vip_dev1_isp_used = 0
vip_dev1_fmt = 1
vip_dev1_stby_mode = 0
vip_dev1_vflip = 0
vip_dev1_hflip = 0
vip_dev1_iovdd = ""
vip_dev1_iovdd_vol = 2800000
vip_dev1_avdd = ""
vip_dev1_avdd_vol = 2800000
vip_dev1_dvdd = ""
vip_dev1_dvdd_vol = 1500000
vip_dev1_afvdd = ""
vip_dev1_afvdd_vol = 2800000
vip_dev1_power_en =
vip_dev1_reset =
vip_dev1_pwdn =
vip_dev1_flash_en =
;fill handle string as below:
;axp22_eldo3
;axp22_dldo4
;axp22_eldo2
;fill handle string "" when not using any pmu power supply
;--------------------------------------------------------------------------------
[csi0]
vip_used = 0
vip_mode = 0
vip_dev_qty = 1
vip_define_sensor_list = 0
vip_csi_mck = port:PE20<3><default><default><default>
vip_csi_sck = port:PE21<2><default><default><default>
vip_csi_sda = port:PE22<2><default><default><default>
vip_dev0_mname = "h22_mipi"
vip_dev0_pos = "rear"
vip_dev0_lane = 1
vip_dev0_twi_id = 0
vip_dev0_twi_addr = 0x60
vip_dev0_isp_used = 1
vip_dev0_fmt = 1
vip_dev0_stby_mode = 0
vip_dev0_vflip = 0
vip_dev0_hflip = 0
vip_dev0_iovdd = ""
vip_dev0_iovdd_vol = 3000000
vip_dev0_avdd = "csi-avdd"
vip_dev0_avdd_vol = 3000000
vip_dev0_dvdd = "csi-dvdd"
vip_dev0_dvdd_vol = 3000000
vip_dev0_afvdd = ""
vip_dev0_afvdd_vol = 2800000
vip_dev0_power_en =
vip_dev0_reset = port:PG00<1><default><default><default>
vip_dev0_pwdn = port:PG01<1><default><default><default>
vip_dev0_flash_en =
vip_dev0_flash_mode =
vip_dev0_af_pwdn =
vip_dev0_act_used = 0
vip_dev0_act_name = "dw9714_act"
vip_dev0_act_slave = 0x18
vip_dev1_mname = ""
vip_dev1_pos = "front"
vip_dev1_lane = 1
vip_dev1_twi_id = 0
vip_dev1_twi_addr =
vip_dev1_isp_used = 0
vip_dev1_fmt = 1
vip_dev1_stby_mode = 0
vip_dev1_vflip = 0
vip_dev1_hflip = 0
vip_dev1_iovdd = ""
vip_dev1_iovdd_vol = 2800000
vip_dev1_avdd = ""
vip_dev1_avdd_vol = 2800000
vip_dev1_dvdd = ""
vip_dev1_dvdd_vol = 1500000
vip_dev1_afvdd = ""
vip_dev1_afvdd_vol = 2800000
vip_dev1_power_en =
vip_dev1_reset =
vip_dev1_pwdn =
vip_dev1_flash_en =
vip_dev1_flash_mode =
vip_dev1_af_pwdn =
[csi1]
vip_used = 0
vip_mode = 0
vip_dev_qty = 1
vip_define_sensor_list = 0
vip_csi_pck = port:PE00<2><default><default><default>
vip_csi_mck = port:PE01<2><default><default><default>
vip_csi_hsync = port:PE02<2><default><default><default>
vip_csi_vsync = port:PE03<2><default><default><default>
vip_csi_d0 = port:PE04<2><default><default><default>
vip_csi_d1 = port:PE05<2><default><default><default>
vip_csi_d2 = port:PE06<2><default><default><default>
vip_csi_d3 = port:PE07<2><default><default><default>
vip_csi_d4 = port:PE08<2><default><default><default>
vip_csi_d5 = port:PE09<2><default><default><default>
vip_csi_d6 = port:PE10<2><default><default><default>
vip_csi_d7 = port:PE11<2><default><default><default>
vip_csi_d8 = port:PE12<2><default><default><default>
;vip_csi_d9 = port:PE13<2><default><default><default>
vip_csi_d10 = port:PE14<2><default><default><default>
vip_csi_d11 = port:PE15<2><default><default><default>
vip_csi_sck = port:PE21<2><default><default><default>
vip_csi_sda = port:PE22<2><default><default><default>
vip_dev0_mname = "ov5640"
vip_dev0_pos = "front"
vip_dev0_twi_id = 4
vip_dev0_twi_addr = 0x78
vip_dev0_isp_used = 0
vip_dev0_fmt = 0
vip_dev0_stby_mode = 0
vip_dev0_vflip = 0
vip_dev0_hflip = 0
vip_dev0_iovdd = ""
vip_dev0_iovdd_vol = 2800000
vip_dev0_avdd = ""
vip_dev0_avdd_vol = 2800000
vip_dev0_dvdd = ""
vip_dev0_dvdd_vol = 1500000
vip_dev0_afvdd = ""
vip_dev0_afvdd_vol = 2800000
vip_dev0_power_en =
vip_dev0_reset = port:PE23<1><default><default><default>
vip_dev0_pwdn = port:PE24<1><default><default><default>
vip_dev0_flash_en =
vip_dev0_flash_mode =
vip_dev0_af_pwdn =
vip_dev0_act_used = 0
vip_dev0_act_name = "ad5820_act"
vip_dev0_act_slave = 0x18
vip_dev1_mname = "gc2035"
vip_dev1_pos = "front"
vip_dev1_lane = 1
vip_dev1_twi_id = 4
vip_dev1_twi_addr = 0x78
vip_dev1_isp_used = 0
vip_dev1_fmt = 1
vip_dev1_stby_mode = 0
vip_dev1_vflip = 0
vip_dev1_hflip = 0
vip_dev1_iovdd = ""
vip_dev1_iovdd_vol = 2800000
vip_dev1_avdd = ""
vip_dev1_avdd_vol = 2800000
vip_dev1_dvdd = ""
vip_dev1_dvdd_vol = 1500000
vip_dev1_afvdd = ""
vip_dev1_afvdd_vol = 2800000
vip_dev1_power_en =
vip_dev1_reset =
vip_dev1_pwdn =
vip_dev1_flash_en =
vip_dev1_flash_mode =
vip_dev1_af_pwdn =
;-------------------------------------------------------------------------------
; mmc configuration
;
; Config Guide
; sdc_used: 1-enable card, 0-disable card
; sdc_detmode: card detect mode
; 1-detect card by gpio polling
; 2-detect card by gpio irq(must use IO with irq function)
; 3-no detect, always in for boot card
; 4-manually insert and remove by /proc/driver/sunxi-mmc.x/insert
; sdc_buswidth: card bus width, 1-1bit, 4-4bit, 8-8bit
; sdc_use_wp: 1-with write protect IO, 0-no write protect IO
; sdc_isio: for sdio card
; sdc_regulator: power control.if card supports UHS-I/DDR and HS200 timing for
; SD3.0 or eMMC4.5, regulator must be configured. the value is
; the ldo name of AXP221, eg: sdc_regulator = "axp22_eldo2"
; other: GPIO Mapping configuration
;
; Note:
; 1 if detmode=2, sdc_det's config=6
; else if detmode=1, sdc_det's config=0
; else sdc_det IO is not necessary
; 2 if the customer wants to support UHS-I and HS200 features, he must provide
; an independent power supply for the card. This is only used in platforms
; that supports SD3.0 cards and eMMC4.4+ flashes
;-------------------------------------------------------------------------------
[mmc0_para]
sdc_used = 1
sdc_detmode = 3
sdc_buswidth = 4
sdc_d1 = port:PF00<2><1><2><default>
sdc_d0 = port:PF01<2><1><2><default>
sdc_clk = port:PF02<2><1><2><default>
sdc_cmd = port:PF03<2><1><2><default>
sdc_d3 = port:PF04<2><1><2><default>
sdc_d2 = port:PF05<2><1><2><default>
sdc_det = port:PF06<0><1><default><default>
sdc_use_wp = 0
sdc_wp =
sdc_isio = 0
sdc_regulator = "none"
[mmc1_para]
sdc_used = 1
sdc_detmode = 4
sdc_buswidth = 4
sdc_clk = port:PG00<2><1><1><default>
sdc_cmd = port:PG01<2><1><1><default>
sdc_d0 = port:PG02<2><1><1><default>
sdc_d1 = port:PG03<2><1><1><default>
sdc_d2 = port:PG04<2><1><1><default>
sdc_d3 = port:PG05<2><1><1><default>
sdc_det =
sdc_use_wp = 0
sdc_wp =
sdc_isio = 1
sdc_regulator = "none"
[mmc2_para]
sdc_used = 0
sdc_detmode = 3
sdc_buswidth = 8
sdc_clk = port:PC00<2><1><2><default>
sdc_cmd = port:PC01<2><1><2><default>
sdc_d0 = port:PC03<2><1><2><default>
sdc_d1 = port:PC04<2><1><2><default>
sdc_d2 = port:PC05<2><1><2><default>
sdc_d3 = port:PC06<2><1><2><default>
sdc_d4 = port:PC07<2><1><2><default>
sdc_d5 = port:PC08<2><1><2><default>
sdc_d6 = port:PC09<2><1><2><default>
sdc_d7 = port:PC10<2><1><2><default>
emmc_rst = port:PC02<2><1><2><default>
sdc_det =
sdc_use_wp = 0
sdc_wp =
sdc_isio = 0
sdc_regulator = "none"
;----------------------------------------------------------------------------------
;usb configuration
;usb_used: usb controller enable, 0-disable, 1-enable
;usb_port_type: usb mode: 0-device, 1-host, 2-otg
;usb_detect_type: usb hotplug detect mode, 0-none, 1-vbus/id detect, 2-id/dpdm detect
;usb_id_gpio: usb id detect IO
;usb_det_vbus_gpio: usb vbus detect IO, "axp_ctrl" for axp
;usb_drv_vbus_gpio: usb dirve vbus IO
;usb_restrict_gpio: usb current restrict IO
;usb_restric_flag: usb current restrict flag
;----------------------------------------------------------------------------------
[usbc0]
usb_used = 1
usb_port_type = 2
usb_detect_type = 1
usb_id_gpio = port:PF6<0><1><default><default>
usb_det_vbus_gpio = port:PF6<0><1><default><default>
usb_drv_vbus_gpio = port:PG3<1><0><default><0>
usb_restrict_gpio =
usb_host_init_state = 0
usb_restric_flag = 0
usb_restric_voltage = 3550000
usb_restric_capacity= 5
usb_regulator_io = "nocare"
usb_regulator_vol = 0
usb_not_suspend = 0
;----------------------------------------------------------------------------------
; USB Device vendor Info.
;----------------------------------------------------------------------------------
[usb_feature]
vendor_id = 0x18D1
mass_storage_id = 0x0001
adb_id = 0x0002
manufacturer_name = "USB Developer"
product_name = "Android"
serial_number = "20080411"
[msc_feature]
vendor_name = "USB 2.0"
product_name = "USB Flash Driver"
release = 100
luns = 1
[serial_feature]
serial_unique = 0
;--------------------------------------------------------------------------------
; G sensor configuration
; gs_twi_id --- TWI ID for controlling Gsensor (0: TWI0, 1: TWI1, 2: TWI2)
;--------------------------------------------------------------------------------
[gsensor_para]
gsensor_used = 0
gsensor_twi_id = 0
;gsensor_twi_addr = 0x18
gsensor_twi_addr = 0x27
gsensor_int1 =
gsensor_int2 =
;--------------------------------------------------------------------------------
; G sensor automatic detection configuration
;gsensor_detect_used --- Whether startup automatic inspection function. 1:used,0:unused
;Module name postposition 1 said detection, 0 means no detection.
;--------------------------------------------------------------------------------
[gsensor_list_para]
gsensor_det_used = 0
bma250 = 1
da380 = 1
mma8452 = 1
mma7660 = 1
mma865x = 1
afa750 = 1
lis3de_acc = 1
lis3dh_acc = 1
kxtik = 1
dmard10 = 0
dmard06 = 1
mxc622x = 1
fxos8700 = 1
lsm303d = 1
;--------------------------------------------------------------------------------
; gps gpio configuration
; gps_spi_id: the index of SPI controller. 0: SPI0, 1: SPI1, 2: SPI2, 15: no SPI used
; gps_spi_cs_num: the chip select number of SPI controller. 0: SPI CS0, 1: SPI CS1
; gps_lradc: the lradc number for GPS used. 0 and 1 is valid, set 2 if not use lradc
;--------------------------------------------------------------------------------
[gps_para]
;--------------------------------------------------------------------------------
;wifi configuration
;wifi_sdc_id: 0- SDC0, 1- SDC1, 2- SDC2, 3- SDC3
;wifi_usbc_id: 0- USB0, 1- USB1, 2- USB2
;wifi_usbc_type: 1- EHCI(speed 2.0), 2- OHCI(speed 1.0)
;wifi_mod_sel: 0- none, 1- ap6181, 2- ap6210(wifi+bt),
; 3 - rtl8188eu, 4- rtl8723au(wifi+bt)
; 5 - rtl8189fs
;--------------------------------------------------------------------------------
[wifi_para]
wifi_used = 1
wifi_sdc_id = 1
wifi_usbc_id = 1
wifi_usbc_type = 1
wifi_mod_sel = 5
wifi_power = ""
; 1 - ap6181 sdio wifi gpio config
;ap6xxx_wl_regon = port:PL06<1><default><default><0>
;ap6xxx_wl_host_wake = port:PL07<4><default><default><0>
; 2 - ap6210 sdio wifi gpio config
ap6xxx_wl_regon = port:PL06<1><default><default><0>
ap6xxx_wl_host_wake = port:PL07<4><default><default><0>
ap6xxx_bt_regon = port:PL08<1><default><default><0>
ap6xxx_bt_wake = port:PL10<1><default><default><0>
ap6xxx_bt_host_wake = port:PL09<4><default><default><0>
ap6xxx_lpo_use_apclk = 1
; 3 - rtl8188eu usb wifi gpio conifg
; 4 - rtl8723au usb wifi + bt
;--------------------------------------------------------------------------------
;light sensor
;--------------------------------------------------------------------------------
[ls_para]
ls_used = 0
ls_twi_id = 1
ls_twi_addr = 0x23
ls_int = port:PB07<4><1><default><default>
;--------------------------------------------------------------------------------
; lsensor automatic detection configuration
;ls_detect_used --- Whether startup automatic inspection function. 1:used,0:unused
;Module name postposition 1 said detection, 0 means no detection.
;--------------------------------------------------------------------------------
[ls_list_para]
ls_det_used = 0
ltr_501als = 1
jsa1212 = 1
;--------------------------------------------------------------------------------
;compass
;--------------------------------------------------------------------------------
[compass_para]
compass_used = 0
compass_twi_id = 1
compass_twi_addr = 0x0d
compass_int =
;--------------------------------------------------------------------------------
;daudio_master:1: SND_SOC_DAIFMT_CBM_CFM(codec clk & FRM master) use
; 2: SND_SOC_DAIFMT_CBS_CFM(codec clk slave & FRM master) not use
; 3: SND_SOC_DAIFMT_CBM_CFS(codec clk master & frame slave) not use
; 4: SND_SOC_DAIFMT_CBS_CFS(codec clk & FRM slave) use
;daudio_select:0 is pcm.1 is i2s
;audio_format: 1:SND_SOC_DAIFMT_I2S(standard i2s format). use
; 2:SND_SOC_DAIFMT_RIGHT_J(right justfied format).
; 3:SND_SOC_DAIFMT_LEFT_J(left justfied format)
; 4:SND_SOC_DAIFMT_DSP_A(pcm. MSB is available on 2nd BCLK rising edge after LRC rising edge). use
; 5:SND_SOC_DAIFMT_DSP_B(pcm. MSB is available on 1nd BCLK rising edge after LRC rising edge)
;signal_inversion:1:SND_SOC_DAIFMT_NB_NF(normal bit clock + frame) use
; 2:SND_SOC_DAIFMT_NB_IF(normal BCLK + inv FRM)
; 3:SND_SOC_DAIFMT_IB_NF(invert BCLK + nor FRM) use
; 4:SND_SOC_DAIFMT_IB_IF(invert BCLK + FRM)
;over_sample_rate: support 128fs/192fs/256fs/384fs/512fs/768fs
;sample_resolution :16bits/20bits/24bits
;word_select_size :16bits/20bits/24bits/32bits
;pcm_sync_period :16/32/64/128/256
;msb_lsb_first :0: msb first; 1: lsb first
;sign_extend :0: zero pending; 1: sign extend
;slot_index :slot index: 0: the 1st slot - 3: the 4th slot
;slot_width :8 bit width / 16 bit width
;frame_width :0: long frame = 2 clock width; 1: short frame
;tx_data_mode :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
;rx_data_mode :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
;--------------------------------------------------------------------------------
[tdm0]
daudio_used = 0
daudio_master = 4
daudio_select = 1
audio_format = 1
signal_inversion = 1
mclk_fs = 512
sample_resolution = 16
slot_width_select = 16
pcm_lrck_period = 32
pcm_lrckr_period = 1
msb_lsb_first = 0
sign_extend = 0
slot_index = 0
slot_width = 16
frame_width = 1
tx_data_mode = 0
rx_data_mode = 0
;i2s_mclk = port:PB08<2><1><default><default>
i2s_bclk = port:PG11<2><1><default><default>
i2s_lrclk = port:PG10<2><1><default><default>
i2s_dout0 = port:PG12<2><1><default><default>
i2s_dout1 =
i2s_dout2 =
i2s_dout3 =
i2s_din = port:PG13<2><1><default><default>
;--------------------------------------------------------------------------------------
;pa_single_vol,pa_double_vol: 31 level,1.5db/step.0x1f is the large volume.
;cap_val:use for system record,0x0--0db,0x1--24db,0x2--27db,0x3--30db,0x4--33db,0x5--36db,0x6--39db,0x7--42db
;headphone_vol,earpiece_vol: must least than 0x3b. 0x1 is a step.
;headset_mic_vol: headset mic(mic2) vol,use for phone headset mic call
;main_mic_vol: main mic(mic1) vol,use for phone main mic call
;version_v3_used : 1:v3,0:v3s
[audio0]
;audio_used = 1
headphone_vol = 0x3b
cap_vol = 0x5
Differential_output = 1
pa_single_vol = 0x3d
pa_double_used = 0
pa_double_vol = 0x1f
headphone_direct_used = 0
phone_mic_vol = 0x6
version_v3_used = 0
headphone_mute_used = 0
audio_hp_ldo = 0
;v3s
audio_pa_ctrl = port:PB05<1><default><default><0>
adcagc_used = 0
adcdrc_used = 0
dacdrc_used = 0
adchpf_used = 0
dachpf_used = 0
;----------------------------------------------------------------------------------
;ir --- infra remote configuration
;----------------------------------------------------------------------------------
[s_ir0]
ir_used = 0
ir_rx = port:PL04<2><1><default><default>
;-------------------------------------------------------------------------------------
;pmu_used ---0:not used,1:used
;pmu_id ---0:axp19x,1:axp209,2:axp22x,3:axp806,4:axp808,5:axp809,6:axp803,7:axp813
;pmu_twi_addr ---slave address
;pmu_twi_id ---i2c bus number (0 TWI0, 1 TWI2, 2 TWI3)
;pmu_irq_id ---irq number (0 irq0,1 irq1,…\E2\80?
;pmu_battery_rdc ---battery initial resistance
;pmu_battery_cap ---battery capability,mAh
;pmu_batdeten ---battery detect en;0:disable 1:enable
;pmu_runtime_chgcur ---set initial charging current limite,mA\EF\BC?00/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
;pmu_earlysuspend_chgcur ---set earlysuspend charging current limite,mA\EF\BC?00/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
;pmu_suspend_chgcur ---set suspend charging current limite,mA\EF\BC?00/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
;pmu_shutdown_chgcur ---set shutdown charging current limite,mA\EF\BC?00/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
;pmu_init_chgvol ---set initial charing target voltage,mV,4100/4220/4200/4240
;pmu_init_chgend_rate ---set initial charing end current rate,10/15
;pmu_init_chg_enabled ---set initial charing enabled,0:disable,1:enable
;pmu_init_adc_freq ---set initial adc frequency,Hz,100/200/400/800
;pmu_init_adcts_freq ---set initial adc TS,Hz,100/200/400/800
;pmu_init_chg_pretime ---set initial pre-charging time,min,40/50/60/70
;pmu_init_chg_csttime ---set initial constance-charging time,min,360/480/600/720
;pmu_batt_cap_correct ---correct the battery capacity or not when one charge cycle 0:not correct 1:correct
;pmu_bat_regu_en ---bat regulator is enable or not when charge done 0:disable 1:enable
;pmu_bat_para1 ---battery indication at 3.13V
;pmu_bat_para2 ---battery indication at 3.27V
;pmu_bat_para3 ---battery indication at 3.34V
;pmu_bat_para4 ---battery indication at 3.41V
;pmu_bat_para5 ---battery indication at 3.48V
;pmu_bat_para6 ---battery indication at 3.52V
;pmu_bat_para7 ---battery indication at 3.55V
;pmu_bat_para8 ---battery indication at 3.57V
;pmu_bat_para9 ---battery indication at 3.59V
;pmu_bat_para10 ---battery indication at 3.61V
;pmu_bat_para11 ---battery indication at 3.63V
;pmu_bat_para12 ---battery indication at 3.64V
;pmu_bat_para13 ---battery indication at 3.66V
;pmu_bat_para14 ---battery indication at 3.7V
;pmu_bat_para15 ---battery indication at 3.73V
;pmu_bat_para16 ---battery indication at 3.77V
;pmu_bat_para17 ---battery indication at 3.78V
;pmu_bat_para18 ---battery indication at 3.8V
;pmu_bat_para19 ---battery indication at 3.82V
;pmu_bat_para20 ---battery indication at 3.84V
;pmu_bat_para21 ---battery indication at 3.85V
;pmu_bat_para22 ---battery indication at 3.87V
;pmu_bat_para23 ---battery indication at 3.91V
;pmu_bat_para24 ---battery indication at 3.94V
;pmu_bat_para25 ---battery indication at 3.98V
;pmu_bat_para26 ---battery indication at 4.01V
;pmu_bat_para27 ---battery indication at 4.05V
;pmu_bat_para28 ---battery indication at 4.08V
;pmu_bat_para29 ---battery indication at 4.1V
;pmu_bat_para30 ---battery indication at 4.12V
;pmu_bat_para31 ---battery indication at 4.14V
;pmu_bat_para32 ---battery indication at 4.15V
;pmu_usbvol_limit ---set usb-ac limited voltage enable,1:enable\EF\BC?:disable
;pmu_usbcur_limit ---set usb-ac limited current enable,1:enable\EF\BC?:disable
;pmu_usbvol ---set usb-ac limited voltage level,mV,4000/4100/4200/4300/4400/4500/4600/4700,0 - not limite
;pmu_usbcur ---set usb-ac limited current level,mA,500/900, 0 - not limite
;pmu_usbvol_pc ---set usb-pc limited voltage level,mV,4000/4100/4200/4300/4400/4500/4600/4700,0 - not limite
;pmu_usbcur_pc ---set usb-pc limited current level,mA,500/900, 0 - not limite
;pmu_pwroff_vol ---set protect voltage when system start up,mV,2600/2700/2800/2900/3000/3100/3200/3300
;pmu_pwron_vol ---set protect voltage after system start up,mV,2600/2700/2800/2900/3000/3100/3200/3300
;pmu_pekoff_time ---set pek off time,ms, 4000/6000/8000/10000
;pmu_pekoff_func ---set pek off func, 0:shutdown,1:restart
;pmu_pekoff_en ---set pek offlevel powerdown or not, 0:not powerdown,1:powerdown
;pmu_peklong_time ---set pek pek long irq time,ms,1000/1500/2000/2500
;pmu_pekon_time ---set pek on time,ms,128/1000/2000/3000
;pmu_pwrok_time ---set pmu pwrok delay time,ms,8/16/32/64
;pmu_battery_warning_level1 ---low power warning high level,5%-20%,1%/step
;pmu_battery_warning_level2 ---low power warning low level,0%-15%,1%/step
;pmu_restvol_time ---battery indicaton reflash time,30/60/120/
;pmu_ocv_cou_adjust_time ---ocv battery indication reflash time,60/120/30
;pmu_chgled_func ---CHGKED pin control\EF\BC?:controlled by pmu,1:controlled by Charger
;pmu_chgled_type ---CHGLED Type select when pmu_chgled_func=0,0:Type A\EF\BC?:Type B
;pmu_vbusen_func ---N_VBUSEN function select,0:as an output,1:as an input
;pmu_reset ---when power key press longer than 16's,PMU reset or not.0:not reset 1:reset
;pmu_IRQ_wakeup ---press IRQ wakeup or not when sleep or power down.0:not wakeup 1:wakeup
;pmu_hot_shutdowm ---when PMU over temperature protect or not;0:disable 1:enable
;pmu_inshort ---ACIN and VBUS inshort or not by software;0:auto detect 1:inshort
;pmu_temp_enable ---temp detect enable
;pmu_charge_ltf ---charge temp low threshold voltage
;pmu_charge_htf ---charge temp high threshold voltage
;pmu_discharge_ltf ---shutdown temp low threshold voltage
;pmu_discharge_htf ---shutdown temp high threshold voltage
;pmu_temp_para1 --- temp -25 voltage
;pmu_temp_para2 --- temp -15 voltage
;pmu_temp_para3 --- temp -10 voltage
;pmu_temp_para4 --- temp -5 voltage
;pmu_temp_para5 --- temp 0 voltage
;pmu_temp_para6 --- temp 5 voltage
;pmu_temp_para7 --- temp 10 voltage
;pmu_temp_para8 --- temp 20 voltage
;pmu_temp_para9 --- temp 30 voltage
;pmu_temp_para10 --- temp 40 voltage
;pmu_temp_para11 --- temp 45 voltage
;pmu_temp_para12 --- temp 50 voltage
;pmu_temp_para13 --- temp 55 voltage
;pmu_temp_para14 --- temp 60 voltage
;pmu_temp_para15 --- temp 70 voltage
;pmu_temp_para16 --- temp 80 voltage
;--------------------------------------------------------------------------------------------------------
[pmu1_para]
pmu_used = 0
pmu_id = 1
pmu_twi_addr = 0x34
pmu_twi_id = 0
pmu_irq_id = 0
pmu_irq_gpio = port:PG05<6><default><default><default>
pmu_battery_rdc = 249
pmu_battery_cap = 183
pmu_batdeten = 1
pmu_runtime_chgcur = 150
pmu_earlysuspend_chgcur = 150
pmu_suspend_chgcur = 150
pmu_shutdown_chgcur = 150
pmu_init_chgvol = 4200
pmu_init_chgend_rate = 15
pmu_init_chg_enabled = 1
pmu_init_adc_freq = 100
pmu_init_chg_pretime = 50
pmu_init_chg_csttime = 720
pmu_battery_warning1 = 3650
pmu_battery_warning2 = 3600
pmu_bat_para1=0
pmu_bat_para2=0
pmu_bat_para3=0
pmu_bat_para4=0
pmu_bat_para5=8
pmu_bat_para6=16
pmu_bat_para7=25
pmu_bat_para8=37
pmu_bat_para9=47
pmu_bat_para10=55
pmu_bat_para11=61
pmu_bat_para12=68
pmu_bat_para13=79
pmu_bat_para14=87
pmu_bat_para15=94
pmu_bat_para16=100
pmu_usbvol_limit = 1
pmu_usbcur_limit = 0
pmu_usbvol = 4000
pmu_usbcur = 0
pmu_usbvol_pc = 4000
pmu_usbcur_pc = 0
pmu_pwroff_vol = 3300
pmu_pwron_vol = 2900
pmu_pekoff_time = 6000
pmu_pekoff_en = 1
pmu_peklong_time = 1500
pmu_pekon_time = 1000
pmu_pwrok_time = 64
pmu_pwrnoe_time = 2000
pmu_hot_shutdown = 1
pmu_suspendpwroff_vol = 3500
power_start = 1
[pmu1_regu]
regulator_count = 7
regulator1 = "axp20_dcdc2 none vdd-sys vdd-cpu vdd-ephy"
regulator2 = "axp20_dcdc3 none vcc-io hpvcc vcc-pd vcc-usb vcc-ephy vcc-mcsi vcc-lcd vcc-wifi vcc-device vcc-csi vcc-ctp"
regulator3 = "axp20_ldo1 none vcc-rtc"
regulator4 = "axp20_ldo2 none vcc-avcc vcc-pll"
regulator5 = "axp20_ldo3 none vcc-pe csi-avdd"
regulator6 = "axp20_ldo4 none csi-dvdd"
regulator7 = "axp20_ldoio0 none"
;----------------------------------------------------------------------------------
; dvfs voltage-frequency table configuration
;
; extremity_freq(Hz): cpu extremity frequency when run benckmark or demo apk
; 1536MHz@1500mV with radiator, 1296MHz@1340mV without radiator
; max_freq: cpu maximum frequency, based on Hz, can not be more than 1200MHz
; min_freq: cpu minimum frequency, based on Hz, can not be less than 60MHz
;
; LV_count: count of LV_freq/LV_volt, must be < 16
;
; LV1: core vdd is 1.50v if cpu frequency is (1296Mhz, 1536Mhz]
; LV2: core vdd is 1.34v if cpu frequency is (1200Mhz, 1296Mhz]
; LV3: core vdd is 1.32v if cpu frequency is (1008Mhz, 1200Mhz]
; LV4: core vdd is 1.20v if cpu frequency is (816Mhz, 1008Mhz]
; LV5: core vdd is 1.10v if cpu frequency is (648Mhz, 816Mhz]
; LV6: core vdd is 1.04v if cpu frequency is (0Mhz, 648Mhz]
; LV7: core vdd is 1.04v if cpu frequency is (0Mhz, 648Mhz]
; LV8: core vdd is 1.04v if cpu frequency is (0Mhz, 648Mhz]
;
;----------------------------------------------------------------------------------
[dvfs_table]
extremity_freq = 1008000000
max_freq = 1008000000
min_freq = 60000000
LV_count = 8
LV1_freq = 1008000000
LV1_volt = 1200
LV2_freq = 1008000000
LV2_volt = 1200
LV3_freq = 940000000
LV3_volt = 1200
LV4_freq = 940000000
LV4_volt = 1200
LV5_freq = 816000000
LV5_volt = 1100
LV6_freq = 648000000
LV6_volt = 1040
LV7_freq = 0
LV7_volt = 1040
LV8_freq = 0
LV8_volt = 1040
;----------------------------------------------------------------------------------
;virtual device
;virtual device for pinctrl testing
;device have pin PA1 PA2
;----------------------------------------------------------------------------------
[Vdevice]
Vdevice_used = 1
Vdevice_0 = port:PA01<5><1><2><default>
Vdevice_1 = port:PA02<5><1><2><default>
;----------------------------------------------------------------------------------
; dram dvfs voltage-frequency table configuration
;
; LV_count: count of LV_freq/LV_volt
;
; LV1: core vdd is 1.1v if dram frequency is (360Mhz, 552Mhz]
; LV2: core vdd is 1.0v if dram frequency is ( 0Mhz, 360Mhz]
; LV3: core vdd is 1.0v if dram frequency is ( 0Mhz, 360Mhz]
;
;----------------------------------------------------------------------------------
[dram_dvfs_table]
LV_count = 3
LV1_freq = 552000000
LV1_volt = 1100
LV2_freq = 360000000
LV2_volt = 1000
LV3_freq = 0
LV3_volt = 1000
[fel_key]
fel_key_used = 1
fel_key_min = 0
fel_key_max = 60
[leds_para]
leds_used = 0
led_0 = port:PG00<1><default><default><0>
led_0_active_low = 0
led_1 = port:PG01<1><default><default><0>
led_1_active_low = 0
led_2 = port:PG02<1><default><default><0>
led_2_active_low = 0
;led_3 = port:PA00<1><default><default><0>
;led_3_active_low = 0
;led_4 = port:PA00<1><default><default><0>
;led_4_active_low = 0
;led_5 = port:PA00<1><default><default><0>
;led_5_active_low = 0
;led_6 = port:PA00<1><default><default><0>
;led_6_active_low = 0
;led_7 = port:PA00<1><default><default><0>
;led_7_active_low = 0
页次: 1