diff --git a/config/orangepione.fex b/config/orangepione.fex index 1e436a0e72..a8bfa1a42e 100644 --- a/config/orangepione.fex +++ b/config/orangepione.fex @@ -218,8 +218,6 @@ mode = 0 [gpio_para] gpio_used = 1 gpio_num = 30 -; gpio_pin_1 = port:PL10<1><1> -; gpio_pin_2 = port:PA15<1><0> gpio_pin_3 = port:PA12<1><0> gpio_pin_4 = port:PA11<1><0> gpio_pin_5 = port:PA06<1><0> @@ -249,10 +247,6 @@ gpio_pin_28 = port:PA20<1><0> gpio_pin_29 = port:PG06<1><0> gpio_pin_30 = port:PG07<1><0> -;[led_assign] -;normal_led = "gpio_pin_2" -;standby_led = "gpio_pin_1" - [leds_para] leds_used = 1 green_led = port:PL10<1><0> @@ -289,13 +283,11 @@ ths_trip2_count = 1 ths_trip2_0 = 105 [cooler_table] -cooler_count = 6 -cooler0 = "1296000 4 4294967295 0" -cooler1 = "1200000 4 4294967295 0" -cooler2 = "1008000 4 4294967295 0" -cooler3 = "816000 4 4294967295 0" -cooler4 = "648000 4 4294967295 0" -cooler5 = "480000 1 4294967295 0" +cooler_count = 4 +cooler0 = "1200000 4 4294967295 0" +cooler1 = "1008000 4 4294967295 0" +cooler2 = "816000 4 4294967295 0" +cooler3 = "648000 1 4294967295 0" [nand0_para] nand_support_2ch = 0 @@ -355,7 +347,6 @@ 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 @@ -517,7 +508,7 @@ smc_sda = port:PA08<2> [usbc0] usb_used = 1 usb_port_type = 2 -usb_detect_type = 1 +usb_detect_type = 0 usb_id_gpio = port:PG12<0><1> usb_det_vbus_gpio = port:PG12<0><1> usb_drv_vbus_gpio = port:PL02<1><0><0> @@ -541,7 +532,7 @@ usb_regulator_vol = 0 usb_not_suspend = 0 [usbc2] -usb_used = 1 +usb_used = 0 usb_drv_vbus_gpio = usb_restrict_gpio = usb_host_init_state = 1 @@ -551,7 +542,7 @@ usb_regulator_vol = 0 usb_not_suspend = 0 [usbc3] -usb_used = 1 +usb_used = 0 usb_drv_vbus_gpio = usb_restrict_gpio = usb_host_init_state = 1 @@ -676,7 +667,7 @@ spdif_used = 1 hdmi_used = 1 [s_cir0] -ir_used = 1 +ir_used = 0 ir_rx = port:PL11<2><1> ir_power_key_code0 = 87 ir_addr_code0 = 40704 @@ -709,53 +700,19 @@ ir_addr_code12 = 65344 ir_used = 1 ir_tx = port:PH07<2> -;---------------------------------------------------------------------------------- -; dvfs voltage-frequency table configuration -; -; pmuic_type:0:none, 1:gpio, 2:i2c -; pmu_gpio0: gpio config. -; pmu_levelx: 0~9999: voltage(mV), 10000~90000:gpio0 state. voltage form high to low. -; -; extremity_freq(Hz): cpu extremity frequency when run benckmark or demo apk -; 1536MHz@1500mV with radiator, 1296MHz@1340mV without radiator -; max_freq: cpu maximum frequency, based on Hz, can not be more than 1200MHz -; min_freq: cpu minimum frequency, based on Hz, can not be less than 60MHz -; -; LV_count: count of LV_freq/LV_volt, must be < 16 -; -; LV1: core vdd is 1.50v if cpu frequency is (1296Mhz, 1536Mhz] -; LV2: core vdd is 1.34v if cpu frequency is (1200Mhz, 1296Mhz] -; LV3: core vdd is 1.32v if cpu frequency is (1008Mhz, 1200Mhz] -; LV4: core vdd is 1.20v if cpu frequency is (816Mhz, 1008Mhz] -; LV5: core vdd is 1.10v if cpu frequency is (648Mhz, 816Mhz] -; LV6: core vdd is 1.04v if cpu frequency is (0Mhz, 648Mhz] -; LV7: core vdd is 1.04v if cpu frequency is (0Mhz, 648Mhz] -; LV8: core vdd is 1.04v if cpu frequency is (0Mhz, 648Mhz] -; -;---------------------------------------------------------------------------------- [dvfs_table] -pmuic_type = 0 +pmuic_type = 1 pmu_gpio0 = port:PL06<1><1><2><1> pmu_level0 = 11300 pmu_level1 = 1100 -extremity_freq = 1296000000 +;extremity_freq = 1296000000 max_freq = 1200000000 -min_freq = 480000000 -LV_count = 7 -LV1_freq = 1296000000 -LV1_volt = 1320 -LV2_freq = 1200000000 -LV2_volt = 1240 -LV3_freq = 1104000000 -LV3_volt = 1180 -LV4_freq = 1008000000 -LV4_volt = 1140 -LV5_freq = 960000000 -LV5_volt = 1080 -LV6_freq = 816000000 -LV6_volt = 1020 -LV7_freq = 480000000 -LV7_volt = 980 +min_freq = 648000000 +LV_count = 2 +LV1_freq = 1200000000 +LV1_volt = 1300 +LV2_freq = 648000000 +LV2_volt = 1100 [gpu_dvfs_table] G_LV_count = 3 @@ -833,5 +790,4 @@ key5_vol = 2000 d7s_used = 0 din_gpio = port:PD00<1><1> clk_gpio = port:PD01<1><1> -stb_gpio = port:PD02<1><1> - +stb_gpio = port:PD02<1><1> \ No newline at end of file