mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
1fa9be72b5
For systems where the core cycles are not a usable tick source (like SMP or cycles gets updated), enable gptimer0 as an alternative. Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
235 lines
3.9 KiB
Plaintext
235 lines
3.9 KiB
Plaintext
if (BF51x)
|
|
|
|
source "arch/blackfin/mach-bf518/boards/Kconfig"
|
|
|
|
menu "BF518 Specific Configuration"
|
|
|
|
comment "Alternative Multiplexing Scheme"
|
|
|
|
choice
|
|
prompt "SPORT0"
|
|
default BF518_SPORT0_PORTG
|
|
help
|
|
Select PORT used for SPORT0. See Hardware Reference Manual
|
|
|
|
config BF518_SPORT0_PORTF
|
|
bool "PORT F"
|
|
help
|
|
PORT F
|
|
|
|
config BF518_SPORT0_PORTG
|
|
bool "PORT G"
|
|
help
|
|
PORT G
|
|
endchoice
|
|
|
|
choice
|
|
prompt "SPORT0 TSCLK Location"
|
|
depends on BF518_SPORT0_PORTG
|
|
default BF518_SPORT0_TSCLK_PG10
|
|
help
|
|
Select PIN used for SPORT0_TSCLK. See Hardware Reference Manual
|
|
|
|
config BF518_SPORT0_TSCLK_PG10
|
|
bool "PORT PG10"
|
|
help
|
|
PORT PG10
|
|
|
|
config BF518_SPORT0_TSCLK_PG14
|
|
bool "PORT PG14"
|
|
help
|
|
PORT PG14
|
|
endchoice
|
|
|
|
choice
|
|
prompt "UART1"
|
|
default BF518_UART1_PORTF
|
|
help
|
|
Select PORT used for UART1. See Hardware Reference Manual
|
|
|
|
config BF518_UART1_PORTF
|
|
bool "PORT F"
|
|
help
|
|
PORT F
|
|
|
|
config BF518_UART1_PORTG
|
|
bool "PORT G"
|
|
help
|
|
PORT G
|
|
endchoice
|
|
|
|
comment "Interrupt Priority Assignment"
|
|
menu "Priority"
|
|
|
|
config IRQ_PLL_WAKEUP
|
|
int "IRQ_PLL_WAKEUP"
|
|
default 7
|
|
config IRQ_DMA0_ERROR
|
|
int "IRQ_DMA0_ERROR"
|
|
default 7
|
|
config IRQ_DMAR0_BLK
|
|
int "IRQ_DMAR0_BLK"
|
|
default 7
|
|
config IRQ_DMAR1_BLK
|
|
int "IRQ_DMAR1_BLK"
|
|
default 7
|
|
config IRQ_DMAR0_OVR
|
|
int "IRQ_DMAR0_OVR"
|
|
default 7
|
|
config IRQ_DMAR1_OVR
|
|
int "IRQ_DMAR1_OVR"
|
|
default 7
|
|
config IRQ_PPI_ERROR
|
|
int "IRQ_PPI_ERROR"
|
|
default 7
|
|
config IRQ_MAC_ERROR
|
|
int "IRQ_MAC_ERROR"
|
|
default 7
|
|
config IRQ_SPORT0_ERROR
|
|
int "IRQ_SPORT0_ERROR"
|
|
default 7
|
|
config IRQ_SPORT1_ERROR
|
|
int "IRQ_SPORT1_ERROR"
|
|
default 7
|
|
config IRQ_PTP_ERROR
|
|
int "IRQ_PTP_ERROR"
|
|
default 7
|
|
config IRQ_UART0_ERROR
|
|
int "IRQ_UART0_ERROR"
|
|
default 7
|
|
config IRQ_UART1_ERROR
|
|
int "IRQ_UART1_ERROR"
|
|
default 7
|
|
config IRQ_RTC
|
|
int "IRQ_RTC"
|
|
default 8
|
|
config IRQ_PPI
|
|
int "IRQ_PPI"
|
|
default 8
|
|
config IRQ_SPORT0_RX
|
|
int "IRQ_SPORT0_RX"
|
|
default 9
|
|
config IRQ_SPORT0_TX
|
|
int "IRQ_SPORT0_TX"
|
|
default 9
|
|
config IRQ_SPORT1_RX
|
|
int "IRQ_SPORT1_RX"
|
|
default 9
|
|
config IRQ_SPORT1_TX
|
|
int "IRQ_SPORT1_TX"
|
|
default 9
|
|
config IRQ_TWI
|
|
int "IRQ_TWI"
|
|
default 10
|
|
config IRQ_SPI0
|
|
int "IRQ_SPI"
|
|
default 10
|
|
config IRQ_UART0_RX
|
|
int "IRQ_UART0_RX"
|
|
default 10
|
|
config IRQ_UART0_TX
|
|
int "IRQ_UART0_TX"
|
|
default 10
|
|
config IRQ_UART1_RX
|
|
int "IRQ_UART1_RX"
|
|
default 10
|
|
config IRQ_UART1_TX
|
|
int "IRQ_UART1_TX"
|
|
default 10
|
|
config IRQ_OPTSEC
|
|
int "IRQ_OPTSEC"
|
|
default 11
|
|
config IRQ_CNT
|
|
int "IRQ_CNT"
|
|
default 11
|
|
config IRQ_MAC_RX
|
|
int "IRQ_MAC_RX"
|
|
default 11
|
|
config IRQ_PORTH_INTA
|
|
int "IRQ_PORTH_INTA"
|
|
default 11
|
|
config IRQ_MAC_TX
|
|
int "IRQ_MAC_TX/NFC"
|
|
default 11
|
|
config IRQ_PORTH_INTB
|
|
int "IRQ_PORTH_INTB"
|
|
default 11
|
|
config IRQ_TIMER0
|
|
int "IRQ_TIMER0"
|
|
default 7 if TICKSOURCE_GPTMR0
|
|
default 8
|
|
config IRQ_TIMER1
|
|
int "IRQ_TIMER1"
|
|
default 12
|
|
config IRQ_TIMER2
|
|
int "IRQ_TIMER2"
|
|
default 12
|
|
config IRQ_TIMER3
|
|
int "IRQ_TIMER3"
|
|
default 12
|
|
config IRQ_TIMER4
|
|
int "IRQ_TIMER4"
|
|
default 12
|
|
config IRQ_TIMER5
|
|
int "IRQ_TIMER5"
|
|
default 12
|
|
config IRQ_TIMER6
|
|
int "IRQ_TIMER6"
|
|
default 12
|
|
config IRQ_TIMER7
|
|
int "IRQ_TIMER7"
|
|
default 12
|
|
config IRQ_PORTG_INTA
|
|
int "IRQ_PORTG_INTA"
|
|
default 12
|
|
config IRQ_PORTG_INTB
|
|
int "IRQ_PORTG_INTB"
|
|
default 12
|
|
config IRQ_MEM_DMA0
|
|
int "IRQ_MEM_DMA0"
|
|
default 13
|
|
config IRQ_MEM_DMA1
|
|
int "IRQ_MEM_DMA1"
|
|
default 13
|
|
config IRQ_WATCH
|
|
int "IRQ_WATCH"
|
|
default 13
|
|
config IRQ_PORTF_INTA
|
|
int "IRQ_PORTF_INTA"
|
|
default 13
|
|
config IRQ_PORTF_INTB
|
|
int "IRQ_PORTF_INTB"
|
|
default 13
|
|
config IRQ_SPI0_ERROR
|
|
int "IRQ_SPI0_ERROR"
|
|
default 7
|
|
config IRQ_SPI1_ERROR
|
|
int "IRQ_SPI1_ERROR"
|
|
default 7
|
|
config IRQ_RSI_INT0
|
|
int "IRQ_RSI_INT0"
|
|
default 7
|
|
config IRQ_RSI_INT1
|
|
int "IRQ_RSI_INT1"
|
|
default 7
|
|
config IRQ_PWM_TRIP
|
|
int "IRQ_PWM_TRIP"
|
|
default 10
|
|
config IRQ_PWM_SYNC
|
|
int "IRQ_PWM_SYNC"
|
|
default 10
|
|
config IRQ_PTP_STAT
|
|
int "IRQ_PTP_STAT"
|
|
default 10
|
|
|
|
help
|
|
Enter the priority numbers between 7-13 ONLY. Others are Reserved.
|
|
This applies to all the above. It is not recommended to assign the
|
|
highest priority number 7 to UART or any other device.
|
|
|
|
endmenu
|
|
|
|
endmenu
|
|
|
|
endif
|