Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GoClever Orion 70L GCTA741L
CONFIG_ARM=y
CONFIG_ARCH_SUNXI=y
CONFIG_SPL=y
CONFIG_MACH_SUN6I=y
CONFIG_DRAM_CLK=360
CONFIG_DRAM_ZQ=251
CONFIG_MMC0_CD_PIN="PA8"
CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE"
CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"
CONFIG_USB0_ID_DET="PA15"
CONFIG_AXP_GPIO=y
CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:-14,ri:240,up:-3,lo:35,hs:30,vs:13,sync:3,vmode:0"
CONFIG_VIDEO_LCD_DCLK_PHASE=0
CONFIG_VIDEO_LCD_BL_EN="PA25"
CONFIG_VIDEO_LCD_BL_PWM="PH13"
CONFIG_NR_DRAM_BANKS=1
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-goclever-gcta741l"
CONFIG_AXP_DLDO1_VOLT=3300
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_MUSB_HOST=y
CONFIG_USB_KEYBOARD=y
CONFIG_USB_STORAGE=y
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
Model name: GoClever Orion 70L
Serial number: GCTA741L131103504
SoC: AllWinner A31s
Touchscreen: FocalTech aw5306 - driver: aw5306_ts
Wireless: Realtek RTL8188ETV - driver: rtl8188eu
[product]
version = "100"
machine = "a31s-tablet"
[platform]
eraseflag = 1
[target]
boot_clock = 1008
storage_type = -1
[power_sply]
dcdc1_vol = 3000
dcdc2_vol = 1200
dcdc3_vol = 1260
dcdc4_vol = 1240
dcdc5_vol = 1500
aldo2_vol = 1800
aldo3_vol = 3000
[card_boot]
logical_start = 40960
sprite_gpio0 =
[card0_boot_para]
card_ctrl = 0
card_high_speed = 1
card_line = 4
sdc_d1 = port:PF00<2><1><default><default>
sdc_d0 = port:PF01<2><1><default><default>
sdc_clk = port:PF02<2><1><default><default>
sdc_cmd = port:PF03<2><1><default><default>
sdc_d3 = port:PF04<2><1><default><default>
sdc_d2 = port:PF05<2><1><default><default>
[card2_boot_para]
card_ctrl = 2
card_high_speed = 1
card_line = 4
sdc_cmd = port:PC06<3><1><default><default>
sdc_clk = port:PC07<3><1><default><default>
sdc_d0 = port:PC08<3><1><default><default>
sdc_d1 = port:PC09<3><1><default><default>
sdc_d2 = port:PC10<3><1><default><default>
sdc_d3 = port:PC11<3><1><default><default>
[twi_para]
twi_port = 0
twi_scl = port:PH14<2><default><default><default>
twi_sda = port:PH15<2><default><default><default>
[uart_para]
uart_debug_port = 0
uart_debug_tx = port:PH20<2><1><default><default>
uart_debug_rx = port:PH21<2><1><default><default>
[jtag_para]
jtag_enable = 1
jtag_ms = port:PH09<3><default><default><default>
jtag_ck = port:PH10<3><default><default><default>
jtag_do = port:PH11<3><default><default><default>
jtag_di = port:PH12<3><default><default><default>
[clock]
pll3 = 297
pll4 = 300
pll6 = 600
pll7 = 297
pll8 = 360
pll9 = 297
pll10 = 702
[dram_para]
dram_clk = 360
dram_type = 3
dram_zq = 0xfb
dram_odt_en = 0
dram_para1 = 284427264
dram_para2 = 4353
dram_mr0 = 6736
dram_mr1 = 4
dram_mr2 = 24
dram_mr3 = 0
dram_tpr0 = 0x0
dram_tpr1 = 0x80000800
dram_tpr2 = 0x39a70140
dram_tpr3 = 0xa092e74c
dram_tpr4 = 0x2948c209
dram_tpr5 = 0x8944422c
dram_tpr6 = 0x30028480
dram_tpr7 = 0x2a3297
dram_tpr8 = 0x5034fa8
dram_tpr9 = 0x36353d8
dram_tpr10 = 0x0
dram_tpr11 = 0x0
dram_tpr12 = 0x0
dram_tpr13 = 0x0
[pm_para]
standby_mode = 1
[wakeup_src_para]
cpu_en = 0
cpu_freq = 48
pll_ratio = 273
dram_selfresh_en = 1
dram_freq = 36
wakeup_src0 = port:PL05<2><1><default><default>
[gmac_para]
gmac_used = 0
gmac_txd0 = port:PA00<2><default><default><default>
gmac_txd1 = port:PA01<2><default><default><default>
gmac_txd2 = port:PA02<2><default><default><default>
gmac_txd3 = port:PA03<2><default><default><default>
gmac_txd4 = port:PA04<2><default><default><default>
gmac_txd5 = port:PA05<2><default><default><default>
gmac_txd6 = port:PA06<2><default><default><default>
gmac_txd7 = port:PA07<2><default><default><default>
gmac_txclk = port:PA08<2><default><default><default>
gmac_txen = port:PA09<2><default><default><default>
gmac_gtxclk = port:PA10<2><default><default><default>
gmac_rxd0 = port:PA11<2><default><default><default>
gmac_rxd1 = port:PA12<2><default><default><default>
gmac_rxd2 = port:PA13<2><default><default><default>
gmac_rxd3 = port:PA14<2><default><default><default>
gmac_rxd4 = port:PA15<2><default><default><default>
gmac_rxd5 = port:PA16<2><default><default><default>
gmac_rxd6 = port:PA17<2><default><default><default>
gmac_rxd7 = port:PA18<2><default><default><default>
gmac_rxdv = port:PA19<2><default><default><default>
gmac_rxclk = port:PA20<2><default><default><default>
gmac_txerr = port:PA21<2><default><default><default>
gmac_rxerr = port:PA22<2><default><default><default>
gmac_col = port:PA23<2><default><default><default>
gmac_crs = port:PA24<2><default><default><default>
gmac_clkin = port:PA25<2><default><default><default>
gmac_mdc = port:PA26<2><default><default><default>
gmac_mdio = port:PA27<2><default><default><default>
[twi0_para]
twi_used = 1
twi_scl = port:PH14<2><default><default><default>
twi_sda = port:PH15<2><default><default><default>
[twi1_para]
twi_used = 1
twi_scl = port:PH16<2><default><default><default>
twi_sda = port:PH17<2><default><default><default>
[twi2_para]
twi_used = 1
twi_scl = port:PH18<2><default><default><default>
twi_sda = port:PH19<2><default><default><default>
[twi3_para]
twi_used = 1
twi_scl = port:PG10<2><default><default><default>
twi_sda = port:PG11<2><default><default><default>
[uart_para0]
uart_used = 1
uart_port = 0
uart_type = 2
uart_tx = port:PH20<2><1><default><default>
uart_rx = port:PH21<2><1><default><default>
[uart_para1]
uart_used = 0
uart_port = 1
uart_type = 4
uart_tx = port:PA04<4><1><default><default>
uart_rx = port:PA05<4><1><default><default>
uart_rts = port:PA06<4><1><default><default>
uart_cts = port:PA07<4><1><default><default>
[uart_para2]
uart_used = 0
uart_port = 2
uart_type = 4
uart_tx = port:PG06<2><1><default><default>
uart_rx = port:PG07<2><1><default><default>
uart_rts = port:PG08<2><1><default><default>
uart_cts = port:PG09<2><1><default><default>
[uart_para3]
uart_used = 0
uart_port = 3
uart_type = 4
uart_tx = port:PB05<3><1><default><default>
uart_rx = port:PB06<3><1><default><default>
uart_rts = port:PB04<3><1><default><default>
uart_cts = port:PB00<3><1><default><default>
[uart_para4]
uart_used = 0
uart_port = 4
uart_type = 2
uart_tx = port:PG17<2><1><default><default>
uart_rx = port:PG18<2><1><default><default>
uart_rts = port:PB04<3><1><default><default>
uart_cts = port:PB00<3><1><default><default>
[uart_para5]
uart_used = 0
uart_port = 5
uart_type = 4
uart_tx = port:PE04<3><1><default><default>
uart_rx = port:PE05<3><1><default><default>
uart_rts = port:PE06<3><1><default><default>
uart_cts = port:PE07<3><1><default><default>
[spi0_para]
spi_used = 0
spi_cs_bitmap = 1
spi_cs0 = port:PC27<3><1><default><default>
spi_sclk = port:PC02<3><default><default><default>
spi_mosi = port:PC00<3><default><default><default>
spi_miso = port:PC01<3><default><default><default>
[spi1_para]
spi_used = 0
spi_cs_bitmap = 1
spi_cs1 = port:PG12<2><1><default><default>
spi_cs0 = port:PG13<2><1><default><default>
spi_sclk = port:PG14<2><default><default><default>
spi_mosi = port:PG15<2><default><default><default>
spi_miso = port:PG16<2><default><default><default>
[spi2_para]
spi_used = 0
spi_cs_bitmap = 1
spi_cs0 = port:PH09<2><default><default><default>
spi_sclk = port:PH10<2><default><default><default>
spi_mosi = port:PH11<2><default><default><default>
spi_miso = port:PH12<2><default><default><default>
[spi3_para]
spi_used = 0
spi_cs_bitmap = 1
spi_cs0 = port:PA21<4><default><default><default>
spi_sclk = port:PA22<4><default><default><default>
spi_mosi = port:PA23<4><default><default><default>
spi_miso = port:PA24<4><default><default><default>
spi_cs1 = port:PA25<4><default><default><default>
[rtp_para]
rtp_used = 0
rtp_screen_size = 5
rtp_regidity_level = 5
rtp_press_threshold_enable = 0
rtp_press_threshold = 0x1f40
rtp_sensitive_level = 0xf
rtp_exchange_x_y_flag = 0
[ctp_para]
ctp_used = 1
ctp_name = "aw5306_ts"
ctp_twi_id = 1
ctp_twi_addr = 0x39
ctp_screen_max_x = 480
ctp_screen_max_y = 800
ctp_revert_x_flag = 1
ctp_revert_y_flag = 0
ctp_exchange_x_y_flag = 0
ctp_name_b = "ft5x_ts"
ctp_twi_addr_b = 56
ctp_revert_x_flag_b = 1
ctp_revert_y_flag_b = 1
ctp_exchange_x_y_flag_b = 0
ctp_int_port = port:PG11<6><default><default><default>
ctp_wakeup = port:PB03<1><default><default><1>
ctp_io_port = port:PG11<6><default><default><default>
[tkey_para]
tkey_used = 0
tkey_twi_id =
tkey_twi_addr =
tkey_int =
[motor_para]
motor_used = 0
motor_shake = port:power3<1><default><default><1>
[nand0_para]
nand_support_2ch = 1
nand0_used = 1
nand0_we = port:PC00<2><default><default><default>
nand0_ale = port:PC01<2><default><default><default>
nand0_cle = port:PC02<2><default><default><default>
nand0_ce1 = port:PC03<2><default><default><default>
nand0_ce0 = port:PC04<2><default><default><default>
nand0_nre = port:PC05<2><default><default><default>
nand0_rb0 = port:PC06<2><default><default><default>
nand0_rb1 = port:PC07<2><default><default><default>
nand0_d0 = port:PC08<2><default><default><default>
nand0_d1 = port:PC09<2><default><default><default>
nand0_d2 = port:PC10<2><default><default><default>
nand0_d3 = port:PC11<2><default><default><default>
nand0_d4 = port:PC12<2><default><default><default>
nand0_d5 = port:PC13<2><default><default><default>
nand0_d6 = port:PC14<2><default><default><default>
nand0_d7 = port:PC15<2><default><default><default>
nand0_ce2 = port:PC25<2><default><default><default>
nand0_ce3 = port:PC26<2><default><default><default>
nand0_ndqs = port:PC24<2><default><default><default>
[nand1_para]
nand1_used = 0
nand1_we = port:PH00<2><default><default><default>
nand1_ale = port:PH01<2><default><default><default>
nand1_cle = port:PH02<2><default><default><default>
nand1_ce1 = port:PH03<2><default><default><default>
nand1_ce0 = port:PH04<2><default><default><default>
nand1_nre = port:PH05<2><default><default><default>
nand1_rb0 = port:PH06<2><default><default><default>
nand1_rb1 = port:PH07<2><default><default><default>
nand1_d0 = port:PC16<3><default><default><default>
nand1_d1 = port:PC17<3><default><default><default>
nand1_d2 = port:PC18<3><default><default><default>
nand1_d3 = port:PC19<3><default><default><default>
nand1_d4 = port:PC20<3><default><default><default>
nand1_d5 = port:PC21<3><default><default><default>
nand1_d6 = port:PC22<3><default><default><default>
nand1_d7 = port:PC23<3><default><default><default>
nand1_ce2 = port:PH29<2><default><default><default>
nand1_ce3 = port:PH30<2><default><default><default>
nand1_ndqs = port:PH08<2><default><default><default>
[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_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 = 50
lcd1_backlight = 50
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_para]
lcd_used = 1
lcd_if = 0
lcd_x = 800
lcd_y = 480
lcd_width = 0
lcd_height = 0
lcd_dclk_freq = 33
lcd_pwm_freq = 30000
lcd_pwm_pol = 1
lcd_hbp = 16
lcd_ht = 1056
lcd_hspw = 30
lcd_vbp = 10
lcd_vt = 525
lcd_vspw = 13
lcd_hv_if = 0
lcd_gamma_en = 0
lcd_bright_curve_en = 0
lcd_cmap_en = 0
lcd_frm = 1
deu_mode = 0
lcdgamma4iep = 22
smart_color = 90
lcd_bl_en = port:PA25<1><0><default><1>
lcd_power = port:power2<1><0><default><1>
lcd_pwm = port:PH13<2><0><2><1>
lcd_gpio_0 = port:PH10<1><0><2><1>
lcd_gpio_1 = port:PH11<1><0><2><1>
lcd_gpio_2 = port:PA23<1><0><2><0>
lcd_gpio_3 = port:PH09<1><0><2><1>
lcdd2 = port:PD02<2><0><2><default>
lcdd3 = port:PD03<2><0><2><default>
lcdd4 = port:PD04<2><0><2><default>
lcdd5 = port:PD05<2><0><2><default>
lcdd6 = port:PD06<2><0><2><default>
lcdd7 = port:PD07<2><0><2><default>
lcdd10 = port:PD10<2><0><2><default>
lcdd11 = port:PD11<2><0><2><default>
lcdd12 = port:PD12<2><0><2><default>
lcdd13 = port:PD13<2><0><2><default>
lcdd14 = port:PD14<2><0><2><default>
lcdd15 = port:PD15<2><0><2><default>
lcdd18 = port:PD18<2><0><2><default>
lcdd19 = port:PD19<2><0><2><default>
lcdd20 = port:PD20<2><0><2><default>
lcdd21 = port:PD21<2><0><2><default>
lcdd22 = port:PD22<2><0><2><default>
lcdd23 = port:PD23<2><0><2><default>
lcdclk = port:PD24<2><0><3><default>
lcdde = port:PD25<2><0><2><default>
lcdhsync = port:PD26<2><0><2><default>
lcdvsync = port:PD27<2><0><2><default>
[hdmi_para]
hdmi_used = 1
[vip0_para]
vip_used = 0
vip_mode = 0
vip_dev_qty = 1
vip_vip_mck = port:PE16<2><default><default><default>
vip_dev0_mname = "ov8825"
vip_dev0_twi_id = 0
vip_dev0_twi_addr = 108
vip_dev0_isp_used = 0
vip_dev0_fmt = 0
vip_dev0_stby_mode = 1
vip_dev0_vflip = 0
vip_dev0_hflip = 0
vip_dev0_iovdd = "axp22_dldo3"
vip_dev0_iovdd_vol = 2800000
vip_dev0_avdd = "axp22_ldoio0"
vip_dev0_avdd_vol = 2800000
vip_dev0_dvdd = "axp22_eldo2"
vip_dev0_dvdd_vol = 1500000
vip_dev0_afvdd = ""
vip_dev0_afvdd_vol = 2800000
vip_dev0_power_en =
vip_dev0_reset =
vip_dev0_pwdn =
vip_dev0_flash_en =
vip_dev0_flash_mode =
vip_dev0_af_pwdn =
vip_dev1_mname = ""
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 = "axp22_dldo3"
vip_dev1_iovdd_vol = 2800000
vip_dev1_avdd = "axp22_ldoio0"
vip_dev1_avdd_vol = 2800000
vip_dev1_dvdd = "axp22_eldo2"
vip_dev1_dvdd_vol = 1800000
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 =
[vip1_para]
vip_used = 1
vip_mode = 0
vip_dev_qty = 1
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 =
vip_csi_d1 =
vip_csi_d2 =
vip_csi_d3 =
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_dev0_mname = "gc0329"
vip_dev0_twi_id = 0
vip_dev0_twi_addr = 98
vip_dev0_isp_used = 0
vip_dev0_fmt = 0
vip_dev0_stby_mode = 0
vip_dev0_vflip = 1
vip_dev0_hflip = 0
vip_dev0_iovdd = "axp22_dldo3"
vip_dev0_iovdd_vol = 2800000
vip_dev0_avdd = "axp22_ldoio0"
vip_dev0_avdd_vol = 2800000
vip_dev0_dvdd = "axp22_eldo2"
vip_dev0_dvdd_vol = 1800000
vip_dev0_afvdd = ""
vip_dev0_afvdd_vol = 2800000
vip_dev0_power_en =
vip_dev0_reset = port:PE04<1><default><default><0>
vip_dev0_pwdn = port:PE05<1><default><default><1>
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 = 24
vip_dev1_mname = ""
vip_dev1_twi_id = 0
vip_dev1_twi_addr = 66
vip_dev1_stby_mode = 0
vip_dev1_isp_used = 0
vip_dev1_fmt = 0
vip_dev1_vflip = 0
vip_dev1_hflip = 0
vip_dev1_iovdd = "axp22_dldo3"
vip_dev1_iovdd_vol = 2800000
vip_dev1_avdd = "axp22_ldoio0"
vip_dev1_avdd_vol = 2800000
vip_dev1_dvdd = "axp22_eldo2"
vip_dev1_dvdd_vol = 1800000
vip_dev1_afvdd = ""
vip_dev1_afvdd_vol = 2800000
vip_dev1_power_en =
vip_dev1_reset = port:PE04<1><default><default><0>
vip_dev1_pwdn = port:PE05<1><default><default><1>
vip_dev1_flash_en =
vip_dev1_flash_mode =
vip_dev1_af_pwdn =
[camera_list_para]
camera_list_para_used = 1
ov7670 = 0
gc0308 = 1
gt2005 = 0
hi704 = 0
sp0838 = 0
mt9m112 = 0
mt9m113 = 0
gc2035 = 1
ov2655 = 0
hi253 = 0
gc0307 = 1
mt9d112 = 0
ov5640 = 1
ov5647 = 1
gc2015 = 0
ov2643 = 0
gc0329 = 0
gc0309 = 0
tvp5150 = 0
s5k4ec = 0
ov5650_mv9335 = 0
siv121d = 0
[tvout_para]
tvout_used =
tvout_channel_num =
tv_en =
[tvin_para]
tvin_used =
tvin_channel_num =
[mmc0_para]
sdc_used = 1
sdc_detmode = 1
sdc_buswidth = 4
sdc_clk = port:PF02<2><1><2><default>
sdc_cmd = port:PF03<2><1><2><default>
sdc_d0 = port:PF01<2><1><2><default>
sdc_d1 = port:PF00<2><1><2><default>
sdc_d2 = port:PF05<2><1><2><default>
sdc_d3 = port:PF04<2><1><2><default>
sdc_det = port:PA08<6><1><2><default>
sdc_use_wp = 0
sdc_wp =
sdc_isio = 0
sdc_regulator = "none"
[mmc1_para]
sdc_used = 0
sdc_detmode = 4
sdc_buswidth = 4
sdc_clk = port:PG00<2><1><2><default>
sdc_cmd = port:PG01<2><1><2><default>
sdc_d0 = port:PG02<2><1><2><default>
sdc_d1 = port:PG03<2><1><2><default>
sdc_d2 = port:PG04<2><1><2><default>
sdc_d3 = port:PG05<2><1><2><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:PC07<3><1><2><default>
sdc_cmd = port:PC06<3><1><2><default>
sdc_d0 = port:PC08<3><1><2><default>
sdc_d1 = port:PC09<3><1><2><default>
sdc_d2 = port:PC10<3><1><2><default>
sdc_d3 = port:PC11<3><1><2><default>
sdc_d4 = port:PC12<3><1><2><default>
sdc_d5 = port:PC13<3><1><2><default>
sdc_d6 = port:PC14<3><1><2><default>
sdc_d7 = port:PC15<3><1><2><default>
emmc_rst = port:PC24<3><1><2><default>
sdc_det =
sdc_use_wp = 0
sdc_wp =
sdc_isio = 0
sdc_regulator = "none"
[mmc3_para]
sdc_used = 0
sdc_detmode = 2
sdc_buswidth = 4
sdc_clk = port:PA10<2><1><2><default>
sdc_cmd = port:PA09<2><1><2><default>
sdc_d0 = port:PA11<2><1><2><default>
sdc_d1 = port:PA12<2><1><2><default>
sdc_d2 = port:PA13<2><1><2><default>
sdc_d3 = port:PA14<2><1><2><default>
sdc_det =
sdc_use_wp = 0
sdc_wp =
sdc_isio = 0
sdc_regulator = "none"
[smc_para]
smc_used =
smc_rst =
smc_vppen =
smc_vppp =
smc_det =
smc_vccen =
smc_sck =
smc_sda =
[usbc0]
usb_used = 1
usb_port_type = 2
usb_detect_type = 1
usb_id_gpio = port:PA15<0><1><default><default>
usb_det_vbus_gpio = "axp_ctrl"
usb_drv_vbus_gpio = port:power4<1><0><default><0>
usb_restrict_gpio = port:PH26<1><0><default><0>
usb_host_init_state = 0
usb_restric_flag = 0
usb_restric_voltage = 3550000
usb_restric_capacity = 5
[usbc1]
usb_used = 1
usb_port_type = 1
usb_detect_type = 0
usb_id_gpio =
usb_det_vbus_gpio =
usb_drv_vbus_gpio =
usb_restrict_gpio =
usb_host_init_state = 0
usb_restric_flag = 0
[usbc2]
usb_used = 0
usb_port_type = 1
usb_detect_type = 0
usb_id_gpio =
usb_det_vbus_gpio =
usb_drv_vbus_gpio =
usb_restrict_gpio =
usb_host_init_state = 1
usb_restric_flag = 0
[usb_feature]
vendor_id = 6353
mass_storage_id = 1
adb_id = 2
manufacturer_name = "USB Developer"
product_name = "ORION7oL"
serial_number = "20080411"
[msc_feature]
vendor_name = "ORION7oL"
product_name = "USB Flash Driver"
release = 100
luns = 2
[gsensor_list_para]
gsensor_det_used = 1
bma250 = 1
mma7660 = 1
dmard06 = 1
mma8452 = 1
kxtik = 0
mxc622x = 1
afa750 = 0
mma865x = 0
lis35de = 0
[gsensor_para]
gsensor_used = 1
gsensor_twi_id = 2
gsensor_twi_addr = 0x18
gsensor_int1 = port:PA09<6><1><default><default>
gsensor_int2 =
[gps_para]
[wifi_para]
wifi_used = 1
wifi_sdc_id = 1
wifi_usbc_id = 1
wifi_usbc_type = 1
wifi_mod_sel = 6
wifi_power = "axp22_dldo1"
[3g_para]
3g_used = 0
3g_usbc_num = 0
3g_usbc_type = 0
3g_uart_num = 1
bb_name = "em55"
bb_dldo = "axp22_dldo4"
bb_vbat =
bb_pwr_on = port:PL03<1><default><default><0>
bb_wake = port:PM02<1><default><default><0>
bb_rst = port:PM03<1><default><default><0>
bb_host_wake = port:PM00<6><1><default><0>
bb_on =
bb_rf_dis =
[gy_para]
gy_used = 0
gy_twi_id = 2
gy_twi_addr = 106
gy_int1 = port:PA10<6><1><default><default>
gy_int2 =
[light_distance_sensor_para]
light_distance_sensor_used = 0
light_distance_sensor_ldo = "axp22_dldo2"
light_distance_sensor_twi_id = 3
light_distance_sensor_twi_addr = 35
light_distance_sensor_int1 = port:PG12<6><1><default><default>
light_distance_sensor_int2 =
[compass_para]
compass_used = 0
compass_twi_id = 2
compass_twi_addr = 13
compass_int = port:PA11<6><1><default><default>
[bt_para]
bt_used = 0
bt_uart_id =
bt_wakeup =
bt_gpio =
bt_rst =
[i2s_para]
i2s_used = 0
i2s_channel = 2
i2s_master = 1
i2s_select = 0
audio_format = 4
signal_inversion = 3
over_sample_rate = 256
sample_resolution = 16
word_select_size = 32
pcm_sync_period = 256
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 =
i2s_bclk = port:PB01<2><1><default><default>
i2s_lrclk = port:PB02<2><1><default><default>
i2s_dout0 = port:PB03<2><1><default><default>
i2s_dout1 =
i2s_dout2 =
i2s_dout3 =
i2s_din = port:PB07<2><1><default><default>
[pcm_para]
pcm_used = 0
pcm_channel = 2
pcm_master = 4
pcm_select = 1
audio_format = 4
signal_inversion = 3
over_sample_rate = 512
sample_resolution = 16
word_select_size = 32
pcm_sync_period = 64
msb_lsb_first = 0
sign_extend = 0
slot_index = 0
slot_width = 16
frame_width = 1
tx_data_mode = 0
rx_data_mode = 0
pcm_mclk =
pcm_bclk = port:PG13<3><1><default><default>
pcm_lrclk = port:PG14<3><1><default><default>
pcm_dout = port:PG16<3><1><default><default>
pcm_din = port:PG15<3><1><default><default>
[spdif_para]
spdif_used = 0
spdif_dout = port:PH28<3><1><default><default>
spdif_din = port:PH27<3><1><default><default>
[audio_para]
audio_used = 1
audio_hp_ldo = "axp22_aldo1"
headphone_vol = 59
earpiece_vol = 59
cap_vol = 7
pa_single_vol = 23
pa_double_used = 0
pa_double_vol = 31
headphone_direct_used = 1
audio_pa_ctrl = port:PL04<1><default><default><0>
headset_mic_vol = 6
main_mic_vol = 6
[ir_para]
ir_used = 0
ir_rx = port:PL04<2><1><default><default>
[pmu_para]
pmu_used = 1
pmu_twi_addr = 52
pmu_twi_id = 1
pmu_irq_id = 0
pmu_battery_rdc = 100
pmu_battery_cap = 0
pmu_batdeten = 1
pmu_runtime_chgcur = 900
pmu_earlysuspend_chgcur = 900
pmu_suspend_chgcur = 1500
pmu_shutdown_chgcur = 1500
pmu_init_chgvol = 4200
pmu_init_chgend_rate = 15
pmu_init_chg_enabled = 1
pmu_init_adc_freq = 800
pmu_init_adcts_freq = 800
pmu_init_chg_pretime = 70
pmu_init_chg_csttime = 720
pmu_batt_cap_correct = 1
pmu_bat_regu_en = 0
pmu_bat_para1 = 0
pmu_bat_para2 = 0
pmu_bat_para3 = 0
pmu_bat_para4 = 0
pmu_bat_para5 = 0
pmu_bat_para6 = 0
pmu_bat_para7 = 0
pmu_bat_para8 = 0
pmu_bat_para9 = 5
pmu_bat_para10 = 8
pmu_bat_para11 = 9
pmu_bat_para12 = 10
pmu_bat_para13 = 13
pmu_bat_para14 = 16
pmu_bat_para15 = 20
pmu_bat_para16 = 33
pmu_bat_para17 = 41
pmu_bat_para18 = 46
pmu_bat_para19 = 50
pmu_bat_para20 = 53
pmu_bat_para21 = 57
pmu_bat_para22 = 61
pmu_bat_para23 = 67
pmu_bat_para24 = 73
pmu_bat_para25 = 78
pmu_bat_para26 = 84
pmu_bat_para27 = 88
pmu_bat_para28 = 92
pmu_bat_para29 = 93
pmu_bat_para30 = 94
pmu_bat_para31 = 95
pmu_bat_para32 = 100
pmu_usbvol_limit = 0
pmu_usbcur_limit = 0
pmu_usbvol = 4000
pmu_usbcur = 0
pmu_usbvol_pc = 4400
pmu_usbcur_pc = 500
pmu_pwroff_vol = 3300
pmu_pwron_vol = 2600
pmu_pekoff_time = 8000
pmu_pekoff_func = 0
pmu_pekoff_en = 1
pmu_peklong_time = 1500
pmu_pekon_time = 1000
pmu_pwrok_time = 64
pmu_battery_warning_level1 = 15
pmu_battery_warning_level2 = 10
pmu_restvol_adjust_time = 60
pmu_ocv_cou_adjust_time = 60
pmu_chgled_func = 0
pmu_chgled_type = 0
pmu_vbusen_func = 1
pmu_reset = 0
pmu_IRQ_wakeup = 0
pmu_hot_shutdowm = 1
pmu_inshort = 0
power_start = 1
[recovery_key]
key_min = 28
key_max = 32
[dvfs_table]
max_freq = 1008000000
min_freq = 120000000
LV_count = 8
LV1_freq = 1104000000
LV1_volt = 1300
LV2_freq = 1056000000
LV2_volt = 1260
LV3_freq = 864000000
LV3_volt = 1200
LV4_freq = 720000000
LV4_volt = 1100
LV5_freq = 480000000
LV5_volt = 1000
LV6_freq = 0
LV6_volt = 1000
LV7_freq = 0
LV7_volt = 1000
LV8_freq = 0
LV8_volt = 1000
[gpio_hold_para]
gpio_hold_used = 0
pl02 = port:PL02<default><default><default><default>
pl03 = port:PL03<default><default><default><default>
pl04 = port:PL04<default><default><default><default>
pl05 = port:PL05<default><default><default><default>
pl06 = port:PL06<default><default><default><default>
pl07 = port:PL07<default><default><default><default>
pl08 = port:PL08<default><default><default><default>
[cpus_config_paras]
cpus_uart_debug_used = 1
/*
* Copyright 2018 Jacek Pruciak <juniorjpdj@juniorjpdj.pl>
*
* This file is dual-licensed: you can use it either under the terms
* of the GPL or the X11 license, at your option. Note that this dual
* licensing only applies to this file, and not this project as a
* whole.
*
* a) This file is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* Or, alternatively,
*
* b) Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/
/dts-v1/;
#include "sun6i-a31s.dtsi"
/ {
model = "GoClever Orion 70L";
compatible = "goclever,gcta741l", "allwinner,sun6i-a31s";
};
#include "sunxi-common-regulators.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/pinctrl/sun4i-a10.h>
/ {
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&cpu0 {
cpu-supply = <&reg_dcdc3>;
};
&ehci0 {
/* Wifi is connected here */
status = "okay";
};
&mmc0 {
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_e708_q1>;
vmmc-supply = <&reg_dcdc1>;
bus-width = <4>;
cd-gpios = <&pio 0 8 GPIO_ACTIVE_HIGH>; /* PA8 */
cd-inverted;
status = "okay";
};
&pio {
mmc0_cd_pin_e708_q1: mmc0_cd_pin@0 {
allwinner,pins = "PA8";
allwinner,function = "gpio_in";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
};
usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PA15";
allwinner,function = "gpio_in";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
};
};
&p2wi {
status = "okay";
axp22x: pmic@68 {
compatible = "x-powers,axp221";
reg = <0x68>;
interrupt-parent = <&nmi_intc>;
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
drivevbus-supply = <&reg_vcc5v0>;
x-powers,drive-vbus-en;
};
};
#include "axp22x.dtsi"
&reg_aldo3 {
regulator-always-on;
regulator-min-microvolt = <2700000>;
regulator-max-microvolt = <3300000>;
regulator-name = "avcc";
};
&reg_dc1sw {
regulator-name = "vcc-lcd";
};
&reg_dc5ldo {
regulator-always-on;
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1320000>;
regulator-name = "vdd-cpus"; /* This is an educated guess */
};
&reg_dcdc1 {
regulator-always-on;
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
regulator-name = "vcc-3v0";
};
&reg_dcdc2 {
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1320000>;
regulator-name = "vdd-gpu";
};
&reg_dcdc3 {
regulator-always-on;
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1320000>;
regulator-name = "vdd-cpu";
};
&reg_dcdc4 {
regulator-always-on;
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1320000>;
regulator-name = "vdd-sys-dll";
};
&reg_dcdc5 {
regulator-always-on;
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
regulator-name = "vcc-dram";
};
&reg_dldo1 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc-wifi";
};
&reg_drivevbus {
regulator-name = "usb0-vbus";
status = "okay";
};
&simplefb_lcd {
vcc-lcd-supply = <&reg_dc1sw>;
};
&usb_otg {
dr_mode = "otg";
status = "okay";
};
&usb_power_supply {
status = "okay";
};
&battery_power_supply {
status = "okay";
};
&usbphy {
pinctrl-names = "default";
pinctrl-0 = <&usb0_id_detect_pin>;
usb0_id_det-gpio = <&pio 0 15 GPIO_ACTIVE_HIGH>; /* PA15 */
usb0_vbus_power-supply = <&usb_power_supply>;
usb0_vbus-supply = <&reg_drivevbus>;
usb1_vbus-supply = <&reg_dldo1>;
status = "okay";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment