Arend van Spriel | 5b435de | 2011-10-05 13:19:03 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2010 Broadcom Corporation |
| 3 | * |
| 4 | * Permission to use, copy, modify, and/or distribute this software for any |
| 5 | * purpose with or without fee is hereby granted, provided that the above |
| 6 | * copyright notice and this permission notice appear in all copies. |
| 7 | * |
| 8 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 9 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 10 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
| 11 | * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 12 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION |
| 13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
| 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 15 | */ |
| 16 | |
| 17 | #ifndef _BRCM_SOC_H |
| 18 | #define _BRCM_SOC_H |
| 19 | |
| 20 | #define SI_ENUM_BASE 0x18000000 /* Enumeration space base */ |
| 21 | |
Arend van Spriel | 5b435de | 2011-10-05 13:19:03 +0200 | [diff] [blame] | 22 | /* Common core control flags */ |
| 23 | #define SICF_BIST_EN 0x8000 |
| 24 | #define SICF_PME_EN 0x4000 |
| 25 | #define SICF_CORE_BITS 0x3ffc |
| 26 | #define SICF_FGC 0x0002 |
| 27 | #define SICF_CLOCK_EN 0x0001 |
| 28 | |
Alwin Beukers | 2303821 | 2011-10-18 14:02:58 +0200 | [diff] [blame] | 29 | /* Common core status flags */ |
| 30 | #define SISF_BIST_DONE 0x8000 |
| 31 | #define SISF_BIST_ERROR 0x4000 |
| 32 | #define SISF_GATED_CLK 0x2000 |
| 33 | #define SISF_DMA64 0x1000 |
| 34 | #define SISF_CORE_BITS 0x0fff |
| 35 | |
Arend van Spriel | 5b435de | 2011-10-05 13:19:03 +0200 | [diff] [blame] | 36 | #endif /* _BRCM_SOC_H */ |