Ampe A76 support, TZX rename
authorPaul Kocialkowski <contact@paulk.fr>
Sat, 27 Sep 2014 08:10:29 +0000 (10:10 +0200)
committerPaul Kocialkowski <contact@paulk.fr>
Sat, 27 Sep 2014 08:10:29 +0000 (10:10 +0200)
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
sunxi-devices/ainol_aw1/script.fex
sunxi-devices/ampe_a76/Android.mk [moved from sunxi-devices/tzx-q8-713b/Android.mk with 78% similarity]
sunxi-devices/ampe_a76/script.fex [new file with mode: 0644]
sunxi-devices/ampe_a76/sunxi.prop [moved from sunxi-devices/tzx-q8-713b/sunxi.prop with 100% similarity]
sunxi-devices/icou_fatty_i/script.fex
sunxi-devices/tzx-q8-713b7/Android.mk [new file with mode: 0644]
sunxi-devices/tzx-q8-713b7/script.fex [moved from sunxi-devices/tzx-q8-713b/script.fex with 99% similarity]
sunxi-devices/tzx-q8-713b7/sunxi.prop [new file with mode: 0644]
sunxi/BoardConfig.mk

index b6d3a0b..75aad3e 100644 (file)
@@ -1041,4 +1041,3 @@ LV7_freq = 528000000
 LV7_volt = 1100
 LV8_freq = 312000000
 LV8_volt = 1050
-
similarity index 78%
rename from sunxi-devices/tzx-q8-713b/Android.mk
rename to sunxi-devices/ampe_a76/Android.mk
index 314aba0..14af416 100644 (file)
@@ -13,8 +13,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-tzx-q8-713b := "$(SUNXI_DEVICES_OUT)/tzx-q8-713b"
-$(tzx-q8-713b): sunxi_uboot_A13_MID
+ampe_a76 := "$(SUNXI_DEVICES_OUT)/ampe_a76"
+$(ampe_a76): sunxi_uboot_Ampe_A76
        @mkdir -p "$@"
