soc.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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. #ifndef _BRCM_SOC_H
  17. #define _BRCM_SOC_H
  18. #define SI_ENUM_BASE 0x18000000 /* Enumeration space base */
  19. /* Common core control flags */
  20. #define SICF_BIST_EN 0x8000
  21. #define SICF_PME_EN 0x4000
  22. #define SICF_CORE_BITS 0x3ffc
  23. #define SICF_FGC 0x0002
  24. #define SICF_CLOCK_EN 0x0001
  25. /* Common core status flags */
  26. #define SISF_BIST_DONE 0x8000
  27. #define SISF_BIST_ERROR 0x4000
  28. #define SISF_GATED_CLK 0x2000
  29. #define SISF_DMA64 0x1000
  30. #define SISF_CORE_BITS 0x0fff
  31. #endif /* _BRCM_SOC_H */