blob: 2463c74675ac6f6a2fa9464adc6492daffcc75b6 [file] [log] [blame]
Pirmin Vogel6963b2e2020-11-13 19:07:39 +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{ name: "peri",
5 type: "xbar",
6 clock_primary: "clk_peri_i", // Main clock, used in sockets
7 reset_primary: "rst_peri_ni", // Main reset, used in sockets
8
9 nodes: [
10 { name: "main",
11 type: "host",
12 clock: "clk_peri_i",
13 reset: "rst_peri_ni",
14 xbar: "true",
15 pipeline: "false"
16
17 },
18 { name: "uart",
19 type: "device",
20 clock: "clk_peri_i",
21 reset: "rst_peri_ni",
22 pipeline: "false"
23 },
24 { name: "gpio",
25 type: "device",
26 clock: "clk_peri_i",
27 reset: "rst_peri_ni",
28 pipeline: "false"
29 },
30 { name: "spi_device",
31 type: "device",
32 clock: "clk_peri_i",
33 reset: "rst_peri_ni",
34 pipeline: "false"
35 },
36 { name: "rv_timer",
37 type: "device",
38 clock: "clk_peri_i",
39 reset: "rst_peri_ni",
40 pipeline: "false"
41 },
42 { name: "usbdev",
43 type: "device",
44 clock: "clk_peri_i",
45 reset: "rst_peri_ni",
46 pipeline: "false"
47 },
48 { name: "pwrmgr",
49 type: "device",
50 clock: "clk_peri_i",
51 reset: "rst_peri_ni",
52 pipeline: "false"
53 },
54 { name: "rstmgr",
55 type: "device",
56 clock: "clk_peri_i",
57 reset: "rst_peri_ni",
58 pipeline: "false"
59 },
60 { name: "clkmgr",
61 type: "device",
62 clock: "clk_peri_i",
63 reset: "rst_peri_ni",
64 pipeline: "false"
65 },
66 { name: "ram_ret",
67 type: "device",
68 clock: "clk_peri_i",
69 reset: "rst_peri_ni",
70 pipeline: "false",
71 },
Pirmin Vogel6963b2e2020-11-13 19:07:39 +010072 { name: "lc_ctrl",
73 type: "device",
74 clock: "clk_peri_i",
75 reset: "rst_peri_ni",
76 pipeline: "false"
77 },
78 { name: "sensor_ctrl",
79 type: "device",
80 clock: "clk_peri_i",
81 reset: "rst_peri_ni",
82 pipeline: "false",
83 },
84 { name: "alert_handler",
85 type: "device",
86 clock: "clk_peri_i",
87 reset: "rst_peri_ni",
88 pipeline: "false",
89 },
90 { name: "sram_ctrl_ret",
91 type: "device",
92 clock: "clk_peri_i",
93 reset: "rst_peri_ni",
94 pipeline: "false"
95 },
96 // dummy module to capture the alert handler escalation signals
97 // and test them by converting them into IRQs
98 { name: "nmi_gen",
99 type: "device",
100 clock: "clk_peri_i",
101 reset: "rst_peri_ni",
102 pipeline: "false",
103 }
104 { name: "ast_wrapper",
105 type: "device",
106 clock: "clk_peri_i",
107 reset: "rst_peri_ni",
108 pipeline: "false",
109 stub: true,
110 addr_range:
111 [
112 {
113 base_addr: 0x40180000
114 size_byte: 0x1000
115 }
116 ]
117 },
118 ],
119 connections: {
120 main: ["uart", "gpio", "spi_device", "rv_timer", "usbdev", "pwrmgr", "rstmgr", "clkmgr",
Pirmin Vogel7f0d0be2020-12-23 11:57:32 +0100121 "ram_ret", "lc_ctrl", "sensor_ctrl", "alert_handler", "nmi_gen",
Pirmin Vogel6963b2e2020-11-13 19:07:39 +0100122 "ast_wrapper", "sram_ctrl_ret"],
123 },
124}