]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/include/asm/arch-exynos/periph.h
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
[karo-tx-uboot.git] / arch / arm / include / asm / arch-exynos / periph.h
1 /*
2  * Copyright (C) 2012 Samsung Electronics
3  * Rajeshwari Shinde <rajeshwari.s@samsung.com>
4  *
5  * See file CREDITS for list of people who contributed to this
6  * project.
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License as
10  * published by the Free Software Foundation; either version 2 of
11  * the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21  * MA 02111-1307 USA
22  */
23
24 #ifndef __ASM_ARM_ARCH_PERIPH_H
25 #define __ASM_ARM_ARCH_PERIPH_H
26
27 /*
28  * Peripherals required for pinmux configuration. List will
29  * grow with support for more devices getting added.
30  * Numbering based on interrupt table.
31  *
32  */
33 enum periph_id {
34         PERIPH_ID_UART0 = 51,
35         PERIPH_ID_UART1,
36         PERIPH_ID_UART2,
37         PERIPH_ID_UART3,
38         PERIPH_ID_I2C0 = 56,
39         PERIPH_ID_I2C1,
40         PERIPH_ID_I2C2,
41         PERIPH_ID_I2C3,
42         PERIPH_ID_I2C4,
43         PERIPH_ID_I2C5,
44         PERIPH_ID_I2C6,
45         PERIPH_ID_I2C7,
46         PERIPH_ID_SPI0 = 68,
47         PERIPH_ID_SPI1,
48         PERIPH_ID_SPI2,
49         PERIPH_ID_SDMMC0 = 75,
50         PERIPH_ID_SDMMC1,
51         PERIPH_ID_SDMMC2,
52         PERIPH_ID_SDMMC3,
53         PERIPH_ID_I2S1 = 99,
54
55         /* Since following peripherals do
56          * not have shared peripheral interrupts (SPIs)
57          * they are numbered arbitiraly after the maximum
58          * SPIs Exynos has (128)
59          */
60         PERIPH_ID_SROMC = 128,
61         PERIPH_ID_SPI3,
62         PERIPH_ID_SPI4,
63         PERIPH_ID_SDMMC4,
64         PERIPH_ID_PWM0,
65         PERIPH_ID_PWM1,
66         PERIPH_ID_PWM2,
67         PERIPH_ID_PWM3,
68         PERIPH_ID_PWM4,
69
70         PERIPH_ID_COUNT,
71         PERIPH_ID_NONE = -1,
72 };
73
74 #endif /* __ASM_ARM_ARCH_PERIPH_H */