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