summaryrefslogtreecommitdiff
path: root/arch/mips/mach-mscc/include/mach/ocelot/ocelot.h
blob: 72b07c33cd0afb5f05a6bdf55aab4e4ec07ec863 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
 * Microsemi Ocelot Switch driver
 *
 * Copyright (c) 2018 Microsemi Corporation
 */

#ifndef _MSCC_OCELOT_H_
#define _MSCC_OCELOT_H_

/*
 * Target offset base(s)
 */
#define MSCC_IO_ORIGIN1_OFFSET 0x70000000
#define MSCC_IO_ORIGIN1_SIZE   0x00200000
#define MSCC_IO_ORIGIN2_OFFSET 0x71000000
#define MSCC_IO_ORIGIN2_SIZE   0x01000000
#define BASE_CFG        ((void __iomem *)0x70000000)
#define BASE_DEVCPU_GCB ((void __iomem *)0x71070000)

#endif