1 /*
2  * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef _HARDWARE_STRUCTS_PSM_H
8 #define _HARDWARE_STRUCTS_PSM_H
9 
10 #include "hardware/address_mapped.h"
11 #include "hardware/platform_defs.h"
12 #include "hardware/regs/psm.h"
13 
14 typedef struct {
15     io_rw_32 frce_on;
16     io_rw_32 frce_off;
17     io_rw_32 wdsel;
18     io_rw_32 done;
19 } psm_hw_t;
20 
21 #define psm_hw ((psm_hw_t *const)PSM_BASE)
22 
23 #endif
24