xref: /rk3399_rockchip-uboot/arch/arm/include/asm/arch-stm32f4/stm32_periph.h (revision d9f317fd0d46beebeeeb5be8f3c7d925ed6174fd)
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 __ASM_ARM_ARCH_PERIPH_H
9 #define __ASM_ARM_ARCH_PERIPH_H
10 
11 /*
12  * Peripherals required for pinmux configuration. List will
13  * grow with support for more devices getting added.
14  * Numbering based on interrupt table.
15  *
16  */
17 enum periph_id {
18 	UART1_GPIOA_9_10 = 0,
19 	UART2_GPIOD_5_6,
20 };
21 
22 enum periph_clock {
23 	USART1_CLOCK_CFG = 0,
24 	USART2_CLOCK_CFG,
25 };
26 
27 #endif /* __ASM_ARM_ARCH_PERIPH_H */
28