mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-27 14:38:53 +00:00
v1.0.3
This commit is contained in:
@@ -216,28 +216,28 @@ config AIC_USING_SDMC0
|
||||
|
||||
config AIC_USING_SDMC1
|
||||
bool "Using SDMC1"
|
||||
default y
|
||||
default n
|
||||
select AIC_SDMC_DRV
|
||||
|
||||
source "bsp/artinchip/drv/sdmc/Kconfig"
|
||||
|
||||
#---------------------------
|
||||
# WLAN device global option
|
||||
#---------------------------
|
||||
comment "WLAN Related:"
|
||||
|
||||
menuconfig AIC_WIRELESS_LAN
|
||||
bool "Using Wireless Lan"
|
||||
default n
|
||||
|
||||
source "bsp/peripheral/wireless/Kconfig"
|
||||
|
||||
#================================================
|
||||
# Analog Class
|
||||
#================================================
|
||||
|
||||
comment "Analog Related:"
|
||||
|
||||
#---------------------------
|
||||
# RTP device global option
|
||||
#---------------------------
|
||||
|
||||
config AIC_USING_RTP
|
||||
bool "Using RTP"
|
||||
default n
|
||||
select AIC_RTP_DRV
|
||||
|
||||
source "bsp/artinchip/drv/rtp/Kconfig"
|
||||
|
||||
#---------------------------
|
||||
# TSEN device global option
|
||||
#---------------------------
|
||||
@@ -251,6 +251,14 @@ config AIC_USING_TSEN
|
||||
# GPAI device global option
|
||||
#---------------------------
|
||||
|
||||
config AIC_USING_GPAI
|
||||
bool "Using GPAI"
|
||||
default n
|
||||
select AIC_GPAI_DRV
|
||||
|
||||
menu "GPAI options"
|
||||
depends on AIC_USING_GPAI
|
||||
|
||||
config AIC_USING_GPAI0
|
||||
bool "Using GPAI0"
|
||||
default n
|
||||
@@ -291,6 +299,8 @@ config AIC_USING_GPAI7
|
||||
default n
|
||||
select AIC_GPAI_DRV
|
||||
|
||||
source "bsp/artinchip/drv/gpai/Kconfig.dev"
|
||||
endmenu
|
||||
#================================================
|
||||
# MutiMedia Class
|
||||
#================================================
|
||||
|
||||
@@ -190,7 +190,6 @@ const struct dfs_mount_tbl mount_table[] = {
|
||||
{"data", "/data", "uffs", 0, 0, 1},
|
||||
#endif
|
||||
#ifdef AIC_USING_SDMC1
|
||||
{"sd0p0", "/sdcard", "elm", 0, 0, 0},
|
||||
{"sd0", "/sdcard", "elm", 0, 0, 0},
|
||||
#endif
|
||||
#if (defined(AIC_USING_USB0_HOST) || defined(AIC_USING_USB1_HOST))
|
||||
|
||||
Binary file not shown.
@@ -32,12 +32,12 @@
|
||||
"part": ["spl"]
|
||||
},
|
||||
"os": {
|
||||
"file": "os.aic",
|
||||
"file": "d13x_os.itb",
|
||||
"attr": ["mtd", "required"],
|
||||
"part": ["os"]
|
||||
},
|
||||
"rodata": {
|
||||
"file": "data.fatfs",
|
||||
"file": "rodata.fatfs",
|
||||
"attr": ["mtd", "optional"],
|
||||
"part": ["rodata"]
|
||||
},
|
||||
@@ -62,14 +62,10 @@
|
||||
"pbp": "d13x.pbp",
|
||||
},
|
||||
},
|
||||
"os.aic": {
|
||||
"head_ver": "0x00010001",
|
||||
"loader": {
|
||||
"file": "d13x.bin",
|
||||
"load address": "0x30040000",
|
||||
"entry point": "0x30040100",
|
||||
"run in dram": "false",
|
||||
}
|
||||
},
|
||||
"itb": {
|
||||
"d13x_os.itb": {
|
||||
"its": "d13x_os.its"
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -1,6 +1,68 @@
|
||||
{
|
||||
"psram": {
|
||||
"cfg0": {
|
||||
"common": {
|
||||
"clock": "198000000",
|
||||
"cs0_pins": "0x0",
|
||||
"cs1_pins": "0x0",
|
||||
"xspi_ctl": "0x116d",
|
||||
"xspi_tcr": "0x280011",
|
||||
"xspi_cfg": "0x03010001",
|
||||
"xspi_ldo": "0x17", //1.92V
|
||||
"psram_cfg0": "0x03030303",
|
||||
"psram_cfg1": "0x00400001",
|
||||
"xspi_cs0_iocfg1": "0x06060606",
|
||||
"xspi_cs0_iocfg2": "0x06060606",
|
||||
"xspi_cs0_iocfg3": "0x36062636",
|
||||
"xspi_cs0_iocfg4": "0x26",
|
||||
"xspi_cs1_iocfg1": "0x06060606",
|
||||
"xspi_cs1_iocfg2": "0x06060606",
|
||||
"xspi_cs1_iocfg3": "0x36062636",
|
||||
"xspi_cs1_iocfg4": "0x26",
|
||||
},
|
||||
"reset": {
|
||||
"proto": "0xff000001",
|
||||
"buf": "0x00ffffff",
|
||||
},
|
||||
"getid": {
|
||||
"proto": "0x40030204",
|
||||
"id": "0x80c980c9",
|
||||
"buf": "0xffffffff",
|
||||
},
|
||||
"init": {
|
||||
"proto0": "0xc0000002", //cmd: byte[0]=0xc0; dummy: byte[1]=0x00; addr: byte[2]=0x00; len: byte[3]=0x02;
|
||||
"buf0": "0x19000000",
|
||||
"proto1": "0xc0000402",
|
||||
"buf1": "0x80000000",
|
||||
"proto2": "0xffffffff",
|
||||
"buf2": "0xffffffff",
|
||||
"proto3": "0xffffffff",
|
||||
"buf3": "0xffffffff",
|
||||
},
|
||||
"xip_cfg": {
|
||||
"wr_proto": "0x80020002",
|
||||
"wr_buf": "0xffffffff",
|
||||
"rd_proto": "0x00060003",
|
||||
"rd_buf": "0xffffffff",
|
||||
},
|
||||
"backup": {
|
||||
"buf0": "0xFFFFFF01",
|
||||
"buf1": "0xFFFFFF02",
|
||||
"buf2": "0xFFFFFF03",
|
||||
"buf3": "0xFFFFFF04",
|
||||
"buf4": "0xFFFFFF05",
|
||||
"buf5": "0xFFFFFF06",
|
||||
"buf6": "0xFFFFFF07",
|
||||
"buf7": "0xFFFFFF08",
|
||||
"buf8": "0xFFFFFF09",
|
||||
"buf9": "0xFFFFFF00",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
"system": {
|
||||
"upgmode": { // Set PIN to enter BROM's upgrading mode
|
||||
// If set upgmode_pin_cfg_reg to "0", disable bootpin detect in PBP
|
||||
"upgmode_pin_cfg_reg": "0x18700080", // PINMUX REG, PA0
|
||||
"upgmode_pin_cfg_val": "0x10321", // PINMUX VAL
|
||||
"upgmode_pin_input_reg": "0x18700000", // INPUT VAL REG
|
||||
|
||||
@@ -88,7 +88,7 @@ struct aic_pinmux aic_pinmux_config[] = {
|
||||
{2, PIN_PULL_UP, 3, "PC.5"},
|
||||
{2, PIN_PULL_UP, 3, "PC.6"},
|
||||
#endif
|
||||
#ifdef AIC_USING_RTL8733_WLAN0
|
||||
#ifdef AIC_WIRELESS_LAN
|
||||
{1, PIN_PULL_DIS, 3, "PD.7"}, // WIFI_PWR_ON
|
||||
#endif
|
||||
#ifdef AIC_USING_I2C0
|
||||
|
||||
Reference in New Issue
Block a user