1 /*
2  * Copyright 2020 Broadcom
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef SOC_H
8 #define SOC_H
9 
10 #include <zephyr/sys/util_macro.h>
11 
12 /* Registers block */
13 #define CRMU_MCU_EXTRA_EVENT_STATUS	0x40070054
14 #define CRMU_MCU_EXTRA_EVENT_CLEAR	0x4007005c
15 #define CRMU_MCU_EXTRA_EVENT_MASK	0x40070064
16 #define PCIE0_PERST_INTR		BIT(4)
17 #define PCIE0_PERST_INB_INTR		BIT(6)
18 
19 #define PCIE_PERSTB_INTR_CTL_STS	0x400700f0
20 #define PCIE0_PERST_FE_INTR		BIT(1)
21 #define PCIE0_PERST_INB_FE_INTR		BIT(3)
22 
23 #define PMON_LITE_PCIE_BASE			0x48180000
24 
25 #define LS_ICFG_PMON_LITE_CLK_CTRL		0x482f00bc
26 #define PCIE_PMON_LITE_CLK_ENABLE		(BIT(0) | BIT(2))
27 #define LS_ICFG_PMON_LITE_SW_RESETN		0x482f0120
28 #define PCIE_PMON_LITE_SW_RESETN		BIT(0)
29 
30 #endif
31