Fex Guide

Translated from Chinese

Version History

Modifier time Remarks

To establish the initial version V0.1 dragon 2011/08/26

Directory

Historical version 1

Table of Contents 1

1 System (System)

1.1 [card_boot] 5

1.2 [card_boot0_para] 5

1.3 [card_boot2_para] 6

1.4 [twi_para] 6

1.5 [uart_para] 7

1.6 [jtag_para] 7

2 SDRAM 7

2.1 [dram_para] 7

3 GPU (mali) 9

3.1 [mali_para] 9

4 network (Ethernet MAC)

4.1 [emac_para] 10

5 I2C bus 11

5.1 [twi0_para] 11

5.2 [twi1_para] 11

5.3 [twi2_para] 12

6 serial ports (UART) 12

6.1 [uart_para0] 12

6.2. [Uart_para1] 13

6.3 [uart_para2] 13

6.4 [uart_para3] 14

6.5. [Uart_para4] 15

6.6 [uart_para5] 15

6.7 [uart_para6] 15

6.8 uart_para7] 16

7 SPI bus 16

7.1 [spi0_para] 16

7.2 [spi1_para] 17

7.3 [spi2_para] 17

7.4 [spi3_para] 18

8 capacitive screen (capacitor tp) 18

8.1 [ctp_para] 19

Touch buttons (touch key) 20

9.1 [tkey_para] 20

10 motor (motor) 20

10.1 [motor_para] 20

11 flash (nand flash) 21

11.1 [nand_para] 21

12 shows the initialization (disp init) 22

12.1 [disp_init] 22

13 the LCD screen 123

13.1 [lcd0_para] 23

14 the LCD screen 227

14.1 [lcd1_para] 28

15 camera (CSI), 32

15.1 [csi0_para] 32

15.2 [csi1_para] 33

16 TV-out (tv out) 35

16.1 [tvout_para] 35

16.2 [tvin_para] 35

17 SATA disk 35

17.1 [sata_para] 35

18 SD / MMC 35

18.1 [mmc0_para] 36

18.2 [mmc1_para] 37

18.3 [mmc2_para] 38

18.4 [mmc3_para] 39

19 Memory Stick (Memory Stick) 40

19.1 [ms_para] 40

20 SIM card 41

20.1 [smc_para] 41

21 PS / 2 mouse 41

21.1 [ps2_0_para] 41

21.2 [ps2_1_para] 41

22 CAN bus 42

22.1 [can_para] 42

23 matrix keyboard (key matrix) 42

23.1 [keypad_para] 42

24 USB control flags 44

24.1 [usbc0] 44

24.2 [usbc1] 44

24.3 [usbc2] 45

25 USB Device 46

25.1 [usb_feature] 46

25.2 [msc_feature] 47

26 gravity sensor (G Sensor) 47

26.1 [gsensor_para] 47

27 GPS 48

27.1 [gps_para] 48

28 WIFI (SDIO) 48

28.1 [sdio_wifi_para] 48

29 WIFI (USB) 49

29.1 [usb_wifi_para] 49

30 3G 49

30.1 [3g_para] 49

31 gyroscope 50

31.1 [gy_para] 50

32 sense of light (light sensor) 50

32.1 [ls_para] 50

33 Compass 51

33.1 [compass_para] 51

34 Bluetooth (blueteeth) 51

34.1 [bt_para] 51

35 [i2s_para] 52

36 [spdif_para] 52

37 [audio_para] 53

38 infrared (ir) 53

38.1 [ir_para] 53

39 PMU power 53

39.1 [pmu_para] 53

1 System (System)

1.1 [Target]

Note: blue module chip pin configuration, the black module internal control configuration

Description of gpio the GPIO configuration in the form:

Port: port + group serial number of features allocated> <output level state

Configuration items to configure the meaning of

boot_clock = xx starting frequency ; xx said how many MHZ

dcdc2_vol = 1400 Dcdc2 the output voltage, mV,

dcdc3_vol = 1250 Dcdc3 the output voltage, mV,

ldo2_vol = 3000 Ldo2 the output voltage, mV,

ldo3_vol = 2800 Ldo3 the output voltage, mV,

output voltage of ldo4_vol = 2800 Ldo4 mV.

Configuration example:

[Target]

boot_clock = 1008

dcdc2_vol = 1400

dcdc3_vol = 1250

ldo2_vol = 3000

ldo3_vol = 2800

ldo4_vol = 2800

1.2 card_boot]

Configuration items to configure the meaning of

Logical_start = xx

Sprite_gpio0 =

Configuration example:

Card_boot]

logical_start = 40960

sprite_gpio0 =

1.3 [card_boot0_para]

Configuration items to configure the meaning of

card_ctrl = 0 card production associated controller to select

card_high_speed = xx speed mode for low speed, a high-speed

card_line = 4 represents four line cards

sdc_d1 = xx sdc card data line signal GPIO configuration

sdc_d0 = xx sdc card data line signal GPIO configuration

sdc_clk = xx sdc card clock signal GPIO configuration

sdc_cmd = xx command signal sdc, GPIO configuration

sdc_d3 = xx sdc card data line signal GPIO configuration

sdc_d2 = xx sdc card data line signal GPIO configuration

Configuration example:

card_ctrl = 0

card_high_speed = 1

card_line = 4

sdc_d1 = port: PF0 <2> <1>

sdc_d0 = port: PF1 <2> <1>

sdc_clk = port: PF2 <2> <1>

sdc_cmd = port: PF3 <2> <1>

sdc_d3 = port: PF4 <2> <1>

sdc_d2 = port: PF5 <2> <1>

1.4 [card_boot2_para]

Configuration items to configure the meaning of

card_ctrl = 2 cards to start the controller to select 2

card_high_speed = xx speed mode for low speed, a high-speed

card_line = 4 4 line cards

sdc_ cmd = xx sdc command signals to the GPIO configuration

sdc_ clk = xx sdc, card clock signal GPIO configuration

sdc_ d0 = xx sdc card data 0 line signal GPIO configuration

sdc_ d1 = xx sdc card data line signal GPIO configuration

sdc_d3 = xx sdc card data line signal GPIO configuration

sdc_d2 = xx sdc card data line signal GPIO configuration

Configuration example:

card_ctrl = 2

card_high_speed = 1

card_line = 4

sdc_cmd = port: PC6 <3> <1>

sdc_clk = port: PC7 <3> <1>

sdc_d0 = port: PC8 <3> <1>

sdc_d1 = port: PC9 <3> <1>

sdc_d2 = port: PC10 <3> <1>

sdc_d3 = port: PC11 <3> <1>

1.5 [twi_para]

Configuration items to configure the meaning of

twi_port = xx Boot the twi controller number

twi the clock in twi_scl = xx Boot GPIO configuration

twi_sda = xx Boot twi GPIO configuration data

Configuration example:

twi_port = 0

twi_scl = port: PB0 <2>

twi_sda = port: PB1 <2>

1.6 [uart_para]

Configuration items to configure the meaning of

uart_debug_port = xx Boot serial controller number

uart_debug_tx = xx serial port to send the GPIO configuration

uart_debug_rx = xx serial receiver GPIO configuration

Configuration example:

uart_debug_port = 0

uart_debug_tx = port: PB22 <2>

uart_debug_rx = port: PB23 <2>

1.7 [jtag_para]

Configuration items to configure the meaning of

jtag_enable = xx JTAG enabled

jtag_ms = xx test mode select input (TMS), GPIO configuration

jtag_ck = xx test clock input (TMS), GPIO configuration

jtag_do = xx test data output (TDO), GPIO configuration

jtag_di = xx test data input (TDI) of the GPIO configuration

Configuration example:

[Jtag_para]

jtag_enable = 1

jtag_ms = port: PB14 <3>

jtag_ck = port: PB15 <3>

jtag_do = port: PB16 <3>

jtag_di = port: PB17 <3>

2 SDRAM

2.1 [dram_para]

Configuration items to configure the meaning of

dram_baseaddr = xx DRAM access physical start address is fixed at 0x40000000

dram_clk = xx DRAM clock frequency, the unit is MHz; it as an integer multiple of 24, not less than 120, the maximum can be set to 480;

dram_type = xx DRAM type:

2 to DDR2

3 to DDR3

dram_rank_num = xx DRAM chip select number of:

1 is a chip select

2 election for two tablets

dram_chip_density = xx monolithic DRAM capacity, in units of Mb

Such as 2048,1024

dram_io_width = xx monolithic DRAM bit wide, usually set to 16

dram_bus_width = xx entire program the DRAM bus width, such as two 16-bit DRAM makes up a 32 program here should be set to 32

dram_cas = xx the DRAM CAS value for 6, 7, 8, 9; specific needs according to DRAM specifications and speed to determine

dram_zq = xx DRAM controller internal parameters from the original to be adjusted, do not modify

dram_odt_en = xx ODT need to enable

0: not enabled

1: Enable

Under normal circumstances, in order to power the 0

dram_size = xx program as a whole DRAM total capacity in MB

dram_tpr0 = xx DRAM controller internal parameters from the original to be adjusted, do not modify the

dram_tpr1 = xx DRAM controller internal parameters from the original to be adjusted, do not modify the

dram_tpr2 = xx DRAM controller internal parameters from the original to be adjusted, do not modify

dram_tpr3 = xx DRAM controller internal parameters from the original to be adjusted, do not modify the

dram_tpr4 = xx DRAM controller internal parameters from the original to be adjusted, do not modify the

dram_tpr5 = xx DRAM controller internal parameters from the original to be adjusted, do not modify the

