xref: /netbsd-src/sys/arch/mips/cavium/dev/octeon_l2creg.h (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1 /*	$NetBSD: octeon_l2creg.h,v 1.1 2015/04/29 08:32:01 hikaru Exp $	*/
2 
3 /*
4  * Copyright (c) 2007 Internet Initiative Japan, Inc.
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  * 1. Redistributions of source code must retain the above copyright
11  *    notice, this list of conditions and the following disclaimer.
12  * 2. Redistributions in binary form must reproduce the above copyright
13  *    notice, this list of conditions and the following disclaimer in the
14  *    documentation and/or other materials provided with the distribution.
15  *
16  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26  * SUCH DAMAGE.
27  */
28 
29 /*
30  * L2C Registers
31  */
32 
33 #ifndef _CN30XXL2CREG_H_
34 #define _CN30XXL2CREG_H_
35 
36 #define	L2C_CFG					0x0001180080000000ULL
37 #define	L2T_ERR					0x0001180080000008ULL
38 #define	L2D_ERR					0x0001180080000010ULL
39 #define	L2D_FADR				0x0001180080000018ULL
40 #define	L2D_FSYN0				0x0001180080000020ULL
41 #define	L2D_FSYN1				0x0001180080000028ULL
42 #define	L2C_DBG					0x0001180080000030ULL
43 #define	L2C_LFB0				0x0001180080000038ULL
44 #define	L2C_LFB1				0x0001180080000040ULL
45 #define	L2C_LFB2				0x0001180080000048ULL
46 #define	L2C_DUT					0x0001180080000050ULL
47 #define	L2C_LCKBASE				0x0001180080000058ULL
48 #define	L2C_LCKOFF				0x0001180080000060ULL
49 #define	L2C_SPAR0				0x0001180080000068ULL
50 #define	L2C_SPAR4				0x0001180080000088ULL
51 #define	L2C_PFCTL				0x0001180080000090ULL
52 #define	L2C_PFC0				0x0001180080000098ULL
53 #define	L2C_PFC1				0x00011800800000a0ULL
54 #define	L2C_PFC2				0x00011800800000a8ULL
55 #define	L2C_PFC3				0x00011800800000b0ULL
56 #define	L2C_LFB3				0x00011800800000b8ULL
57 #define	L2D_BST0				0x0001180080000780ULL
58 #define	L2D_BST1				0x0001180080000788ULL
59 #define	L2D_BST2				0x0001180080000790ULL
60 #define	L2D_BST3				0x0001180080000798ULL
61 #define	L2D_FUS0				0x00011800800007a0ULL
62 #define	L2D_FUS1				0x00011800800007a8ULL
63 #define	L2D_FUS2				0x00011800800007b0ULL
64 #define	L2D_FUS3				0x00011800800007b8ULL
65 #define	L2C_BST2				0x00011800800007e8ULL
66 #define	L2C_BST1				0x00011800800007f0ULL
67 #define	L2C_BST0				0x00011800800007f8ULL
68 
69 #endif /* _CN30XXL2CREG_H_ */
70