blob: 4a2817ea593a871891cb96c8d41b0aa0aa9264dc [file] [log] [blame]
AlexeiFedorov36ed0092024-09-10 10:37:54 +01001/*
Arunachalam Ganapathy503b89a2025-06-19 10:34:11 +01002 * Copyright (c) 2024-2025, Arm Limited. All rights reserved.
AlexeiFedorov36ed0092024-09-10 10:37:54 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6#ifndef PLATFORM_PCIE_H
7#define PLATFORM_PCIE_H
8
9#include <utils_def.h>
10
11#include "../fvp_def.h"
12
13/* PCIE platform config parameters */
14#define PLATFORM_NUM_ECAM 1
15
16/* Platform config parameters for ECAM_0 */
17#define PLATFORM_PCIE_ECAM_BASE_ADDR_0 PCIE_CONFIG_BASE
18#define PLATFORM_PCIE_SEGMENT_GRP_NUM_0 0x0
19#define PLATFORM_PCIE_START_BUS_NUM_0 0x0
20#define PLATFORM_PCIE_END_BUS_NUM_0 0xFF
21
Arunachalam Ganapathy503b89a2025-06-19 10:34:11 +010022/* PCIe BAR config parameters*/
23#define PLATFORM_OVERRIDE_PCIE_BAR64_VALUE 0x4000100000
24#define PLATFORM_OVERRIDE_RP_BAR64_VALUE 0x4000000000
25#define PLATFORM_OVERRIDE_PCIE_BAR32NP_VALUE 0x50000000
26#define PLATFORM_OVERRIDE_PCIE_BAR32P_VALUE 0x50600000
27#define PLATOFRM_OVERRIDE_RP_BAR32_VALUE 0x50850000
28
AlexeiFedorov36ed0092024-09-10 10:37:54 +010029#endif /* PLATFORM_PCIE_H */