1 /* 2 * Copyright (c) 2017 Google, Inc 3 * 4 * SPDX-License-Identifier: GPL-2.0+ 5 */ 6 #ifndef _ASM_ARCH_PERIPH_H 7 #define _ASM_ARCH_PERIPH_H 8 9 /* 10 * Peripherals supported by the hardware. 11 * These are used to specify pinctrl settings. 12 */ 13 14 enum periph_id { 15 PERIPH_ID_UART1, 16 PERIPH_ID_UART2, 17 PERIPH_ID_UART3, 18 PERIPH_ID_UART4, 19 PERIPH_ID_LPC, 20 PERIPH_ID_PWM0, 21 PERIPH_ID_PWM1, 22 PERIPH_ID_PWM2, 23 PERIPH_ID_PWM3, 24 PERIPH_ID_PWM4, 25 PERIPH_ID_PWM5, 26 PERIPH_ID_PWM6, 27 PERIPH_ID_PWM7, 28 PERIPH_ID_PWM8, 29 PERIPH_ID_MAC1, 30 PERIPH_ID_MAC2, 31 PERIPH_ID_VIDEO, 32 PERIPH_ID_SPI1, 33 PERIPH_ID_SPI2, 34 PERIPH_ID_I2C1, 35 PERIPH_ID_I2C2, 36 PERIPH_ID_I2C3, 37 PERIPH_ID_I2C4, 38 PERIPH_ID_I2C5, 39 PERIPH_ID_I2C6, 40 PERIPH_ID_I2C7, 41 PERIPH_ID_I2C8, 42 PERIPH_ID_I2C9, 43 PERIPH_ID_I2C10, 44 PERIPH_ID_I2C11, 45 PERIPH_ID_I2C12, 46 PERIPH_ID_I2C13, 47 PERIPH_ID_I2C14, 48 PERIPH_ID_SD1, 49 PERIPH_ID_SD2, 50 }; 51 52 #endif /* _ASM_ARCH_SCU_AST2500_H */ 53