1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2020 Marvell International Ltd.
4  *
5  * Configuration and status register (CSR) type definitions for
6  * Octeon dbg.
7  */
8 
9 #ifndef __CVMX_DBG_DEFS_H__
10 #define __CVMX_DBG_DEFS_H__
11 
12 #define CVMX_DBG_DATA (0x00011F00000001E8ull)
13 
14 /**
15  * cvmx_dbg_data
16  *
17  * DBG_DATA = Debug Data Register
18  *
19  * Value returned on the debug-data lines from the RSLs
20  */
21 union cvmx_dbg_data {
22 	u64 u64;
23 	struct cvmx_dbg_data_s {
24 		u64 reserved_23_63 : 41;
25 		u64 c_mul : 5;
26 		u64 dsel_ext : 1;
27 		u64 data : 17;
28 	} s;
29 };
30 
31 typedef union cvmx_dbg_data cvmx_dbg_data_t;
32 
33 #endif
34