Debian Codegraph @

src/soc/mediatek/mt8189/lastbus.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */
2
3 #include <device/mmio.h>
4 #include <soc/addressmap.h>
5 #include <soc/lastbus_v2.h>
6
7 static const struct lastbus_monitor monitors[] = {
8 {
9 .name = "debug_ctrl_ao_INFRA_AO",
10 .base = INFRA_AO_DEBUG_BASE,
11 .num_ports = 43,
12 .bus_freq_mhz = 78,
13 },
14 {
15 .name = "debug_ctrl_ao_INFRA_AO1",
16 .base = INFRA_AO1_DEBUG_BASE,
17 .num_ports = 12,
18 .bus_freq_mhz = 78,
19 },
20 {
21 .name = "debug_ctrl_ao_EMISYS_NAO",
22 .base = EMISYS_NAO_DEBUG_BASE,
23 .num_ports = 11,
24 .bus_freq_mhz = 728,
25 },
26 {
27 .name = "debug_ctrl_ao_PERI_PAR_AO",
28 .base = PERI_PAR_AO_DEBUG_BASE,
29 .num_ports = 23,
30 .bus_freq_mhz = 78,
31 },
32 {
33 .name = "debug_ctrl_ao_VLP_AO",
34 .base = VLP_AO_DEBUG_BASE,
35 .num_ports = 12,
36 .bus_freq_mhz = 156,
37 },
38 };
39
40 const struct lastbus_config lastbus_cfg = {
41 .latch_platform = "MT8189",
42 .timeout_ms = 200,
43 .timeout_type = 0,
44 .num_used_monitors = ARRAY_SIZE(monitors),
45 .monitors = monitors,
46 };