blob: 37dd6af19f4c0d0f215feb3ef9f3e1ea826c2281 [file] [log] [blame]
lowRISC Contributors802543a2019-08-31 12:12:56 +01001// Copyright lowRISC contributors.
2// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3// SPDX-License-Identifier: Apache-2.0
4//
5// ------------------- W A R N I N G: A U T O - G E N E R A T E D C O D E !! -------------------//
6// PLEASE DO NOT HAND-EDIT THIS FILE. IT HAS BEEN AUTO-GENERATED WITH THE FOLLOWING COMMAND:
7// util/topgen.py -t hw/top_earlgrey/doc/top_earlgrey.hjson --hjson-only -o hw/top_earlgrey/
8{
9 name: earlgrey
10 type: top
11 datawidth: "32"
12 clocks:
13 [
14 {
15 name: main
16 freq: "100000000"
17 }
18 ]
Timothy Chen3193b002019-10-04 16:56:05 -070019 resets:
20 [
21 {
22 name: lc
23 type: root
24 clk: main
25 }
26 {
27 name: sys
28 type: root
29 clk: main
30 }
31 {
32 name: spi_device
33 type: leaf
34 root: sys
35 clk: main
36 }
37 ]
lowRISC Contributors802543a2019-08-31 12:12:56 +010038 num_cores: "1"
39 module:
40 [
41 {
42 name: uart
43 type: uart
44 clock: main
Timothy Chen3193b002019-10-04 16:56:05 -070045 reset_connections:
46 {
47 rst_ni: sys
48 }
lowRISC Contributors802543a2019-08-31 12:12:56 +010049 base_addr: 0x40000000
50 size: 0x1000
51 ip_clock: main
52 bus_device: tlul
53 bus_host: none
54 available_input_list:
55 [
56 {
57 name: rx
58 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -070059 type: input
lowRISC Contributors802543a2019-08-31 12:12:56 +010060 }
61 ]
62 available_output_list:
63 [
64 {
65 name: tx
66 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -070067 type: output
lowRISC Contributors802543a2019-08-31 12:12:56 +010068 }
69 ]
70 available_inout_list: []
71 interrupt_list:
72 [
73 {
74 name: tx_watermark
75 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -070076 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +010077 }
78 {
79 name: rx_watermark
80 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -070081 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +010082 }
83 {
84 name: tx_overflow
85 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -070086 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +010087 }
88 {
89 name: rx_overflow
90 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -070091 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +010092 }
93 {
94 name: rx_frame_err
95 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -070096 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +010097 }
98 {
99 name: rx_break_err
100 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700101 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100102 }
103 {
104 name: rx_timeout
105 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700106 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100107 }
108 {
109 name: rx_parity_err
110 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700111 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100112 }
113 ]
Eunchan Kim2cfadab2019-10-02 12:41:11 -0700114 scan: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100115 }
116 {
117 name: gpio
118 type: gpio
119 clock: main
Timothy Chen3193b002019-10-04 16:56:05 -0700120 reset_connections:
121 {
122 rst_ni: sys
123 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100124 base_addr: 0x40010000
125 size: 0x1000
126 ip_clock: main
127 bus_device: tlul
128 bus_host: none
129 available_input_list: []
130 available_output_list: []
131 available_inout_list:
132 [
133 {
134 name: gpio
135 width: 32
Eunchan Kim632c6f72019-09-30 11:11:51 -0700136 type: inout
lowRISC Contributors802543a2019-08-31 12:12:56 +0100137 }
138 ]
139 interrupt_list:
140 [
141 {
142 name: gpio
143 width: 32
Eunchan Kim632c6f72019-09-30 11:11:51 -0700144 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100145 }
146 ]
Eunchan Kim2cfadab2019-10-02 12:41:11 -0700147 scan: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100148 }
149 {
150 name: spi_device
151 type: spi_device
152 clock: main
Timothy Chen3193b002019-10-04 16:56:05 -0700153 reset_connections:
154 {
155 rst_ni: spi_device
156 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100157 base_addr: 0x40020000
158 size: 0x1000
159 ip_clock: main
160 bus_device: tlul
161 bus_host: none
162 available_input_list:
163 [
164 {
165 name: sck
166 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700167 type: input
lowRISC Contributors802543a2019-08-31 12:12:56 +0100168 }
169 {
170 name: csb
171 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700172 type: input
lowRISC Contributors802543a2019-08-31 12:12:56 +0100173 }
174 {
175 name: mosi
176 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700177 type: input
lowRISC Contributors802543a2019-08-31 12:12:56 +0100178 }
179 ]
180 available_output_list:
181 [
182 {
183 name: miso
184 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700185 type: output
lowRISC Contributors802543a2019-08-31 12:12:56 +0100186 }
187 ]
188 available_inout_list: []
189 interrupt_list:
190 [
191 {
Eunchan Kim8c57fe32019-09-02 21:14:24 -0700192 name: rxf
lowRISC Contributors802543a2019-08-31 12:12:56 +0100193 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700194 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100195 }
196 {
197 name: rxlvl
198 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700199 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100200 }
201 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100202 name: txlvl
203 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700204 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100205 }
206 {
207 name: rxerr
208 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700209 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100210 }
Eunchan Kim546c0d42019-09-24 15:07:06 -0700211 {
212 name: rxoverflow
213 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700214 type: interrupt
Eunchan Kim546c0d42019-09-24 15:07:06 -0700215 }
216 {
217 name: txunderflow
218 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700219 type: interrupt
Eunchan Kim546c0d42019-09-24 15:07:06 -0700220 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100221 ]
Eunchan Kim2cfadab2019-10-02 12:41:11 -0700222 scan: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100223 }
224 {
225 name: flash_ctrl
226 type: flash_ctrl
227 clock: main
Timothy Chen3193b002019-10-04 16:56:05 -0700228 reset_connections:
229 {
230 rst_ni: lc
231 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100232 base_addr: 0x40030000
233 size: 0x1000
234 ip_clock: main
235 bus_device: tlul
236 bus_host: none
237 available_input_list: []
238 available_output_list: []
239 available_inout_list: []
240 interrupt_list:
241 [
242 {
243 name: prog_empty
244 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700245 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100246 }
247 {
248 name: prog_lvl
249 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700250 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100251 }
252 {
253 name: rd_full
254 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700255 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100256 }
257 {
258 name: rd_lvl
259 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700260 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100261 }
262 {
263 name: op_done
264 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700265 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100266 }
267 {
268 name: op_error
269 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700270 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100271 }
272 ]
Eunchan Kim2cfadab2019-10-02 12:41:11 -0700273 scan: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100274 }
275 {
276 name: rv_timer
277 type: rv_timer
278 clock: main
Timothy Chen3193b002019-10-04 16:56:05 -0700279 reset_connections:
280 {
281 rst_ni: sys
282 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100283 base_addr: 0x40080000
284 size: 0x1000
285 ip_clock: main
286 bus_device: tlul
287 bus_host: none
288 available_input_list: []
289 available_output_list: []
290 available_inout_list: []
291 interrupt_list:
292 [
293 {
294 name: timer_expired_0_0
295 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700296 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100297 }
298 ]
Eunchan Kim2cfadab2019-10-02 12:41:11 -0700299 scan: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100300 }
301 {
302 name: hmac
303 type: hmac
304 clock: main
Timothy Chen3193b002019-10-04 16:56:05 -0700305 reset_connections:
306 {
307 rst_ni: sys
308 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100309 base_addr: 0x40120000
310 size: 0x1000
311 ip_clock: main
312 bus_device: tlul
313 bus_host: none
314 available_input_list: []
315 available_output_list: []
316 available_inout_list: []
317 interrupt_list:
318 [
319 {
320 name: hmac_done
321 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700322 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100323 }
324 {
325 name: fifo_full
326 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700327 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100328 }
329 ]
Eunchan Kim2cfadab2019-10-02 12:41:11 -0700330 scan: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100331 }
332 {
333 name: rv_plic
334 type: rv_plic
335 clock: main
Timothy Chen3193b002019-10-04 16:56:05 -0700336 reset_connections:
337 {
338 rst_ni: sys
339 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100340 base_addr: 0x40090000
341 generated: "true"
342 parameter:
343 {
344 FIND_MAX: MATRIX
345 }
346 size: 0x1000
347 ip_clock: main
348 bus_device: tlul
349 bus_host: none
350 available_input_list: []
351 available_output_list: []
352 available_inout_list: []
353 interrupt_list: []
Eunchan Kim2cfadab2019-10-02 12:41:11 -0700354 scan: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100355 }
356 ]
357 memory:
358 [
359 {
360 name: rom
Timothy Chen3193b002019-10-04 16:56:05 -0700361 reset_connections:
362 {
363 rst_ni: sys
364 }
Timothy Chen44461032019-09-20 15:35:20 -0700365 type: rom
lowRISC Contributors802543a2019-08-31 12:12:56 +0100366 base_addr: 0x00008000
367 size: 0x2000
368 }
369 {
370 name: ram_main
Timothy Chen3193b002019-10-04 16:56:05 -0700371 reset_connections:
372 {
373 rst_ni: sys
374 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100375 type: ram_1p
376 base_addr: 0x10000000
377 size: 0x10000
378 }
379 {
380 name: eflash
Timothy Chen3193b002019-10-04 16:56:05 -0700381 reset_connections:
382 {
383 rst_ni: lc
384 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100385 type: eflash
386 base_addr: 0x20000000
387 size: 0x80000
388 }
389 ]
390 xbar:
391 [
392 {
393 name: main
394 clock: main
Timothy Chen3193b002019-10-04 16:56:05 -0700395 reset: sys
396 reset_connections:
397 {
398 rst_main_ni: sys
399 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100400 connections:
401 {
402 corei:
403 [
404 rom
405 debug_mem
406 ram_main
407 eflash
408 ]
409 cored:
410 [
411 rom
412 debug_mem
413 ram_main
414 eflash
415 uart
416 gpio
417 spi_device
418 flash_ctrl
419 rv_timer
420 hmac
421 rv_plic
422 ]
423 dm_sba:
424 [
425 rom
426 ram_main
427 eflash
428 uart
429 gpio
430 spi_device
431 flash_ctrl
432 rv_timer
433 hmac
434 rv_plic
435 ]
436 }
437 nodes:
438 [
439 {
440 name: corei
441 type: host
442 clock: main
Timothy Chen61e25e82019-09-13 14:04:10 -0700443 pipeline: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100444 inst_type: rv_core_ibex
Timothy Chen61e25e82019-09-13 14:04:10 -0700445 pipeline_byp: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100446 }
447 {
448 name: cored
449 type: host
450 clock: main
Timothy Chen61e25e82019-09-13 14:04:10 -0700451 pipeline: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100452 inst_type: rv_core_ibex
Timothy Chen61e25e82019-09-13 14:04:10 -0700453 pipeline_byp: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100454 }
455 {
456 name: dm_sba
457 type: host
458 clock: main
Timothy Chen61e25e82019-09-13 14:04:10 -0700459 pipeline_byp: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100460 inst_type: rv_dm
Timothy Chen61e25e82019-09-13 14:04:10 -0700461 pipeline: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100462 }
463 {
464 name: rom
465 type: device
466 clock: main
Timothy Chen61e25e82019-09-13 14:04:10 -0700467 pipeline: "false"
Timothy Chen44461032019-09-20 15:35:20 -0700468 inst_type: rom
lowRISC Contributors802543a2019-08-31 12:12:56 +0100469 base_addr: 0x00008000
470 size_byte: 0x2000
Timothy Chen61e25e82019-09-13 14:04:10 -0700471 pipeline_byp: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100472 }
473 {
474 name: debug_mem
475 type: device
476 clock: main
Timothy Chen61e25e82019-09-13 14:04:10 -0700477 pipeline_byp: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100478 inst_type: rv_dm
479 base_addr: 0x1A110000
480 size_byte: 0x1000
Timothy Chen61e25e82019-09-13 14:04:10 -0700481 pipeline: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100482 }
483 {
484 name: ram_main
485 type: device
486 clock: main
Timothy Chen61e25e82019-09-13 14:04:10 -0700487 pipeline: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100488 inst_type: ram_1p
489 base_addr: 0x10000000
490 size_byte: 0x10000
Timothy Chen61e25e82019-09-13 14:04:10 -0700491 pipeline_byp: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100492 }
493 {
494 name: eflash
495 type: device
496 clock: main
Timothy Chen61e25e82019-09-13 14:04:10 -0700497 pipeline: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100498 inst_type: eflash
499 base_addr: 0x20000000
500 size_byte: 0x80000
Timothy Chen61e25e82019-09-13 14:04:10 -0700501 pipeline_byp: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100502 }
503 {
504 name: uart
505 type: device
506 clock: main
Timothy Chen61e25e82019-09-13 14:04:10 -0700507 pipeline_byp: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100508 inst_type: uart
509 base_addr: 0x40000000
510 size_byte: 0x1000
Timothy Chen61e25e82019-09-13 14:04:10 -0700511 pipeline: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100512 }
513 {
514 name: gpio
515 type: device
516 clock: main
Timothy Chen61e25e82019-09-13 14:04:10 -0700517 pipeline_byp: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100518 inst_type: gpio
519 base_addr: 0x40010000
520 size_byte: 0x1000
Timothy Chen61e25e82019-09-13 14:04:10 -0700521 pipeline: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100522 }
523 {
524 name: spi_device
525 type: device
526 clock: main
Timothy Chen61e25e82019-09-13 14:04:10 -0700527 pipeline_byp: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100528 inst_type: spi_device
529 base_addr: 0x40020000
530 size_byte: 0x1000
Timothy Chen61e25e82019-09-13 14:04:10 -0700531 pipeline: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100532 }
533 {
534 name: flash_ctrl
535 type: device
536 clock: main
Timothy Chen61e25e82019-09-13 14:04:10 -0700537 pipeline_byp: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100538 inst_type: flash_ctrl
539 base_addr: 0x40030000
540 size_byte: 0x1000
Timothy Chen61e25e82019-09-13 14:04:10 -0700541 pipeline: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100542 }
543 {
544 name: rv_timer
545 type: device
546 clock: main
Timothy Chen61e25e82019-09-13 14:04:10 -0700547 pipeline_byp: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100548 inst_type: rv_timer
549 base_addr: 0x40080000
550 size_byte: 0x1000
Timothy Chen61e25e82019-09-13 14:04:10 -0700551 pipeline: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100552 }
553 {
554 name: hmac
555 type: device
556 clock: main
Timothy Chen61e25e82019-09-13 14:04:10 -0700557 pipeline_byp: "false"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100558 inst_type: hmac
559 base_addr: 0x40120000
560 size_byte: 0x1000
Timothy Chen61e25e82019-09-13 14:04:10 -0700561 pipeline: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100562 }
563 {
564 name: rv_plic
565 type: device
566 clock: main
567 inst_type: rv_plic
568 base_addr: 0x40090000
569 size_byte: 0x1000
Timothy Chen61e25e82019-09-13 14:04:10 -0700570 pipeline_byp: "false"
571 pipeline: "true"
lowRISC Contributors802543a2019-08-31 12:12:56 +0100572 }
573 ]
574 }
575 ]
576 interrupt_module:
577 [
578 gpio
579 uart
580 spi_device
581 flash_ctrl
582 hmac
583 ]
584 interrupt:
585 [
586 {
587 name: gpio_gpio
588 width: 32
Eunchan Kim632c6f72019-09-30 11:11:51 -0700589 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100590 }
591 {
592 name: uart_tx_watermark
593 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700594 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100595 }
596 {
597 name: uart_rx_watermark
598 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700599 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100600 }
601 {
602 name: uart_tx_overflow
603 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700604 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100605 }
606 {
607 name: uart_rx_overflow
608 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700609 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100610 }
611 {
612 name: uart_rx_frame_err
613 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700614 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100615 }
616 {
617 name: uart_rx_break_err
618 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700619 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100620 }
621 {
622 name: uart_rx_timeout
623 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700624 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100625 }
626 {
627 name: uart_rx_parity_err
628 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700629 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100630 }
631 {
Eunchan Kim8c57fe32019-09-02 21:14:24 -0700632 name: spi_device_rxf
lowRISC Contributors802543a2019-08-31 12:12:56 +0100633 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700634 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100635 }
636 {
637 name: spi_device_rxlvl
638 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700639 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100640 }
641 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100642 name: spi_device_txlvl
643 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700644 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100645 }
646 {
647 name: spi_device_rxerr
648 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700649 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100650 }
651 {
Eunchan Kim546c0d42019-09-24 15:07:06 -0700652 name: spi_device_rxoverflow
653 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700654 type: interrupt
Eunchan Kim546c0d42019-09-24 15:07:06 -0700655 }
656 {
657 name: spi_device_txunderflow
658 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700659 type: interrupt
Eunchan Kim546c0d42019-09-24 15:07:06 -0700660 }
661 {
lowRISC Contributors802543a2019-08-31 12:12:56 +0100662 name: flash_ctrl_prog_empty
663 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700664 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100665 }
666 {
667 name: flash_ctrl_prog_lvl
668 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700669 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100670 }
671 {
672 name: flash_ctrl_rd_full
673 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700674 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100675 }
676 {
677 name: flash_ctrl_rd_lvl
678 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700679 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100680 }
681 {
682 name: flash_ctrl_op_done
683 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700684 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100685 }
686 {
687 name: flash_ctrl_op_error
688 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700689 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100690 }
691 {
692 name: hmac_hmac_done
693 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700694 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100695 }
696 {
697 name: hmac_fifo_full
698 width: 1
Eunchan Kim632c6f72019-09-30 11:11:51 -0700699 type: interrupt
lowRISC Contributors802543a2019-08-31 12:12:56 +0100700 }
701 ]
Eunchan Kim632c6f72019-09-30 11:11:51 -0700702 pinmux:
703 {
704 dio_modules:
705 [
706 {
707 name: spi_device
708 pad:
709 [
710 ChB[0..3]
711 ]
712 }
713 {
714 name: uart.tx
715 pad:
716 [
717 ChA[0]
718 ]
719 }
720 ]
721 mio_modules:
722 [
723 uart
724 gpio
725 ]
726 nc_modules:
727 [
728 rv_timer
729 hmac
730 ]
731 dio:
732 [
733 {
734 name: spi_device_sck
735 width: 1
736 type: input
737 pad:
738 [
739 {
740 name: ChB
741 index: 0
742 }
743 ]
744 }
745 {
746 name: spi_device_csb
747 width: 1
748 type: input
749 pad:
750 [
751 {
752 name: ChB
753 index: 1
754 }
755 ]
756 }
757 {
758 name: spi_device_mosi
759 width: 1
760 type: input
761 pad:
762 [
763 {
764 name: ChB
765 index: 2
766 }
767 ]
768 }
769 {
770 name: spi_device_miso
771 width: 1
772 type: output
773 pad:
774 [
775 {
776 name: ChB
777 index: 3
778 }
779 ]
780 }
781 {
782 name: uart_tx
783 width: 1
784 type: output
785 pad:
786 [
787 {
788 name: ChA
789 index: 0
790 }
791 ]
792 }
793 ]
794 inputs:
795 [
796 {
797 name: uart_rx
798 width: 1
799 type: input
800 }
801 ]
802 outputs: []
803 inouts:
804 [
805 {
806 name: gpio_gpio
807 width: 32
808 type: inout
809 }
810 ]
811 }
812 padctrl:
813 {
814 attr_default:
815 [
816 STRONG
817 ]
818 pads:
819 [
820 {
821 name: ChA
822 type: IO_33V
823 count: 32
824 }
825 {
826 name: ChB
827 type: IO_33V
828 count: 4
829 attr:
830 [
831 KEEP
832 WEAK
833 ]
834 }
835 ]
836 }
lowRISC Contributors802543a2019-08-31 12:12:56 +0100837}