dram_emr1 = xx DRAM controller internal parameters from the original to be adjusted, do not modify the

dram_emr2 = xx DRAM controller internal parameters from the original to be adjusted, do not modify

dram_emr3 = xx DRAM controller internal parameters from the original to be adjusted, do not modify the

Configuration example:

[Dram_para]

dram_baseaddr = 0x40000000

dram_clk = 360

dram_type = 3

dram_rank_num = 1

dram_chip_density = 2048

dram_io_width = 16

dram_bus_width = 32

dram_cas = 6

dram_zq = 0x7b

dram_odt_en = 0

dram_size = 512

dram_tpr0 = 0x30926692

dram_tpr1 = 0x1090

dram_tpr2 = 0x1a0c8

dram_tpr3 = 0x0

dram_tpr4 = 0x0

dram_tpr5 = 0x0

dram_emr1 = 0x0

dram_emr2 = 0x0

dram_emr3 = 0x0

GPU (mali)

3.1 [mali_para]

Configuration items to configure the meaning of

mali_used = xx enable MALI module

the mali_clkdiv = xx 960MHz / mali_clkdiv as the input clock of the GPU

4 network (Ethernet MAC)

4.1 emac_para]

Configuration items to configure the meaning of

emac_used = xx emac module allows flag

emac_rxd3 = xx emac receive data bus, GPIO configuration

emac_rxd2 = xx /

emac_rxd1 = xx /

emac_rxd0 = xx /

emac_txd3 = xx emac sending data bus GPIO Configuration

emac_txd2 = xx /

emac_txd1 = xx /

emac_txd0 = xx /

emac_rxclk = xx emacs receiver clock GPIO configuration

emac_rxerr = xx emacs receive errors GPIO configuration

emac_rxdV = xx emac receive enabled GPIO configuration

emac_mdc = xx emac mii clock GPIO configuration

emac_mdio = xx emacs mii data GPIO configuration

emac_txen = xx emac sent enabled GPIO configuration

emac_txclk = xx and emacs send clock GPIO configuration

emac_crs xx emac carrier status of GPIO configuration

emac_col = xx emacs conflict detection GPIO configuration

emac_reset = xx emacs the phy reset signal GPIO configuration

dram_emr3 = xx / /

Configuration example:

[Emac_para]

emac_used = 1

emac_rxd3 = port: PA00 <2>

emac_rxd2 = port: PA01 <2>

emac_rxd1 = port: PA02 <2>

emac_rxd0 = port: PA03 <2>

emac_txd3 = port: PA04 <2>

emac_txd2 = port: PA05 <2>

emac_txd1 = port: PA06 <2>

emac_txd0 = port: PA07 <2>

emac_rxclk = port: PA08 <2>

emac_rxerr = port: PA09 <2>

emac_rxdV = port: PA10 <2>

emac_mdc = port: PA11 <2>

emac_mdio = port: PA12 <2>

emac_txen = port: PA13 <2>

emac_txclk = port: PA14 <2>

emac_crs = port: PA15 <2>

emac_col = port: PA16 <2>

emac_reset = port: PA17 <1>

5 I2C bus

5.1 [twi0_para]

Configuration items to configure the meaning of

twi0_used = xx TWI Control: 1 Use 0 not

twi0_scl = xx TWI SCK GPIO configuration

twi0_sda = xx TWI SDA GPIO configuration

Configuration example:

twi0_used = 1

twi0_scl = port: PB0 <2>

twi0_sda = port: PB1 <2>

5.2 twi1_para]

Configuration items to configure the meaning of

twi1_used = xx TWI Control: 1 Use 0 not

twi1_scl = xx TWI SCK GPIO configuration

twi1_sda = xx TWI SDA GPIO configuration

Configuration example:

[Tw1_para]

Twi1_used = 1

Twi1_scl = port: PB0 <2>

Twi1_sda = port: PB1 <2>

5.3 [twi2_para]

Configuration items to configure the meaning of

twi2_used = xx TWI Control: 1 Use 0 not

twi2_scl = xx TWI SCK GPIO configuration

twi2_sda = xx TWI SDA GPIO configuration

Configuration example:

[Twi2_para]

Twi2_used = 1

Twi2_scl = port: PB0 <2>

Twi2_sda = port: PB1 <2>

6 serial ports (UART)

6.1 uart_para0]

Configuration items to configure the meaning of

uart_used = xx UART control: 1, 0 do not

uart_port = xx UART port number

uart0_tx = xx UART TX the GPIO configuration

uart0_rx = xx UART RX the GPIO configuration

Configuration example:

