blob: 3c5604ae29ad2d4caeab73de4bcf59f59286d480 [file] [log] [blame]
Vikas Manocha1b51c932016-02-11 15:47:20 -08001/*
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 */
17enum periph_id {
Michael Kurz337ff2a2017-01-22 16:04:30 +010018 PERIPH_ID_USART1 = 37,
19
20 PERIPH_ID_QUADSPI = 92,
Vikas Manocha1b51c932016-02-11 15:47:20 -080021};
22
23enum periph_clock {
24 USART1_CLOCK_CFG = 0,
25 USART2_CLOCK_CFG,
Vikas Manocha1b51c932016-02-11 15:47:20 -080026 GPIO_A_CLOCK_CFG,
27 GPIO_B_CLOCK_CFG,
28 GPIO_C_CLOCK_CFG,
29 GPIO_D_CLOCK_CFG,
30 GPIO_E_CLOCK_CFG,
31 GPIO_F_CLOCK_CFG,
32 GPIO_G_CLOCK_CFG,
33 GPIO_H_CLOCK_CFG,
34 GPIO_I_CLOCK_CFG,
35 GPIO_J_CLOCK_CFG,
36 GPIO_K_CLOCK_CFG,
Michael Kurz04bb8db2017-01-22 16:04:26 +010037 SYSCFG_CLOCK_CFG,
38 TIMER2_CLOCK_CFG,
39 FMC_CLOCK_CFG,
Michael Kurz812962b2017-01-22 16:04:27 +010040 STMMAC_CLOCK_CFG,
Michael Kurz337ff2a2017-01-22 16:04:30 +010041 QSPI_CLOCK_CFG,
Vikas Manocha1b51c932016-02-11 15:47:20 -080042};
43
44#endif /* __ASM_ARM_ARCH_PERIPH_H */