summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-stm32f4/stm32_periph.h
blob: a1af25cb5857e98d391ed69692ce7e2bfa8c7cdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * (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,
};

#endif /* __ASM_ARM_ARCH_PERIPH_H */