Root/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/board-n516.h

1/*
2 * linux/include/asm-mips/mach-jz4740/board-n516.h
3 *
4 * JZ4730-based N516 board definition.
5 *
6 * Copyright (C) 2009, Yauhen Kharuzhy <jekhor@gmail.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 */
13
14#ifndef __ASM_JZ4740_N516_H__
15#define __ASM_JZ4740_N516_H__
16
17#include <asm/mach-jz4740/gpio.h>
18
19/*
20 * GPIO
21 */
22#define GPIO_SD_VCC_EN_N JZ_GPIO_PORTD(17)
23#define GPIO_SD_CD_N JZ_GPIO_PORTD(7)
24#define GPIO_SD_WP JZ_GPIO_PORTD(15)
25#define GPIO_USB_DETECT JZ_GPIO_PORTD(19)
26#define GPIO_CHARG_STAT_N JZ_GPIO_PORTD(16)
27#define GPIO_LED_ENABLE JZ_GPIO_PORTD(28)
28#define GPIO_LPC_INT JZ_GPIO_PORTD(14)
29#define GPIO_HPHONE_DETECT JZ_GPIO_PORTD(20)
30#define GPIO_SPEAKER_ENABLE JZ_GPIO_PORTD(21)
31
32/* Display */
33#define GPIO_DISPLAY_RST_L JZ_GPIO_PORTB(18)
34#define GPIO_DISPLAY_RDY JZ_GPIO_PORTB(17)
35#define GPIO_DISPLAY_STBY JZ_GPIO_PORTC(22)
36#define GPIO_DISPLAY_ERR JZ_GPIO_PORTC(23)
37#define GPIO_DISPLAY_OFF_N JZ_GPIO_PORTD(1)
38
39#endif /* __ASM_JZ4740_N516_H__ */
40

Archive Download this file



interactive