Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * ST PCIe driver definitions for STM32-MP25 SoC
4 *
5 * Copyright (C) 2025 STMicroelectronics - All Rights Reserved
6 * Author: Christian Bruel <christian.bruel@foss.st.com>
7 */
8
9#include <linux/bits.h>
10#include <linux/device.h>
11
12#define to_stm32_pcie(x) dev_get_drvdata((x)->dev)
13
14#define STM32MP25_PCIECR_TYPE_MASK GENMASK(11, 8)
15#define STM32MP25_PCIECR_EP 0
16#define STM32MP25_PCIECR_LTSSM_EN BIT(2)
17#define STM32MP25_PCIECR_RC BIT(10)
18
19#define SYSCFG_PCIECR 0x6000