| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Broadcom Starfighter 2 switch register defines |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2014, Broadcom Corporation |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 8 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 9 | | - * (at your option) any later version. |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | #ifndef __BCM_SF2_REGS_H |
|---|
| 12 | 8 | #define __BCM_SF2_REGS_H |
|---|
| .. | .. |
|---|
| 400 | 396 | #define CORE_RATE_METER6 0x281e0 |
|---|
| 401 | 397 | #define CIR_REF_CNT_MASK 0x7ffff |
|---|
| 402 | 398 | |
|---|
| 399 | +#define CORE_STAT_GREEN_CNTR 0x28200 |
|---|
| 400 | +#define CORE_STAT_YELLOW_CNTR 0x28210 |
|---|
| 401 | +#define CORE_STAT_RED_CNTR 0x28220 |
|---|
| 402 | + |
|---|
| 403 | 403 | #define CORE_CFP_CTL_REG 0x28400 |
|---|
| 404 | 404 | #define CFP_EN_MAP_MASK 0x1ff |
|---|
| 405 | 405 | |
|---|