blob: 4a2817ea593a871891cb96c8d41b0aa0aa9264dc [file] [log] [blame]
/*
* Copyright (c) 2024-2025, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef PLATFORM_PCIE_H
#define PLATFORM_PCIE_H
#include <utils_def.h>
#include "../fvp_def.h"
/* PCIE platform config parameters */
#define PLATFORM_NUM_ECAM 1
/* Platform config parameters for ECAM_0 */
#define PLATFORM_PCIE_ECAM_BASE_ADDR_0 PCIE_CONFIG_BASE
#define PLATFORM_PCIE_SEGMENT_GRP_NUM_0 0x0
#define PLATFORM_PCIE_START_BUS_NUM_0 0x0
#define PLATFORM_PCIE_END_BUS_NUM_0 0xFF
/* PCIe BAR config parameters*/
#define PLATFORM_OVERRIDE_PCIE_BAR64_VALUE 0x4000100000
#define PLATFORM_OVERRIDE_RP_BAR64_VALUE 0x4000000000
#define PLATFORM_OVERRIDE_PCIE_BAR32NP_VALUE 0x50000000
#define PLATFORM_OVERRIDE_PCIE_BAR32P_VALUE 0x50600000
#define PLATOFRM_OVERRIDE_RP_BAR32_VALUE 0x50850000
#endif /* PLATFORM_PCIE_H */