]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arm/include/asm/arch-stm32f7/rcc.h
mtd/spi: fix block count for is25lq040b
[people/ms/u-boot.git] / arch / arm / include / asm / arch-stm32f7 / rcc.h
1 /*
2 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
3 * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
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