/** @file
|
PCH preserved MMIO resource definitions.
|
|
Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
**/
|
#ifndef _PCH_PRESERVED_RESOURCES_H_
|
#define _PCH_PRESERVED_RESOURCES_H_
|
|
/**
|
Detailed recommended static allocation
|
+-------------------------------------------------------------------------+
|
| PCH preserved MMIO range, 32 MB, from 0xFC800000 to 0xFE7FFFFF |
|
+-------------------------------------------------------------------------+
|
| Size | Start | End | Usage |
|
| 8 MB | 0xFC800000 | 0xFCFFFFFF | TraceHub SW BAR |
|
| 16 MB | 0xFD000000 | 0xFDFFFFFF | SBREG |
|
| 64 KB | 0xFE000000 | 0xFE00FFFF | PMC MBAR |
|
| 4 KB | 0xFE010000 | 0xFE010FFF | SPI BAR0 |
|
| 176 KB | 0xFE020000 | 0xFE04BFFF | SerialIo BAR in ACPI mode |
|
| 400 KB | 0xFE04C000 | 0xFE0AFFFF | Unused |
|
| 64 KB | 0xFE0B0000 | 0xFE0BFFFF | eSPI LGMR BAR |
|
| 64 KB | 0xFE0C0000 | 0xFE0CFFFF | eSPI2 SEGMR BAR |
|
| 192 KB | 0xFE0D0000 | 0xFE0FFFFF | Unused |
|
| 1 MB | 0xFE100000 | 0xFE1FFFFF | TraceHub MTB BAR |
|
| 2 MB | 0xFE200000 | 0xFE3FFFFF | TraceHub FW BAR |
|
| 2 MB | 0xFE400000 | 0xFE5FFFFF | Unused |
|
| 2 MB | 0xFE600000 | 0xFE7FFFFF | Temp address |
|
+-------------------------------------------------------------------------+
|
**/
|
#define PCH_PRESERVED_BASE_ADDRESS 0xFC800000 ///< Pch preserved MMIO base address
|
#define PCH_PRESERVED_MMIO_SIZE 0x02000000 ///< 32MB
|
#define PCH_TRACE_HUB_SW_BASE_ADDRESS 0xFC800000 ///< TraceHub SW MMIO base address
|
#define PCH_TRACE_HUB_SW_MMIO_SIZE 0x00800000 ///< 8MB
|
#define PCH_PCR_BASE_ADDRESS 0xFD000000 ///< SBREG MMIO base address
|
#define PCH_PCR_MMIO_SIZE 0x01000000 ///< 16MB
|
#define PCH_PWRM_BASE_ADDRESS 0xFE000000 ///< PMC MBAR MMIO base address
|
#define PCH_PWRM_MMIO_SIZE 0x00010000 ///< 64KB
|
#define PCH_SPI_BASE_ADDRESS 0xFE010000 ///< SPI BAR0 MMIO base address
|
#define PCH_SPI_MMIO_SIZE 0x00001000 ///< 4KB
|
#define PCH_SERIAL_IO_BASE_ADDRESS 0xFE020000 ///< SerialIo MMIO base address
|
#define PCH_SERIAL_IO_MMIO_SIZE 0x0002C000 ///< 176KB
|
#define PCH_ESPI_LGMR_BASE_ADDRESS 0xFE0B0000 ///< eSPI LGMR MMIO base address
|
#define PCH_ESPI_LGMR_MMIO_SIZE 0x00010000 ///< 64KB
|
#define PCH_ESPI_SEGMR_BASE_ADDRESS 0xFE0C0000 ///< Second eSPI GMR MMIO base address
|
#define PCH_ESPI_SEGMR_MMIO_SIZE 0x00010000 ///< 64KB
|
#define PCH_TRACE_HUB_MTB_BASE_ADDRESS 0xFE100000 ///< TraceHub MTB MMIO base address
|
#define PCH_TRACE_HUB_MTB_MMIO_SIZE 0x00100000 ///< 1MB
|
#define PCH_TRACE_HUB_FW_BASE_ADDRESS 0xFE200000 ///< TraceHub FW MMIO base address
|
#define PCH_TRACE_HUB_FW_MMIO_SIZE 0x00200000 ///< 2MB
|
#define PCH_TEMP_BASE_ADDRESS 0xFE600000 ///< preserved temp address for misc usage,
|
#define PCH_TEMP_MMIO_SIZE 0x00200000 ///< 2MB
|
|
#endif // _PCH_PRESERVED_RESOURCES_H_
|
|