]>
Commit | Line | Data |
---|---|---|
e66c49fa | 1 | /* |
3bc599c9 PC |
2 | * Copyright (C) 2016, STMicroelectronics - All Rights Reserved |
3 | * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics. | |
e66c49fa VM |
4 | * |
5 | * SPDX-License-Identifier: GPL-2.0+ | |
6 | */ | |
7 | ||
8 | #ifndef _STM32_RCC_H | |
9 | #define _STM32_RCC_H | |
10 | ||
288f17e6 PC |
11 | #include <dt-bindings/mfd/stm32f7-rcc.h> |
12 | ||
bad5188b MK |
13 | /* |
14 | * RCC AHB1ENR specific definitions | |
15 | */ | |
bad5188b MK |
16 | #define RCC_AHB1ENR_ETHMAC_EN BIT(25) |
17 | #define RCC_AHB1ENR_ETHMAC_TX_EN BIT(26) | |
18 | #define RCC_AHB1ENR_ETHMAC_RX_EN BIT(27) | |
e66c49fa VM |
19 | |
20 | /* | |
bad5188b | 21 | * RCC APB1ENR specific definitions |
e66c49fa | 22 | */ |
bad5188b | 23 | #define RCC_APB1ENR_TIM2EN BIT(0) |
bad5188b | 24 | #define RCC_APB1ENR_PWREN BIT(28) |
e66c49fa VM |
25 | |
26 | /* | |
bad5188b | 27 | * RCC APB2ENR specific definitions |
e66c49fa | 28 | */ |
bad5188b | 29 | #define RCC_APB2ENR_SYSCFGEN BIT(14) |
e66c49fa VM |
30 | |
31 | #endif |