tizen 2.3.1 release
[platform/kernel/u-boot.git] / arch / arm / include / asm / arch-omap4 / keyboard.h
1 /*
2  * Copyright (C) 2010 Samsung Electronics
3  * Sanghee Kim <sh0130.kim@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
25 #ifndef __ASM_ARCH_KBD_H_
26 #define __ASM_ARCH_KBD_H_
27
28 #define OMAP4_KBD_BASE                  0x4A31C000
29
30 #define OMAP4_KBD_SYSCONFIG_OFFSET      0x10
31 #define OMAP4_KBD_CTL                   0x28
32
33 #define OMAP4_KBD_ROWINPUTS             0x3C
34 #define OMAP4_KBD_COLUMNOUTPUTS         0x40
35
36 #define OMAP4_KBD_FULLCODE31_0          0x44
37 #define OMAP4_KBD_FULLCODE63_32         0x48
38 #define OMAP4_KBD_FULLCODE17_0          0x4C
39 #define OMAP4_KBD_FULLCODE35_18         0x50
40 #define OMAP4_KBD_FULLCODE53_36         0x54
41 #define OMAP4_KBD_FULLCODE71_54         0x58
42 #define OMAP4_KBD_FULLCODE80_72         0x5C
43
44 #endif