162306a36Sopenharmony_ci/***********************license start***************
262306a36Sopenharmony_ci * Author: Cavium Networks
362306a36Sopenharmony_ci *
462306a36Sopenharmony_ci * Contact: support@caviumnetworks.com
562306a36Sopenharmony_ci * This file is part of the OCTEON SDK
662306a36Sopenharmony_ci *
762306a36Sopenharmony_ci * Copyright (c) 2003-2009 Cavium Networks
862306a36Sopenharmony_ci *
962306a36Sopenharmony_ci * This file is free software; you can redistribute it and/or modify
1062306a36Sopenharmony_ci * it under the terms of the GNU General Public License, Version 2, as
1162306a36Sopenharmony_ci * published by the Free Software Foundation.
1262306a36Sopenharmony_ci *
1362306a36Sopenharmony_ci * This file is distributed in the hope that it will be useful, but
1462306a36Sopenharmony_ci * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
1562306a36Sopenharmony_ci * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or
1662306a36Sopenharmony_ci * NONINFRINGEMENT.  See the GNU General Public License for more
1762306a36Sopenharmony_ci * details.
1862306a36Sopenharmony_ci *
1962306a36Sopenharmony_ci * You should have received a copy of the GNU General Public License
2062306a36Sopenharmony_ci * along with this file; if not, write to the Free Software
2162306a36Sopenharmony_ci * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2262306a36Sopenharmony_ci * or visit http://www.gnu.org/licenses/.
2362306a36Sopenharmony_ci *
2462306a36Sopenharmony_ci * This file may also be available under a different license from Cavium.
2562306a36Sopenharmony_ci * Contact Cavium Networks for more information
2662306a36Sopenharmony_ci ***********************license end**************************************/
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci/**
2962306a36Sopenharmony_ci * Typedefs and defines for working with Octeon physical addresses.
3062306a36Sopenharmony_ci *
3162306a36Sopenharmony_ci */
3262306a36Sopenharmony_ci#ifndef __CVMX_ADDRESS_H__
3362306a36Sopenharmony_ci#define __CVMX_ADDRESS_H__
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci#if 0
3662306a36Sopenharmony_citypedef enum {
3762306a36Sopenharmony_ci	CVMX_MIPS_SPACE_XKSEG = 3LL,
3862306a36Sopenharmony_ci	CVMX_MIPS_SPACE_XKPHYS = 2LL,
3962306a36Sopenharmony_ci	CVMX_MIPS_SPACE_XSSEG = 1LL,
4062306a36Sopenharmony_ci	CVMX_MIPS_SPACE_XUSEG = 0LL
4162306a36Sopenharmony_ci} cvmx_mips_space_t;
4262306a36Sopenharmony_ci#endif
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_citypedef enum {
4562306a36Sopenharmony_ci	CVMX_MIPS_XKSEG_SPACE_KSEG0 = 0LL,
4662306a36Sopenharmony_ci	CVMX_MIPS_XKSEG_SPACE_KSEG1 = 1LL,
4762306a36Sopenharmony_ci	CVMX_MIPS_XKSEG_SPACE_SSEG = 2LL,
4862306a36Sopenharmony_ci	CVMX_MIPS_XKSEG_SPACE_KSEG3 = 3LL
4962306a36Sopenharmony_ci} cvmx_mips_xkseg_space_t;
5062306a36Sopenharmony_ci
5162306a36Sopenharmony_ci/* decodes <14:13> of a kseg3 window address */
5262306a36Sopenharmony_citypedef enum {
5362306a36Sopenharmony_ci	CVMX_ADD_WIN_SCR = 0L,
5462306a36Sopenharmony_ci	/* see cvmx_add_win_dma_dec_t for further decode */
5562306a36Sopenharmony_ci	CVMX_ADD_WIN_DMA = 1L,
5662306a36Sopenharmony_ci	CVMX_ADD_WIN_UNUSED = 2L,
5762306a36Sopenharmony_ci	CVMX_ADD_WIN_UNUSED2 = 3L
5862306a36Sopenharmony_ci} cvmx_add_win_dec_t;
5962306a36Sopenharmony_ci
6062306a36Sopenharmony_ci/* decode within DMA space */
6162306a36Sopenharmony_citypedef enum {
6262306a36Sopenharmony_ci	/*
6362306a36Sopenharmony_ci	 * Add store data to the write buffer entry, allocating it if
6462306a36Sopenharmony_ci	 * necessary.
6562306a36Sopenharmony_ci	 */
6662306a36Sopenharmony_ci	CVMX_ADD_WIN_DMA_ADD = 0L,
6762306a36Sopenharmony_ci	/* send out the write buffer entry to DRAM */
6862306a36Sopenharmony_ci	CVMX_ADD_WIN_DMA_SENDMEM = 1L,
6962306a36Sopenharmony_ci	/* store data must be normal DRAM memory space address in this case */
7062306a36Sopenharmony_ci	/* send out the write buffer entry as an IOBDMA command */
7162306a36Sopenharmony_ci	CVMX_ADD_WIN_DMA_SENDDMA = 2L,
7262306a36Sopenharmony_ci	/* see CVMX_ADD_WIN_DMA_SEND_DEC for data contents */
7362306a36Sopenharmony_ci	/* send out the write buffer entry as an IO write */
7462306a36Sopenharmony_ci	CVMX_ADD_WIN_DMA_SENDIO = 3L,
7562306a36Sopenharmony_ci	/* store data must be normal IO space address in this case */
7662306a36Sopenharmony_ci	/* send out a single-tick command on the NCB bus */
7762306a36Sopenharmony_ci	CVMX_ADD_WIN_DMA_SENDSINGLE = 4L,
7862306a36Sopenharmony_ci	/* no write buffer data needed/used */
7962306a36Sopenharmony_ci} cvmx_add_win_dma_dec_t;
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_ci/*
8262306a36Sopenharmony_ci *   Physical Address Decode
8362306a36Sopenharmony_ci *
8462306a36Sopenharmony_ci * Octeon-I HW never interprets this X (<39:36> reserved
8562306a36Sopenharmony_ci * for future expansion), software should set to 0.
8662306a36Sopenharmony_ci *
8762306a36Sopenharmony_ci *  - 0x0 XXX0 0000 0000 to	 DRAM	      Cached
8862306a36Sopenharmony_ci *  - 0x0 XXX0 0FFF FFFF
8962306a36Sopenharmony_ci *
9062306a36Sopenharmony_ci *  - 0x0 XXX0 1000 0000 to	 Boot Bus     Uncached	(Converted to 0x1 00X0 1000 0000
9162306a36Sopenharmony_ci *  - 0x0 XXX0 1FFF FFFF	 + EJTAG			   to 0x1 00X0 1FFF FFFF)
9262306a36Sopenharmony_ci *
9362306a36Sopenharmony_ci *  - 0x0 XXX0 2000 0000 to	 DRAM	      Cached
9462306a36Sopenharmony_ci *  - 0x0 XXXF FFFF FFFF
9562306a36Sopenharmony_ci *
9662306a36Sopenharmony_ci *  - 0x1 00X0 0000 0000 to	 Boot Bus     Uncached
9762306a36Sopenharmony_ci *  - 0x1 00XF FFFF FFFF
9862306a36Sopenharmony_ci *
9962306a36Sopenharmony_ci *  - 0x1 01X0 0000 0000 to	 Other NCB    Uncached
10062306a36Sopenharmony_ci *  - 0x1 FFXF FFFF FFFF	 devices
10162306a36Sopenharmony_ci *
10262306a36Sopenharmony_ci * Decode of all Octeon addresses
10362306a36Sopenharmony_ci */
10462306a36Sopenharmony_citypedef union {
10562306a36Sopenharmony_ci
10662306a36Sopenharmony_ci	uint64_t u64;
10762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
10862306a36Sopenharmony_ci	/* mapped or unmapped virtual address */
10962306a36Sopenharmony_ci	struct {
11062306a36Sopenharmony_ci		uint64_t R:2;
11162306a36Sopenharmony_ci		uint64_t offset:62;
11262306a36Sopenharmony_ci	} sva;
11362306a36Sopenharmony_ci
11462306a36Sopenharmony_ci	/* mapped USEG virtual addresses (typically) */
11562306a36Sopenharmony_ci	struct {
11662306a36Sopenharmony_ci		uint64_t zeroes:33;
11762306a36Sopenharmony_ci		uint64_t offset:31;
11862306a36Sopenharmony_ci	} suseg;
11962306a36Sopenharmony_ci
12062306a36Sopenharmony_ci	/* mapped or unmapped virtual address */
12162306a36Sopenharmony_ci	struct {
12262306a36Sopenharmony_ci		uint64_t ones:33;
12362306a36Sopenharmony_ci		uint64_t sp:2;
12462306a36Sopenharmony_ci		uint64_t offset:29;
12562306a36Sopenharmony_ci	} sxkseg;
12662306a36Sopenharmony_ci
12762306a36Sopenharmony_ci	/*
12862306a36Sopenharmony_ci	 * physical address accessed through xkphys unmapped virtual
12962306a36Sopenharmony_ci	 * address.
13062306a36Sopenharmony_ci	 */
13162306a36Sopenharmony_ci	struct {
13262306a36Sopenharmony_ci		uint64_t R:2;	/* CVMX_MIPS_SPACE_XKPHYS in this case */
13362306a36Sopenharmony_ci		uint64_t cca:3; /* ignored by octeon */
13462306a36Sopenharmony_ci		uint64_t mbz:10;
13562306a36Sopenharmony_ci		uint64_t pa:49; /* physical address */
13662306a36Sopenharmony_ci	} sxkphys;
13762306a36Sopenharmony_ci
13862306a36Sopenharmony_ci	/* physical address */
13962306a36Sopenharmony_ci	struct {
14062306a36Sopenharmony_ci		uint64_t mbz:15;
14162306a36Sopenharmony_ci		/* if set, the address is uncached and resides on MCB bus */
14262306a36Sopenharmony_ci		uint64_t is_io:1;
14362306a36Sopenharmony_ci		/*
14462306a36Sopenharmony_ci		 * the hardware ignores this field when is_io==0, else
14562306a36Sopenharmony_ci		 * device ID.
14662306a36Sopenharmony_ci		 */
14762306a36Sopenharmony_ci		uint64_t did:8;
14862306a36Sopenharmony_ci		/* the hardware ignores <39:36> in Octeon I */
14962306a36Sopenharmony_ci		uint64_t unaddr:4;
15062306a36Sopenharmony_ci		uint64_t offset:36;
15162306a36Sopenharmony_ci	} sphys;
15262306a36Sopenharmony_ci
15362306a36Sopenharmony_ci	/* physical mem address */
15462306a36Sopenharmony_ci	struct {
15562306a36Sopenharmony_ci		/* technically, <47:40> are dont-cares */
15662306a36Sopenharmony_ci		uint64_t zeroes:24;
15762306a36Sopenharmony_ci		/* the hardware ignores <39:36> in Octeon I */
15862306a36Sopenharmony_ci		uint64_t unaddr:4;
15962306a36Sopenharmony_ci		uint64_t offset:36;
16062306a36Sopenharmony_ci	} smem;
16162306a36Sopenharmony_ci
16262306a36Sopenharmony_ci	/* physical IO address */
16362306a36Sopenharmony_ci	struct {
16462306a36Sopenharmony_ci		uint64_t mem_region:2;
16562306a36Sopenharmony_ci		uint64_t mbz:13;
16662306a36Sopenharmony_ci		/* 1 in this case */
16762306a36Sopenharmony_ci		uint64_t is_io:1;
16862306a36Sopenharmony_ci		/*
16962306a36Sopenharmony_ci		 * The hardware ignores this field when is_io==0, else
17062306a36Sopenharmony_ci		 * device ID.
17162306a36Sopenharmony_ci		 */
17262306a36Sopenharmony_ci		uint64_t did:8;
17362306a36Sopenharmony_ci		/* the hardware ignores <39:36> in Octeon I */
17462306a36Sopenharmony_ci		uint64_t unaddr:4;
17562306a36Sopenharmony_ci		uint64_t offset:36;
17662306a36Sopenharmony_ci	} sio;
17762306a36Sopenharmony_ci
17862306a36Sopenharmony_ci	/*
17962306a36Sopenharmony_ci	 * Scratchpad virtual address - accessed through a window at
18062306a36Sopenharmony_ci	 * the end of kseg3
18162306a36Sopenharmony_ci	 */
18262306a36Sopenharmony_ci	struct {
18362306a36Sopenharmony_ci		uint64_t ones:49;
18462306a36Sopenharmony_ci		/* CVMX_ADD_WIN_SCR (0) in this case */
18562306a36Sopenharmony_ci		cvmx_add_win_dec_t csrdec:2;
18662306a36Sopenharmony_ci		uint64_t addr:13;
18762306a36Sopenharmony_ci	} sscr;
18862306a36Sopenharmony_ci
18962306a36Sopenharmony_ci	/* there should only be stores to IOBDMA space, no loads */
19062306a36Sopenharmony_ci	/*
19162306a36Sopenharmony_ci	 * IOBDMA virtual address - accessed through a window at the
19262306a36Sopenharmony_ci	 * end of kseg3
19362306a36Sopenharmony_ci	 */
19462306a36Sopenharmony_ci	struct {
19562306a36Sopenharmony_ci		uint64_t ones:49;
19662306a36Sopenharmony_ci		uint64_t csrdec:2;	/* CVMX_ADD_WIN_DMA (1) in this case */
19762306a36Sopenharmony_ci		uint64_t unused2:3;
19862306a36Sopenharmony_ci		uint64_t type:3;
19962306a36Sopenharmony_ci		uint64_t addr:7;
20062306a36Sopenharmony_ci	} sdma;
20162306a36Sopenharmony_ci
20262306a36Sopenharmony_ci	struct {
20362306a36Sopenharmony_ci		uint64_t didspace:24;
20462306a36Sopenharmony_ci		uint64_t unused:40;
20562306a36Sopenharmony_ci	} sfilldidspace;
20662306a36Sopenharmony_ci#else
20762306a36Sopenharmony_ci	struct {
20862306a36Sopenharmony_ci		uint64_t offset:62;
20962306a36Sopenharmony_ci		uint64_t R:2;
21062306a36Sopenharmony_ci	} sva;
21162306a36Sopenharmony_ci
21262306a36Sopenharmony_ci	struct {
21362306a36Sopenharmony_ci		uint64_t offset:31;
21462306a36Sopenharmony_ci		uint64_t zeroes:33;
21562306a36Sopenharmony_ci	} suseg;
21662306a36Sopenharmony_ci
21762306a36Sopenharmony_ci	struct {
21862306a36Sopenharmony_ci		uint64_t offset:29;
21962306a36Sopenharmony_ci		uint64_t sp:2;
22062306a36Sopenharmony_ci		uint64_t ones:33;
22162306a36Sopenharmony_ci	} sxkseg;
22262306a36Sopenharmony_ci
22362306a36Sopenharmony_ci	struct {
22462306a36Sopenharmony_ci		uint64_t pa:49;
22562306a36Sopenharmony_ci		uint64_t mbz:10;
22662306a36Sopenharmony_ci		uint64_t cca:3;
22762306a36Sopenharmony_ci		uint64_t R:2;
22862306a36Sopenharmony_ci	} sxkphys;
22962306a36Sopenharmony_ci
23062306a36Sopenharmony_ci	struct {
23162306a36Sopenharmony_ci		uint64_t offset:36;
23262306a36Sopenharmony_ci		uint64_t unaddr:4;
23362306a36Sopenharmony_ci		uint64_t did:8;
23462306a36Sopenharmony_ci		uint64_t is_io:1;
23562306a36Sopenharmony_ci		uint64_t mbz:15;
23662306a36Sopenharmony_ci	} sphys;
23762306a36Sopenharmony_ci
23862306a36Sopenharmony_ci	struct {
23962306a36Sopenharmony_ci		uint64_t offset:36;
24062306a36Sopenharmony_ci		uint64_t unaddr:4;
24162306a36Sopenharmony_ci		uint64_t zeroes:24;
24262306a36Sopenharmony_ci	} smem;
24362306a36Sopenharmony_ci
24462306a36Sopenharmony_ci	struct {
24562306a36Sopenharmony_ci		uint64_t offset:36;
24662306a36Sopenharmony_ci		uint64_t unaddr:4;
24762306a36Sopenharmony_ci		uint64_t did:8;
24862306a36Sopenharmony_ci		uint64_t is_io:1;
24962306a36Sopenharmony_ci		uint64_t mbz:13;
25062306a36Sopenharmony_ci		uint64_t mem_region:2;
25162306a36Sopenharmony_ci	} sio;
25262306a36Sopenharmony_ci
25362306a36Sopenharmony_ci	struct {
25462306a36Sopenharmony_ci		uint64_t addr:13;
25562306a36Sopenharmony_ci		cvmx_add_win_dec_t csrdec:2;
25662306a36Sopenharmony_ci		uint64_t ones:49;
25762306a36Sopenharmony_ci	} sscr;
25862306a36Sopenharmony_ci
25962306a36Sopenharmony_ci	struct {
26062306a36Sopenharmony_ci		uint64_t addr:7;
26162306a36Sopenharmony_ci		uint64_t type:3;
26262306a36Sopenharmony_ci		uint64_t unused2:3;
26362306a36Sopenharmony_ci		uint64_t csrdec:2;
26462306a36Sopenharmony_ci		uint64_t ones:49;
26562306a36Sopenharmony_ci	} sdma;
26662306a36Sopenharmony_ci
26762306a36Sopenharmony_ci	struct {
26862306a36Sopenharmony_ci		uint64_t unused:40;
26962306a36Sopenharmony_ci		uint64_t didspace:24;
27062306a36Sopenharmony_ci	} sfilldidspace;
27162306a36Sopenharmony_ci#endif
27262306a36Sopenharmony_ci
27362306a36Sopenharmony_ci} cvmx_addr_t;
27462306a36Sopenharmony_ci
27562306a36Sopenharmony_ci/* These macros for used by 32 bit applications */
27662306a36Sopenharmony_ci
27762306a36Sopenharmony_ci#define CVMX_MIPS32_SPACE_KSEG0 1l
27862306a36Sopenharmony_ci#define CVMX_ADD_SEG32(segment, add) \
27962306a36Sopenharmony_ci	(((int32_t)segment << 31) | (int32_t)(add))
28062306a36Sopenharmony_ci
28162306a36Sopenharmony_ci/*
28262306a36Sopenharmony_ci * Currently all IOs are performed using XKPHYS addressing. Linux uses
28362306a36Sopenharmony_ci * the CvmMemCtl register to enable XKPHYS addressing to IO space from
28462306a36Sopenharmony_ci * user mode.  Future OSes may need to change the upper bits of IO
28562306a36Sopenharmony_ci * addresses. The following define controls the upper two bits for all
28662306a36Sopenharmony_ci * IO addresses generated by the simple executive library.
28762306a36Sopenharmony_ci */
28862306a36Sopenharmony_ci#define CVMX_IO_SEG CVMX_MIPS_SPACE_XKPHYS
28962306a36Sopenharmony_ci
29062306a36Sopenharmony_ci/* These macros simplify the process of creating common IO addresses */
29162306a36Sopenharmony_ci#define CVMX_ADD_SEG(segment, add) ((((uint64_t)segment) << 62) | (add))
29262306a36Sopenharmony_ci#ifndef CVMX_ADD_IO_SEG
29362306a36Sopenharmony_ci#define CVMX_ADD_IO_SEG(add) CVMX_ADD_SEG(CVMX_IO_SEG, (add))
29462306a36Sopenharmony_ci#endif
29562306a36Sopenharmony_ci#define CVMX_ADDR_DIDSPACE(did) (((CVMX_IO_SEG) << 22) | ((1ULL) << 8) | (did))
29662306a36Sopenharmony_ci#define CVMX_ADDR_DID(did) (CVMX_ADDR_DIDSPACE(did) << 40)
29762306a36Sopenharmony_ci#define CVMX_FULL_DID(did, subdid) (((did) << 3) | (subdid))
29862306a36Sopenharmony_ci
29962306a36Sopenharmony_ci  /* from include/ncb_rsl_id.v */
30062306a36Sopenharmony_ci#define CVMX_OCT_DID_MIS 0ULL	/* misc stuff */
30162306a36Sopenharmony_ci#define CVMX_OCT_DID_GMX0 1ULL
30262306a36Sopenharmony_ci#define CVMX_OCT_DID_GMX1 2ULL
30362306a36Sopenharmony_ci#define CVMX_OCT_DID_PCI 3ULL
30462306a36Sopenharmony_ci#define CVMX_OCT_DID_KEY 4ULL
30562306a36Sopenharmony_ci#define CVMX_OCT_DID_FPA 5ULL
30662306a36Sopenharmony_ci#define CVMX_OCT_DID_DFA 6ULL
30762306a36Sopenharmony_ci#define CVMX_OCT_DID_ZIP 7ULL
30862306a36Sopenharmony_ci#define CVMX_OCT_DID_RNG 8ULL
30962306a36Sopenharmony_ci#define CVMX_OCT_DID_IPD 9ULL
31062306a36Sopenharmony_ci#define CVMX_OCT_DID_PKT 10ULL
31162306a36Sopenharmony_ci#define CVMX_OCT_DID_TIM 11ULL
31262306a36Sopenharmony_ci#define CVMX_OCT_DID_TAG 12ULL
31362306a36Sopenharmony_ci  /* the rest are not on the IO bus */
31462306a36Sopenharmony_ci#define CVMX_OCT_DID_L2C 16ULL
31562306a36Sopenharmony_ci#define CVMX_OCT_DID_LMC 17ULL
31662306a36Sopenharmony_ci#define CVMX_OCT_DID_SPX0 18ULL
31762306a36Sopenharmony_ci#define CVMX_OCT_DID_SPX1 19ULL
31862306a36Sopenharmony_ci#define CVMX_OCT_DID_PIP 20ULL
31962306a36Sopenharmony_ci#define CVMX_OCT_DID_ASX0 22ULL
32062306a36Sopenharmony_ci#define CVMX_OCT_DID_ASX1 23ULL
32162306a36Sopenharmony_ci#define CVMX_OCT_DID_IOB 30ULL
32262306a36Sopenharmony_ci
32362306a36Sopenharmony_ci#define CVMX_OCT_DID_PKT_SEND	    CVMX_FULL_DID(CVMX_OCT_DID_PKT, 2ULL)
32462306a36Sopenharmony_ci#define CVMX_OCT_DID_TAG_SWTAG	    CVMX_FULL_DID(CVMX_OCT_DID_TAG, 0ULL)
32562306a36Sopenharmony_ci#define CVMX_OCT_DID_TAG_TAG1	    CVMX_FULL_DID(CVMX_OCT_DID_TAG, 1ULL)
32662306a36Sopenharmony_ci#define CVMX_OCT_DID_TAG_TAG2	    CVMX_FULL_DID(CVMX_OCT_DID_TAG, 2ULL)
32762306a36Sopenharmony_ci#define CVMX_OCT_DID_TAG_TAG3	    CVMX_FULL_DID(CVMX_OCT_DID_TAG, 3ULL)
32862306a36Sopenharmony_ci#define CVMX_OCT_DID_TAG_NULL_RD    CVMX_FULL_DID(CVMX_OCT_DID_TAG, 4ULL)
32962306a36Sopenharmony_ci#define CVMX_OCT_DID_TAG_CSR	    CVMX_FULL_DID(CVMX_OCT_DID_TAG, 7ULL)
33062306a36Sopenharmony_ci#define CVMX_OCT_DID_FAU_FAI	    CVMX_FULL_DID(CVMX_OCT_DID_IOB, 0ULL)
33162306a36Sopenharmony_ci#define CVMX_OCT_DID_TIM_CSR	    CVMX_FULL_DID(CVMX_OCT_DID_TIM, 0ULL)
33262306a36Sopenharmony_ci#define CVMX_OCT_DID_KEY_RW	    CVMX_FULL_DID(CVMX_OCT_DID_KEY, 0ULL)
33362306a36Sopenharmony_ci#define CVMX_OCT_DID_PCI_6	    CVMX_FULL_DID(CVMX_OCT_DID_PCI, 6ULL)
33462306a36Sopenharmony_ci#define CVMX_OCT_DID_MIS_BOO	    CVMX_FULL_DID(CVMX_OCT_DID_MIS, 0ULL)
33562306a36Sopenharmony_ci#define CVMX_OCT_DID_PCI_RML	    CVMX_FULL_DID(CVMX_OCT_DID_PCI, 0ULL)
33662306a36Sopenharmony_ci#define CVMX_OCT_DID_IPD_CSR	    CVMX_FULL_DID(CVMX_OCT_DID_IPD, 7ULL)
33762306a36Sopenharmony_ci#define CVMX_OCT_DID_DFA_CSR	    CVMX_FULL_DID(CVMX_OCT_DID_DFA, 7ULL)
33862306a36Sopenharmony_ci#define CVMX_OCT_DID_MIS_CSR	    CVMX_FULL_DID(CVMX_OCT_DID_MIS, 7ULL)
33962306a36Sopenharmony_ci#define CVMX_OCT_DID_ZIP_CSR	    CVMX_FULL_DID(CVMX_OCT_DID_ZIP, 0ULL)
34062306a36Sopenharmony_ci
34162306a36Sopenharmony_ci#endif /* __CVMX_ADDRESS_H__ */
342