blob: 5c1c3d4a93c58805d5b5767eff8cfd336d402ab6 [file] [log] [blame]
Rajeshwari Shinde57da3e32012-06-06 19:54:29 +00001/*
2 * Copyright (C) 2012 Samsung Electronics
3 * Rajeshwari Shinde <rajeshwari.s@samsung.com>
4 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Rajeshwari Shinde57da3e32012-06-06 19:54:29 +00006 */
7
8#ifndef __ASM_ARM_ARCH_PERIPH_H
9#define __ASM_ARM_ARCH_PERIPH_H
10
11/*
Rajeshwari Shinde28bae822012-12-26 20:03:11 +000012 * Peripherals required for pinmux configuration. List will
Rajeshwari Shinde57da3e32012-06-06 19:54:29 +000013 * grow with support for more devices getting added.
Rajeshwari Shinde28bae822012-12-26 20:03:11 +000014 * Numbering based on interrupt table.
Rajeshwari Shinde57da3e32012-06-06 19:54:29 +000015 *
16 */
17enum periph_id {
Rajeshwari Shinde28bae822012-12-26 20:03:11 +000018 PERIPH_ID_UART0 = 51,
19 PERIPH_ID_UART1,
20 PERIPH_ID_UART2,
21 PERIPH_ID_UART3,
22 PERIPH_ID_I2C0 = 56,
Rajeshwari Shinde6c313f92012-07-23 21:23:51 +000023 PERIPH_ID_I2C1,
24 PERIPH_ID_I2C2,
25 PERIPH_ID_I2C3,
26 PERIPH_ID_I2C4,
27 PERIPH_ID_I2C5,
28 PERIPH_ID_I2C6,
29 PERIPH_ID_I2C7,
Rajeshwari Shinde28bae822012-12-26 20:03:11 +000030 PERIPH_ID_SPI0 = 68,
31 PERIPH_ID_SPI1,
32 PERIPH_ID_SPI2,
33 PERIPH_ID_SDMMC0 = 75,
Rajeshwari Shinde57da3e32012-06-06 19:54:29 +000034 PERIPH_ID_SDMMC1,
35 PERIPH_ID_SDMMC2,
36 PERIPH_ID_SDMMC3,
Rajeshwari Birjef0ce84f2013-12-26 09:44:23 +053037 PERIPH_ID_I2C8 = 87,
38 PERIPH_ID_I2C9,
Dani Krishna Mohan65c7ee62013-09-11 16:38:48 +053039 PERIPH_ID_I2S0 = 98,
Rajeshwari Shinde28bae822012-12-26 20:03:11 +000040 PERIPH_ID_I2S1 = 99,
41
42 /* Since following peripherals do
43 * not have shared peripheral interrupts (SPIs)
44 * they are numbered arbitiraly after the maximum
45 * SPIs Exynos has (128)
46 */
47 PERIPH_ID_SROMC = 128,
Rajeshwari Shinde8d909f32012-10-28 19:32:54 +000048 PERIPH_ID_SPI3,
49 PERIPH_ID_SPI4,
Rajeshwari Shinde28bae822012-12-26 20:03:11 +000050 PERIPH_ID_SDMMC4,
Padmavathi Venna98c58b92013-03-31 18:42:24 +000051 PERIPH_ID_PWM0,
52 PERIPH_ID_PWM1,
53 PERIPH_ID_PWM2,
54 PERIPH_ID_PWM3,
55 PERIPH_ID_PWM4,
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 */