blob: 9f91feec18b7e4a04eba47c11d4afb92abff9752 [file] [log] [blame]
Aaron Williamsb9f71f72020-12-11 17:05:29 +01001/* 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 */
21union 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
31typedef union cvmx_dbg_data cvmx_dbg_data_t;
32
33#endif