[xburst] time.c: Timer enable registers are only 8bit width.
[openwrt.git] / target / linux / xburst / files-2.6.32 / arch / mips / include / asm / mach-jz4740 / board-qi_lb60.h
1 /*
2 * Copyright (c) 2009 Qi Hardware Inc.,
3 * Author: Xiangfu Liu <xiangfu@qi-hardware.com>
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #ifndef __ASM_JZ4740_QI_LB60_H__
20 #define __ASM_JZ4740_QI_LB60_H__
21
22 #include <linux/gpio.h>
23
24 /*
25 * GPIO
26 */
27 #define GPIO_DC_DETE_N JZ_GPIO_PORTC(26)
28 #define GPIO_CHARG_STAT_N JZ_GPIO_PORTC(27)
29 #define GPIO_LED_EN JZ_GPIO_PORTC(28)
30 #define GPIO_LCD_CS JZ_GPIO_PORTC(21)
31 #define GPIO_DISP_OFF_N JZ_GPIO_PORTD(21)
32 #define GPIO_PWM JZ_GPIO_PORTD(27)
33 #define GPIO_WAKEUP_N JZ_GPIO_PORTD(29)
34
35 #define GPIO_AMP_EN JZ_GPIO_PORTD(4)
36
37 #define GPIO_SD_CD_N JZ_GPIO_PORTD(0)
38 #define GPIO_SD_VCC_EN_N JZ_GPIO_PORTD(2)
39
40 #define GPIO_USB_DETE JZ_GPIO_PORTD(28)
41 #define GPIO_BUZZ_PWM JZ_GPIO_PORTD(27)
42 #define GPIO_UDC_HOTPLUG GPIO_USB_DETE
43
44 #define GPIO_AUDIO_POP JZ_GPIO_PORTB(29)
45 #define GPIO_COB_TEST JZ_GPIO_PORTB(30)
46
47 #define GPIO_KEYOUT_BASE JZ_GPIO_PORTC(10)
48 #define GPIO_KEYIN_BASE JZ_GPIO_PORTD(18)
49 #define GPIO_KEYIN_8 JZ_GPIO_PORTD(26)
50
51 #endif /* __ASM_JZ4740_QI_LB60_H__ */
This page took 0.06409 seconds and 5 git commands to generate.