Merge pull request #167 from ThomasKaiser/master
Enable power button+LED, SPI, fixed ths/cooler settings for H3, Orange Pi 2 detection
This commit is contained in:
commit
e67423072e
@ -1,6 +1,4 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/arm 3.4.110 Kernel Configuration
|
||||
# Linux/armbian sun8i 3.4.110 Kernel Configuration
|
||||
#
|
||||
CONFIG_ARM=y
|
||||
CONFIG_ARM_HAS_SG_CHAIN=y
|
||||
@ -1044,7 +1042,7 @@ CONFIG_XPS=y
|
||||
# CONFIG_NETPRIO_CGROUP is not set
|
||||
CONFIG_BQL=y
|
||||
CONFIG_HAVE_BPF_JIT=y
|
||||
# CONFIG_BPF_JIT is not set
|
||||
CONFIG_BPF_JIT=y
|
||||
|
||||
#
|
||||
# Network testing
|
||||
@ -1110,14 +1108,14 @@ CONFIG_BT_HCIUART=m
|
||||
CONFIG_BT_HCIUART_H4=y
|
||||
CONFIG_BT_HCIUART_BCSP=y
|
||||
CONFIG_BT_HCIUART_ATH3K=y
|
||||
# CONFIG_BT_HCIUART_RTKH5 is not set
|
||||
CONFIG_BT_HCIUART_RTKH5=y
|
||||
CONFIG_BT_HCIUART_LL=y
|
||||
CONFIG_BT_HCIBCM203X=m
|
||||
CONFIG_BT_HCIBPA10X=m
|
||||
CONFIG_BT_HCIBFUSB=m
|
||||
# CONFIG_BT_HCIVHCI is not set
|
||||
# CONFIG_BCM_BT_LPM is not set
|
||||
# CONFIG_RTL_BT_LPM is not set
|
||||
CONFIG_BCM_BT_LPM=m
|
||||
CONFIG_RTL_BT_LPM=m
|
||||
CONFIG_BT_MRVL=m
|
||||
CONFIG_BT_MRVL_SDIO=m
|
||||
CONFIG_BT_ATH3K=m
|
||||
@ -1327,8 +1325,8 @@ CONFIG_SCSI_WAIT_SCAN=m
|
||||
# CONFIG_SCSI_SAS_LIBSAS is not set
|
||||
# CONFIG_SCSI_SRP_ATTRS is not set
|
||||
CONFIG_SCSI_LOWLEVEL=y
|
||||
# CONFIG_ISCSI_TCP is not set
|
||||
# CONFIG_ISCSI_BOOT_SYSFS is not set
|
||||
CONFIG_ISCSI_TCP=m
|
||||
CONFIG_ISCSI_BOOT_SYSFS=m
|
||||
# CONFIG_LIBFC is not set
|
||||
# CONFIG_LIBFCOE is not set
|
||||
# CONFIG_SCSI_DEBUG is not set
|
||||
@ -1382,13 +1380,13 @@ CONFIG_VETH=m
|
||||
CONFIG_ETHERNET=y
|
||||
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||
# CONFIG_NET_CALXEDA_XGMAC is not set
|
||||
CONFIG_NET_VENDOR_CHELSIO=y
|
||||
# CONFIG_NET_VENDOR_CHELSIO is not set
|
||||
# CONFIG_NET_VENDOR_CIRRUS is not set
|
||||
# CONFIG_DM9000 is not set
|
||||
# CONFIG_DNET is not set
|
||||
# CONFIG_NET_VENDOR_FARADAY is not set
|
||||
# CONFIG_NET_VENDOR_INTEL is not set
|
||||
CONFIG_NET_VENDOR_MARVELL=y
|
||||
# CONFIG_NET_VENDOR_MARVELL is not set
|
||||
# CONFIG_NET_VENDOR_MICREL is not set
|
||||
# CONFIG_NET_VENDOR_MICROCHIP is not set
|
||||
# CONFIG_NET_VENDOR_NATSEMI is not set
|
||||
@ -1438,7 +1436,7 @@ CONFIG_PPPOPNS=y
|
||||
CONFIG_PPP_ASYNC=y
|
||||
CONFIG_PPP_SYNC_TTY=y
|
||||
# CONFIG_SLIP is not set
|
||||
CONFIG_SLHC=y
|
||||
CONFIG_SLHC=m
|
||||
|
||||
#
|
||||
# USB Network Adapters
|
||||
@ -1625,11 +1623,11 @@ CONFIG_KEYBOARD_SAMSUNG=m
|
||||
# CONFIG_KEYBOARD_SUNKBD is not set
|
||||
# CONFIG_KEYBOARD_OMAP4 is not set
|
||||
# CONFIG_KEYBOARD_XTKBD is not set
|
||||
CONFIG_KEYBOARD_SUNXI=m
|
||||
# CONFIG_KEYBOARD_SUNXI is not set
|
||||
CONFIG_IR_RX_SUNXI=m
|
||||
# CONFIG_SUNXI_ANYIR_SUPPORT is not set
|
||||
# CONFIG_IR_TX_SUNXI is not set
|
||||
# CONFIG_SUNXI_GPIO_KEY is not set
|
||||
CONFIG_SUNXI_GPIO_KEY=y
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
CONFIG_INPUT_JOYSTICK=y
|
||||
# CONFIG_JOYSTICK_ANALOG is not set
|
||||
@ -1828,7 +1826,7 @@ CONFIG_SUNXI_CMATESET=y
|
||||
# CONFIG_SUNXI_MODULE is not set
|
||||
# CONFIG_SUNXI_TIMER_TEST is not set
|
||||
# CONFIG_SUNXI_DMA_TEST is not set
|
||||
CONFIG_SUNXI_SCR=m
|
||||
# CONFIG_SUNXI_SCR is not set
|
||||
CONFIG_SUNXI_DI=m
|
||||
CONFIG_SUNXI_SOC_INFO=y
|
||||
CONFIG_I2C=y
|
||||
@ -2172,7 +2170,7 @@ CONFIG_BCMA_POSSIBLE=y
|
||||
#
|
||||
# Multifunction device drivers
|
||||
#
|
||||
CONFIG_MFD_CORE=m
|
||||
# CONFIG_MFD_CORE is not set
|
||||
# CONFIG_MFD_88PM860X is not set
|
||||
# CONFIG_MFD_SM501 is not set
|
||||
# CONFIG_MFD_ASIC3 is not set
|
||||
@ -2214,7 +2212,7 @@ CONFIG_MFD_CORE=m
|
||||
# CONFIG_MFD_MC13XXX is not set
|
||||
# CONFIG_ABX500_CORE is not set
|
||||
# CONFIG_EZX_PCAP is not set
|
||||
CONFIG_MFD_WL1273_CORE=m
|
||||
# CONFIG_MFD_WL1273_CORE is not set
|
||||
# CONFIG_MFD_TPS65090 is not set
|
||||
# CONFIG_MFD_AAT2870_CORE is not set
|
||||
# CONFIG_MFD_RC5T583 is not set
|
||||
@ -2247,13 +2245,13 @@ CONFIG_IR_RC5_SZ_DECODER=y
|
||||
CONFIG_IR_SANYO_DECODER=y
|
||||
CONFIG_IR_MCE_KBD_DECODER=y
|
||||
CONFIG_IR_LIRC_CODEC=y
|
||||
# CONFIG_RC_ATI_REMOTE is not set
|
||||
# CONFIG_IR_IMON is not set
|
||||
# CONFIG_IR_MCEUSB is not set
|
||||
# CONFIG_IR_REDRAT3 is not set
|
||||
# CONFIG_IR_STREAMZAP is not set
|
||||
# CONFIG_RC_LOOPBACK is not set
|
||||
# CONFIG_IR_GPIO_CIR is not set
|
||||
CONFIG_RC_ATI_REMOTE=m
|
||||
CONFIG_IR_IMON=m
|
||||
CONFIG_IR_MCEUSB=m
|
||||
CONFIG_IR_REDRAT3=m
|
||||
CONFIG_IR_STREAMZAP=m
|
||||
CONFIG_RC_LOOPBACK=m
|
||||
CONFIG_IR_GPIO_CIR=m
|
||||
CONFIG_IR_SUNXI=m
|
||||
# CONFIG_MEDIA_ATTACH is not set
|
||||
CONFIG_MEDIA_TUNER=m
|
||||
@ -2310,17 +2308,29 @@ CONFIG_VIDEO_WM8775=m
|
||||
#
|
||||
# RDS decoders
|
||||
#
|
||||
# CONFIG_VIDEO_SAA6588 is not set
|
||||
|
||||
#
|
||||
# Video decoders
|
||||
#
|
||||
CONFIG_VIDEO_ADV7180=m
|
||||
# CONFIG_VIDEO_ADV7180 is not set
|
||||
# CONFIG_VIDEO_ADV7183 is not set
|
||||
# CONFIG_VIDEO_BT819 is not set
|
||||
# CONFIG_VIDEO_BT856 is not set
|
||||
# CONFIG_VIDEO_BT866 is not set
|
||||
# CONFIG_VIDEO_KS0127 is not set
|
||||
# CONFIG_VIDEO_SAA7110 is not set
|
||||
CONFIG_VIDEO_SAA711X=m
|
||||
CONFIG_VIDEO_TVP5150=m
|
||||
# CONFIG_VIDEO_SAA7191 is not set
|
||||
# CONFIG_VIDEO_TVP514X is not set
|
||||
# CONFIG_VIDEO_TVP5150 is not set
|
||||
# CONFIG_VIDEO_TVP7002 is not set
|
||||
# CONFIG_VIDEO_VPX3220 is not set
|
||||
|
||||
#
|
||||
# Video and audio decoders
|
||||
#
|
||||
# CONFIG_VIDEO_SAA717X is not set
|
||||
CONFIG_VIDEO_CX25840=m
|
||||
|
||||
#
|
||||
@ -2331,11 +2341,21 @@ CONFIG_VIDEO_CX2341X=m
|
||||
#
|
||||
# Video encoders
|
||||
#
|
||||
# CONFIG_VIDEO_SAA7127 is not set
|
||||
# CONFIG_VIDEO_SAA7185 is not set
|
||||
# CONFIG_VIDEO_ADV7170 is not set
|
||||
# CONFIG_VIDEO_ADV7175 is not set
|
||||
# CONFIG_VIDEO_ADV7343 is not set
|
||||
# CONFIG_VIDEO_AK881X is not set
|
||||
|
||||
#
|
||||
# Camera sensor devices
|
||||
#
|
||||
CONFIG_VIDEO_MT9V011=m
|
||||
# CONFIG_VIDEO_OV7670 is not set
|
||||
# CONFIG_VIDEO_VS6624 is not set
|
||||
# CONFIG_VIDEO_MT9V011 is not set
|
||||
# CONFIG_VIDEO_TCM825X is not set
|
||||
# CONFIG_VIDEO_SR030PC30 is not set
|
||||
|
||||
#
|
||||
# Flash devices
|
||||
@ -2344,10 +2364,14 @@ CONFIG_VIDEO_MT9V011=m
|
||||
#
|
||||
# Video improvement chips
|
||||
#
|
||||
# CONFIG_VIDEO_UPD64031A is not set
|
||||
# CONFIG_VIDEO_UPD64083 is not set
|
||||
|
||||
#
|
||||
# Miscelaneous helper chips
|
||||
#
|
||||
# CONFIG_VIDEO_THS7303 is not set
|
||||
# CONFIG_VIDEO_M52790 is not set
|
||||
# CONFIG_VIDEO_VIVI is not set
|
||||
CONFIG_V4L_USB_DRIVERS=y
|
||||
CONFIG_USB_VIDEO_CLASS=m
|
||||
@ -2820,9 +2844,10 @@ CONFIG_SND_ARM=y
|
||||
CONFIG_SND_SPI=y
|
||||
CONFIG_SND_USB=y
|
||||
CONFIG_SND_USB_AUDIO=m
|
||||
# CONFIG_SND_USB_UA101 is not set
|
||||
# CONFIG_SND_USB_CAIAQ is not set
|
||||
# CONFIG_SND_USB_6FIRE is not set
|
||||
CONFIG_SND_USB_UA101=m
|
||||
CONFIG_SND_USB_CAIAQ=m
|
||||
CONFIG_SND_USB_CAIAQ_INPUT=y
|
||||
CONFIG_SND_USB_6FIRE=m
|
||||
CONFIG_SND_SOC=y
|
||||
CONFIG_SND_SOC_DMAENGINE_PCM=y
|
||||
CONFIG_SND_SUNXI_SOC_AUDIOCODEC=y
|
||||
@ -3153,6 +3178,7 @@ CONFIG_USB_G_ANDROID=y
|
||||
#
|
||||
# OTG and related infrastructure
|
||||
#
|
||||
# CONFIG_USB_OTG_WAKELOCK is not set
|
||||
# CONFIG_USB_GPIO_VBUS is not set
|
||||
# CONFIG_USB_ULPI is not set
|
||||
# CONFIG_NOP_USB_XCEIV is not set
|
||||
@ -3316,6 +3342,7 @@ CONFIG_DMA_VIRTUAL_CHANNELS=y
|
||||
#
|
||||
# DMA Clients
|
||||
#
|
||||
# CONFIG_NET_DMA is not set
|
||||
# CONFIG_ASYNC_TX_DMA is not set
|
||||
CONFIG_SUNXI_DMA=y
|
||||
# CONFIG_DMATEST is not set
|
||||
@ -3498,7 +3525,7 @@ CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
|
||||
CONFIG_NETWORK_FILESYSTEMS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V3=y
|
||||
# CONFIG_NFS_V3_ACL is not set
|
||||
CONFIG_NFS_V3_ACL=y
|
||||
CONFIG_NFS_V4=y
|
||||
# CONFIG_NFS_V4_1 is not set
|
||||
# CONFIG_ROOT_NFS is not set
|
||||
@ -3620,8 +3647,9 @@ CONFIG_STACKTRACE=y
|
||||
# CONFIG_DEBUG_STACK_USAGE is not set
|
||||
# CONFIG_DEBUG_KOBJECT is not set
|
||||
# CONFIG_DEBUG_HIGHMEM is not set
|
||||
# CONFIG_DEBUG_BUGVERBOSE is not set
|
||||
# CONFIG_DEBUG_INFO is not set
|
||||
CONFIG_DEBUG_BUGVERBOSE=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
# CONFIG_DEBUG_INFO_REDUCED is not set
|
||||
# CONFIG_DEBUG_VM is not set
|
||||
# CONFIG_DEBUG_WRITECOUNT is not set
|
||||
CONFIG_DEBUG_MEMORY_INIT=y
|
||||
|
||||
@ -227,7 +227,7 @@ dram_selfresh_en = 1
|
||||
dram_freq = 36
|
||||
wakeup_src0 =
|
||||
wakeup_src_wl = port:PG10<4><default><default><0>
|
||||
;wakeup_src_bt = port:PL03<6><default><default><0>
|
||||
wakeup_src_bt = port:PL03<6><default><default><0>
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;i2c configuration
|
||||
@ -289,7 +289,7 @@ uart_cts = port:PA16<3><1><default><default>
|
||||
;SPI controller configuration
|
||||
;----------------------------------------------------------------------------------
|
||||
[spi0]
|
||||
spi_used = 0
|
||||
spi_used = 1
|
||||
spi_cs_bitmap = 1
|
||||
spi_mosi = port:PC00<3><default><default><default>
|
||||
spi_miso = port:PC01<3><default><default><default>
|
||||
@ -311,52 +311,54 @@ spi_miso = port:PA16<2><default><default><default>
|
||||
spi_dev_num = 1
|
||||
|
||||
[spi_board0]
|
||||
modalias = "m25p32"
|
||||
modalias = "spidev"
|
||||
max_speed_hz = 33000000
|
||||
bus_num = 0
|
||||
chip_select = 0
|
||||
mode = 0
|
||||
full_duplex = 1
|
||||
manual_cs = 0
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;userspace gpio interface for android
|
||||
;----------------------------------------------------------------------------------
|
||||
[gpio_para]
|
||||
gpio_used = 1
|
||||
gpio_num = 30
|
||||
gpio_pin_1 = port:PL10<1><default><default><1>
|
||||
gpio_pin_2 = port:PA15<1><default><default><0>
|
||||
gpio_pin_3 = port:PA12<1><default><default><0>
|
||||
gpio_pin_4 = port:PA11<1><default><default><0>
|
||||
gpio_pin_5 = port:PA06<1><default><default><0>
|
||||
gpio_pin_6 = port:PA13<1><default><default><0>
|
||||
gpio_pin_7 = port:PA14<1><default><default><0>
|
||||
gpio_pin_8 = port:PA01<1><default><default><0>
|
||||
gpio_pin_9 = port:PD14<1><default><default><0>
|
||||
gpio_pin_10 = port:PA00<1><default><default><0>
|
||||
gpio_pin_11 = port:PA03<1><default><default><0>
|
||||
gpio_pin_12 = port:PC04<1><default><default><0>
|
||||
gpio_pin_13 = port:PC07<1><default><default><0>
|
||||
gpio_pin_14 = port:PC00<1><default><default><0>
|
||||
gpio_pin_15 = port:PC01<1><default><default><0>
|
||||
gpio_pin_16 = port:PA02<1><default><default><0>
|
||||
gpio_pin_17 = port:PC02<1><default><default><0>
|
||||
gpio_pin_18 = port:PC03<1><default><default><0>
|
||||
gpio_pin_19 = port:PA21<1><default><default><0>
|
||||
gpio_pin_20 = port:PA19<1><default><default><0>
|
||||
gpio_pin_21 = port:PA18<1><default><default><0>
|
||||
gpio_pin_22 = port:PA07<1><default><default><0>
|
||||
gpio_pin_23 = port:PA08<1><default><default><0>
|
||||
gpio_pin_24 = port:PG08<1><default><default><0>
|
||||
gpio_pin_25 = port:PA09<1><default><default><0>
|
||||
gpio_pin_26 = port:PA10<1><default><default><0>
|
||||
gpio_pin_27 = port:PG09<1><default><default><0>
|
||||
gpio_pin_28 = port:PA20<1><default><default><0>
|
||||
gpio_pin_29 = port:PG06<1><default><default><0>
|
||||
gpio_pin_30 = port:PG07<1><default><default><0>
|
||||
gpio_used = 1
|
||||
gpio_num = 23
|
||||
gpio_pin_1 = port:PA12<1><default><default><0>
|
||||
gpio_pin_2 = port:PA11<1><default><default><0>
|
||||
gpio_pin_3 = port:PA06<1><default><default><0>
|
||||
gpio_pin_4 = port:PA13<1><default><default><0>
|
||||
gpio_pin_5 = port:PA14<1><default><default><0>
|
||||
gpio_pin_6 = port:PA01<1><default><default><0>
|
||||
gpio_pin_7 = port:PD14<1><default><default><0>
|
||||
gpio_pin_8 = port:PA00<1><default><default><0>
|
||||
gpio_pin_9 = port:PA03<1><default><default><0>
|
||||
gpio_pin_10 = port:PC04<1><default><default><0>
|
||||
gpio_pin_11 = port:PC07<1><default><default><0>
|
||||
gpio_pin_12 = port:PA02<1><default><default><0>
|
||||
gpio_pin_13 = port:PA21<1><default><default><0>
|
||||
gpio_pin_14 = port:PA19<1><default><default><0>
|
||||
gpio_pin_15 = port:PA18<1><default><default><0>
|
||||
gpio_pin_16 = port:PA07<1><default><default><0>
|
||||
gpio_pin_17 = port:PA08<1><default><default><0>
|
||||
gpio_pin_18 = port:PG08<1><default><default><0>
|
||||
gpio_pin_19 = port:PA09<1><default><default><0>
|
||||
gpio_pin_20 = port:PA10<1><default><default><0>
|
||||
gpio_pin_21 = port:PG09<1><default><default><0>
|
||||
gpio_pin_22 = port:PG06<1><default><default><0>
|
||||
gpio_pin_23 = port:PG07<1><default><default><0>
|
||||
|
||||
[led_assign]
|
||||
normal_led = "gpio_pin_2"
|
||||
standby_led = "gpio_pin_1"
|
||||
;[led_assign]
|
||||
;normal_led = "gpio_pin_2"
|
||||
;standby_led = "gpio_pin_1"
|
||||
|
||||
[leds_para]
|
||||
leds_used = 1
|
||||
green_led = port:PL10<1><default><default><0>
|
||||
green_led_active_low = 0
|
||||
red_led = port:PA15<1><default><default><0>
|
||||
red_led_active_low = 1
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;thermal configuration
|
||||
@ -369,44 +371,47 @@ standby_led = "gpio_pin_1"
|
||||
;ths_trip_1_min : second temperature trigger's min freq
|
||||
;ths_trip_1_max : second temperature trigger's max freq
|
||||
;----------------------------------------------------------------------------------
|
||||
|
||||
[ths_para]
|
||||
ths_used = 1
|
||||
ths_trip1_count = 5
|
||||
ths_trip1_0 = 70
|
||||
ths_trip1_1 = 80
|
||||
ths_trip1_2 = 90
|
||||
ths_trip1_3 = 100
|
||||
ths_trip1_4 = 105
|
||||
ths_trip1_5 = 0
|
||||
ths_trip1_6 = 0
|
||||
ths_trip1_7 = 0
|
||||
ths_trip1_0_min = 0
|
||||
ths_trip1_0_max = 1
|
||||
ths_trip1_1_min = 1
|
||||
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 = 4
|
||||
ths_trip1_5_min = 0
|
||||
ths_trip1_5_max = 0
|
||||
ths_trip1_6_min = 0
|
||||
ths_trip1_6_max = 0
|
||||
ths_trip2_count = 1
|
||||
ths_trip2_0 = 105
|
||||
ths_used = 1
|
||||
ths_trip1_count = 6
|
||||
ths_trip1_0 = 70
|
||||
ths_trip1_1 = 80
|
||||
ths_trip1_2 = 85
|
||||
ths_trip1_3 = 90
|
||||
ths_trip1_4 = 95
|
||||
ths_trip1_5 = 100
|
||||
ths_trip1_6 = 0
|
||||
ths_trip1_7 = 0
|
||||
ths_trip1_0_min = 0
|
||||
ths_trip1_0_max = 1
|
||||
ths_trip1_1_min = 1
|
||||
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 = 5
|
||||
ths_trip1_6_min = 0
|
||||
ths_trip1_6_max = 0
|
||||
ths_trip2_count = 1
|
||||
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_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"
|
||||
|
||||
[nand0_para]
|
||||
nand_support_2ch = 0
|
||||
@ -771,19 +776,18 @@ smc_vccen = port:PA06<2><default><default><default>
|
||||
smc_sck = port:PA07<2><default><default><default>
|
||||
smc_sda = port:PA08<2><default><default><default>
|
||||
|
||||
;--------------------------------
|
||||
; [usbc0]: Controller 0 configuration.
|
||||
; usb used: USB enable flag. Set, indicating that the system USB module is available, is set to 0, it means that the system USB is disabled.
|
||||
; usb_port_type: USB port usage. 0: device only; 1: host only; 2: OTG
|
||||
; usb_detect_type: USB port of checking. 0: not detected; 1: vbus / id checks; 2: id / dpdm check
|
||||
; usb_id_gpio: USB ID pin pin configuration. For details, please refer gpio configuration instructions.
|
||||
; usb_det_vbus_gpio: USB DET_VBUS pin pin configuration. For details, please refer gpio configuration instructions.
|
||||
; usb_drv_vbus_gpio: USB DRY_VBUS pin pin configuration. For details, please refer gpio configuration instructions.
|
||||
; usb_det_vbus_gpio: "axp_ctrl", represents axp offer
|
||||
; usb_restrict_gpio: usb limiting control pin
|
||||
; usb_restric_flag: usb limiting standard set
|
||||
|
||||
;--------------------------------
|
||||
;[usbc0]:控制器0的配置。
|
||||
;usb_used:USB使能标志。置1,表示系统中USB模块可用,置0,则表示系统USB禁用。
|
||||
;usb_port_type:USB端口的使用情况。 0:device only;1:host only;2:OTG
|
||||
;usb_detect_type:USB端口的检查方式。0:不做检测;1:vbus/id检查;2:id/dpdm检查
|
||||
;usb_id_gpio:USB ID pin脚配置。具体请参考gpio配置说明。
|
||||
;usb_det_vbus_gpio:USB DET_VBUS pin脚配置。具体请参考gpio配置说明。
|
||||
;usb_drv_vbus_gpio:USB DRY_VBUS pin脚配置。具体请参考gpio配置说明。
|
||||
;usb_det_vbus_gpio: "axp_ctrl",表示axp 提供
|
||||
;usb_restrict_gpio usb限流控制pin
|
||||
;usb_restric_flag: usb限流标置
|
||||
;--------------------------------
|
||||
;--------------------------------
|
||||
;--- USB0控制标志
|
||||
;--------------------------------
|
||||
|
||||
@ -139,6 +139,7 @@ dram_selfresh_en = 1
|
||||
dram_freq = 36
|
||||
wakeup_src0 =
|
||||
wakeup_src_wl = port:PG10<4><default><default><0>
|
||||
wakeup_src_bt = port:PL03<6><default><default><0>
|
||||
|
||||
[twi0]
|
||||
twi_used = 1
|
||||
@ -190,7 +191,7 @@ uart_rts = port:PA15<3><1><default><default>
|
||||
uart_cts = port:PA16<3><1><default><default>
|
||||
|
||||
[spi0]
|
||||
spi_used = 0
|
||||
spi_used = 1
|
||||
spi_cs_bitmap = 1
|
||||
spi_mosi = port:PC00<3><default><default><default>
|
||||
spi_miso = port:PC01<3><default><default><default>
|
||||
@ -209,45 +210,40 @@ spi_miso = port:PA16<2><default><default><default>
|
||||
spi_dev_num = 1
|
||||
|
||||
[spi_board0]
|
||||
modalias = "m25p32"
|
||||
modalias = "spidev"
|
||||
max_speed_hz = 33000000
|
||||
bus_num = 0
|
||||
chip_select = 0
|
||||
mode = 0
|
||||
full_duplex = 1
|
||||
manual_cs = 0
|
||||
|
||||
[gpio_para]
|
||||
gpio_used = 1
|
||||
gpio_num = 30
|
||||
; gpio_pin_1 = port:PL10<1><default><default><1>
|
||||
; gpio_pin_2 = port:PA15<1><default><default><0>
|
||||
gpio_pin_3 = port:PA12<1><default><default><0>
|
||||
gpio_pin_4 = port:PA11<1><default><default><0>
|
||||
gpio_pin_5 = port:PA06<1><default><default><0>
|
||||
gpio_pin_6 = port:PA13<1><default><default><0>
|
||||
gpio_pin_7 = port:PA14<1><default><default><0>
|
||||
gpio_pin_8 = port:PA01<1><default><default><0>
|
||||
gpio_pin_9 = port:PD14<1><default><default><0>
|
||||
gpio_pin_10 = port:PA00<1><default><default><0>
|
||||
gpio_pin_11 = port:PA03<1><default><default><0>
|
||||
gpio_pin_12 = port:PC04<1><default><default><0>
|
||||
gpio_pin_13 = port:PC07<1><default><default><0>
|
||||
gpio_pin_14 = port:PC00<1><default><default><0>
|
||||
gpio_pin_15 = port:PC01<1><default><default><0>
|
||||
gpio_pin_16 = port:PA02<1><default><default><0>
|
||||
gpio_pin_17 = port:PC02<1><default><default><0>
|
||||
gpio_pin_18 = port:PC03<1><default><default><0>
|
||||
gpio_pin_19 = port:PA21<1><default><default><0>
|
||||
gpio_pin_20 = port:PA19<1><default><default><0>
|
||||
gpio_pin_21 = port:PA18<1><default><default><0>
|
||||
gpio_pin_22 = port:PA07<1><default><default><0>
|
||||
gpio_pin_23 = port:PA08<1><default><default><0>
|
||||
gpio_pin_24 = port:PG08<1><default><default><0>
|
||||
gpio_pin_25 = port:PA09<1><default><default><0>
|
||||
gpio_pin_26 = port:PA10<1><default><default><0>
|
||||
gpio_pin_27 = port:PG09<1><default><default><0>
|
||||
gpio_pin_28 = port:PA20<1><default><default><0>
|
||||
gpio_pin_29 = port:PG06<1><default><default><0>
|
||||
gpio_pin_30 = port:PG07<1><default><default><0>
|
||||
gpio_num = 23
|
||||
gpio_pin_1 = port:PA12<1><default><default><0>
|
||||
gpio_pin_2 = port:PA11<1><default><default><0>
|
||||
gpio_pin_3 = port:PA06<1><default><default><0>
|
||||
gpio_pin_4 = port:PA13<1><default><default><0>
|
||||
gpio_pin_5 = port:PA14<1><default><default><0>
|
||||
gpio_pin_6 = port:PA01<1><default><default><0>
|
||||
gpio_pin_7 = port:PD14<1><default><default><0>
|
||||
gpio_pin_8 = port:PA00<1><default><default><0>
|
||||
gpio_pin_9 = port:PA03<1><default><default><0>
|
||||
gpio_pin_10 = port:PC04<1><default><default><0>
|
||||
gpio_pin_11 = port:PC07<1><default><default><0>
|
||||
gpio_pin_12 = port:PA02<1><default><default><0>
|
||||
gpio_pin_13 = port:PA21<1><default><default><0>
|
||||
gpio_pin_14 = port:PA19<1><default><default><0>
|
||||
gpio_pin_15 = port:PA18<1><default><default><0>
|
||||
gpio_pin_16 = port:PA07<1><default><default><0>
|
||||
gpio_pin_17 = port:PA08<1><default><default><0>
|
||||
gpio_pin_18 = port:PG08<1><default><default><0>
|
||||
gpio_pin_19 = port:PA09<1><default><default><0>
|
||||
gpio_pin_20 = port:PA10<1><default><default><0>
|
||||
gpio_pin_21 = port:PG09<1><default><default><0>
|
||||
gpio_pin_22 = port:PG06<1><default><default><0>
|
||||
gpio_pin_23 = port:PG07<1><default><default><0>
|
||||
|
||||
;[led_assign]
|
||||
;normal_led = "gpio_pin_2"
|
||||
@ -258,7 +254,7 @@ leds_used = 1
|
||||
green_led = port:PL10<1><default><default><0>
|
||||
green_led_active_low = 0
|
||||
red_led = port:PA15<1><default><default><0>
|
||||
red_led_active_low = 0
|
||||
red_led_active_low = 1
|
||||
|
||||
[ths_para]
|
||||
ths_used = 1
|
||||
@ -359,6 +355,9 @@ pwm_positive = port:PA05<3><0><default><default>
|
||||
gmac_used = 2
|
||||
gmac_power1 =
|
||||
|
||||
[gmac_phy_power]
|
||||
gmac_phy_power_en = port:PL08<1><default><default><0>
|
||||
|
||||
[csi0]
|
||||
vip_used = 1
|
||||
vip_mode = 0
|
||||
@ -594,7 +593,7 @@ wifi_sdc_id = 1
|
||||
wifi_usbc_id = 2
|
||||
wifi_usbc_type = 1
|
||||
wl_reg_on = port:PL07<1><default><default><0>
|
||||
wl_host_wake = port:PG10<0><default><default><0>
|
||||
wl_host_wake = port:PG10<0><default><default><0>
|
||||
wl_host_wake_invert = 0
|
||||
|
||||
[bt_para]
|
||||
@ -734,16 +733,15 @@ ir_tx = port:PH07<2><default><default><default>
|
||||
[dvfs_table]
|
||||
pmuic_type = 1
|
||||
pmu_gpio0 = port:PL06<1><1><2><1>
|
||||
pmu_level0 = 11300
|
||||
pmu_level1 = 1100
|
||||
;extremity_freq = 1296000000
|
||||
pmu_level0 = 1270
|
||||
pmu_level1 = 1270
|
||||
max_freq = 1200000000
|
||||
min_freq = 648000000
|
||||
LV_count = 2
|
||||
LV1_freq = 1200000000
|
||||
LV1_volt = 1300
|
||||
LV1_volt = 1270
|
||||
LV2_freq = 648000000
|
||||
LV2_volt = 1100
|
||||
LV2_volt = 1270
|
||||
|
||||
[gpu_dvfs_table]
|
||||
G_LV_count = 3
|
||||
|
||||
@ -139,6 +139,7 @@ dram_selfresh_en = 1
|
||||
dram_freq = 36
|
||||
wakeup_src0 =
|
||||
wakeup_src_wl = port:PG10<4><default><default><0>
|
||||
wakeup_src_bt = port:PL03<6><default><default><0>
|
||||
|
||||
[twi0]
|
||||
twi_used = 1
|
||||
@ -190,7 +191,7 @@ uart_rts = port:PA15<3><1><default><default>
|
||||
uart_cts = port:PA16<3><1><default><default>
|
||||
|
||||
[spi0]
|
||||
spi_used = 0
|
||||
spi_used = 1
|
||||
spi_cs_bitmap = 1
|
||||
spi_mosi = port:PC00<3><default><default><default>
|
||||
spi_miso = port:PC01<3><default><default><default>
|
||||
@ -209,45 +210,40 @@ spi_miso = port:PA16<2><default><default><default>
|
||||
spi_dev_num = 1
|
||||
|
||||
[spi_board0]
|
||||
modalias = "m25p32"
|
||||
modalias = "spidev"
|
||||
max_speed_hz = 33000000
|
||||
bus_num = 0
|
||||
chip_select = 0
|
||||
mode = 0
|
||||
full_duplex = 1
|
||||
manual_cs = 0
|
||||
|
||||
[gpio_para]
|
||||
gpio_used = 1
|
||||
gpio_num = 30
|
||||
; gpio_pin_1 = port:PL10<1><default><default><1>
|
||||
; gpio_pin_2 = port:PA15<1><default><default><0>
|
||||
gpio_pin_3 = port:PA12<1><default><default><0>
|
||||
gpio_pin_4 = port:PA11<1><default><default><0>
|
||||
gpio_pin_5 = port:PA06<1><default><default><0>
|
||||
gpio_pin_6 = port:PA13<1><default><default><0>
|
||||
gpio_pin_7 = port:PA14<1><default><default><0>
|
||||
gpio_pin_8 = port:PA01<1><default><default><0>
|
||||
gpio_pin_9 = port:PD14<1><default><default><0>
|
||||
gpio_pin_10 = port:PA00<1><default><default><0>
|
||||
gpio_pin_11 = port:PA03<1><default><default><0>
|
||||
gpio_pin_12 = port:PC04<1><default><default><0>
|
||||
gpio_pin_13 = port:PC07<1><default><default><0>
|
||||
gpio_pin_14 = port:PC00<1><default><default><0>
|
||||
gpio_pin_15 = port:PC01<1><default><default><0>
|
||||
gpio_pin_16 = port:PA02<1><default><default><0>
|
||||
gpio_pin_17 = port:PC02<1><default><default><0>
|
||||
gpio_pin_18 = port:PC03<1><default><default><0>
|
||||
gpio_pin_19 = port:PA21<1><default><default><0>
|
||||
gpio_pin_20 = port:PA19<1><default><default><0>
|
||||
gpio_pin_21 = port:PA18<1><default><default><0>
|
||||
gpio_pin_22 = port:PA07<1><default><default><0>
|
||||
gpio_pin_23 = port:PA08<1><default><default><0>
|
||||
gpio_pin_24 = port:PG08<1><default><default><0>
|
||||
gpio_pin_25 = port:PA09<1><default><default><0>
|
||||
gpio_pin_26 = port:PA10<1><default><default><0>
|
||||
gpio_pin_27 = port:PG09<1><default><default><0>
|
||||
gpio_pin_28 = port:PA20<1><default><default><0>
|
||||
gpio_pin_29 = port:PG06<1><default><default><0>
|
||||
gpio_pin_30 = port:PG07<1><default><default><0>
|
||||
gpio_num = 23
|
||||
gpio_pin_1 = port:PA12<1><default><default><0>
|
||||
gpio_pin_2 = port:PA11<1><default><default><0>
|
||||
gpio_pin_3 = port:PA06<1><default><default><0>
|
||||
gpio_pin_4 = port:PA13<1><default><default><0>
|
||||
gpio_pin_5 = port:PA14<1><default><default><0>
|
||||
gpio_pin_6 = port:PA01<1><default><default><0>
|
||||
gpio_pin_7 = port:PD14<1><default><default><0>
|
||||
gpio_pin_8 = port:PA00<1><default><default><0>
|
||||
gpio_pin_9 = port:PA03<1><default><default><0>
|
||||
gpio_pin_10 = port:PC04<1><default><default><0>
|
||||
gpio_pin_11 = port:PC07<1><default><default><0>
|
||||
gpio_pin_12 = port:PA02<1><default><default><0>
|
||||
gpio_pin_13 = port:PA21<1><default><default><0>
|
||||
gpio_pin_14 = port:PA19<1><default><default><0>
|
||||
gpio_pin_15 = port:PA18<1><default><default><0>
|
||||
gpio_pin_16 = port:PA07<1><default><default><0>
|
||||
gpio_pin_17 = port:PA08<1><default><default><0>
|
||||
gpio_pin_18 = port:PG08<1><default><default><0>
|
||||
gpio_pin_19 = port:PA09<1><default><default><0>
|
||||
gpio_pin_20 = port:PA10<1><default><default><0>
|
||||
gpio_pin_21 = port:PG09<1><default><default><0>
|
||||
gpio_pin_22 = port:PG06<1><default><default><0>
|
||||
gpio_pin_23 = port:PG07<1><default><default><0>
|
||||
|
||||
;[led_assign]
|
||||
;normal_led = "gpio_pin_2"
|
||||
@ -258,7 +254,7 @@ leds_used = 1
|
||||
green_led = port:PL10<1><default><default><0>
|
||||
green_led_active_low = 0
|
||||
red_led = port:PA15<1><default><default><0>
|
||||
red_led_active_low = 0
|
||||
red_led_active_low = 1
|
||||
|
||||
[ths_para]
|
||||
ths_used = 1
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[product]
|
||||
version = "100"
|
||||
machine = "orangepi-plus"
|
||||
machine = "orangepi-pc"
|
||||
|
||||
[platform]
|
||||
debug_mode = 1
|
||||
@ -139,6 +139,7 @@ dram_selfresh_en = 1
|
||||
dram_freq = 36
|
||||
wakeup_src0 =
|
||||
wakeup_src_wl = port:PG10<4><default><default><0>
|
||||
wakeup_src_bt = port:PL03<6><default><default><0>
|
||||
|
||||
[twi0]
|
||||
twi_used = 1
|
||||
|
||||
@ -229,7 +229,7 @@ dram_selfresh_en = 1
|
||||
dram_freq = 36
|
||||
wakeup_src0 =
|
||||
wakeup_src_wl = port:PG10<4><default><default><0>
|
||||
;wakeup_src_bt = port:PL03<6><default><default><0>
|
||||
wakeup_src_bt = port:PL03<6><default><default><0>
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;i2c configuration
|
||||
@ -326,63 +326,42 @@ manual_cs = 0
|
||||
; ** COMMENT THE PINS USED IN OTHER INTERFACES (I2C, SPI, 1-WIRE...)
|
||||
;----------------------------------------------------------------------------------
|
||||
[gpio_para]
|
||||
gpio_used = 1
|
||||
;gpio_num = 30
|
||||
;gpio_pin_1 = port:PL10<1><default><default><1>
|
||||
;gpio_pin_2 = port:PA15<1><default><default><0>
|
||||
;gpio_pin_3 = port:PA12<1><default><default><0>
|
||||
;gpio_pin_4 = port:PA11<1><default><default><0>
|
||||
;gpio_pin_5 = port:PA06<1><default><default><0>
|
||||
;gpio_pin_6 = port:PA13<1><default><default><0>
|
||||
;gpio_pin_7 = port:PA14<1><default><default><0>
|
||||
;gpio_pin_8 = port:PA01<1><default><default><0>
|
||||
;gpio_pin_9 = port:PD14<1><default><default><0>
|
||||
;gpio_pin_10 = port:PA00<1><default><default><0>
|
||||
;gpio_pin_11 = port:PA03<1><default><default><0>
|
||||
;gpio_pin_12 = port:PC04<1><default><default><0>
|
||||
;gpio_pin_13 = port:PC07<1><default><default><0>
|
||||
;gpio_pin_14 = port:PC00<1><default><default><0>
|
||||
;gpio_pin_15 = port:PC01<1><default><default><0>
|
||||
;gpio_pin_16 = port:PA02<1><default><default><0>
|
||||
;gpio_pin_17 = port:PC02<1><default><default><0>
|
||||
;gpio_pin_18 = port:PC03<1><default><default><0>
|
||||
;gpio_pin_19 = port:PA21<1><default><default><0>
|
||||
;gpio_pin_20 = port:PA19<1><default><default><0>
|
||||
;gpio_pin_21 = port:PA18<1><default><default><0>
|
||||
;gpio_pin_22 = port:PA07<1><default><default><0>
|
||||
;gpio_pin_23 = port:PA08<1><default><default><0>
|
||||
;gpio_pin_24 = port:PG08<1><default><default><0>
|
||||
;gpio_pin_25 = port:PA09<1><default><default><0>
|
||||
;gpio_pin_26 = port:PA10<1><default><default><0>
|
||||
;gpio_pin_27 = port:PG09<1><default><default><0>
|
||||
;gpio_pin_28 = port:PA20<1><default><default><0>
|
||||
;gpio_pin_29 = port:PG06<1><default><default><0>
|
||||
;gpio_pin_30 = port:PG07<1><default><default><0>
|
||||
|
||||
gpio_num = 19
|
||||
gpio_pin_1 = port:PL10<1><default><default><0>
|
||||
gpio_pin_2 = port:PA15<1><default><default><1>
|
||||
gpio_used = 1
|
||||
gpio_num = 23
|
||||
gpio_pin_1 = port:PA12<1><default><default><0>
|
||||
gpio_pin_2 = port:PA11<1><default><default><0>
|
||||
gpio_pin_3 = port:PA06<1><default><default><0>
|
||||
gpio_pin_4 = port:PA13<1><default><default><0>
|
||||
gpio_pin_5 = port:PA14<1><default><default><0>
|
||||
gpio_pin_6 = port:PD14<1><default><default><0>
|
||||
gpio_pin_7 = port:PA03<1><default><default><0>
|
||||
gpio_pin_8 = port:PC04<1><default><default><0>
|
||||
gpio_pin_9 = port:PC07<1><default><default><0>
|
||||
gpio_pin_10 = port:PC03<1><default><default><0>
|
||||
gpio_pin_11 = port:PA21<1><default><default><0>
|
||||
gpio_pin_12 = port:PA07<1><default><default><0>
|
||||
gpio_pin_13 = port:PA08<1><default><default><0>
|
||||
gpio_pin_14 = port:PG08<1><default><default><0>
|
||||
gpio_pin_15 = port:PA09<1><default><default><0>
|
||||
gpio_pin_16 = port:PA10<1><default><default><0>
|
||||
gpio_pin_17 = port:PG09<1><default><default><0>
|
||||
gpio_pin_18 = port:PG06<1><default><default><0>
|
||||
gpio_pin_19 = port:PG07<1><default><default><0>
|
||||
gpio_pin_6 = port:PA01<1><default><default><0>
|
||||
gpio_pin_7 = port:PD14<1><default><default><0>
|
||||
gpio_pin_8 = port:PA00<1><default><default><0>
|
||||
gpio_pin_9 = port:PA03<1><default><default><0>
|
||||
gpio_pin_10 = port:PC04<1><default><default><0>
|
||||
gpio_pin_11 = port:PC07<1><default><default><0>
|
||||
gpio_pin_12 = port:PA02<1><default><default><0>
|
||||
gpio_pin_13 = port:PA21<1><default><default><0>
|
||||
gpio_pin_14 = port:PA19<1><default><default><0>
|
||||
gpio_pin_15 = port:PA18<1><default><default><0>
|
||||
gpio_pin_16 = port:PA07<1><default><default><0>
|
||||
gpio_pin_17 = port:PA08<1><default><default><0>
|
||||
gpio_pin_18 = port:PG08<1><default><default><0>
|
||||
gpio_pin_19 = port:PA09<1><default><default><0>
|
||||
gpio_pin_20 = port:PA10<1><default><default><0>
|
||||
gpio_pin_21 = port:PG09<1><default><default><0>
|
||||
gpio_pin_22 = port:PG06<1><default><default><0>
|
||||
gpio_pin_23 = port:PG07<1><default><default><0>
|
||||
|
||||
[led_assign]
|
||||
normal_led = "gpio_pin_2"
|
||||
standby_led = "gpio_pin_1"
|
||||
;[led_assign]
|
||||
;normal_led = "gpio_pin_2"
|
||||
;standby_led = "gpio_pin_1"
|
||||
|
||||
[leds_para]
|
||||
leds_used = 1
|
||||
green_led = port:PL10<1><default><default><0>
|
||||
green_led_active_low = 0
|
||||
red_led = port:PA15<1><default><default><0>
|
||||
red_led_active_low = 1
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;thermal configuration
|
||||
@ -395,44 +374,47 @@ standby_led = "gpio_pin_1"
|
||||
;ths_trip_1_min : second temperature trigger's min freq
|
||||
;ths_trip_1_max : second temperature trigger's max freq
|
||||
;----------------------------------------------------------------------------------
|
||||
|
||||
[ths_para]
|
||||
ths_used = 1
|
||||
ths_trip1_count = 5
|
||||
ths_trip1_0 = 75
|
||||
ths_trip1_1 = 85
|
||||
ths_trip1_2 = 90
|
||||
ths_trip1_3 = 100
|
||||
ths_trip1_4 = 105
|
||||
ths_trip1_5 = 0
|
||||
ths_trip1_6 = 0
|
||||
ths_trip1_7 = 0
|
||||
ths_trip1_0_min = 0
|
||||
ths_trip1_0_max = 1
|
||||
ths_trip1_1_min = 1
|
||||
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 = 4
|
||||
ths_trip1_5_min = 0
|
||||
ths_trip1_5_max = 0
|
||||
ths_trip1_6_min = 0
|
||||
ths_trip1_6_max = 0
|
||||
ths_trip2_count = 1
|
||||
ths_trip2_0 = 105
|
||||
ths_used = 1
|
||||
ths_trip1_count = 6
|
||||
ths_trip1_0 = 70
|
||||
ths_trip1_1 = 80
|
||||
ths_trip1_2 = 85
|
||||
ths_trip1_3 = 90
|
||||
ths_trip1_4 = 95
|
||||
ths_trip1_5 = 100
|
||||
ths_trip1_6 = 0
|
||||
ths_trip1_7 = 0
|
||||
ths_trip1_0_min = 0
|
||||
ths_trip1_0_max = 1
|
||||
ths_trip1_1_min = 1
|
||||
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 = 5
|
||||
ths_trip1_6_min = 0
|
||||
ths_trip1_6_max = 0
|
||||
ths_trip2_count = 1
|
||||
ths_trip2_0 = 105
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;cooler_table cooler_count <=32
|
||||
;----------------------------------------------------------------------------------
|
||||
|
||||
[cooler_table]
|
||||
cooler_count = 5
|
||||
cooler0 = "1536000 4 4294967295 0"
|
||||
cooler_count = 6
|
||||
cooler0 = "1296000 4 4294967295 0"
|
||||
cooler1 = "1200000 4 4294967295 0"
|
||||
cooler2 = "1008000 4 4294967295 0"
|
||||
cooler3 = "816000 3 4294967295 0"
|
||||
cooler4 = "504000 1 4294967295 0"
|
||||
|
||||
cooler3 = "816000 4 4294967295 0"
|
||||
cooler4 = "648000 4 4294967295 0"
|
||||
cooler5 = "480000 1 4294967295 0"
|
||||
|
||||
[nand0_para]
|
||||
nand_support_2ch = 0
|
||||
|
||||
@ -19,6 +19,7 @@ RTC=$(awk '/rtc0/ {print $(NF)}' <"${TMPFILE}")
|
||||
HB_PCI=$(grep '16c3:abcd' "${TMPFILE}")
|
||||
HARDWARE=$(awk '/Hardware/ {print $3}' </proc/cpuinfo)
|
||||
GMAC=$(grep "sun6i_gmac" "${TMPFILE}")$(grep "gmac0-" "${TMPFILE}")
|
||||
ORANGEPIPHY="$(awk -F"PHY ID " '/PHY ID / {print $2}' <"${TMPFILE}")"
|
||||
LEDS=$(grep "green:ph02:led1" "${TMPFILE}")
|
||||
TERMINUS=$(lsusb | grep "1a40:0101")
|
||||
SWITCH=$(grep "BCM53125" "${TMPFILE}")
|
||||
@ -57,14 +58,17 @@ if [ "$ARCH" = "armv7l" ]; then
|
||||
if [ "$TERMINUS" != "" ]; then
|
||||
ID="Orange Pi+"
|
||||
if [ $MEMTOTAL -gt 1500 ]; then
|
||||
ID="Orange Pi+ 2"
|
||||
ID="Orange Pi+ 2"
|
||||
fi
|
||||
if [ "$GMAC" == "" ]; then
|
||||
case ${ORANGEPIPHY} in
|
||||
00441400*)
|
||||
if [ "$WIFI8189ES" != "" ]; then
|
||||
ID="Orange Pi 2"
|
||||
else
|
||||
ID="Orange Pi 2 mini"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
elif [ "$WIFI8189ES" != "" ]; then
|
||||
ID="Orange Pi Lite"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user