mirror of
https://xff.cz/git/u-boot/
synced 2025-09-30 06:51:28 +02:00
stm32: add support for stm32f7 & stm32f746 discovery board
This patch adds support for stm32f7 family & stm32f746 board. Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
This commit is contained in:
38
arch/arm/include/asm/arch-stm32f7/stm32_periph.h
Normal file
38
arch/arm/include/asm/arch-stm32f7/stm32_periph.h
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* (C) Copyright 2016
|
||||
* Vikas Manocha, ST Micoelectronics, vikas.manocha@st.com.
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __ASM_ARM_ARCH_PERIPH_H
|
||||
#define __ASM_ARM_ARCH_PERIPH_H
|
||||
|
||||
/*
|
||||
* Peripherals required for pinmux configuration. List will
|
||||
* grow with support for more devices getting added.
|
||||
* Numbering based on interrupt table.
|
||||
*
|
||||
*/
|
||||
enum periph_id {
|
||||
UART1_GPIOA_9_10 = 0,
|
||||
UART2_GPIOD_5_6,
|
||||
};
|
||||
|
||||
enum periph_clock {
|
||||
USART1_CLOCK_CFG = 0,
|
||||
USART2_CLOCK_CFG,
|
||||
GPIO_A_CLOCK_CFG,
|
||||
GPIO_B_CLOCK_CFG,
|
||||
GPIO_C_CLOCK_CFG,
|
||||
GPIO_D_CLOCK_CFG,
|
||||
GPIO_E_CLOCK_CFG,
|
||||
GPIO_F_CLOCK_CFG,
|
||||
GPIO_G_CLOCK_CFG,
|
||||
GPIO_H_CLOCK_CFG,
|
||||
GPIO_I_CLOCK_CFG,
|
||||
GPIO_J_CLOCK_CFG,
|
||||
GPIO_K_CLOCK_CFG,
|
||||
};
|
||||
|
||||
#endif /* __ASM_ARM_ARCH_PERIPH_H */
|
Reference in New Issue
Block a user