blob: f262339f630d00e5c7ed683019452cae10f2933a [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Rajeshwari Shinde57da3e32012-06-06 19:54:29 +00002/*
3 * Copyright (C) 2012 Samsung Electronics
4 * Rajeshwari Shinde <rajeshwari.s@samsung.com>
Rajeshwari Shinde57da3e32012-06-06 19:54:29 +00005 */
6
7#ifndef __ASM_ARM_ARCH_PERIPH_H
8#define __ASM_ARM_ARCH_PERIPH_H
9
10/*
Rajeshwari Shinde28bae822012-12-26 20:03:11 +000011 * Peripherals required for pinmux configuration. List will
Rajeshwari Shinde57da3e32012-06-06 19:54:29 +000012 * grow with support for more devices getting added.
Rajeshwari Shinde28bae822012-12-26 20:03:11 +000013 * Numbering based on interrupt table.
Rajeshwari Shinde57da3e32012-06-06 19:54:29 +000014 *
15 */
16enum periph_id {
Rajeshwari Shinde28bae822012-12-26 20:03:11 +000017 PERIPH_ID_UART0 = 51,
18 PERIPH_ID_UART1,
19 PERIPH_ID_UART2,
20 PERIPH_ID_UART3,
21 PERIPH_ID_I2C0 = 56,
Rajeshwari Shinde6c313f92012-07-23 21:23:51 +000022 PERIPH_ID_I2C1,
23 PERIPH_ID_I2C2,
24 PERIPH_ID_I2C3,
25 PERIPH_ID_I2C4,
26 PERIPH_ID_I2C5,
27 PERIPH_ID_I2C6,
28 PERIPH_ID_I2C7,
Rajeshwari Shinde28bae822012-12-26 20:03:11 +000029 PERIPH_ID_SPI0 = 68,
30 PERIPH_ID_SPI1,
31 PERIPH_ID_SPI2,
32 PERIPH_ID_SDMMC0 = 75,
Rajeshwari Shinde57da3e32012-06-06 19:54:29 +000033 PERIPH_ID_SDMMC1,
34 PERIPH_ID_SDMMC2,
35 PERIPH_ID_SDMMC3,
Rajeshwari Birjef0ce84f2013-12-26 09:44:23 +053036 PERIPH_ID_I2C8 = 87,
37 PERIPH_ID_I2C9,
Dani Krishna Mohan65c7ee62013-09-11 16:38:48 +053038 PERIPH_ID_I2S0 = 98,
Rajeshwari Shinde28bae822012-12-26 20:03:11 +000039 PERIPH_ID_I2S1 = 99,
40
41 /* Since following peripherals do
42 * not have shared peripheral interrupts (SPIs)
43 * they are numbered arbitiraly after the maximum
44 * SPIs Exynos has (128)
45 */
46 PERIPH_ID_SROMC = 128,
Rajeshwari Shinde8d909f32012-10-28 19:32:54 +000047 PERIPH_ID_SPI3,
48 PERIPH_ID_SPI4,
Rajeshwari Shinde28bae822012-12-26 20:03:11 +000049 PERIPH_ID_SDMMC4,
Padmavathi Venna98c58b92013-03-31 18:42:24 +000050 PERIPH_ID_PWM0,
51 PERIPH_ID_PWM1,
52 PERIPH_ID_PWM2,
53 PERIPH_ID_PWM3,
54 PERIPH_ID_PWM4,
Simon Glass6f6af972015-07-02 18:16:13 -060055 PERIPH_ID_DPHPD,
Minkyu Kangefd585e2014-01-29 17:03:55 +090056 PERIPH_ID_I2C10 = 203,
Rajeshwari Shinde57da3e32012-06-06 19:54:29 +000057
Rajeshwari Shinde57da3e32012-06-06 19:54:29 +000058 PERIPH_ID_NONE = -1,
59};
60
61#endif /* __ASM_ARM_ARCH_PERIPH_H */