blob: fa45a5c0f1cbdb89be33bf59100fd7153ce6718d [file] [log] [blame]
Vikas Manocha931a7a52016-01-26 18:12:20 -08001/*
Patrice Chotard789ee0e2017-10-23 09:53:58 +02002 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
3 * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
Vikas Manocha931a7a52016-01-26 18:12:20 -08004 *
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 */
17enum periph_id {
18 UART1_GPIOA_9_10 = 0,
19 UART2_GPIOD_5_6,
20};
21
22enum periph_clock {
23 USART1_CLOCK_CFG = 0,
24 USART2_CLOCK_CFG,
Vikas Manocha3e86a1a2016-02-11 15:47:17 -080025 GPIO_A_CLOCK_CFG,
26 GPIO_B_CLOCK_CFG,
27 GPIO_C_CLOCK_CFG,
28 GPIO_D_CLOCK_CFG,
29 GPIO_E_CLOCK_CFG,
30 GPIO_F_CLOCK_CFG,
31 GPIO_G_CLOCK_CFG,
32 GPIO_H_CLOCK_CFG,
33 GPIO_I_CLOCK_CFG,
34 GPIO_J_CLOCK_CFG,
35 GPIO_K_CLOCK_CFG,
Vikas Manocha931a7a52016-01-26 18:12:20 -080036};
37
38#endif /* __ASM_ARM_ARCH_PERIPH_H */