[PATCH] a23: Add Wexler TAB A720 tablet

14 views
Skip to first unread message

Vadim Andreev

unread,
Sep 13, 2021, 3:10:15 PM9/13/21
to linux...@googlegroups.com
Signed-off-by: Vadim Andreev <kest...@gmail.com>
---
meminfo/a23/wexler_tab_a720.txt | 258 +++++++++
sys_config/a23/wexler_tab_a720.fex | 851 +++++++++++++++++++++++++++++
2 files changed, 1109 insertions(+)
create mode 100644 meminfo/a23/wexler_tab_a720.txt
create mode 100644 sys_config/a23/wexler_tab_a720.fex

diff --git a/meminfo/a23/wexler_tab_a720.txt b/meminfo/a23/wexler_tab_a720.txt
new file mode 100644
index 0000000..11ccc4a
--- /dev/null
+++ b/meminfo/a23/wexler_tab_a720.txt
@@ -0,0 +1,258 @@
+DRAM Clock: 240MHz
+/*
+ * DRAM COM Registers
+ */
+SDR_COM_000 = 0x000318e4;
+SDR_COM_004 = 0x00080000;
+SDR_COM_010 = 0x00000008;
+SDR_COM_014 = 0x0001000d;
+SDR_COM_018 = 0x00000004;
+SDR_COM_01C = 0x00000080;
+SDR_COM_020 = 0x00000004;
+SDR_COM_024 = 0x00000019;
+SDR_COM_028 = 0x00000004;
+SDR_COM_02C = 0x00000080;
+SDR_COM_030 = 0x00000004;
+SDR_COM_034 = 0x01010040;
+SDR_COM_038 = 0x00000004;
+SDR_COM_03C = 0x0001002f;
+SDR_COM_040 = 0x00000004;
+SDR_COM_044 = 0x00010020;
+SDR_COM_048 = 0x00000004;
+SDR_COM_04C = 0x00010020;
+SDR_COM_050 = 0x00000008;
+SDR_COM_054 = 0x00000001;
+SDR_COM_058 = 0x00000008;
+SDR_COM_05C = 0x00000005;
+SDR_COM_060 = 0x00000008;
+SDR_COM_064 = 0x00000003;
+SDR_COM_068 = 0x00000008;
+SDR_COM_06C = 0x00000005;
+SDR_COM_070 = 0x00000008;
+SDR_COM_074 = 0x00000003;
+SDR_COM_078 = 0x00000008;
+SDR_COM_07C = 0x00000004;
+SDR_COM_080 = 0x00000008;
+SDR_COM_084 = 0x00000002;
+SDR_COM_088 = 0x00000008;
+SDR_COM_08C = 0x00000003;
+SDR_COM_090 = 0x00010138;
+SDR_COM_094 = 0x0000ffff;
+SDR_COM_0A8 = 0x0003ffff;
+
+/*
+ * DRAM CTL Registers
+ */
+SDR_CTL_000 = 0x00040401;
+SDR_CTL_004 = 0x00000001;
+SDR_CTL_008 = 0x00000001;
+SDR_CTL_00C = 0x00000001;
+SDR_CTL_010 = 0x00000010;
+SDR_CTL_034 = 0x00008010;
+SDR_CTL_038 = 0x00008010;
+SDR_CTL_03C = 0x00008010;
+SDR_CTL_040 = 0x00008010;
+SDR_CTL_044 = 0x00008010;
+SDR_CTL_048 = 0x00008010;
+SDR_CTL_04C = 0x00008010;
+SDR_CTL_050 = 0x00201700;
+SDR_CTL_054 = 0x00201700;
+SDR_CTL_058 = 0x00201700;
+SDR_CTL_05C = 0x00201700;
+SDR_CTL_064 = 0x003c0078;
+SDR_CTL_068 = 0x003c0078;
+SDR_CTL_06C = 0x003c0078;
+SDR_CTL_070 = 0x003c0078;
+SDR_CTL_074 = 0x003c0078;
+SDR_CTL_078 = 0x003c0078;
+SDR_CTL_07C = 0x003c0078;
+SDR_CTL_080 = 0x003c0078;
+SDR_CTL_084 = 0x003c0078;
+SDR_CTL_088 = 0x003c0078;
+SDR_CTL_08C = 0x003c0078;
+SDR_CTL_090 = 0x003c0078;
+SDR_CTL_094 = 0x003c0078;
+SDR_CTL_098 = 0x003c0078;
+SDR_CTL_09C = 0x003c0078;
+SDR_CTL_0A0 = 0x003c0078;
+SDR_CTL_0A4 = 0x003c0078;
+SDR_CTL_0A8 = 0x003c0078;
+SDR_CTL_0AC = 0x003c0078;
+SDR_CTL_0B0 = 0x003c0078;
+SDR_CTL_0B4 = 0x003c0078;
+SDR_CTL_0B8 = 0x003c0078;
+SDR_CTL_0BC = 0x003c0078;
+SDR_CTL_0D0 = 0x0002004e;
+SDR_CTL_0DC = 0x1a500004;
+SDR_CTL_0E0 = 0x00100000;
+SDR_CTL_0E4 = 0x00100000;
+SDR_CTL_0E8 = 0x00100000;
+SDR_CTL_0EC = 0x00100000;
+SDR_CTL_100 = 0x0b10030c;
+SDR_CTL_104 = 0x00030311;
+SDR_CTL_108 = 0x03050409;
+SDR_CTL_10C = 0x00002006;
+SDR_CTL_110 = 0x05020205;
+SDR_CTL_114 = 0x07040302;
+SDR_CTL_118 = 0x02020005;
+SDR_CTL_11C = 0x00000202;
+SDR_CTL_120 = 0x00000008;
+SDR_CTL_124 = 0x00000008;
+SDR_CTL_128 = 0x00000008;
+SDR_CTL_12C = 0x00000008;
+SDR_CTL_130 = 0x00000008;
+SDR_CTL_134 = 0x00000008;
+SDR_CTL_138 = 0x00000008;
+SDR_CTL_13C = 0x00000008;
+SDR_CTL_140 = 0x00000008;
+SDR_CTL_144 = 0x00000008;
+SDR_CTL_148 = 0x00000008;
+SDR_CTL_14C = 0x00000008;
+SDR_CTL_150 = 0x00000008;
+SDR_CTL_154 = 0x00000008;
+SDR_CTL_158 = 0x00000008;
+SDR_CTL_15C = 0x00000008;
+SDR_CTL_160 = 0x00000008;
+SDR_CTL_164 = 0x00000008;
+SDR_CTL_168 = 0x00000008;
+SDR_CTL_16C = 0x00000008;
+SDR_CTL_170 = 0x00000008;
+SDR_CTL_174 = 0x00000008;
+SDR_CTL_178 = 0x00000008;
+SDR_CTL_17C = 0x00000008;
+SDR_CTL_180 = 0x02000040;
+SDR_CTL_184 = 0x00000100;
+SDR_CTL_188 = 0x00000100;
+SDR_CTL_18C = 0x00000100;
+SDR_CTL_190 = 0x02030102;
+SDR_CTL_194 = 0x00080404;
+SDR_CTL_198 = 0x07000000;
+SDR_CTL_19C = 0x07000000;
+SDR_CTL_1A0 = 0x80000000;
+SDR_CTL_1A8 = 0x80100010;
+SDR_CTL_1AC = 0x00100010;
+SDR_CTL_1B0 = 0x00000001;
+SDR_CTL_1B4 = 0x00000001;
+SDR_CTL_1B8 = 0x00000001;
+SDR_CTL_1BC = 0x00000001;
+SDR_CTL_1C0 = 0x00000001;
+SDR_CTL_1C4 = 0x00000001;
+SDR_CTL_1C8 = 0x00000001;
+SDR_CTL_1CC = 0x00000001;
+SDR_CTL_1D0 = 0x00000001;
+SDR_CTL_1D4 = 0x00000001;
+SDR_CTL_1D8 = 0x00000001;
+SDR_CTL_1DC = 0x00000001;
+SDR_CTL_1E0 = 0x00000001;
+SDR_CTL_1E4 = 0x00000001;
+SDR_CTL_1E8 = 0x00000001;
+SDR_CTL_1EC = 0x00000001;
+SDR_CTL_1F0 = 0x00000001;
+SDR_CTL_1F4 = 0x00000001;
+SDR_CTL_1F8 = 0x00000001;
+SDR_CTL_1FC = 0x00000001;
+SDR_CTL_200 = 0x00000001;
+SDR_CTL_240 = 0x04000400;
+SDR_CTL_244 = 0x00000011;
+SDR_CTL_248 = 0x00000011;
+SDR_CTL_24C = 0x00000011;
+SDR_CTL_250 = 0x0f002001;
+SDR_CTL_254 = 0x0f002001;
+SDR_CTL_258 = 0x000000ff;
+SDR_CTL_25C = 0x0f0000ff;
+SDR_CTL_260 = 0x000000ff;
+SDR_CTL_264 = 0x0f0000ff;
+SDR_CTL_268 = 0x000000ff;
+SDR_CTL_26C = 0x0f0000ff;
+SDR_CTL_270 = 0x0f0000ff;
+SDR_CTL_274 = 0x0f0000ff;
+SDR_CTL_278 = 0x0f0000ff;
+SDR_CTL_27C = 0x0f0000ff;
+SDR_CTL_280 = 0x0f0000ff;
+SDR_CTL_284 = 0x0f0000ff;
+SDR_CTL_288 = 0x0f0000ff;
+SDR_CTL_28C = 0x0f0000ff;
+SDR_CTL_290 = 0x0f0000ff;
+SDR_CTL_294 = 0x0f0000ff;
+SDR_CTL_298 = 0x0f0000ff;
+SDR_CTL_29C = 0x0f0000ff;
+SDR_CTL_2A0 = 0x0f0000ff;
+SDR_CTL_2A4 = 0x0f0000ff;
+SDR_CTL_2A8 = 0x0f0000ff;
+SDR_CTL_2AC = 0x0f0000ff;
+SDR_CTL_2B0 = 0x0f0000ff;
+SDR_CTL_2B4 = 0x0f0000ff;
+SDR_CTL_2B8 = 0x0f0000ff;
+SDR_CTL_2BC = 0x0f0000ff;
+SDR_CTL_2C0 = 0x0f0000ff;
+SDR_CTL_2C4 = 0x0f0000ff;
+SDR_CTL_2C8 = 0x0f0000ff;
+SDR_CTL_2CC = 0x0f0000ff;
+SDR_CTL_2D0 = 0x0f0000ff;
+SDR_CTL_2D4 = 0x0f0000ff;
+SDR_CTL_2D8 = 0x0f0000ff;
+SDR_CTL_2DC = 0x0f0000ff;
+SDR_CTL_2E0 = 0x0f0000ff;
+SDR_CTL_2E4 = 0x0f0000ff;
+SDR_CTL_2E8 = 0x0f0000ff;
+SDR_CTL_2EC = 0x0f0000ff;
+SDR_CTL_2F0 = 0x0f0000ff;
+SDR_CTL_2F4 = 0x0f0000ff;
+SDR_CTL_2F8 = 0x0f0000ff;
+SDR_CTL_2FC = 0x0f0000ff;
+
+/*
+ * DRAM PHY Registers
+ */
+SDR_PHY_008 = 0x08003e3f;
+SDR_PHY_00C = 0x03008421;
+SDR_PHY_010 = 0x9000005f;
+SDR_PHY_018 = 0x0005c000;
+SDR_PHY_01C = 0x42c21590;
+SDR_PHY_020 = 0xd05612c0;
+SDR_PHY_024 = 0x00083def;
+SDR_PHY_028 = 0x18082356;
+SDR_PHY_02C = 0x0aaf4156;
+SDR_PHY_038 = 0x30400812;
+SDR_PHY_03C = 0x44181224;
+SDR_PHY_040 = 0xf000641f;
+SDR_PHY_044 = 0x1000040b;
+SDR_PHY_048 = 0x448c5533;
+SDR_PHY_04C = 0x228bb4d2;
+SDR_PHY_050 = 0x08010d00;
+SDR_PHY_054 = 0x00001a50;
+SDR_PHY_058 = 0x00000004;
+SDR_PHY_05C = 0x00000010;
+SDR_PHY_064 = 0x00010000;
+SDR_PHY_068 = 0x01000081;
+SDR_PHY_070 = 0x00000008;
+SDR_PHY_074 = 0x00000010;
+SDR_PHY_078 = 0x00000018;
+SDR_PHY_07C = 0xdd22ee11;
+SDR_PHY_080 = 0x7788bb44;
+SDR_PHY_08C = 0x00f12480;
+SDR_PHY_0B0 = 0x3c550000;
+SDR_PHY_0B4 = 0xffff0c80;
+SDR_PHY_0CC = 0xf0000000;
+SDR_PHY_0D8 = 0x00000001;
+SDR_PHY_104 = 0x00000020;
+SDR_PHY_114 = 0x1234abcd;
+SDR_PHY_11C = 0x0000000c;
+SDR_PHY_120 = 0x7fffffff;
+SDR_PHY_124 = 0xffff0000;
+SDR_PHY_180 = 0x4000014a;
+SDR_PHY_184 = 0x00000077;
+SDR_PHY_188 = 0x80061585;
+SDR_PHY_1C0 = 0x7c000e81;
+SDR_PHY_1C4 = 0x0040a000;
+SDR_PHY_1E4 = 0x00002021;
+SDR_PHY_1E8 = 0x00000064;
+SDR_PHY_1EC = 0x00413f3f;
+SDR_PHY_1F0 = 0x00001001;
+SDR_PHY_200 = 0x7c000e81;
+SDR_PHY_204 = 0x0041a080;
+SDR_PHY_224 = 0x00001f1f;
+SDR_PHY_228 = 0x00000065;
+SDR_PHY_22C = 0x00484142;
+SDR_PHY_230 = 0x00001001;
+
diff --git a/sys_config/a23/wexler_tab_a720.fex b/sys_config/a23/wexler_tab_a720.fex
new file mode 100644
index 0000000..bdeb391
--- /dev/null
+++ b/sys_config/a23/wexler_tab_a720.fex
@@ -0,0 +1,851 @@
+[product]
+version = "100"
+machine = "a23-ococci"
+
+[platform]
+eraseflag = 1
+next_work = 2
+
+[target]
+boot_clock = 1008
+storage_type = 0
+
+[power_sply]
+dcdc1_vol = 3300
+dcdc2_vol = 1100
+dcdc3_vol = 1260
+dcdc4_vol = 0
+dcdc5_vol = 1500
+aldo2_vol = 2500
+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><2><default>
+sdc_d0 = port:PF01<2><1><2><default>
+sdc_clk = port:PF02<2><1><2><default>
+sdc_cmd = port:PF03<2><1><2><default>
+sdc_d3 = port:PF04<2><1><2><default>
+sdc_d2 = port:PF05<2><1><2><default>
+
+[card2_boot_para]
+card_ctrl = 2
+card_high_speed = 1
+card_line = 4
+sdc_clk = port:PC05<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>
+
+[twi_para]
+twi_port = 0
+twi_scl = port:PH02<2><default><default><default>
+twi_sda = port:PH03<2><default><default><default>
+
+[uart_para]
+uart_debug_port = 0
+uart_debug_tx = port:PF02<3><1><default><default>
+uart_debug_rx = port:PF04<3><1><default><default>
+
+[jtag_para]
+jtag_enable = 0
+jtag_ms = port:PF00<3><default><default><default>
+jtag_ck = port:PF05<3><default><default><default>
+jtag_do = port:PF03<3><default><default><default>
+jtag_di = port:PF01<3><default><default><default>
+
+[clock]
+pll4 = 300
+pll6 = 600
+pll8 = 408
+pll9 = 480
+pll10 = 468
+
+[pm_para]
+standby_mode = 1
+
+[dram_para]
+dram_clk = 480
+dram_type = 3
+dram_zq = 0xf777
+dram_odt_en = 1
+dram_para1 = 17760768
+dram_para2 = 0
+dram_mr0 = 6736
+dram_mr1 = 4
+dram_mr2 = 16
+dram_mr3 = 0
+dram_tpr0 = 0x2ab83def
+dram_tpr1 = 0x18082356
+dram_tpr2 = 0x34156
+dram_tpr3 = 0x448c5533
+dram_tpr4 = 0x8010d00
+dram_tpr5 = 0x340b20f
+dram_tpr6 = 0x20d118cc
+dram_tpr7 = 0x14062485
+dram_tpr8 = 0x220d1d52
+dram_tpr9 = 0x1e078c22
+dram_tpr10 = 0x3c
+dram_tpr11 = 0x800ca585
+dram_tpr12 = 0xa2
+dram_tpr13 = 0x80030000
+
+[wakeup_src_para]
+cpu_en = 0
+cpu_freq = 48
+pll_ratio = 273
+dram_selfresh_en = 1
+dram_freq = 36
+
+[twi0]
+twi_used = 1
+twi_scl = port:PH02<2><default><default><default>
+twi_sda = port:PH03<2><default><default><default>
+
+[twi1]
+twi_used = 1
+twi_scl = port:PH04<2><default><default><default>
+twi_sda = port:PH05<2><default><default><default>
+
+[twi2]
+twi_used = 1
+twi_scl = port:PE12<3><default><default><default>
+twi_sda = port:PE13<3><default><default><default>
+
+[uart0]
+uart_used = 1
+uart_port = 0
+uart_type = 2
+uart_tx = port:PF02<3><1><default><default>
+uart_rx = port:PF04<3><1><default><default>
+
+[uart1]
+uart_used = 0
+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>
+
+[uart2]
+uart_used = 0
+uart_type = 4
+uart_tx = port:PB00<2><1><default><default>
+uart_rx = port:PB01<2><1><default><default>
+uart_rts = port:PB02<2><1><default><default>
+uart_cts = port:PB03<2><1><default><default>
+
+[uart3]
+uart_used = 0
+uart_type = 4
+uart_tx = port:PH06<3><1><default><default>
+uart_rx = port:PH07<3><1><default><default>
+uart_rts = port:PH08<3><1><default><default>
+uart_cts = port:PH09<3><1><default><default>
+
+[uart4]
+uart_used = 0
+uart_port = 4
+uart_type = 2
+uart_tx = port:PA04<2><1><default><default>
+uart_rx = port:PA05<2><1><default><default>
+uart_rts = port:PA06<2><1><default><default>
+uart_cts = port:PA07<2><1><default><default>
+
+[spi0]
+spi_used = 0
+spi_cs_bitmap = 1
+spi_mosi = port:PC00<3><default><default><default>
+spi_miso = port:PC01<3><default><default><default>
+spi_sclk = port:PC02<3><default><default><default>
+spi_cs0 = port:PC03<3><1><default><default>
+
+[spi1]
+spi_used = 0
+spi_cs_bitmap = 1
+spi_cs0 = port:PA00<2><1><default><default>
+spi_sclk = port:PA01<2><default><default><default>
+spi_mosi = port:PA02<2><default><default><default>
+spi_miso = port:PA03<2><default><default><default>
+
+[spi_devices]
+spi_dev_num = 0
+
+[spi_board0]
+modalias = "at25df641"
+max_speed_hz = 50000000
+bus_num = 0
+chip_select = 0
+mode = 0
+
+[ctp_para]
+ctp_used = 1
+ctp_name = "gsl1680e_p2"
+ctp_twi_id = 0
+ctp_twi_addr = 0x40
+ctp_screen_max_x = 800
+ctp_screen_max_y = 480
+ctp_revert_x_flag = 0
+ctp_revert_y_flag = 1
+ctp_exchange_x_y_flag = 0
+ctp_int_port = port:PB05<4><default><default><default>
+ctp_wakeup = port:PH01<1><default><default><1>
+
+[ctp_list_para]
+ctp_det_used = 1
+ft5x_ts = 1
+gt82x = 1
+gslX680 = 0
+gslX680new = 1
+gt9xx_ts = 1
+gt9xxf_ts = 0
+tu_ts = 0
+gt818_ts = 1
+zet622x = 1
+aw5306_ts = 1
+
+[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>
+motor_ldo = "axp22_dldo4"
+motor_ldo_voltage = 3300
+
+[ths_para]
+ths_used = 1
+
+[nand0_para]
+nand_support_2ch = 0
+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_ndqs = port:PC16<2><default><default><default>
+nand0_ce2 = port:PC17<2><default><default><default>
+nand0_ce3 = port:PC18<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 = 197
+lcd1_backlight = 197
+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_driver_name = "default_lcd"
+lcd_if = 0
+lcd_x = 800
+lcd_y = 480
+lcd_width = 154
+lcd_height = 86
+lcd_dclk_freq = 33
+lcd_pwm_used = 1
+lcd_pwm_ch = 0
+lcd_pwm_freq = 10000
+lcd_pwm_pol = 0
+lcd_pwm_max_limit = 255
+lcd_hbp = 86
+lcd_ht = 1056
+lcd_hspw = 30
+lcd_vbp = 32
+lcd_vt = 525
+lcd_vspw = 13
+lcd_lvds_if = 0
+lcd_lvds_colordepth = 0
+lcd_lvds_mode = 0
+lcd_frm = 1
+lcd_io_phase = 0
+lcd_gamma_en = 0
+lcd_bright_curve_en = 0
+lcd_cmap_en = 0
+deu_mode = 0
+lcdgamma4iep = 22
+smart_color = 90
+lcd_gpio_0 = port:PH07<1><0><default><1>
+lcd_bl_en = port:PH06<1><0><default><1>
+lcd_power = port:power2<1><0><default><1>
+lcdd0 = port:PD00<2><0><default><default>
+lcdd1 = port:PD01<2><0><default><default>
+lcdd2 = port:PD02<2><0><default><default>
+lcdd3 = port:PD03<2><0><default><default>
+lcdd4 = port:PD04<2><0><default><default>
+lcdd5 = port:PD05<2><0><default><default>
+lcdd6 = port:PD06<2><0><default><default>
+lcdd7 = port:PD07<2><0><default><default>
+lcdd8 = port:PD08<2><0><default><default>
+lcdd9 = port:PD09<2><0><default><default>
+lcdd10 = port:PD10<2><0><default><default>
+lcdd11 = port:PD11<2><0><default><default>
+lcdd12 = port:PD12<2><0><default><default>
+lcdd13 = port:PD13<2><0><default><default>
+lcdd14 = port:PD14<2><0><default><default>
+lcdd15 = port:PD15<2><0><default><default>
+lcdd16 = port:PD16<2><0><default><default>
+lcdd17 = port:PD17<2><0><default><default>
+lcdd18 = port:PD18<2><0><default><default>
+lcdd19 = port:PD19<2><0><default><default>
+lcdd20 = port:PD20<2><0><default><default>
+lcdd21 = port:PD21<2><0><default><default>
+lcdd22 = port:PD22<2><0><default><default>
+lcdd23 = port:PD23<2><0><default><default>
+lcdclk = port:PD24<2><0><default><default>
+lcdde = port:PD25<2><0><default><default>
+lcdhsync = port:PD26<2><0><default><default>
+lcdvsync = port:PD27<2><0><default><default>
+
+[pwm0_para]
+pwm_used = 1
+pwm_positive = port:PH00<2><0><default><default>
+
+[pwm1_para]
+pwm_used = 0
+pwm_positive = port:PH01<2><0><default><default>
+
+[csi0]
+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 = port:PE04<2><default><default><default>
+vip_csi_d1 = port:PE05<2><default><default><default>
+vip_csi_d2 = port:PE06<2><default><default><default>
+vip_csi_d3 = port:PE07<2><default><default><default>
+vip_csi_d4 = port:PE08<2><default><default><default>
+vip_csi_d5 = port:PE09<2><default><default><default>
+vip_csi_d6 = port:PE10<2><default><default><default>
+vip_csi_d7 = port:PE11<2><default><default><default>
+vip_dev0_mname = "gc0308"
+vip_dev0_lane = 1
+vip_dev0_twi_id = 2
+vip_dev0_twi_addr = 66
+vip_dev0_isp_used = 0
+vip_dev0_fmt = 0
+vip_dev0_stby_mode = 0
+vip_dev0_vflip = 0
+vip_dev0_hflip = 0
+vip_dev0_iovdd = "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:PE14<1><default><default><0>
+vip_dev0_pwdn = port:PE15<1><default><default><1>
+vip_dev0_flash_en =
+vip_dev0_flash_mode =
+vip_dev0_af_pwdn =
+vip_dev1_mname = ""
+vip_dev1_lane = 1
+vip_dev1_twi_id = 2
+vip_dev1_twi_addr = 66
+vip_dev1_isp_used = 0
+vip_dev1_fmt = 0
+vip_dev1_stby_mode = 0
+vip_dev1_vflip = 1
+vip_dev1_hflip = 1
+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:PE16<1><default><default><0>
+vip_dev1_pwdn = port:PE17<1><default><default><1>
+vip_dev1_flash_en =
+vip_dev1_flash_mode =
+vip_dev1_af_pwdn =
+
+[camera_list_para]
+camera_list_para_used = 0
+ov7670 = 0
+gc0308 = 1
+gt2005 = 1
+hi704 = 0
+sp0838 = 0
+mt9m112 = 0
+mt9m113 = 0
+gc2035 = 1
+ov2655 = 0
+hi253 = 0
+gc0307 = 1
+mt9d112 = 0
+ov5640 = 0
+ov5647 = 0
+gc2015 = 0
+ov2643 = 0
+gc0329 = 0
+gc0309 = 0
+s5k4ec = 0
+siv121d = 0
+
+[mmc0_para]
+sdc_used = 1
+sdc_detmode = 2
+sdc_buswidth = 4
+sdc_d1 = port:PF00<2><1><2><default>
+sdc_d0 = port:PF01<2><1><2><default>
+sdc_clk = port:PF02<2><1><2><default>
+sdc_cmd = port:PF03<2><1><2><default>
+sdc_d3 = port:PF04<2><1><2><default>
+sdc_d2 = port:PF05<2><1><2><default>
+sdc_det = port:PB04<4><1><2><default>
+sdc_use_wp = 0
+sdc_wp =
+sdc_isio = 0
+sdc_regulator = "none"
+
+[mmc1_para]
+sdc_used = 1
+sdc_detmode = 4
+sdc_buswidth = 4
+sdc_clk = port:PG00<2><1><1><default>
+sdc_cmd = port:PG01<2><1><1><default>
+sdc_d0 = port:PG02<2><1><1><default>
+sdc_d1 = port:PG03<2><1><1><default>
+sdc_d2 = port:PG04<2><1><1><default>
+sdc_d3 = port:PG05<2><1><1><default>
+sdc_det =
+sdc_use_wp = 0
+sdc_wp =
+sdc_isio = 1
+sdc_regulator = "none"
+
+[mmc2_para]
+sdc_used = 0
+sdc_detmode = 3
+sdc_buswidth = 8
+sdc_clk = port:PC05<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:PC16<3><1><2><default>
+sdc_det =
+sdc_use_wp = 0
+sdc_wp =
+sdc_isio = 0
+sdc_regulator = "none"
+
+[usbc0]
+usb_used = 1
+usb_port_type = 2
+usb_detect_type = 1
+usb_id_gpio = port:PH08<0><1><default><default>
+usb_det_vbus_gpio = "axp_ctrl"
+usb_drv_vbus_gpio = port:power4<1><0><default><0>
+usb_restrict_gpio =
+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
+
+[usb_feature]
+vendor_id = 7994
+mass_storage_id = 4096
+adb_id = 4097
+manufacturer_name = "USB Developer"
+product_name = "Android"
+serial_number = "20080411"
+
+[msc_feature]
+vendor_name = "USB 2.0"
+product_name = "USB Flash Driver"
+release = 100
+luns = 2
+
+[gsensor_para]
+gsensor_used = 1
+gsensor_twi_id = 1
+gsensor_twi_addr = 0x18
+gsensor_int1 = port:PB06<4><1><default><default>
+gsensor_int2 =
+
+[gsensor_list_para]
+gsensor_det_used = 1
+bma250 = 1
+stk831x = 1
+mma8452 = 1
+mma7660 = 1
+mma865x = 1
+afa750 = 1
+lis3de_acc = 1
+lis3dh_acc = 1
+kxtik = 1
+dmard10 = 0
+dmard06 = 1
+mxc622x = 1
+fxos8700 = 1
+lsm303d = 1
+
+[gps_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"
+wifi_power_ext1 = ""
+wifi_power_ext2 = ""
+esp_wl_chip_en = port:PL07<1><default><default><0>
+esp_wl_rst = port:PL11<1><default><default><0>
+
+[bt_para]
+bt_used = 0
+bt_uart_id = 1
+
+[3g_para]
+3g_used = 0
+3g_usbc_num = 1
+3g_uart_num = 2
+bb_name = ""
+bb_vbat =
+bb_on =
+bb_pwr_on = port:PL03<1><default><default><0>
+bb_wake = port:PL04<1><default><default><0>
+bb_rf_dis = port:PL11<1><default><default><0>
+bb_rst = port:PL05<1><default><default><0>
+bb_dldo = ""
+bb_dldo_min_uV = 2800000
+bb_dldo_max_uV = 2800000
+
+[gy_para]
+gy_used = 0
+gy_twi_id = 1
+gy_twi_addr = 106
+gy_int1 =
+gy_int2 =
+
+[gy_list_para]
+gy_det_used = 0
+l3gd20_gyr = 1
+
+[ls_para]
+ls_used = 0
+ls_twi_id = 1
+ls_twi_addr = 35
+ls_int = port:PB07<4><1><default><default>
+
+[ls_list_para]
+ls_det_used = 0
+ltr_501als = 1
+jsa1212 = 1
+
+[compass_para]
+compass_used = 0
+compass_twi_id = 1
+compass_twi_addr = 13
+compass_int =
+
+[i2s0]
+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:PB04<2><1><default><default>
+i2s_lrclk = port:PB05<2><1><default><default>
+i2s_dout0 = port:PB06<2><1><default><default>
+i2s_dout1 =
+i2s_dout2 =
+i2s_dout3 =
+i2s_din = port:PB07<2><1><default><default>
+
+[i2s1]
+pcm_used = 0
+pcm_channel = 2
+pcm_master = 1
+pcm_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
+pcm_mclk =
+pcm_bclk = port:PG11<2><1><default><default>
+pcm_lrclk = port:PG10<2><1><default><default>
+pcm_dout = port:PG12<2><1><default><default>
+pcm_din = port:PG13<2><1><default><default>
+
+[audio0]
+audio_used = 1
+audio_hp_ldo = "none"
+headphone_vol = 59
+cap_vol = 5
+digital_vol = 3
+pa_single_vol = 62
+pa_double_used = 1
+pa_double_vol = 62
+headphone_direct_used = 1
+audio_pa_ctrl = port:PH09<1><default><default><0>
+headphone_mute_used = 0
+audio_mute_ctrl =
+headset_mic_vol = 3
+main_mic_vol = 1
+
+[pmu1_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 = 450
+pmu_earlysuspend_chgcur = 450
+pmu_suspend_chgcur = 750
+pmu_shutdown_chgcur = 900
+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 = 3
+pmu_bat_para10 = 4
+pmu_bat_para11 = 4
+pmu_bat_para12 = 5
+pmu_bat_para13 = 6
+pmu_bat_para14 = 14
+pmu_bat_para15 = 18
+pmu_bat_para16 = 31
+pmu_bat_para17 = 36
+pmu_bat_para18 = 41
+pmu_bat_para19 = 48
+pmu_bat_para20 = 53
+pmu_bat_para21 = 55
+pmu_bat_para22 = 58
+pmu_bat_para23 = 64
+pmu_bat_para24 = 69
+pmu_bat_para25 = 74
+pmu_bat_para26 = 78
+pmu_bat_para27 = 81
+pmu_bat_para28 = 85
+pmu_bat_para29 = 88
+pmu_bat_para30 = 92
+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 = 1
+pmu_pekoff_en = 1
+pmu_peklong_time = 1500
+pmu_pekon_time = 1000
+pmu_pwrok_time = 64
+pmu_battery_warning_level1 = 14
+pmu_battery_warning_level2 = 0
+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 = 0
+pmu_temp_enable = 0
+pmu_charge_ltf = 2261
+pmu_charge_htf = 388
+pmu_discharge_ltf = 3200
+pmu_discharge_htf = 237
+pmu_temp_para1 = 7466
+pmu_temp_para2 = 4480
+pmu_temp_para3 = 3518
+pmu_temp_para4 = 2786
+pmu_temp_para5 = 2223
+pmu_temp_para6 = 1788
+pmu_temp_para7 = 1448
+pmu_temp_para8 = 969
+pmu_temp_para9 = 664
+pmu_temp_para10 = 466
+pmu_temp_para11 = 393
+pmu_temp_para12 = 333
+pmu_temp_para13 = 283
+pmu_temp_para14 = 242
+pmu_temp_para15 = 179
+pmu_temp_para16 = 134
+
+[pmu2_para]
+pmu_used = 0
+pmu_twi_addr = 52
+pmu_twi_id = 1
+pmu_irq_id = 0
+
+[dvfs_table]
+extremity_freq = 1536000000
+max_freq = 1200000000
+min_freq = 60000000
+LV_count = 8
+LV1_freq = 1536000000
+LV1_volt = 1500
+LV2_freq = 1296000000
+LV2_volt = 1340
+LV3_freq = 1200000000
+LV3_volt = 1240
+LV4_freq = 1008000000
+LV4_volt = 1140
+LV5_freq = 816000000
+LV5_volt = 1040
+LV6_freq = 312000000
+LV6_volt = 960
+LV7_freq = 0
+LV7_volt = 960
+LV8_freq = 0
+LV8_volt = 960
+
+[Vdevice]
+Vdevice_used = 1
+Vdevice_0 = port:PA01<5><1><2><default>
+Vdevice_1 = port:PA02<5><1><2><default>
+
+[s_uart0]
+s_uart_used = 0
+s_uart_tx = port:PL02<2><default><default><default>
+s_uart_rx = port:PL03<2><default><default><default>
+
+[s_rsb0]
+s_rsb_used = 1
+s_rsb_sck = port:PL00<2><1><2><default>
+s_rsb_sda = port:PL01<2><1><2><default>
+
+[mali_para]
+mali_used = 1
+mali_clkdiv = 1
+mali_extreme_freq = 600
+mali_extreme_vol = 1400
+
+[dram_dvfs_table]
+LV_count = 3
+LV1_freq = 552000000
+LV1_volt = 1100
+LV2_freq = 360000000
+LV2_volt = 1000
+LV3_freq = 0
+LV3_volt = 1000
+
+[charging_type]
+charging_type = 0
+
+[leds_para]
+leds_used = 0
+red_led =
+red_led_active_low = 0
+green_led =
+green_led_active_low = 0
+blue_led =
+blue_led_active_low = 0
+
--
2.30.2

Reply all
Reply to author
Forward
0 new messages