From 160f9ea9fbb3e71b4f155d9bcf54c7fea635b90f Mon Sep 17 00:00:00 2001 From: ThomasKaiser Date: Sat, 21 Oct 2017 20:53:41 +0200 Subject: [PATCH] Adopt vendor Sunvell R69 fex for Armbian --- config/fex/sunvell-r69.fex | 136 +++++++++++++++++++++---------------- 1 file changed, 77 insertions(+), 59 deletions(-) diff --git a/config/fex/sunvell-r69.fex b/config/fex/sunvell-r69.fex index 873e6550c5..199e5dd344 100644 --- a/config/fex/sunvell-r69.fex +++ b/config/fex/sunvell-r69.fex @@ -1,11 +1,13 @@ [product] version = "100" -machine = "dolphin_p2" +machine = "Sunvell R69" [platform] debug_mode = 1 eraseflag = 1 next_work = 3 +secure_without_OS = 1 +secure_bit = 0 [target] boot_clock = 1008 @@ -92,7 +94,7 @@ force_uart_tx = port:PF02<3><1> force_uart_rx = port:PF04<3><1> [jtag_para] -jtag_enable = 1 +jtag_enable = 0 jtag_ms = port:PA00<3> jtag_ck = port:PA01<3> jtag_do = port:PA02<3> @@ -142,7 +144,7 @@ wakeup_src0 = wakeup_src_bt = port:PL06<6><0> [twi0] -twi_used = 1 +twi_used = 0 twi_scl = port:PA11<2> twi_sda = port:PA12<2> @@ -164,7 +166,7 @@ uart_tx = port:PA04<2><1> uart_rx = port:PA05<2><1> [uart1] -uart_used = 1 +uart_used = 0 uart_port = 1 uart_type = 4 uart_tx = port:PG06<2><1> @@ -217,53 +219,58 @@ chip_select = 0 mode = 0 [gpio_para] -gpio_used = 1 -gpio_num = 2 -gpio_pin_1 = port:PL10<1><0> -gpio_pin_2 = port:PA15<1><1> +gpio_used = 0 +gpio_num = 0 -[led_assign] -normal_led = "gpio_pin_2" -standby_led = "gpio_pin_1" +[leds_para] +leds_used = 1 +green_led = port:PL10<1><1> +green_led_active_low = 0 +red_led = port:PA15<1><0> +red_led_active_low = 0 [ths_para] ths_used = 1 -ths_trip1_count = 7 -ths_trip1_0 = 80 -ths_trip1_1 = 85 -ths_trip1_2 = 90 -ths_trip1_3 = 95 -ths_trip1_4 = 100 -ths_trip1_5 = 105 -ths_trip1_6 = 115 -ths_trip1_4 = 0 -ths_trip1_5 = 0 -ths_trip1_6 = 0 -ths_trip1_7 = 0 +ths_trip1_count = 8 +ths_trip1_0 = 65 +ths_trip1_1 = 70 +ths_trip1_2 = 75 +ths_trip1_3 = 80 +ths_trip1_4 = 85 +ths_trip1_5 = 90 +ths_trip1_6 = 95 +ths_trip1_7 = 100 ths_trip1_0_min = 0 -ths_trip1_0_max = 0 +ths_trip1_0_max = 1 ths_trip1_1_min = 1 -ths_trip1_1_max = 1 -ths_trip1_2_min = 1 -ths_trip1_2_max = 1 -ths_trip1_3_min = 2 -ths_trip1_3_max = 2 -ths_trip1_4_min = 2 -ths_trip1_4_max = 2 -ths_trip1_5_min = 3 -ths_trip1_5_max = 4 -ths_trip1_6_min = 4 -ths_trip1_6_max = 4 +ths_trip1_1_max = 2 +ths_trip1_2_min = 2 +ths_trip1_2_max = 3 +ths_trip1_3_min = 3 +ths_trip1_3_max = 4 +ths_trip1_4_min = 4 +ths_trip1_4_max = 5 +ths_trip1_5_min = 5 +ths_trip1_5_max = 6 +ths_trip1_6_min = 6 +ths_trip1_6_max = 7 ths_trip2_count = 1 -ths_trip2_0 = 115 +ths_trip2_0 = 105 + +;---------------------------------------------------------------------------------- +;cooler_table cooler_count <=32 +;---------------------------------------------------------------------------------- [cooler_table] -cooler_count = 5 -cooler0 = "1200000 4 4294967295 0" -cooler1 = "1200000 3 4294967295 0" -cooler2 = "1200000 2 4294967295 0" -cooler3 = "1200000 1 4294967295 0" -cooler4 = "504000 1 4294967295 0" +cooler_count = 8 +cooler0 = "1008000 4 4294967295 0" +cooler1 = "912000 4 4294967295 0" +cooler2 = "768000 4 4294967295 0" +cooler3 = "648000 4 4294967295 0" +cooler4 = "480000 4 4294967295 0" +cooler5 = "480000 3 4294967295 0" +cooler6 = "240000 2 4294967295 0" +cooler7 = "240000 1 4294967295 0" [nand0_para] nand_support_2ch = 0 @@ -290,9 +297,9 @@ nand0_ndqs = port:PC16<2><0><1> [boot_disp] advert_disp = 0 auto_hpd = 1 -output_type = 2 +output_type = 4 hdmi_channel = 0 -hdmi_mode = 4 +hdmi_mode = 5 cvbs_channel = 1 cvbs_mode = 11 output_full = 1 @@ -302,9 +309,9 @@ hdmi_mode_check = 1 disp_init_enable = 1 disp_mode = 0 screen0_output_type = 3 -screen0_output_mode = 4 +screen0_output_mode = 5 screen1_output_type = 3 -screen1_output_mode = 4 +screen1_output_mode = 5 fb0_format = 0 fb0_width = 1280 fb0_height = 720 @@ -316,15 +323,18 @@ fb1_height = 0 hdmi_used = 1 hdmi_power = "vcc-hdmi-18" +[hdmi_cec] +hdmi_cec_used = 1 +hdmi_cec_pin = port:PA14<0><0> + [tv_para] -tv_used = 1 +tv_used = 0 tv_dac_used = 1 tv_dac_src0 = 0 [pwm0_para] pwm_used = 0 pwm_positive = port:PA05<3><0> -: If set gamc_phy to use = 2 [gmac0] gmac_used = 2 @@ -402,16 +412,16 @@ vip_dev1_flash_mode = vip_dev1_af_pwdn = [tvout_para] -tvout_used = +tvout_used = 0 tvout_channel_num = -tv_en = +tv_en = 0 [tvin_para] -tvin_used = +tvin_used = 0 tvin_channel_num = [di_para] -di_used = 1 +di_used = 0 [mmc0_para] sdc_used = 1 @@ -474,7 +484,7 @@ sdc_2xmode = 1 sdc_ddrmode = 1 [smc_para] -smc_used = +smc_used = 0 smc_rst = port:PA09<2> smc_vppen = port:PA20<3> smc_vppp = port:PA21<3> @@ -486,7 +496,7 @@ smc_sda = port:PA08<2> [usbc0] usb_used = 1 usb_port_type = 1 -usb_detect_type = 1 +usb_detect_type = 0 usb_id_gpio = usb_det_vbus_gpio = usb_drv_vbus_gpio = port:PL02<1><0><0> @@ -570,7 +580,7 @@ wl_host_wake = port:PA11<0><0> wl_host_wake_invert = 0 [bt_para] -bt_used = 1 +bt_used = 0 bt_uart_id = 1 bt_uart_baud = 1500000 bt_rst_n = port:PL01<1><0> @@ -692,15 +702,15 @@ pmu_gpio0 = port:PL06<1><1><2><1> pmu_level0 = 11300 pmu_level1 = 1100 max_freq = 1008000000 -min_freq = 480000000 +min_freq = 240000000 boot_freq = 1008000000 LV_count = 8 LV1_freq = 1200000000 LV1_volt = 1300 LV2_freq = 1008000000 LV2_volt = 1200 -LV3_freq = 0 -LV3_volt = 1100 +LV3_freq = 240000000 +LV3_volt = 1200 LV4_freq = 0 LV4_volt = 1100 LV5_freq = 0 @@ -759,7 +769,7 @@ s_power_reg = 0 s_system_power = 50 [sim0] -scr_used = 1 +scr_used = 0 scr_vccen = port:PA06<2> scr_slk = port:PA07<2> scr_sda = port:PA08<2> @@ -800,3 +810,11 @@ din_gpio = port:PD00<1><1> clk_gpio = port:PD01<1><1> stb_gpio = port:PD02<1><1> +[mali_para] +mali_used = 1 +mali_clkdiv = 1 +mali_extreme_freq = 600 +mali_extreme_vol = 1400 + +[corekeeper] +corekeeper_enabled = 1