-       @cp "$(SUNXI_UBOOT_OUT)/A13_MID/u-boot.img" "$@/"
-       @cp "$(SUNXI_UBOOT_OUT)/A13_MID/spl/sunxi-spl.bin" "$@/"
+       @cp "$(SUNXI_UBOOT_OUT)/Ampe_A76/u-boot.img" "$@/"
+       @cp "$(SUNXI_UBOOT_OUT)/Ampe_A76/spl/sunxi-spl.bin" "$@/"
diff --git a/sunxi-devices/ampe_a76/script.fex b/sunxi-devices/ampe_a76/script.fex
new file mode 100644 (file)
index 0000000..599cb1b
--- /dev/null
@@ -0,0 +1,721 @@
+[product]
+version = "1.0"
+machine = "A13-EVB-V1.0"
+
+[target]
+boot_clock = 1008
+dcdc2_vol = 1400
+dcdc3_vol = 1200
+ldo2_vol = 3000
+ldo3_vol = 3300
+ldo4_vol = 3300
+pll4_freq = 960
+pll6_freq = 720
+power_start = 0
+storage_type = 0
+
+[card_boot]
+logical_start = 40960
+sprite_gpio0 =
+
+[pm_para]
+standby_mode = 0
+
+[card_boot0_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>
+
+[twi_para]
+twi_port = 0
+twi_scl = port:PB00<2><1><default><default>
+twi_sda = port:PB01<2><1><default><default>
+
+[uart_para]
+uart_debug_port = 0
+uart_debug_tx = port:PG03<4><1><default><default>
+uart_debug_rx = port:PG04<4><1><default><default>
+
+[uart_force_debug]
+uart_debug_port = 0
+uart_debug_tx = port:PF02<4><default><default><default>
+uart_debug_rx = port:PF04<4><default><default><default>
+
+[jtag_para]
+jtag_enable = 0
+jtag_ms = port:PF00<4><1><default><default>
+jtag_ck = port:PF05<4><1><default><default>
+jtag_do = port:PF03<4><1><default><default>
+jtag_di = port:PF01<4><1><default><default>
+
+[dram_para]
+dram_baseaddr = 0x40000000
+dram_clk = 432
+dram_type = 3
+dram_rank_num = 1
+dram_chip_density = 2048
+dram_io_width = 8
+dram_bus_width = 16
+dram_cas = 9
+dram_zq = 0x7b
+dram_odt_en = 1
+dram_size = 512
+dram_tpr0 = 0x42d899b7
+dram_tpr1 = 0xa090
+dram_tpr2 = 0x22a00
+dram_tpr3 = 0x0
+dram_tpr4 = 0x0
+dram_tpr5 = 0x0
+dram_emr1 = 0x4
+dram_emr2 = 0x10
+dram_emr3 = 0x0
+
+[nand_para]
+nand_used = 1
+nand_we = port:PC00<2><default><default><default>
+nand_ale = port:PC01<2><default><default><default>
+nand_cle = port:PC02<2><default><default><default>
+nand_ce1 = port:PC03<2><default><default><default>
+nand_ce0 = port:PC04<2><default><default><default>
+nand_nre = port:PC05<2><default><default><default>
+nand_rb0 = port:PC06<2><default><default><default>
+nand_rb1 = port:PC07<2><default><default><default>
+nand_d0 = port:PC08<2><default><default><default>
+nand_d1 = port:PC09<2><default><default><default>
+nand_d2 = port:PC10<2><default><default><default>
+nand_d3 = port:PC11<2><default><default><default>
+nand_d4 = port:PC12<2><default><default><default>
+nand_d5 = port:PC13<2><default><default><default>
+nand_d6 = port:PC14<2><default><default><default>
+nand_d7 = port:PC15<2><default><default><default>
+nand_wp =
+nand_ce2 =
+nand_ce3 =
+nand_ce4 =
+nand_ce5 =
+nand_ce6 =
+nand_ce7 =
+nand_spi =
+nand_ndqs = port:PC19<2><default><default><default>
+good_block_ratio = 0
+
+[mali_para]
+mali_used = 1
+mali_clkdiv = 2
+
+[twi0_para]
+twi0_used = 1
+twi0_scl = port:PB00<2><default><default><default>
+twi0_sda = port:PB01<2><default><default><default>
+
+[twi1_para]
+twi1_used = 1
+twi1_scl = port:PB15<2><default><default><default>
+twi1_sda = port:PB16<2><default><default><default>
+
+[twi2_para]
+twi2_used = 1
+twi2_scl = port:PB17<2><default><default><default>
+twi2_sda = port:PB18<2><default><default><default>
+
+[uart_para0]
+uart_used = 1
+uart_port = 0
+uart_type = 2
+uart_tx = port:PB19<2><1><default><default>
+uart_rx = port:PB20<2><1><default><default>
+
+[uart_para1]
+uart_used = 1
+uart_port = 1
+uart_type = 2
+uart_tx = port:PG03<4><1><default><default>
+uart_rx = port:PG04<4><1><default><default>
+
+[spi1_para]
+spi_used = 0
+spi_cs0 = port:PG09<2><default><default><default>
+spi_cs1 = port:PG13<2><default><default><default>
+spi_sclk = port:PG10<2><default><default><default>
+spi_mosi = port:PG11<2><default><default><default>
+spi_miso = port:PG12<2><default><default><default>
+
+[spi2_para]
+spi_used = 0
+spi_cs0 = port:PE00<4><default><default><default>
+spi_sclk = port:PE01<4><default><default><default>
+spi_mosi = port:PB02<4><default><default><default>
+spi_miso = port:PB03<4><default><default><default>
+
+[rtp_para]
+rtp_used = 1
+rtp_screen_size = 7
+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_twi_id = 1
+ctp_int_port = port:PG11<6><default><default><default>
+ctp_wakeup = port:PB03<1><default><default><1>
+ctp_revert_x_flag = 0
+ctp_revert_y_flag = 0
+ctp_exchange_x_y_flag = 0
+gt811_update_if = 1
+gt811_update_file_path = "system/etc/gt811_A13_708.cfg"
+gt811_ctp_revert_x_flag = 0
+gt811_ctp_revert_y_flag = 0
+gt811_ctp_exchange_x_y_flag = 0
+gt818_update_file_path = "/system/etc/gt818_A13_A7006TB_DEYITP_800_480_20130509.cfg"
+gt911_update_file_path = "/system/etc/gt911_A13_A8003TB_DEYITP_800_600.cfg"
+ft5x_update_if = 0
+ft5x_update_file_path = "system/etc/ft5x02_app.i"
+ft5x_ctp_revert_x_flag = 0
+ft5x_ctp_revert_y_flag = 0
+ft5x_ctp_exchange_x_y_flag = 0
+gslx680_newIC_update_file_path = "/system/etc/gslx680E_A13_deyufangTP.cfg"
+gslx680_oldIC_update_file_path = "/system/etc/gslx680D_A13_deyiTP.cfg"
+gslX680_tp_type = 0
+gslX680_ctp_revert_x_flag = 0
+gslX680_ctp_revert_y_flag = 0
+gslX680_ctp_exchange_x_y_flag = 0
+
+[ctp_list_para]
+ctp_det_used = 1
+ft5x_ts = 1
+gt82x = 1
+gt818_ts = 1
+gt811_ts = 1
+gt9xx_ts = 1
+gslX680 = 1
+
+[tkey_para]
+tkey_used = 0
+tkey_name = "hv_keypad"
+tkey_twi_id = 2
+tkey_twi_addr = 0x62
+tkey_int =
+
+[motor_para]
+motor_used = 0
+motor_shake =
+
+[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
+
+[lcd0_para]
+lcd_used = 1
+lcd_x = 800
+lcd_y = 480
+lcd_dclk_freq = 33
+lcd_pwm_not_used = 0
+lcd_pwm_ch = 0
+lcd_pwm_freq = 18000
+lcd_pwm_pol = 1
+lcd_if = 0
+lcd_hbp = 46
+lcd_ht = 928
+lcd_vbp = 23
+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_lvds_ch = 0
+lcd_lvds_mode = 0
+lcd_lvds_bitwidth = 0
+lcd_lvds_io_cross = 0
+lcd_cpu_if = 0
+lcd_frm = 1
+lcd_io_cfg0 = 268435456
+lcd_gamma_correction_en = 0
+lcd_gamma_tbl_0 = 0x0
+lcd_gamma_tbl_1 = 0x10101
+lcd_gamma_tbl_255 = 0xffffff
+lcd_bl_en_used = 1
+lcd_bl_en = port:power1<1><0><default><1>
+lcd_power_used = 1
+lcd_power = port:power0<1><0><default><1>
+lcd_pwm_used = 1
+lcd_pwm = port:PB02<2><0><default><default>
+lcd_gpio_0 =
+lcd_gpio_1 =
+lcd_gpio_2 =
+lcd_gpio_3 =
+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>
+lcdgamma4iep = 22
+
+[tv_out_dac_para]
+dac_used = 1
+dac0_src = 0
+
+[hdmi_para]
+hdmi_used = 0
+
+[auto_camera_para]
+gc0308_vflip = 0
+gc0308_hflip = 0
+gc0309_vflip = 0
+gc0309_hflip = 0
+gc0328_vflip = 0
+gc0328_hflip = 0
+gc0329_vflip = 0
+gc0329_hflip = 0
+gt2005_vflip = 0
+gt2005_hflip = 0
+hm5065_vflip = 0
+hm5065_hflip = 0
+siv121d_vflip = 0
+siv121d_hflip = 0
+sp0838_vflip = 0
+sp0838_hflip = 0
+gc2015_vflip = 0
+gc2015_hflip = 0
+hi704_vflip = 0
+hi704_hflip = 0
+gc0308_b_vflip = 0
+gc0308_b_hflip = 0
+gc0329_b_vflip = 0
+gc0329_b_hflip = 0
+gt2005_b_vflip = 0
+gt2005_b_hflip = 0
+siv121d_b_vflip = 0
+siv121d_b_hflip = 0
+sp0838_b_vflip = 0
+sp0838_b_hflip = 0
+gc2015_b_vflip = 0
+gc2015_b_hflip = 0
+hi704_b_vflip = 0
+hi704_b_hflip = 0
+
+[csi0_para]
+csi_used = 1
+csi_mode = 0
+csi_dev_qty = 1
+csi_stby_mode = 1
+csi_twi_id = 2
+csi_if = 0
+csi_vflip = 0
+csi_hflip = 0
+csi_iovdd = ""
+csi_avdd = ""
+csi_dvdd = ""
+csi_flash_pol = 1
+csi_twi_id_b = 2
+csi_if_b = 0
+csi_vflip_b = 0
+csi_hflip_b = 0
+csi_iovdd_b = ""
+csi_avdd_b = ""
+csi_dvdd_b = ""
+csi_flash_pol_b = 1
+csi_pck = port:PE00<3><default><default><default>
+csi_ck = port:PE01<3><default><default><default>
+csi_hsync = port:PE02<3><default><default><default>
+csi_vsync = port:PE03<3><default><default><default>
+csi_d0 = port:PE04<3><default><default><default>
+csi_d1 = port:PE05<3><default><default><default>
+csi_d2 = port:PE06<3><default><default><default>
+csi_d3 = port:PE07<3><default><default><default>
+csi_d4 = port:PE08<3><default><default><default>
+csi_d5 = port:PE09<3><default><default><default>
+csi_d6 = port:PE10<3><default><default><default>
+csi_d7 = port:PE11<3><default><default><default>
+csi_reset = port:power3<1><default><default><0>
+csi_power_en = port:power2<1><default><default><0>
+csi_stby = port:PB10<1><default><default><1>
+csi_reset_b = port:power3<1><default><default><0>
+csi_power_en_b = port:power2<1><default><default><0>
+csi_stby_b = port:PB04<1><default><default><1>
+csi_flash =
+csi_af_en =
+csi_reset_b =
+csi_power_en_b =
+csi_stby_b =
+csi_flash_b =
+csi_af_en_b =
+
+[csi1_para]
+csi_used = 0
+csi_mode = 0
+csi_dev_qty = 1
+csi_stby_mode = 1
+csi_mname = ""
+csi_twi_id = 1
+csi_twi_addr = 0xba
+csi_if = 0
+csi_vflip = 0
+csi_hflip = 0
+csi_iovdd = ""
+csi_avdd = ""
+csi_dvdd = ""
+csi_flash_pol = 1
+csi_mname_b = ""
+csi_twi_id_b = 1
+csi_twi_addr_b = 0x78
+csi_if_b = 0
+csi_vflip_b = 1
+csi_hflip_b = 0
+csi_iovdd_b = ""
+csi_avdd_b = ""
+csi_dvdd_b = ""
+csi_flash_pol_b = 1
+csi_reset =
+csi_power_en =
+csi_stby =
+csi_flash =
+csi_af_en =
+csi_reset_b =
+csi_power_en_b =
+csi_stby_b =
+csi_flash_b =
+csi_af_en_b =
+
+[mmc0_para]
+sdc_used = 1
+sdc_detmode = 1
+bus_width = 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:PG00<0><1><default><default>
+sdc_use_wp = 0
+sdc_wp =
+
+[mmc1_para]
+sdc_used = 0
+sdc_detmode =
+bus_width =
+sdc_cmd =
+sdc_clk =
+sdc_d0 =
+sdc_d1 =
+sdc_d2 =
+sdc_d3 =
+sdc_det =
+sdc_use_wp =
+sdc_wp =
+
+[mmc2_para]
+sdc_used = 0
+sdc_detmode = 3
+bus_width = 4
+sdc_cmd = port:PE08<4><1><2><default>
+sdc_clk = port:PE09<4><1><2><default>
+sdc_d0 = port:PE04<4><1><2><default>
+sdc_d1 = port:PE05<4><1><2><default>
+sdc_d2 = port:PE06<4><1><2><default>
+sdc_d3 = port:PE07<4><1><2><default>
+sdc_det =
+sdc_use_wp = 0
+sdc_wp =
+
+[ms_para]
+ms_used = 0
+ms_bs =
+ms_clk =
+ms_d0 =
+ms_d1 =
+ms_d2 =
+ms_d3 =
+ms_det =
+
+[keypad_para]
+kp_used = 0
+kp_in_size =
+kp_out_size =
+kp_in0 =
+kp_in1 =
+kp_in2 =
+kp_in3 =
+kp_in4 =
+kp_in5 =
+kp_in6 =
+kp_in7 =
+kp_out0 =
+kp_out1 =
+kp_out2 =
+kp_out3 =
+kp_out4 =
+kp_out5 =
+kp_out6 =
+kp_out7 =
+
+[usbc0]
+usb_used = 1
+usb_port_type = 2
+usb_detect_type = 1
+usb_id_gpio = port:PG02<0><1><default><default>
+usb_det_vbus_gpio = port:PG01<0><0><default><default>
+usb_drv_vbus_gpio = port:PG12<1><0><default><0>
+usb_host_init_state = 0
+
+[usbc1]
+usb_used = 1
+usb_port_type = 1
+usb_detect_type = 0
+usb_controller_type = 0
+usb_id_gpio =
+usb_det_vbus_gpio =
+usb_drv_vbus_gpio = port:power203<1><0><default><0>
+usb_host_init_state = 0
+
+[usb_feature]
+vendor_id = 6353
+mass_storage_id = 1
+adb_id = 2
+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_list_para]
+gsensor_det_used = 1
+bma250 = 1
+mc32x0 = 1
+mma7660 = 1
+dmard06 = 1
+dmard10 = 1
+mma8452 = 1
+kxtik = 1
+mxc622x = 1
+afa750 = 1
+mma865x = 1
+lis3de = 1
+
+[gps_para]
+gps_used = 0
+gps_spi_id =
+gps_spi_cs_num =
+gps_lradc =
+gps_clk =
+gps_sign =
+gps_mag =
+gps_vcc_en =
+gps_osc_en =
+gps_rx_en =
+
+[sdio_wifi_para]
+sdio_wifi_used = 0
+sdio_wifi_sdc_id =
+sdio_wifi_mod_sel =
+
+[usb_wifi_para]
+usb_wifi_used = 1
+usb_wifi_usbc_num = 1
+
+[3g_para]
+3g_used = 0
+3g_name =
+3g_usbc_num =
+3g_on_off =
+3g_reset =
+3g_poweron =
+3g_wakeup_out =
+3g_wakeup_in =
+
+[gy_para]
+gy_used = 0
+gy_twi_id = 1
+gy_twi_addr = 0
+gy_int1 =
+gy_int2 =
+
+[ls_para]
+ls_used = 1
+ls_name = "ltr501als"
+ls_twi_id = 1
+ls_twi_addr =
+ls_int =
+
+[compass_para]
+compass_used = 0
+compass_twi_id =
+compass_twi_addr =
+compass_int =
+
+[bt_para]
+bt_used = 0
+bt_uart_id =
+bt_mod_type =
+
+[i2s_para]
+i2s_used = 0
+i2s_channel =
+i2s_mclk =
+i2s_bclk =
+i2s_lrclk =
+i2s_dout0 =
+i2s_dout1 =
+i2s_dout2 =
+i2s_dout3 =
+i2s_din =
+
+[spdif_para]
+spdif_used = 0
+spdif_mclk =
+spdif_dout =
+spdif_din =
+
+[audio_para]
+audio_used = 1
+capture_used = 1
+audio_lr_change = 0
+audio_pa_ctrl = port:PG10<1><default><default><0>
+
+[ir_para]
+ir_used = 0
+ir0_rx = port:PB04<2><default><default><default>
+
+[rtc_para]
+rtc_used = 1
+rtc_name = "pcf8563"
+rtc_twi_id = 1
+rtc_twi_addr = 81
+
+[pmu_para]
+pmu_used = 1
+pmu_twi_addr = 52
+pmu_twi_id = 0
+pmu_irq_id = 0
+pmu_battery_rdc = 100
+pmu_battery_cap = 2000
+pmu_init_chgcur = 300
+pmu_earlysuspend_chgcur = 600
+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 = 0
+pmu_bat_para4 = 0
+pmu_bat_para5 = 5
+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_usbcur_limit = 0
+pmu_usbvol = 4000
+pmu_usbcur = 0
+pmu_usbvol_pc = 4000
+pmu_usbcur_pc = 0
+pmu_pwroff_vol = 3300
+pmu_pwron_vol = 2900
+pmu_pekoff_time = 6000
+pmu_pekoff_en = 1
+pmu_peklong_time = 1500
+pmu_pekon_time = 1000
+pmu_pwrok_time = 64
+pmu_pwrnoe_time = 2000
+pmu_intotp_en = 1
+pmu_used2 = 0
+pmu_adpdet =
+pmu_init_chgcur2 = 400
+pmu_earlysuspend_chgcur2 = 600
+pmu_suspend_chgcur2 = 1200
+pmu_resume_chgcur2 = 400
+pmu_shutdown_chgcur2 = 1200
+pmu_suspendpwroff_vol = 3500
+pmu_batdeten = 1
+
+[recovery_key]
+key_min = 4
+key_max = 6
+
+[dvfs_table]
+max_freq = 1008000000
+min_freq = 60000000
+LV_count = 7
+LV1_freq = 1104000000
+LV1_volt = 1500
+LV2_freq = 1008000000
+LV2_volt = 1400
+LV3_freq = 912000000
+LV3_volt = 1350
+LV4_freq = 864000000
+LV4_volt = 1300
+LV5_freq = 624000000
+LV5_volt = 1200
+LV6_freq = 576000000
+LV6_volt = 1200
+LV7_freq = 432000000
+LV7_volt = 1200
+
index 8e32711..a9d2a68 100644 (file)
@@ -980,4 +980,3 @@ LV6_freq = 312000000
 LV6_volt = 1050
 LV7_freq = 144000000
 LV7_volt = 1050
-
diff --git a/sunxi-devices/tzx-q8-713b7/Android.mk b/sunxi-devices/tzx-q8-713b7/Android.mk
new file mode 100644 (file)
index 0000000..d259282
--- /dev/null
@@ -0,0 +1,20 @@
+# Copyright (C) 2014 Paul Kocialkowski <contact@paulk.fr>
+#
+# This program 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 3 of the License, or
+# (at your option) any later version.
+#
+# This program 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.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+tzx-q8-713b7 := "$(SUNXI_DEVICES_OUT)/tzx-q8-713b7"
+$(tzx-q8-713b7): sunxi_uboot_TZX-Q8-713B7
+       @mkdir -p "$@"
+       @cp "$(SUNXI_UBOOT_OUT)/TZX-Q8-713B7/u-boot.img" "$@/"
+       @cp "$(SUNXI_UBOOT_OUT)/TZX-Q8-713B7/spl/sunxi-spl.bin" "$@/"
similarity index 99%
rename from sunxi-devices/tzx-q8-713b/script.fex
rename to sunxi-devices/tzx-q8-713b7/script.fex
index 33f43e6..a123fd4 100644 (file)
@@ -472,9 +472,9 @@ luns = 2
 
 [gsensor_para]
 gsensor_used = 1
-gsensor_name = "mma7660"
+gsensor_name = "dmard06"
 gsensor_twi_id = 1
-gsensor_twi_addr = 0x4c
+gsensor_twi_addr = 0x1c
 gsensor_int1 =
 gsensor_int2 =
 
diff --git a/sunxi-devices/tzx-q8-713b7/sunxi.prop b/sunxi-devices/tzx-q8-713b7/sunxi.prop
new file mode 100644 (file)
index 0000000..e0d3db8
--- /dev/null
@@ -0,0 +1 @@
+sunxi.platform = sun5i
index 4c42221..e2d8d40 100644 (file)
@@ -16,7 +16,7 @@
 include device/allwinner/sunxi-common/BoardConfigCommon.mk
 
 # Sunxi
-SUNXI_DEVICES := ainol_aw1 tzx-q8-713b
+SUNXI_DEVICES := ainol_aw1 ampe_a76 tzx-q8-713b7
 SUNXI_KERNELS := sun5i sun7i
 
 # Graphics