blob: d2a6d2690e6f2395c958bd70c6c76c1b158f959b [file] [log] [blame]
Simon Glass55357302016-03-11 22:06:55 -07001/*
2 * Copyright (c) 2016 Google, Inc
3 *
4 * SPDX-License-Identifier: GPL-2.0
5 */
6
7#ifndef __ASM_INTEL_REGS_H
8#define __ASM_INTEL_REGS_H
9
10/* Access the memory-controller hub */
11#define MCH_BASE_ADDRESS 0xfed10000
12#define MCH_BASE_SIZE 0x8000
13#define MCHBAR_REG(reg) (MCH_BASE_ADDRESS + (reg))
14
Simon Glass780ba482016-03-11 22:06:58 -070015#define MCHBAR_PEI_VERSION 0x5034
16#define MCH_PKG_POWER_LIMIT_LO 0x59a0
17#define MCH_PKG_POWER_LIMIT_HI 0x59a4
18#define MCH_DDR_POWER_LIMIT_LO 0x58e0
19#define MCH_DDR_POWER_LIMIT_HI 0x58e4
20
Simon Glassab39d332016-03-11 22:06:56 -070021/* Access the Root Complex Register Block */
22#define RCB_BASE_ADDRESS 0xfed1c000
23#define RCB_REG(reg) (RCB_BASE_ADDRESS + (reg))
24
Simon Glass780ba482016-03-11 22:06:58 -070025#define SOFT_RESET_CTRL 0x38f4
26#define SOFT_RESET_DATA 0x38f8
27
Simon Glass55357302016-03-11 22:06:55 -070028#endif