hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/drivers/net/dsa/bcm_sf2_regs.h
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Broadcom Starfighter 2 switch register defines
34 *
45 * 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.
106 */
117 #ifndef __BCM_SF2_REGS_H
128 #define __BCM_SF2_REGS_H
....@@ -400,6 +396,10 @@
400396 #define CORE_RATE_METER6 0x281e0
401397 #define CIR_REF_CNT_MASK 0x7ffff
402398
399
+#define CORE_STAT_GREEN_CNTR 0x28200
400
+#define CORE_STAT_YELLOW_CNTR 0x28210
401
+#define CORE_STAT_RED_CNTR 0x28220
402
+
403403 #define CORE_CFP_CTL_REG 0x28400
404404 #define CFP_EN_MAP_MASK 0x1ff
405405