Angel Pons | e9d1d70 | 2020-07-22 12:47:00 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef __IRONLAKE_HOSTBRIDGE_REGS_H__ |
| 4 | #define __IRONLAKE_HOSTBRIDGE_REGS_H__ |
| 5 | |
Angel Pons | e9d1d70 | 2020-07-22 12:47:00 +0200 | [diff] [blame] | 6 | #define EPBAR 0x40 |
| 7 | #define MCHBAR 0x48 |
Angel Pons | 16fe1e0 | 2020-07-22 16:12:33 +0200 | [diff] [blame^] | 8 | #define GGC 0x52 |
| 9 | #define DEVEN 0x54 |
Angel Pons | e2a2877 | 2020-07-22 13:12:59 +0200 | [diff] [blame] | 10 | #define DEVEN_IGD (1 << 3) |
| 11 | #define DEVEN_PEG10 (1 << 1) |
| 12 | #define DEVEN_HOST (1 << 0) |
| 13 | |
Angel Pons | e9d1d70 | 2020-07-22 12:47:00 +0200 | [diff] [blame] | 14 | #define PCIEXBAR 0x60 |
| 15 | #define DMIBAR 0x68 |
Angel Pons | e9d1d70 | 2020-07-22 12:47:00 +0200 | [diff] [blame] | 16 | |
Angel Pons | e2a2877 | 2020-07-22 13:12:59 +0200 | [diff] [blame] | 17 | #define LAC 0x87 /* Legacy Access Control */ |
| 18 | |
Angel Pons | 16fe1e0 | 2020-07-22 16:12:33 +0200 | [diff] [blame^] | 19 | #define REMAPBASE 0x98 |
| 20 | #define REMAPLIMIT 0x9a |
| 21 | #define TOM 0xa0 |
| 22 | #define TOUUD 0xa2 |
| 23 | #define IGD_BASE 0xa4 |
| 24 | #define GTT_BASE 0xa8 |
Angel Pons | e2a2877 | 2020-07-22 13:12:59 +0200 | [diff] [blame] | 25 | #define TSEG 0xac /* TSEG base */ |
Angel Pons | 16fe1e0 | 2020-07-22 16:12:33 +0200 | [diff] [blame^] | 26 | #define TOLUD 0xb0 |
Angel Pons | e2a2877 | 2020-07-22 13:12:59 +0200 | [diff] [blame] | 27 | |
Angel Pons | 16fe1e0 | 2020-07-22 16:12:33 +0200 | [diff] [blame^] | 28 | #define SKPD 0xdc /* Scratchpad Data */ |
Angel Pons | e2a2877 | 2020-07-22 13:12:59 +0200 | [diff] [blame] | 29 | |
Angel Pons | 16fe1e0 | 2020-07-22 16:12:33 +0200 | [diff] [blame^] | 30 | #define CAPID0 0xe0 |
Angel Pons | e9d1d70 | 2020-07-22 12:47:00 +0200 | [diff] [blame] | 31 | |
| 32 | #endif /* __IRONLAKE_HOSTBRIDGE_REGS_H__ */ |