intel_regs.h 684 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (c) 2016 Google, Inc
  4. */
  5. #ifndef __ASM_INTEL_REGS_H
  6. #define __ASM_INTEL_REGS_H
  7. /* Access the memory-controller hub */
  8. #define MCH_BASE_ADDRESS 0xfed10000
  9. #define MCH_BASE_SIZE 0x8000
  10. #define MCHBAR_REG(reg) (MCH_BASE_ADDRESS + (reg))
  11. #define MCHBAR_PEI_VERSION 0x5034
  12. #define MCH_PKG_POWER_LIMIT_LO 0x59a0
  13. #define MCH_PKG_POWER_LIMIT_HI 0x59a4
  14. #define MCH_DDR_POWER_LIMIT_LO 0x58e0
  15. #define MCH_DDR_POWER_LIMIT_HI 0x58e4
  16. /* Access the Root Complex Register Block */
  17. #define RCB_BASE_ADDRESS 0xfed1c000
  18. #define RCB_REG(reg) (RCB_BASE_ADDRESS + (reg))
  19. #define SOFT_RESET_CTRL 0x38f4
  20. #define SOFT_RESET_DATA 0x38f8
  21. #endif