• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1if (BF51x)
2
3source "arch/blackfin/mach-bf518/boards/Kconfig"
4
5menu "BF518 Specific Configuration"
6
7comment "Alternative Multiplexing Scheme"
8
9choice
10	prompt "SPORT0"
11	default BF518_SPORT0_PORTG
12	help
13	  Select PORT used for SPORT0. See Hardware Reference Manual
14
15config BF518_SPORT0_PORTF
16	bool "PORT F"
17	help
18	  PORT F
19
20config BF518_SPORT0_PORTG
21	bool "PORT G"
22	help
23	  PORT G
24endchoice
25
26choice
27	prompt "SPORT0 TSCLK Location"
28	depends on BF518_SPORT0_PORTG
29	default BF518_SPORT0_TSCLK_PG10
30	help
31	  Select PIN used for SPORT0_TSCLK. See Hardware Reference Manual
32
33config BF518_SPORT0_TSCLK_PG10
34	bool "PORT PG10"
35	help
36	  PORT PG10
37
38config BF518_SPORT0_TSCLK_PG14
39	bool "PORT PG14"
40	help
41	  PORT PG14
42endchoice
43
44choice
45	prompt "UART1"
46	default BF518_UART1_PORTF
47	help
48	  Select PORT used for UART1. See Hardware Reference Manual
49
50config BF518_UART1_PORTF
51	bool "PORT F"
52	help
53	  PORT F
54
55config BF518_UART1_PORTG
56	bool "PORT G"
57	help
58	  PORT G
59endchoice
60
61comment "Interrupt Priority Assignment"
62menu "Priority"
63
64config IRQ_PLL_WAKEUP
65	int "IRQ_PLL_WAKEUP"
66	default 7
67config IRQ_DMA0_ERROR
68	int "IRQ_DMA0_ERROR"
69	default 7
70config IRQ_DMAR0_BLK
71	int "IRQ_DMAR0_BLK"
72	default 7
73config IRQ_DMAR1_BLK
74	int "IRQ_DMAR1_BLK"
75	default 7
76config IRQ_DMAR0_OVR
77	int "IRQ_DMAR0_OVR"
78	default 7
79config IRQ_DMAR1_OVR
80	int "IRQ_DMAR1_OVR"
81	default 7
82config IRQ_PPI_ERROR
83	int "IRQ_PPI_ERROR"
84	default 7
85config IRQ_MAC_ERROR
86	int "IRQ_MAC_ERROR"
87	default 7
88config IRQ_SPORT0_ERROR
89	int "IRQ_SPORT0_ERROR"
90	default 7
91config IRQ_SPORT1_ERROR
92	int "IRQ_SPORT1_ERROR"
93	default 7
94config IRQ_PTP_ERROR
95	int "IRQ_PTP_ERROR"
96	default 7
97config IRQ_UART0_ERROR
98	int "IRQ_UART0_ERROR"
99	default 7
100config IRQ_UART1_ERROR
101	int "IRQ_UART1_ERROR"
102	default 7
103config IRQ_RTC
104	int "IRQ_RTC"
105	default 8
106config IRQ_PPI
107	int "IRQ_PPI"
108	default 8
109config IRQ_SPORT0_RX
110	int "IRQ_SPORT0_RX"
111	default 9
112config IRQ_SPORT0_TX
113	int "IRQ_SPORT0_TX"
114	default 9
115config IRQ_SPORT1_RX
116	int "IRQ_SPORT1_RX"
117	default 9
118config IRQ_SPORT1_TX
119	int "IRQ_SPORT1_TX"
120	default 9
121config IRQ_TWI
122	int "IRQ_TWI"
123	default 10
124config IRQ_SPI0
125	int "IRQ_SPI"
126	default 10
127config IRQ_UART0_RX
128	int "IRQ_UART0_RX"
129	default 10
130config IRQ_UART0_TX
131	int "IRQ_UART0_TX"
132	default 10
133config IRQ_UART1_RX
134	int "IRQ_UART1_RX"
135	default 10
136config IRQ_UART1_TX
137	int "IRQ_UART1_TX"
138	default 10
139config IRQ_OPTSEC
140	int "IRQ_OPTSEC"
141	default 11
142config IRQ_CNT
143	int "IRQ_CNT"
144	default 11
145config IRQ_MAC_RX
146	int "IRQ_MAC_RX"
147	default 11
148config IRQ_PORTH_INTA
149	int "IRQ_PORTH_INTA"
150	default 11
151config IRQ_MAC_TX
152	int "IRQ_MAC_TX/NFC"
153	default 11
154config IRQ_PORTH_INTB
155	int "IRQ_PORTH_INTB"
156	default 11
157config IRQ_TIMER0
158	int "IRQ_TIMER0"
159	default 8
160config IRQ_TIMER1
161	int "IRQ_TIMER1"
162	default 12
163config IRQ_TIMER2
164	int "IRQ_TIMER2"
165	default 12
166config IRQ_TIMER3
167	int "IRQ_TIMER3"
168	default 12
169config IRQ_TIMER4
170	int "IRQ_TIMER4"
171	default 12
172config IRQ_TIMER5
173	int "IRQ_TIMER5"
174	default 12
175config IRQ_TIMER6
176	int "IRQ_TIMER6"
177	default 12
178config IRQ_TIMER7
179	int "IRQ_TIMER7"
180	default 12
181config IRQ_PORTG_INTA
182	int "IRQ_PORTG_INTA"
183	default 12
184config IRQ_PORTG_INTB
185	int "IRQ_PORTG_INTB"
186	default 12
187config IRQ_MEM_DMA0
188	int "IRQ_MEM_DMA0"
189	default 13
190config IRQ_MEM_DMA1
191	int "IRQ_MEM_DMA1"
192	default 13
193config IRQ_WATCH
194	int "IRQ_WATCH"
195	default 13
196config IRQ_PORTF_INTA
197	int "IRQ_PORTF_INTA"
198	default 13
199config IRQ_PORTF_INTB
200	int "IRQ_PORTF_INTB"
201	default 13
202config IRQ_SPI0_ERROR
203	int "IRQ_SPI0_ERROR"
204	default 7
205config IRQ_SPI1_ERROR
206	int "IRQ_SPI1_ERROR"
207	default 7
208config IRQ_RSI_INT0
209	int "IRQ_RSI_INT0"
210	default 7
211config IRQ_RSI_INT1
212	int "IRQ_RSI_INT1"
213	default 7
214config IRQ_PWM_TRIP
215	int "IRQ_PWM_TRIP"
216	default 10
217config IRQ_PWM_SYNC
218	int "IRQ_PWM_SYNC"
219	default 10
220config IRQ_PTP_STAT
221	int "IRQ_PTP_STAT"
222	default 10
223
224	help
225	  Enter the priority numbers between 7-13 ONLY.  Others are Reserved.
226	  This applies to all the above.  It is not recommended to assign the
227	  highest priority number 7 to UART or any other device.
228
229endmenu
230
231endmenu
232
233endif
234