[Uart_para0

uart_used = 1

uart_port = 0

uart0_tx = port: PB22 <2>

uart0_rx = port: PB23 <2>

6.2 [uart_para1,

Configuration items to configure the meaning of

uart_used = xx UART control: 1, 0 do not

uart_port = xx UART port number

uart_type = xx UART type

uart1_tx = xx UART TX the GPIO configuration

uart1_rx = xx UART RX the GPIO configuration

uart1_rts = xx UART RTS GPIO configuration

uart1_cts = xx UART CTS GPIO configuration

uart1_dtr = xx UART DTR GPIO configuration

uart1_dsr = xx UART DSR GPIO configuration

uart1_dcd = xx UART DCD GPIO configuration

uart1_ring = xx UART RING GPIO configuration

Configuration example:

[Uart_para1

uart_used = 0

uart_port = 1

uart_type = 8

uart1_tx = port: PA10 <4>

uart1_rx = port: PA11 <4>

uart1_rts = port: PA12 <4>

uart1_cts = port: PA13 <4>

uart1_dtr = port: PA14 <4>

uart1_dsr = port: PA15 <4>

uart1_dcd = port: PA16 <4>

uart1_ring = port: PA17 <4>

6.3 uart_para2]

Configuration items to configure the meaning of

uart_used = xx UART control: 1, 0 do not

uart_port = xx UART port number

uart_type = xx UART type

uart2_tx = xx UART TX the GPIO configuration

uart2_rx = xx UART RX the GPIO configuration

uart2_rts = xx UART RTS GPIO configuration

uart2_cts = xx UART CTS GPIO configuration

Configuration example:

[Uart_para2

uart_used = 0

uart_port = 2

uart_type = 4

uart2_tx = port: PI18 <3>

uart2_rx = port: PI19 <3>

uart2_rts = port: PI16 <3>

uart2_cts = port: PI17 <3>

6.4 [uart_para3]

Configuration items to configure the meaning of

uart_used = xx UART control: 1, 0 do not

uart_port = xx UART port number

uart_type = xx UART type

uart3_tx = xx UART TX the GPIO configuration

uart3_rx = xx UART RX the GPIO configuration

uart3_rts = xx UART RTS GPIO configuration

uart3_cts = xx UART CTS GPIO configuration

Configuration example:

[Uart_para3

uart_used = 0

uart_port = 3

uart_type = 4

uart3_tx = port: PH00 <4>

uart3_rx = port: PH01 <4>

uart3_rts = port: PH02 <4>

uart3_cts = port: PH03 <4>

6.5 [uart_para4,

Configuration items to configure the meaning of

uart_used = xx UART control: 1, 0 do not

uart_port = xx UART port number

uart_type = xx UART type

uart4_tx = xx UART TX the GPIO configuration

uart4_rx = xx UART RX the GPIO configuration

Configuration example:

[Uart_para4

uart_used = 0

uart_port = 4

uart_type = 2

uart4_tx = port: PH04 <4>

uart4_rx = port: PH05 <4>

6.6 [uart_para5]

Configuration items to configure the meaning of

uart_used = xx UART control: 1, 0 do not

uart_port = xx UART port number

uart_type = xx UART type

uart5_tx = xx UART TX the GPIO configuration

uart5_rx = xx UART RX the GPIO configuration

Configuration example:

[Uart_para5

uart_used = 0

uart_port = 5

uart_type = 2

uart5_tx = port: PH06 <4>

uart5_rx = port: PH07 <4>

6.7 [uart_para6

Configuration items to configure the meaning of

uart_used = xx UART control: 1, 0 do not

uart_port = xx UART port number

uart_type = xx UART type

uart6_tx = xx UART TX the GPIO configuration

uart6_rx = xx UART RX the GPIO configuration

Configuration example:

[Uart_para6

uart_used = 0

uart_port = 6

uart_type = 2

uart6_tx = port: PA12 <4>

uart6_rx = port: PA13 <4>

6.8 [uart_para7]

Configuration items to configure the meaning of

uart_used = xx UART control: 1, 0 do not

uart_port = xx UART port number

uart_type = xx UART type

uart7_tx = xx UART TX the GPIO configuration

uart7_rx = xx UART RX the GPIO configuration

Configuration example:

[Uart_para7

uart_used = 0

uart_port = 7

uart_type = 2

uart7_tx = port: PA14 <4>

uart7_rx = port: PA15 <4>

7 SPI bus

7.1 [spi0_para]

Configuration items to configure the meaning of

spi_used = xx SPI using the control: 1, 0 not

spi_cs0 = xx SPI CS0 GPIO configuration

spi_cs1 = xx SPI CS1 GPIO configuration

spi_sclk = xx SPI CLK GPIO configuration

spi_mosi = xx SPI MOSI GPIO configuration

spi_miso = xx SPI MISO GPIO configuration

Configuration example:

[Spi0_para]

spi_used = 0

spi_cs0 = port: PI10 <3>

spi_cs1 = port: PI14 <3>

spi_sclk = port: PI11 <3>

spi_mosi = port: PI12 <3>

spi_miso = port: PI13 <3>

7.2 [spi1_para]

Configuration items to configure the meaning of

spi_used = xx SPI using the control: 1, 0 not

spi_cs0 = xx SPI CS0 GPIO configuration

spi_cs1 = xx SPI CS1 GPIO configuration

spi_sclk = xx SPI CLK GPIO configuration

spi_mosi = xx SPI MOSI GPIO configuration

spi_miso = xx SPI MISO GPIO configuration

Configuration example:

[Spi1_para]

spi_used = 0

spi_cs0 = port: PA00 <4>

spi_cs1 = port: PA04 <4>

spi_sclk = port: PI01 <4>

spi_mosi = port: PI02 <4>

spi_miso = port: PI03 <4>

7.3 [spi2_para]

Configuration items to configure the meaning of

spi_used = xx SPI using the control: 1, 0 not

spi_cs0 = xx SPI CS0 GPIO configuration

spi_cs1 = xx SPI CS1 GPIO configuration

spi_sclk = xx SPI CLK GPIO configuration

spi_mosi = xx SPI MOSI GPIO configuration

spi_miso = xx SPI MISO GPIO configuration

Configuration example:

[Spi2_para]

spi_used = 0

spi_cs0 = port: PC19 <3>

spi_cs1 =

spi_sclk = port: PC20 <3>

spi_mosi = port: PC21 <3>

spi_miso = port: PC22 <3>

7.4 [spi3_para]

Configuration items to configure the meaning of

spi_used = xx SPI using the control: 1, 0 not

spi_cs0 = xx SPI CS0 GPIO configuration

spi_cs1 = xx SPI CS1 GPIO configuration

spi_sclk = xx SPI CLK GPIO configuration

spi_mosi = xx SPI MOSI GPIO configuration

spi_miso = xx SPI MISO GPIO configuration

Configuration example:

[Spi3_para]

spi_used = 0

spi_cs0 = port: PA05 <4>

spi_cs1 = port: PA09 <4>

spi_sclk = port: PI06 <4>

spi_mosi = port: PI07 <4>

spi_miso = port: PI08 <4>

8 capacitive screen (capacitor tp)

8.1 [ctp_para]

Configuration items to configure the meaning of

ctp_used = xx This option is turned on capacitive touch support, then set to 1, otherwise set to 0

ctp_name = xx is used to indicate the program uses the touch program Optional: the "ft5x_ts Goodix-TS

ctp_twi_id = xx is used to select the i2c adapter, optional 0,2

ctp_twi_addr = xx specified i2c device address, and specific hardware

x-axis coordinates of the ctp_screen_max_x = xx touchpad

the y-axis coordinates of the ctp_screen_max_y = xx touchpad

ctp_revert_x_flag = xx need to flip the x coordinate of the need to set the contrary set to 0

ctp_revert_y_flag = xx need to flip the y coordinate of the need to set the contrary set to 0

ctp_int_port = xx capacitive screen interrupt signal GPIO configuration

ctp_wakeup = xx capacitive screen wake-up signal GPIO configuration

ctp_io_port = xx capacitive screen io signal, and interrupt signal public-pin

Configuration example:

ctp_used = 1

ctp_name = "ft5x_ts"

ctp_twi_id = 2

ctp_twi_addr = 0x70

ctp_screen_max_x = 800

ctp_screen_max_y = 480

ctp_revert_x_flag = 0

ctp_revert_y_flag = 0

ctp_int_port = port: PH21 <6>

ctp_wakeup = port: PB13 <1> <1>

ctp_io_port = port: PH21 <0>

Touch keys (touch keys)

9.1 [tkey_para]

Configuration items to configure the meaning of

tkey_used = xx supports touch button set to 1, otherwise set to 0

tkey_name = xx touch options, can only choose hv_keypad

tkey_twi_id = xx is used to select the i2c adapter, optional 0,2

tkey_twi_addr = xx specified i2c device address, and specific hardware

tkey_int = xx touch keys interrupt signal GPIO configuration

Configuration example:

tkey_used = 0

tkey_name = "hv_keypad"

tkey_twi_id = 2

tkey_twi_addr = 0x62

tkey_int = port: PI13 <6>

10 motor (motor)

10.1 [motor_para]

Configuration items to configure the meaning of

motor_used = xx enable the motor set is enabled, on the contrary set to 0

motor_shake = xx motor using the pin mapping

Configuration example:

motor_used = 0

motor_shake = port: PB03 <1> <1>

11 flash (nand flash)

11.1 [nand_para]

Configuration items to configure the meaning of

nand_used = xx nand modules enable flag

nand_we = xx nand write GPIO configuration of the clock signal

nand_ale = xx nand address enable signal GPIO configuration

nand_cle = xx nand command enable signal GPIO configuration

nand_ce1 = xx nand chip select 1 signal GPIO configuration

nand_ce0 = xx nand chip select 0 signal GPIO configuration

nand_nre = xx nand read clock signal GPIO configuration

nand_rb0 = xx nand Read / Busy 1 signal GPIO configuration

nand_rb1 = xx nand Read / Busy 0 signal GPIO configuration

nand_d0 = xx nand data bus signals GPIO configuration

nand_d1 = xx /

nand_d2 = xx /

nand_d3 = xx /

nand_d4 = xx /

nand_d5 = xx /

nand_d6 = xx /

nand_d7 = xx /

nand_wp = xx nand write GPIO configuration of the protection signal

nand_ce2 = xx nand chip select 2 signal GPIO configuration

nand_ce3 = xx nand chip select 3 signal GPIO configuration

nand_ce4 = xx nand chip select 4 signals GPIO configuration

nand_ce5 = xx nand chip select 5 signal GPIO configuration

nand_ce6 = xx nand chip select GPIO configuration of six signal

nand_ce7 = xx nand chip select 7 signal GPIO configuration

nand_spi = xx / /

nand_ndqs = xx nand ddr clock signal GPIO configuration

Configuration example:

[Nand_para]

nand_used = 1

nand_we = port: PC00 <2>

nand_ale = port: PC01 <2>

nand_cle = port: PC02 <2>

nand_ce1 = port: PC03 <2>

nand_ce0 = port: PC04 <2>

nand_nre = port: PC05 <2>

nand_rb0 = port: PC06 <2>

nand_rb1 = port: PC07 <2>

nand_d0 = port: PC08 <2>

nand_d1 = port: PC09 <2>

nand_d2 = port: PC10 <2>

nand_d3 = port: PC11 <2>

nand_d4 = port: PC12 <2>

nand_d5 = port: PC13 <2>

nand_d6 = port: PC14 <2>

nand_d7 = port: PC15 <2>

nand_wp = port: PC16 <2>

nand_ce2 = port: PC17 <2>

nand_ce3 = port: PC18 <2>

nand_ce4 =

nand_ce5 =

nand_ce6 =

nand_ce7 =

nand_spi = port: PC23 <3>

nand_ndqs = port: PC24 <2>

12 shows the initialization (disp init)

12.1 [disp_init]

Configuration items to configure the meaning of

disp_init_enable = xx is the initialization settings

disp_mode = xx display mode:

0: screen0 

1: screen1  2: two_diff_screen_diff_contents

; 3: two_same_screen_diff_contets



4: two_diff_screen_same_contents



screen0_output_type = xx screen 0 Output Type (0: none;: lcd;: tv; 3: hdmi; 4: vga)

screen0_output_mode = xx-screen output mode (used for tv / hdmi output, 0:480 i 1:576 i 2:480 p 3:576 p-4:720 p50, 5:720 p60 6:1080 i50 7:1080 i60 is 8:1080 the p24 9:1080 p50, 10:1080 p60 11: pal 14: ntsc)

screen1_output_type = xx screen output type (0: none; 1: lcd; 2: tv; 3: hdmi; 4: vga)

screen1_output_mode = xx screen 1 output mode (used for tv / hdmi output, 0:480 i 1:576 i 2:480 p 3:576 p-4:720 p50, 5:720 p60 6:1080 i50 7:1080 i60 is 8:1080 the p24 9:1080 p50, 10:1080 p60 11: pal 14: ntsc)

the fb0_framebuffer_num = xx fb0 buffer number (the driver will be of fb0 allocated a few pieces of buffer space, for example, to use double buffer, then fill 2)

fb0_format = xx fb0 the format (4: RGB655 5: RGB565: RGB556 7: ARGB1555 8: RGBA5551 9: RGB888 10: ARGB8888 12: ARGB4444)

fb0_pixel_sequence = xx fb0 pixel sequence (0: ARGB 1: BGRA 2: ABGR 3: RGBA)

fb0_scaler_mode_enable = xx fb0 whether to use the scaler mode, using the FE

the fb1_framebuffer_num = xx fb1 buffer number (driver will be of fb0 allocated a few pieces of buffer space, for example, to use double buffer, then fill 2)

fb1_format = xx fb1 the format (4: RGB655 5: RGB565: RGB556 7: ARGB1555 8: RGBA5551 9: RGB888 10: ARGB8888 12: ARGB4444)

fb1_pixel_sequence = xx fb1 pixel sequence (0: ARGB 1: BGRA 2: ABGR 3: RGBA)

fb1_scaler_mode_enable = xx fb1 whether to use the scaler mode, using the FE

Configuration example:

Disp_init]

disp_init_enable = 1

disp_mode = 0

screen0_output_type = 1

screen0_output_mode = 4

screen1_output_type = 1

screen1_output_mode = 4

fb0_framebuffer_num = 2

fb0_format = 10

fb0_pixel_sequence = 0

fb0_scaler_mode_enable = 0

fb1_framebuffer_num = 2

fb1_format = 10

fb1_pixel_sequence = 0

fb1_scaler_mode_enable = 0

13 LCD screen 0

13.1 [lcd0_para]

Configuration items to configure the meaning of

lcd_used = xx lcd0 interface using the following settings are effective when used

lcd_x = xx lcd active width

lcd_y = xx lcd active height

lcd_dclk_freq = xx pixel clock, in MHZ unit

lcd_pwm_freq = xx pwm freq, in HZ unit

lcd_pwm_pol = xx pwm polarity

lcd_if = xx lcd interface (0: hv (sync + de); 1:8080; 2: ttl; 3: lvds)

lcd_hbp = xx hsync back porch

lcd_ht = xx hsync total cycle

lcd_vbp = xx vsync back porch

lcd_vt = xx vysnc total cycle * 2

lcd_hv_if = xx hv interface (0: hv parallel 1: hv serial)

lcd_hv_smode = xx serial i / f mode (0: RGB888 1: CCIR656)

lcd_hv_s888_if = xx serial RGB format

lcd_hv_syuv_if = xx serial YUV format

lcd_hv_vspw = xx vysnc plus width

lcd_hv_hspw = xx hsync plus width

lcd_lvds_ch = xx 0: single channel; 1: dual channel

lcd_lvds_mode = xx 0: NS mode; 1: JEIDA mode

lcd_lvds_bitwidth = xx 0:24 bit; 1:18 bit

lcd_lvds_io_cross = xx 0: normal; 1: pn cross

lcd_cpu_if = xx cpu i / f mode (0:18 bit; 1:16 bit mode0; 2:16 bit mode1; 3:16 bit mode2;

4:16 bit mode3; 5:9 bit; 6:8 bit 256K; 7:8 bit 65K)

lcd_frm = xx 0: disable; 1: enable rgb666 dither; 2: enable rgb656 dither

lcd_io_cfg0 = xx lcd io inv

the pin lcd_bl_en_used = xx LCD_BL_EN whether use

lcd_bl_en = xx LCD_BL_EN GPIO configuration

lcd_power_used = xx LCD_VCC control pins is used

lcd_power = xx LCD_VCC control GPIO configuration

lcd_pwm_used = xx lcd PWM pin use (users do not need to modify the fixed use)

lcd_pwm = xx lcd PWM, GPIO configuration (PWM0 fixed using the PB02 PWM1 fixed PI03 user without modification of the)

lcd_gpio_0 = xx 2/3-wire I / F in the SCL GPIO configuration

GPIO configuration of the SDA lcd_gpio_1 = xx 2/3-wire I / F

the in lcd_gpio_2 = xx 2/3-wire I / F SCEN GPIO configuration

lcd_gpio_3 = xx LCD module RESET GPIO configuration

lcdd0 = xx lcd data GPIO configuration

lcdd1 = xx lcd GPIO configuration data

lcdd2 = xx lcd GPIO configuration data

lcdd3 = xx lcd GPIO configuration data

lcdd4 = xx lcd GPIO configuration data

lcdd5 = xx lcd GPIO configuration data

lcdd6 = xx lcd GPIO configuration data

lcdd7 = xx lcd GPIO configuration data

lcdd8 = xx lcd GPIO configuration data

lcdd9 = xx lcd GPIO configuration data

lcdd10 = xx lcd GPIO configuration data

lcdd11 = xx lcd data of GPIO configuration

lcdd12 = xx lcd GPIO configuration data

lcdd13 = xx lcd GPIO configuration data

lcdd14 = xx lcd GPIO configuration data

lcdd15 = xx lcd GPIO configuration data

lcdd16 = xx lcd GPIO configuration data

lcdd17 = xx lcd GPIO configuration data

lcdd18 = xx lcd data GPIO configuration

lcdd19 = xx lcd GPIO configuration data

lcdd20 = xx lcd GPIO configuration data

lcdd21 = xx lcd GPIO configuration data

lcdd22 = xx lcd GPIO configuration data

lcdd23 = xx lcd GPIO configuration data

lcdclk = xx lcd signal of GPIO configuration (specific signal associated with the actual circuit)

lcdde = xx lcd signal of GPIO configuration (specific signal associated with the actual circuit)

lcdhsync = xx lcd signal of GPIO configuration (specific signal associated with the actual circuit)

lcdvsync = xx lcd signal of GPIO configuration (specific signal associated with the actual circuit)

Configuration example:

[Lcd0_para]

lcd_used = 1

lcd_x = 800

lcd_y = 480

lcd_dclk_freq = 33

lcd_pwm_freq = 1000

lcd_pwm_pol = 0

lcd_srgb = 0x00202020

lcd_swap = 0

lcd_if = 0

lcd_hbp = 215

lcd_ht = 1055

lcd_vbp = 34

lcd_vt = 1050

lcd_hv_if = 0

lcd_hv_smode = 0

lcd_hv_s888_if = 0

lcd_hv_syuv_if = 0

lcd_hv_vspw = 0

lcd_hv_hspw = 0

lcd_hv_lde_used = 0

lcd_hv_lde_iovalue = 0

lcd_ttl_stvh = 0

lcd_ttl_stvdl = 0

lcd_ttl_stvdp = 0

lcd_ttl_ckvt = 0

lcd_ttl_ckvh = 0

lcd_ttl_ckvd = 0

lcd_ttl_oevt = 0

lcd_ttl_oevh = 0

lcd_ttl_oevd = 0

lcd_ttl_sthh = 0

lcd_ttl_sthd = 0

lcd_ttl_oehh = 0

lcd_ttl_oehd = 0

lcd_ttl_revd = 0

lcd_ttl_datarate = 0

lcd_ttl_revsel = 0

lcd_ttl_datainv_en = 0

lcd_ttl_datainv_sel = 0

lcd_lvds_ch = 0

lcd_lvds_mode = 0

lcd_lvds_bitwidth = 0

lcd_lvds_io_cross = 0

lcd_cpu_if = 0

lcd_cpu_da = 0

lcd_frm = 0

lcd_io_cfg0 = 0x10000000

lcd_io_cfg1 = 0

lcd_io_strength = 0

lcd_bl_en_used = 1

lcd_bl_en = port: PH07 <1> <0> <1>

lcd_power_used = 1

lcd_power = port: PH08 <1> <0> <1>

lcd_pwm_used = 1

lcd_pwm = port: PB02 <2>

lcd_gpio_0 =

lcd_gpio_1 =

lcd_gpio_2 =

lcd_gpio_3 =

lcdd0 = port: PD00 <2>

lcdd1 = port: PD01 <2>

lcdd2 = port: PD02 <2>

lcdd3 = port: PD03 <2>

lcdd4 = port: PD04 <2>

lcdd5 = port: PD05 <2>

lcdd6 = port: PD06 <2>

lcdd7 = port: PD07 <2>

lcdd8 = port: PD08 <2>

lcdd9 = port: PD09 <2>

lcdd10 = port: PD10 <2>

lcdd11 = port: PD11 <2>

lcdd12 = port: PD12 <2>

lcdd13 = port: PD13 <2>

lcdd14 = port: PD14 <2>

lcdd15 = port: PD15 <2>

lcdd16 = port: PD16 <2>

lcdd17 = port: PD17 <2>

lcdd18 = port: PD18 <2>

lcdd19 = port: PD19 <2>

lcdd20 = port: PD20 <2>

lcdd21 = port: PD21 <2>

lcdd22 = port: PD22 <2>

lcdd23 = port: PD23 <2>

lcdclk = port: PD24 <2>

lcdde = port: PD25 <2>

lcdhsync = port: PD26 <2>

lcdvsync = port: PD27 <2>

14 LCD screens

14.1 [lcd1_para]

Configuration items to configure the meaning of

lcd_used = xx lcd0 interface using the following settings are effective when used

lcd_x = xx lcd active width

lcd_y = xx lcd active height

lcd_dclk_freq = xx pixel clock, in MHZ unit

lcd_pwm_freq = xx pwm freq, in HZ unit

lcd_pwm_pol = xx pwm polarity

lcd_if = xx lcd interface (0: hv (sync + de); 1:8080; 2: ttl; 3: lvds)

lcd_hbp = xx hsync back porch

lcd_ht = xx hsync total cycle

lcd_vbp = xx vsync back porch

lcd_vt = xx vysnc total cycle * 2

lcd_hv_if = xx hv interface (0: hv parallel 1: hv serial)

lcd_hv_smode = xx serial i / f mode (0: RGB888 1: CCIR656)

lcd_hv_s888_if = xx serial RGB format

lcd_hv_syuv_if = xx serial YUV format

lcd_hv_vspw = xx vysnc plus width

lcd_hv_hspw = xx hsync plus width

lcd_lvds_ch = xx 0: single channel; 1: dual channel

lcd_lvds_mode = xx 0: NS mode; 1: JEIDA mode

lcd_lvds_bitwidth = xx 0:24 bit; 1:18 bit

lcd_lvds_io_cross = xx 0: normal; 1: pn cross

lcd_cpu_if = xx cpu i / f mode (0:18 bit; 1:16 bit mode0; 2:16 bit mode1; 3:16 bit mode2;

4:16 bit mode3; 5:9 bit; 6:8 bit 256K; 7:8 bit 65K)

lcd_frm = xx 0: disable; 1: enable rgb666 dither; 2: enable rgb656 dither

lcd_io_cfg0 = xx lcd io inv

the pin lcd_bl_en_used = xx LCD_BL_EN whether use

lcd_bl_en = xx LCD_BL_EN GPIO configuration

lcd_power_used = xx LCD_VCC control pins is used

lcd_power = xx LCD_VCC control GPIO configuration

lcd_pwm_used = xx lcd PWM pin use (users do not need to modify the fixed use)

lcd_pwm = xx lcd PWM, GPIO configuration (PWM0 fixed using the PB02 PWM1 fixed PI03 user without modification of the)

lcd_gpio_0 = xx 2/3-wire I / F in the SCL GPIO configuration

GPIO configuration of the SDA lcd_gpio_1 = xx 2/3-wire I / F

the in lcd_gpio_2 = xx 2/3-wire I / F SCEN GPIO configuration

lcd_gpio_3 = xx LCD module RESET GPIO configuration

lcdd0 = xx lcd data GPIO configuration

lcdd1 = xx lcd GPIO configuration data

lcdd2 = xx lcd GPIO configuration data

lcdd3 = xx lcd GPIO configuration data

lcdd4 = xx lcd GPIO configuration data

lcdd5 = xx lcd GPIO configuration data

lcdd6 = xx lcd GPIO configuration data

lcdd7 = xx lcd GPIO configuration data

lcdd8 = xx lcd GPIO configuration data

lcdd9 = xx lcd GPIO configuration data

lcdd10 = xx lcd GPIO configuration data

lcdd11 = xx lcd data of GPIO configuration

lcdd12 = xx lcd GPIO configuration data

lcdd13 = xx lcd GPIO configuration data

lcdd14 = xx lcd GPIO configuration data

lcdd15 = xx lcd GPIO configuration data

lcdd16 = xx lcd GPIO configuration data

lcdd17 = xx lcd GPIO configuration data

lcdd18 = xx lcd data GPIO configuration

lcdd19 = xx lcd GPIO configuration data

lcdd20 = xx lcd GPIO configuration data

lcdd21 = xx lcd GPIO configuration data

lcdd22 = xx lcd GPIO configuration data

lcdd23 = xx lcd GPIO configuration data

lcdclk = xx lcd signal of GPIO configuration (specific signal associated with the actual circuit)

lcdde = xx lcd signal of GPIO configuration (specific signal associated with the actual circuit)

lcdhsync = xx lcd signal of GPIO configuration (specific signal associated with the actual circuit)

lcdvsync = xx lcd signal of GPIO configuration (specific signal associated with the actual circuit)

Configuration example:

[Lcd1_para]

lcd_used = 0

lcd_x = 800

lcd_y = 480

lcd_dclk_freq = 33

lcd_pwm_freq = 1000

lcd_pwm_pol = 0

lcd_srgb = 0x00202020

lcd_swap = 0

lcd_if = 0

lcd_hbp = 215

lcd_ht = 1055

lcd_vbp = 34

lcd_vt = 1050

lcd_hv_if = 0

lcd_hv_smode = 0

lcd_hv_s888_if = 0

lcd_hv_syuv_if = 0

lcd_hv_vspw = 0

lcd_hv_hspw = 0

lcd_hv_lde_used = 0

lcd_hv_lde_iovalue = 0

lcd_ttl_stvh = 0

lcd_ttl_stvdl = 0

lcd_ttl_stvdp = 0

lcd_ttl_ckvt = 0

lcd_ttl_ckvh = 0

lcd_ttl_ckvd = 0

lcd_ttl_oevt = 0

lcd_ttl_oevh = 0

lcd_ttl_oevd = 0

lcd_ttl_sthh = 0

lcd_ttl_sthd = 0

lcd_ttl_oehh = 0

lcd_ttl_oehd = 0

lcd_ttl_revd = 0

lcd_ttl_datarate = 0

lcd_ttl_revsel = 0

lcd_ttl_datainv_en = 0

lcd_ttl_datainv_sel = 0

lcd_lvds_ch = 0

lcd_lvds_mode = 0

lcd_lvds_bitwidth = 0

lcd_lvds_io_cross = 0

lcd_cpu_if = 0

lcd_cpu_da = 0

lcd_frm = 0

lcd_io_cfg0 = 0x10000000

lcd_io_cfg1 = 0

lcd_io_strength = 0

lcd_bl_en_used = 1

lcd_bl_en = port: PH07 <1> <0> <1>

lcd_power_used = 1

lcd_power = port: PH08 <1> <0> <1>

lcd_pwm_used = 1

lcd_pwm = port: PB02 <2>

lcd_gpio_0 =

lcd_gpio_1 =

lcd_gpio_2 =

lcd_gpio_3 =

lcdd0 = port: PD00 <2>

lcdd1 = port: PD01 <2>

lcdd2 = port: PD02 <2>

lcdd3 = port: PD03 <2>

lcdd4 = port: PD04 <2>

lcdd5 = port: PD05 <2>

lcdd6 = port: PD06 <2>

lcdd7 = port: PD07 <2>

lcdd8 = port: PD08 <2>

lcdd9 = port: PD09 <2>

lcdd10 = port: PD10 <2>

lcdd11 = port: PD11 <2>

lcdd12 = port: PD12 <2>

lcdd13 = port: PD13 <2>

lcdd14 = port: PD14 <2>

lcdd15 = port: PD15 <2>

lcdd16 = port: PD16 <2>

lcdd17 = port: PD17 <2>

lcdd18 = port: PD18 <2>

lcdd19 = port: PD19 <2>

lcdd20 = port: PD20 <2>

lcdd21 = port: PD21 <2>

lcdd22 = port: PD22 <2>

lcdd23 = port: PD23 <2>

lcdclk = port: PD24 <2>

lcdde = port: PD25 <2>

lcdhsync = port: PD26 <2>

lcdvsync = port: PD27 <2>

15 camera (CSI)

15.1 [csi0_para]

Configuration items to configure the meaning of

csi_used = xx use csi0

csi_twi_id = xx csi0 use the IIC

module name, csi_mname = xx csi0 use and driver match can view the readme of the driver directory which currently has ov7670 gc0308, gt2005, hi704 optional

IIC address of the module csi_twi_addr = xx csi0 use, you can view the inside of the driver directory readme

csi_pck = xx modules give csi0 the clock GPIO configuration

csi_ck = xx csi0 sent to the module clock GPIO configuration

csi_hsync = xx module gave a csi0 line synchronization signal GPIO configuration

csi_vsync = xx modules give csi0 frame synchronization signal GPIO configuration

csi_d0 = xx module gave csi0 the 8bit data GPIO configuration

csi_d1 = xx

csi_d2 = xx

csi_d3 = xx

csi_d4 = xx

csi_d5 = xx

csi_d6 = xx

csi_d7 = xx

csi_reset = xx control module reset the GPIO configuration, default value is reset (high or low depends on the module)

csi_power_en = xx to control the configuration of the GPIO module power, general default values ??effective (high)

csi_stby = xx control module standby GPIO configuration, the default value of standby (high or low effective depends on the module)

Configuration example:

[Csi0_para]

csi_used = 1

csi_twi_id = 1

csi_mname = "gc0308"

csi_twi_addr = 0x42

csi_pck = port: PE00 <3>

csi_ck = port: PE01 <3>

csi_hsync = port: PE02 <3>

csi_vsync = port: PE03 <3>

csi_d0 = port: PE04 <3>

csi_d1 = port: PE05 <3>

csi_d2 = port: PE06 <3>

csi_d3 = port: PE07 <3>

csi_d4 = port: PE08 <3>

csi_d5 = port: PE09 <3>

csi_d6 = port: PE10 <3>

csi_d7 = port: PE11 <3>

csi_reset = port: PH13 <1> <0>

csi_power_en = port: PH16 <1> <1>

csi_stby = port: PH18 <1> <1>

15.2 [csi1_para]

Configuration items to configure the meaning of

csi_used = xx use csi1

csi_twi_id = xx csi1 use the IIC

the csi_mname = xx csi1 use the name of the module, you need to match with the drive, you can view the readme of the driver directory

IIC address of the module csi_twi_addr = xx csi0 use, you can view the inside of the driver directory readme

csi_pck = xx module gave csi0 the clock, GPIO configuration

csi_ck = xx csi0 gave the configuration of the GPIO module clock

csi_hsync = xx module gave a csi0 line synchronization signal GPIO configuration

csi_vsync = xx modules give csi0 frame synchronization signal GPIO configuration

csi_d0 = xx module GPIO configuration gave csi0 8bit data

csi_d1 = xx

csi_d2 = xx

csi_d3 = xx

csi_d4 = xx

csi_d5 = xx

csi_d6 = xx

csi_d7 = xx

csi_reset = xx control module reset the GPIO configuration, default value is reset (high or low depends on the module)

csi_power_en = xx to control the configuration of the GPIO module power, general default values ??effective (high)

csi_stby = xx control module standby GPIO configuration, the default value of standby (high or low effective depends on the module)

Configuration example:

[Csi1_para]

csi_used = 1

csi_twi_id = 1

csi_mname = "gt2005"

csi_twi_addr = 0x78

csi_pck = port: PG00 <3>

csi_ck = port: PG01 <3>

csi_hsync = port: PG02 <3>

csi_vsync = port: PG03 <3>

csi_d0 = port: PG04 <3>

csi_d1 = port: PG05 <3>

csi_d2 = port: PG06 <3>

csi_d3 = port: PG07 <3>

csi_d4 = port: PG08 <3>

csi_d5 = port: PG09 <3>

csi_d6 = port: PG10 <3>

csi_d7 = port: PG11 <3>

csi_reset = port: PH14 <1> <0>

csi_power_en = port: PH17 <1> <1>

csi_stby = port: PH19 <1> <0>

16 TV-out (tv out)

16.1 [tvout_para]

Configuration items to configure the meaning of

tvout_used = xx

tvout_channel_num = xx

tv_en = xx

Configuration example:

16.2 [tvin_para]

Configuration items to configure the meaning of

tvin_used = xx

tvin_channel_num = xx

Configuration example:

17 SATA disk

17.1 [sata_para]

Configuration items to configure the meaning of

sata_used = xx

sata_power_en = xx

Configuration example:

18 SD / MMC

18.1 [mmc0_para]

Configuration items to configure the meaning of

sdc_used = xx SDC using the control: a use not 0

sdc_detmode = xx detection mode :1-the gpio detect ,2-data3, detection, 3 - detection, the card often (not card-swap), 4 - Manual mode (from the proc file system node)

bus_width = xx bits wide :1-1bit ,4-4bit

sdc_d1 = xx SDC DATA1 GPIO configuration

sdc_d0 = xx SDC DATA0 GPIO configuration

sdc_clk = xx SDC CLK GPIO configuration

sdc_cmd = xx SDC CMD GPIO configuration

the sdc_d3 = xx SDC DATA3 GPIO configuration

sdc_d2 = xx SDC DATA2 GPIO configuration

sdc_det = xx SDC DET GPIO configuration

sdc_use_wp = xx SDC write-protected configuration: a use, not 0

sdc_wp = xx SDC WP the GPIO configuration

Configuration example:

[Mmc0_para]

sdc_used = 1

sdc_detmode = 1

bus_width = 4

sdc_d1 = port: PF0 <2> <1>

sdc_d0 = port: PF1 <2> <1>

sdc_clk = port: PF2 <2> <1>

sdc_cmd = port: PF3 <2> <1>

sdc_d3 = port: PF4 <2> <1>

sdc_d2 = port: PF5 <2> <1>

sdc_det = port: PH1 <0> <1>

sdc_use_wp = 0

sdc_wp =

18.2 [mmc1_para]

Configuration items to configure the meaning of

sdc_used = xx SDC using the control: a use not 0

sdc_detmode = xx detection mode :1-the gpio detect ,2-data3, detection, 3 - detection, the card often (not card-swap), 4 - Manual mode (from the proc file system node)

bus_width = xx bits wide :1-1bit ,4-4bit

sdc_d1 = xx SDC DATA1 GPIO Configuration

sdc_d0 = xx SDC DATA0 GPIO Configuration

sdc_clk = xx SDC CLK GPIO Configuration

sdc_cmd = xx SDC CMD GPIO configuration

sdc_d3 = xx SDC DATA3 GPIO Configuration

sdc_d2 = xx SDC DATA2 the GPIO configuration

sdc_det = xx SDC DET GPIO Configuration

sdc_use_wp = xx SDC write-protected configuration: a use, not 0

sdc_wp = xx SDC WP GPIO Configuration

Configuration example:

[Mmc1_para]

sdc_used = 1

sdc_detmode = 1

bus_width = 4

sdc_cmd = port: PH22 <5> <1>

sdc_clk = port: PH23 <5> <1>

sdc_d0 = port: PH24 <5> <1>

sdc_d1 = port: PH25 <5> <1>

sdc_d2 = port: PH26 <5> <1>

sdc_d3 = port: PH27 <5> <1>

sdc_det = port: PH2 <0> <1>

sdc_use_wp = 0

sdc_wp =

18.3 [mmc2_para]

Configuration items to configure the meaning of

sdc_used = xx SDC using the control: a use not 0

sdc_detmode = xx detection mode :1-the gpio detect ,2-data3, detection, 3 - detection, the card often (not card-swap), 4 - Manual mode (from the proc file system node)

bus_width = xx bits wide :1-1bit ,4-4bit

sdc_d1 = xx SDC DATA1 GPIO Configuration

sdc_d0 = xx SDC DATA0 GPIO Configuration

sdc_clk = xx SDC CLK GPIO Configuration

sdc_cmd = xx SDC CMD GPIO configuration

sdc_d3 = xx SDC DATA3 GPIO Configuration

sdc_d2 = xx SDC DATA2 the GPIO configuration

sdc_det = xx SDC DET GPIO Configuration

sdc_use_wp = xx SDC write-protected configuration: a use, not 0

sdc_wp = xx SDC WP GPIO Configuration

Configuration example:

[Mmc2_para]

sdc_used = 1

sdc_detmode = 1

bus_width = 4

sdc_cmd = port: PH22 <5> <1>

sdc_clk = port: PH23 <5> <1>

sdc_d0 = port: PH24 <5> <1>

sdc_d1 = port: PH25 <5> <1>

sdc_d2 = port: PH26 <5> <1>

sdc_d3 = port: PH27 <5> <1>

sdc_det = port: PH2 <0> <1>

sdc_use_wp = 0

sdc_wp =

18.4 [mmc3_para]

Configuration items to configure the meaning of

sdc_used = xx SDC using the control: a use not 0

sdc_detmode = xx detection mode :1-the gpio detect ,2-data3, detection, 3 - detection, the card often (not card-swap), 4 - Manual mode (from the proc file system node)

bus_width = xx bits wide :1-1bit ,4-4bit

sdc_d1 = xx SDC DATA1 GPIO Configuration

sdc_d0 = xx SDC DATA0 GPIO Configuration

sdc_clk = xx SDC CLK GPIO Configuration

sdc_cmd = xx SDC CMD GPIO configuration

sdc_d3 = xx SDC DATA3 GPIO Configuration

sdc_d2 = xx SDC DATA2 the GPIO configuration

sdc_det = xx SDC DET GPIO Configuration

sdc_use_wp = xx SDC write-protected configuration: a use, not 0

sdc_wp = xx SDC WP GPIO Configuration

Configuration example:

[Mmc3_para]

sdc_used = 1

sdc_detmode = 1

bus_width = 4

sdc_cmd = port: PH22 <5> <1>

sdc_clk = port: PH23 <5> <1>

sdc_d0 = port: PH24 <5> <1>

sdc_d1 = port: PH25 <5> <1>

sdc_d2 = port: PH26 <5> <1>

sdc_d3 = port: PH27 <5> <1>

sdc_det = port: PH2 <0> <1>

sdc_use_wp = 0

sdc_wp =

19 Memory Stick (Memory Stick)

19.1 [ms_para]

Configuration items to configure the meaning of

ms_used = xx MS using the control: a use not 0

ms_bs = xx MS BS GPIO configuration

ms_clk = xx the MS CLK the GPIO configuration

ms_d0 = xx MS DATA0 GPIO Configuration

ms_d1 = xx MS DATA1 GPIO Configuration

ms_d2 = xx MS DATA2 GPIO Configuration

ms_d3 = xx MS DATA3 GPIO Configuration

ms_det = xx MS DET GPIO Configuration

Configuration example:

[Ms_para]

ms_used = 0

ms_bs = port: PH06 <5>

ms_clk = port: PH07 <5>

ms_d0 = port: PH08 <5>

ms_d1 = port: PH09 <5>

ms_d2 = port: PH10 <5>

ms_d3 = port: PH11 <5>

ms_det =

20 SIM card

20.1 [smc_para]

Configuration items to configure the meaning of

smc_used = xx

smc_rst = xx

smc_vppen = xx

smc_vppp = xx

smc_det = xx

smc_vccen = xx

smc_sck = xx

smc_sda = xx

Configuration example:

21 PS / 2 mouse

21.1 [ps2_0_para]

Configuration items to configure the meaning of

ps2_used = xx PS / 2 using the control: a use not 0

ps2_scl = xx PS / 2 SCK GPIO configuration

ps2_sda = xx PS / 2 SDA GPIO configuration

Configuration example:

[Ps2_0_para]

ps2_used = 0

ps2_scl = port: PI20 <2> <1>

ps2_sda = port: PI21 <2> <1>

21.2 [ps2_1_para]

Configuration items to configure the meaning of

ps2_used = xx PS / 2 using the control: a use not 0

ps2_scl = xx PS / 2 SCK GPIO configuration

ps2_sda = xx PS / 2 SDA GPIO configuration

Configuration example:

[Ps2_1_para]

ps2_used = 0

ps2_scl = port: PI20 <2> <1>

ps2_sda = port: PI21 <2> <1>

22 CAN bus

22.1 [can_para]

Configuration items to configure the meaning of

can_used = xx CAN control: 1, 0 do not

can_tx = xx CANT TX GPIO Configuration

can_rx = xx CAN RX GPIO configuration

Configuration example:

[Can_para]

can_used = 0

can_tx = port: PA16 <3>

can_rx = port: PA17 <3>

23 matrix keyboard (key matrix)

23.1 [keypad_para]

Configuration items to configure the meaning of

kp_used = xx KEYPAD using the control: a use, not 0

kp_in_size = xx KEYPAD column width

kp_out_size = xx KEYPAD line width

kp_in0 = xx KEYPAD IN0 GPIO Configuration

kp_in1 = xx KEYPAD IN1 GPIO Configuration

kp_in2 = xx KEYPAD IN2 GPIO Configuration

kp_in3 = xx KEYPAD IN3 GPIO Configuration

kp_in4 = xx KEYPAD IN4 the GPIO configuration

kp_in5 = xx KEYPAD IN5 GPIO configuration

kp_in6 = xx KEYPAD IN6 GPIO Configuration

kp_in7 = xx KEYPAD IN7 the GPIO configuration

kp_out0 = xx KEYPAD OUT0 GPIO Configuration

kp_out1 = xx KEYPAD OUT1 GPIO Configuration

kp_out2 = xx KEYPAD OUT2 GPIO Configuration

kp_out3 = xx KEYPAD OUT3 GPIO Configuration

kp_out4 = xx KEYPAD OUT4 the GPIO configuration

kp_out5 = xx KEYPAD OUT5 GPIO configuration

kp_out6 = xx KEYPAD OUT6 GPIO Configuration

kp_out7 = xx KEYPAD OUT7 the GPIO configuration

Configuration example:

[Keypad_para]

kp_used = 0

kp_in_size = 8

kp_out_size = 8

kp_in0 = port: PH08 <4> <1>

kp_in1 = port: PH09 <4> <1>

kp_in2 = port: PH10 <4> <1>

kp_in3 = port: PH11 <4> <1>

kp_in4 = port: PH14 <4> <1>

kp_in5 = port: PH15 <4> <1>

kp_in6 = port: PH16 <4> <1>

kp_in7 = port: PH17 <4> <1>

kp_out0 = port: PH18 <4> <1>

kp_out1 = port: PH19 <4> <1>

kp_out2 = port: PH22 <4> <1>

kp_out3 = port: PH23 <4> <1>

kp_out4 = port: PH24 <4> <1>

kp_out5 = port: PH25 <4> <1>

kp_out6 = port: PH26 <4> <1>

kp_out7 = port: PH27 <4> <1>

24 USB control flags

24.1 [usbc0]

Configuration items to configure the meaning of

usb_used = xx the USB enable flag (xx = 1 or 0). Set to 1, indicating that the USB module in the system is available, set to 0, it means that the system's USB disabled. This flag is valid only specific USB controller module.

usb_port_type = xx USB port to use. (Xx = 0/1/2)

0: device only 1: host only 2: OTG

usb_detect_type = xx USB port check way.

0: no way of checking 1: vbus / id check

usb_id_gpio = xx USB ID pin pin configuration. For details, please refer to the gpio configuration instructions. "Configuration and GPIO. Doc"

usb_det_vbus_gpio = xx USB DET_VBUS pin pin configuration. For details, please refer to the gpio configuration instructions. "Configuration and GPIO. Doc"

usb_drv_vbus_gpio = xx USB DRY_VBUS pin pin configuration. For details, please refer to the gpio configuration instructions. "Configuration and GPIO. Doc"

usb_host_init_state = xx host only mode, Host port initialization state.

1: after initialization USB 0: Initialize the USB does not work

Configuration example:

[Usbc0

usb_used = 1

usb_port_type = 2

usb_detect_type = 1

usb_id_gpio = port: PH4 <0> <1>

usb_det_vbus_gpio = port: PH5 <0> <0>

usb_drv_vbus_gpio = port: PB9 <1> <0> <0>

usb_host_init_state = 0

24.2 [usbc1]

Configuration items to configure the meaning of

usb_used = xx the USB enable flag (xx = 1 or 0). Set to 1, indicating that the USB module in the system is available, set to 0, it means that the system's USB disabled. This flag is valid only specific USB controller module.

usb_port_type = xx USB port to use. (Xx = 0/1/2)

0: device only 1: host only 2: OTG

usb_detect_type = xx USB port check way.

0: no way of checking 1: vbus / id check

usb_id_gpio = xx USB ID pin pin configuration. For details, please refer to the gpio configuration instructions. "Configuration and GPIO. Doc"

usb_det_vbus_gpio = xx USB DET_VBUS pin pin configuration. For details, please refer to the gpio configuration instructions. "Configuration and GPIO. Doc"

usb_drv_vbus_gpio = xx USB DRY_VBUS pin pin configuration. For details, please refer to the gpio configuration instructions. "Configuration and GPIO. Doc"

usb_host_init_state = xx host only mode, Host port initialization state.

1: after initialization USB 0: Initialize the USB does not work

Configuration example:

[Usbc1

usb_used = 1

usb_port_type = 1

usb_detect_type = 0

usb_id_gpio =

usb_det_vbus_gpio =

usb_drv_vbus_gpio = port: PH6 <1> <0> <0>

usb_host_init_state = 1

24.3 [usbc2]

Configuration items to configure the meaning of

usb_used = xx the USB enable flag (xx = 1 or 0). Set to 1, indicating that the USB module in the system is available, set to 0, it means that the system's USB disabled. This flag is valid only specific USB controller module.

usb_port_type = xx USB port to use. (Xx = 0/1/2)

0: device only 1: host only 2: OTG

usb_detect_type = xx USB port check way.

0: no way of checking 1: vbus / id check

usb_id_gpio = xx USB ID pin pin configuration. For details, please refer to the gpio configuration instructions. "Configuration and GPIO. Doc"

usb_det_vbus_gpio = xx USB DET_VBUS pin pin configuration. For details, please refer to the gpio configuration instructions. "Configuration and GPIO. Doc"

usb_drv_vbus_gpio = xx USB DRY_VBUS pin pin configuration. For details, please refer to the gpio configuration instructions. "Configuration and GPIO. Doc"

usb_host_init_state = xx host only mode, Host port initialization state.

1: after initialization USB 0: Initialize the USB does not work

Configuration example:

[Usbc2

usb_used = 1

usb_port_type = 1

usb_detect_type = 0

usb_id_gpio =

usb_det_vbus_gpio =

usb_drv_vbus_gpio = port: PH3 <1> <0> <0>

usb_host_init_state = 1

25 USB Device

25.1 [usb_feature]

Configuration items to configure the meaning of

vendor_id = xx USB Vendor ID

mass_storage_id = xx U disk ID

adb_id = xx USB Debug Bridge ID

manufacturer_name = xx USB vendor name

product_name = xx USB Product Name

serial_number = xx USB serial number

Configuration example:

[Usb_feature]

vendor_id = 0x18D1

mass_storage_id = 0x0001

adb_id = 0x0002

manufacturer_name = "USB Developer"

product_name = "Android"

serial_number = "20080411"

25.2 [msc_feature]

Configuration items to configure the meaning of

vendor_name = xx U disk manufacturers

product_name = xx U disk products

release = xx release version

the number of luns = xx U disk logical unit number (the PC can see the U-disk drive letter)

Configuration example:

[Msc_feature]

vendor_name = "USB 2.0"

product_name = "USB Flash Driver"

release = 100

luns = 2

26 gravity sensor (G Sensor)

26.1 [gsensor_para]

Configuration items to configure the meaning of

gsensor_used = xx support gsensor

the gsenser_name = xx program-driven optional gsenser, EVB1.2, with bma250

There mxc622x

Select gsensor_twi_id = xx I2C BUS control 0: TWI0; 1: TWI1; 2: TWI2

gsensor_twi_addr = xx chip I2C address

gsensor_int1 = xx interrupt one of the GPIO configuration

gsensor_int2 = xx interrupt GPIO configuration 2

Configuration example:

[Gsensor_para]

gsensor_used = 1

gsenser_name = "bma250"

gsensor_twi_id = 1

gsensor_twi_addr = 0x18

gsensor_int1 = port: PH00 <6> <1>

gsensor_int2 = port: PI10 <6> <1>

27 GPS

27.1 [gps_para]

Configuration items to configure the meaning of

gps_used = xx

gps_spi_id = xx

gps_spi_cs_num = xx

gps_lradc = xx

gps_clk = xx

gps_sign = xx

gps_mag

gps_vcc_en

gps_osc_en

gps_rx_en

Configuration example:

28 WIFI (SDIO)

28.1 [sdio_wifi_para]

Configuration items to configure the meaning of

sdio_wifi_used = xx SDIO WIFI control: 1, not 0

sdio_wifi_sdc_id = xx SDIO WIFI using the SDC No.

sdio_wifi_shdn = xx SDIO WIFI SHDN GPIO configuration

sdio_wifi_host_wakeup = xx SDIO WIFI WAKEUP GPIO Configuration

sdio_wifi_vdd_en = xx SDIO WIFI VDDEN GPIO configuration

sdio_wifi_vcc_en = xx SDIO WIFI VCCEN GPIO configuration

Configuration example:

[Sdio_wifi_para]

sdio_wifi_used = 1

sdio_wifi_sdc_id = 3

sdio_wifi_shdn = port: PH09 <1> <0>

sdio_wifi_host_wakeup = port: PH10 <1> <1>

sdio_wifi_vdd_en = port: PH11 <1> <0>

sdio_wifi_vcc_en = port: PH12 <1> <0>

29 WIFI (USB)

29.1 [usb_wifi_para]

Configuration items to configure the meaning of

usb_wifi_used = xx the USB enable flag (xx = 1 or 0). Set to 1, indicating that the system USBWIFI modules are available, set to 0, then the system USBWIFI disabled.

usb_wifi_usbc_num = xx USB WIFI to use the USB controller number xx values ??range from 0, 1, 2.

And the USB controller must be configured usb_host_init_state used together, such as xx = 2. The [usbc2 the usb_host_init_state 0

Configuration example:

[Usb_wifi_para]

usb_wifi_used = 0

usb_wifi_usbc_num = 2

30 3G

30.1 [3g_para]

Configuration items to configure the meaning of

3g_used = xx

3g_usbc_num = xx

3g_uart_num = xx

3g_pwr = xx

3g_wakeup = xx

3g_int = xx

Configuration example:

31 gyroscope

31.1 [gy_para]

Configuration items to configure the meaning of

gy_used = xx

gy_twi_id = xx

gy_twi_addr = xx

gy_int1 = xx

gy_int2 = xx

Configuration example:

32 sense of light (light sensor)

32.1 [ls_para]

Configuration items to configure the meaning of

ls_used = xx

ls_twi_id = xx

ls_twi_addr = xx

ls_int = xx

Configuration example:

33 Compass Compass

33.1 [compass_para]

Configuration items to configure the meaning of

compass_used = xx

compass_twi_id = xx

compass_twi_addr = xx

compass_int = xx

Configuration example:

34 Bluetooth (blueteeth).

34.1 [bt_para]

Configuration items to configure the meaning of

bt_used = xx BLUETOOTH control: 1, 0 not

bt_uart_id = xx the BLUETOOTH use the UART controller number

bt_wakeup = XX BT the WAKEUP the GPIO configuration

bt_gpio = xx BT optional GPIO configuration

bt_rst = XX BT the RESET the GPIO configuration

Configuration example:

[Bt_para]

bt_used = 0

bt_uart_id = 2

bt_wakeup = port: PI20 <1>

bt_gpio = port: PI21 <1>

bt_rst = port: PB05 <1>

35 digital audio bus (I2S)

35.1 [i2s_para]

Configuration items to configure the meaning of

i2s_used = xx xx 0:00 to load the module is not loaded 0

i2s_channel = xx-channel control

i2s_mclk = xx I2sMCLK signal GPIO configuration

i2s_bclk = xx I2sBCLK signal GPIO configuration

i2s_lrclk = xx I2sLRCK signal GPIO configuration

i2s_dout0 I2S out0 GPIO configuration

i2s_dout1 temporarily use

i2s_dout2 temporarily use

i2s_dout3 temporarily use

i2s_din I2sIN signal GPIO configuration

Configuration example:

i2s_used = 0

i2s_channel = 2

i2s_mclk = port: PB5 <2> <1>

i2s_bclk = port: PB6 <2> <1>

i2s_lrclk = port: PB7 <2> <1>

i2s_dout0 = port: PB8 <2> <1>

i2s_dout1 =

i2s_dout2 =

i2s_dout3 =

i2s_din = port: PB12 <2> <1>

36 digital audio bus (S / PDIF)

36.1 [spdif_para]

Configuration items to configure the meaning of

spdif_used = xx

spdif_mclk = xx

spdif_dout = xx

spdif_din = xx

Configuration example:

37 speaker control

37.1 [audio_para]

Configuration items to configure the meaning of

audio_used = xx Audio speaker is turned on,

1: Open (default) 0: Close

speakers audio_pa_ctrl = xx gpio port control.

audio_lr_change = xx part of the plate channels need to reverse the set, usually set to 0;

Configuration example:

[Audio_para]

audio_used = 1

audio_pa_ctrl = port: PH15 <1> <0>

audio_lr_change = xx = 0

38 infrared (ir)

38.1 [ir_para]

Configuration items to configure the meaning of

ir_used = xx

ir0_rx = xx

Configuration example:

39 PMU is power

39.1 [pmu_para]

pmu_used = xx Pmu enable flag (xx = 1 or 0)

0: No 1: Use the

pmu_twi_addr = xx Pmu device address

pmu_twi_id = xx Pmu mount i2c controller number,

0: twi0, 1: twi1, 2: twi2

pmu_irq_id = xx Pmu interrupt 0: NMI,

1:1 interrupt interrupt 2:2 No. ...

pmu_battery_rdc = xx battery internal resistance, m? completed according to the actual test.

pmu_battery_cap = xx battery capacity, mAh completed according to the actual test

pmu_init_chgcur = xx set to boot the charging current, mA,

300/400/500/600/700/800/900

/ 1000/1100/1200/1300

/ 1400/1500/1600/1700/1800

pmu_suspend_chgcur = xx set the Sleep charging current, mA,

300/400/500/600/700/800/900

/ 1000/1100/1200/1300

/ 1400/1500/1600/1700/1800

pmu_resume_chgcur = xx set the wake of the charging current, mA

300/400/500/600/700/800/900

/ 1000/1100/1200/1300

/ 1400/1500/1600/1700/1800

pmu_shutdown_chgcur = xx set off the charge current, mA

300/400/500/600/700/800/900

/ 1000/1100/1200/1300

/ 1400/1500/1600/1700/1800

pmu_init_chgvol = xx set the charging target voltage, mV 4100/4150/4200/4360

pmu_init_chgend_rate = xx set the end of the charging current ratio,% 10, 15

pmu_init_chg_enabled = xx to set the charging function, 0: Close 1: Open

pmu_init_adc_freq = xx set adc sampling rate, Hz, 25/50/100/200

pmu_init_adc_freqc = xx set coulomb meter sampling rate, Hz, and 25/50/100/200

pmu_init_chg_pretime = xx set precharge timeout, min, 40/50/60/70

pmu_init_chg_csttime = xx set the constant current charging timeout min, and 360/480/600/720

pmu_bat_para1 = xx set corresponds to the percentage of no-load battery voltage,% details, please read the documentation of the cell parameter test instructions

pmu_bat_para2 = xx is set to no-load battery voltage corresponds to the percentage,%, details, please read the documentation of the cell parameter test instructions

pmu_bat_para3 = xx set corresponds to the percentage of no-load battery voltage,% details, please read the documentation of the cell parameter test instructions

pmu_bat_para4 = xx set corresponds to the percentage of no-load battery voltage,% details, please read the documentation of the cell parameter test instructions

pmu_bat_para5 = xx set corresponds to the percentage of no-load battery voltage,% details, please read the documentation of the cell parameter test instructions

pmu_bat_para6 = xx set corresponds to the percentage of no-load battery voltage,% details, please read the documentation of the cell parameter test instructions

pmu_bat_para7 = xx set corresponds to the percentage of no-load battery voltage,% details, please read the documentation of the cell parameter test instructions

pmu_bat_para8 = xx set corresponds to the percentage of no-load battery voltage,% details, please read the documentation of the cell parameter test instructions

pmu_bat_para9 = xx set corresponds to the percentage of no-load battery voltage,% details, please read the documentation of the cell parameter test instructions

pmu_bat_para10 = xx set corresponds to the percentage of no-load battery voltage,% details, please read the documentation of the cell parameter test instructions

pmu_bat_para11 = xx set corresponds to the percentage of no-load battery voltage,% details, please read the documentation of the cell parameter test instructions

pmu_bat_para12 = xx is set to no-load battery voltage corresponds to the percentage,%, details, please read the documentation of the cell parameter test instructions

pmu_bat_para13 = xx set corresponds to the percentage of no-load battery voltage,% details, please read the documentation of the cell parameter test instructions

pmu_bat_para14 = xx set corresponds to the percentage of no-load battery voltage,% details, please read the documentation of the cell parameter test instructions

pmu_bat_para15 = xx set corresponds to the percentage of no-load battery voltage,% details, please read the documentation of the cell parameter test instructions

pmu_bat_para16 = xx set the no-load battery voltage corresponding to a percentage,%, details, please read the documentation of the cell parameter test instructions, it is recommended here is fixed at 100

pmu_usbvol_limit = xx set usb voltage limiter function 0: off 1: Open

usb pmu_usbvol = xx to set the pressure limiting voltage mV, the 4000/4100/4200/4300/4400/4500/4600/4700

pmu_usbcur_limit = xx set the usb current limit function, 0: off 1: Open

pmu_usbcur = xx set the usb-limiting current, mA, 100/500/900

pmu_pwroff_vol = xx set to start the hardware protection voltage, mV, 2600/2700/2800/2900/3000/3100/3200/3300

pmu_pwron_vol = xx set turned on under hardware protection voltage, mV, 2600/2700/2800/2900/3000/3100/3200/3300

pmu_pekoff_time = xx set the hardware is turned off when ms, and 4000/6000/8000/10000

pmu_pekoff_en = xx set the hardware power off function, 0: off 1: Open

pmu_peklong_time = xx set long button interrupt time, ms, and 1000/1500/2000/2500

pmu_pekon_time = xx set the boot time, ms, 128/1000/2000/3000

pmu_pwrok_time = xx set the power to start after the completion pwrok signal delay, ms, 8/64

pmu_pwrnoe_time = xx set n_oe from low to high shutdown delay time, ms, and 128/1000/2000/3000

pmu_intotp_en = xx set the over-temperature shutdown function 0: Close 1: Open

Configuration example:

pmu_used = 1

pmu_twi_addr = 0x34

pmu_twi_id = 0

pmu_irq_id = 0

pmu_battery_rdc = 200

pmu_battery_cap = 2600

pmu_init_chgcur = 300

pmu_suspend_chgcur = 1000

pmu_resume_chgcur = 300

pmu_shutdown_chgcur = 1000

pmu_init_chgvol = 4200

pmu_init_chgend_rate = 15

pmu_init_chg_enabled = 1

pmu_init_adc_freq = 100

pmu_init_adc_freqc = 100

pmu_init_chg_pretime = 50

pmu_init_chg_csttime = 720

pmu_bat_para1 = 0

pmu_bat_para2 = 0

pmu_bat_para3 = 1

pmu_bat_para4 = 5

pmu_bat_para5 = 7

pmu_bat_para6 = 13

pmu_bat_para7 = 16

pmu_bat_para8 = 26

pmu_bat_para9 = 36

pmu_bat_para10 = 46

pmu_bat_para11 = 53

pmu_bat_para12 = 61

pmu_bat_para13 = 73

pmu_bat_para14 = 84

pmu_bat_para15 = 92

pmu_bat_para16 = 100

pmu_usbvol_limit = 1

pmu_usbvol = 4400

pmu_usbcur_limit = 0

pmu_usbcur = 900

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_intotp_en = 1