/* SPDX-License-Identifier: GPL-2.0-or-later */ /* ********************************************************************* * BCM1280/BCM1400 Board Support Package * * SCD Constants and Macros File: bcm1480_scd.h * * This module contains constants and macros useful for * manipulating the System Control and Debug module. * * BCM1400 specification level: 1X55_1X80-UM100-R (12/18/03) * ********************************************************************* * * Copyright 2000,2001,2002,2003,2004,2005 * Broadcom Corporation. All rights reserved. *
********************************************************************* */
#ifndef _BCM1480_SCD_H #define _BCM1480_SCD_H
#include <asm/sibyte/sb1250_defs.h>
/* ********************************************************************* * Pull in the BCM1250's SCD since lots of stuff is the same.
********************************************************************* */
#include <asm/sibyte/sb1250_scd.h>
/* ********************************************************************* * Some general notes: * * This file is basically a "what's new" header file. Since the * BCM1250 and the new BCM1480 (and derivatives) share many common * features, this file contains only what's new or changed from * the 1250. (above, you can see that we include the 1250 symbols * to get the base functionality). * * In software, be sure to use the correct symbols, particularly * for blocks that are different between the two chip families. * All BCM1480-specific symbols have _BCM1480_ in their names, * and all BCM1250-specific and "base" functions that are common in * both chips have no special names (this is for compatibility with * older include files). Therefore, if you're working with the * SCD, which is very different on each chip, A_SCD_xxx implies * the BCM1250 version and A_BCM1480_SCD_xxx implies the BCM1480 * version.
********************************************************************* */
/* ********************************************************************* * System control/debug registers
********************************************************************* */
/* * System Identification and Revision Register (Table 12) * Register: SCD_SYSTEM_REVISION * This register is field compatible with the 1250.
*/
/* * Scratch Register (Table 16) * Register: SCD_SYSTEM_SCRATCH * Same as BCM1250
*/
/* * Mailbox Registers (Table 17) * Registers: SCD_MBOX_{0,1}_CPU_x * Same as BCM1250
*/
/* * See bcm1480_int.h for interrupt mapper registers.
*/
/* * Watchdog Timer Initial Count Registers (Table 23) * Registers: SCD_WDOG_INIT_CNT_x * * The watchdogs are almost the same as the 1250, except * the configuration register has more bits to control the * other CPUs.
*/
/* * General Timer Initial Count Registers (Table 26) * Registers: SCD_TIMER_INIT_x * * The timer registers are the same as the BCM1250
*/
/* * ZBbus Count Register (Table 29) * Register: ZBBUS_CYCLE_COUNT * * Same as BCM1250
*/
/* * ZBbus Compare Registers (Table 30) * Registers: ZBBUS_CYCLE_CPx * * Same as BCM1250
*/
/* * System Performance Counter Configuration Register (Table 31) * Register: PERF_CNT_CFG_0 * * SPC_CFG_SRC[0-3] is the same as the 1250. * SPC_CFG_SRC[4-7] only exist on the 1480 * The clear/enable bits are in different locations on the 1250 and 1480.
*/
/* * Bus Watcher Error Status Register (Tables 36, 37) * Registers: BUS_ERR_STATUS, BUS_ERR_STATUS_DEBUG * Same as BCM1250.
*/
/* * Bus Watcher Error Data Registers (Table 38) * Registers: BUS_ERR_DATA_x * Same as BCM1250.
*/
/* * Bus Watcher L2 ECC Counter Register (Table 39) * Register: BUS_L2_ERRORS * Same as BCM1250.
*/
/* * Bus Watcher Memory and I/O Error Counter Register (Table 40) * Register: BUS_MEM_IO_ERRORS * Same as BCM1250.
*/
/* * Address Trap Registers * * Register layout same as BCM1250, almost. The bus agents * are different, and the address trap configuration bits are * slightly different.
*/
/* * Trace Control Register (Table 49) * Register: TRACE_CFG * * BCM1480 changes to this register (other than location of the CUR_ADDR field) * are defined below.
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.