xref: /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-stm32f7/rcc.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * (C) Copyright 2016
3  * Vikas Manocha, ST Micoelectronics, vikas.manocha@st.com.
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #ifndef _STM32_RCC_H
9 #define _STM32_RCC_H
10 
11 #include <dt-bindings/mfd/stm32f7-rcc.h>
12 
13 /*
14  * RCC AHB1ENR specific definitions
15  */
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)
19 
20 /*
21  * RCC APB1ENR specific definitions
22  */
23 #define RCC_APB1ENR_TIM2EN		BIT(0)
24 #define RCC_APB1ENR_PWREN		BIT(28)
25 
26 /*
27  * RCC APB2ENR specific definitions
28  */
29 #define RCC_APB2ENR_SYSCFGEN		BIT(14)
30 
31 #endif
32