2016-02-12 08:47:20 +09:00
|
|
|
/*
|
2017-10-23 16:53:58 +09:00
|
|
|
* Copyright (C) 2016, STMicroelectronics - All Rights Reserved
|
|
|
|
* Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
|
2016-02-12 08:47:20 +09:00
|
|
|
*
|
|
|
|
* 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 {
|
2017-01-23 00:04:30 +09:00
|
|
|
PERIPH_ID_USART1 = 37,
|
|
|
|
|
|
|
|
PERIPH_ID_QUADSPI = 92,
|
2016-02-12 08:47:20 +09:00
|
|
|
};
|
|
|
|
|
|
|
|
enum periph_clock {
|
2017-01-23 00:04:26 +09:00
|
|
|
SYSCFG_CLOCK_CFG,
|
|
|
|
TIMER2_CLOCK_CFG,
|
2017-01-23 00:04:27 +09:00
|
|
|
STMMAC_CLOCK_CFG,
|
2016-02-12 08:47:20 +09:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __ASM_ARM_ARCH_PERIPH_H */
|