diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-03-05 04:21:41 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-03-05 04:21:41 +0000 |
commit | 915c434270c3fe10f2f3b1db5628b221758ee148 (patch) | |
tree | c909632820daaf94db66018422276023a05e9e33 /target/linux/xburst/files-2.6.32/arch/mips/include | |
parent | fed5f4f11f54f7ac6e60f676d10f17a339a7ee30 (diff) | |
download | master-187ad058-915c434270c3fe10f2f3b1db5628b221758ee148.tar.gz master-187ad058-915c434270c3fe10f2f3b1db5628b221758ee148.tar.bz2 master-187ad058-915c434270c3fe10f2f3b1db5628b221758ee148.zip |
[xburst] Add support for the n516
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19987 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/xburst/files-2.6.32/arch/mips/include')
-rw-r--r-- | target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/board-n516.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/board-n516.h b/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/board-n516.h new file mode 100644 index 0000000000..cbe6544778 --- /dev/null +++ b/target/linux/xburst/files-2.6.32/arch/mips/include/asm/mach-jz4740/board-n516.h @@ -0,0 +1,39 @@ +/* + * linux/include/asm-mips/mach-jz4740/board-n516.h + * + * JZ4730-based N516 board definition. + * + * Copyright (C) 2009, Yauhen Kharuzhy <jekhor@gmail.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + +#ifndef __ASM_JZ4740_N516_H__ +#define __ASM_JZ4740_N516_H__ + +#include <asm/mach-jz4740/gpio.h> + +/* + * GPIO + */ +#define GPIO_SD_VCC_EN_N JZ_GPIO_PORTD(17) +#define GPIO_SD_CD_N JZ_GPIO_PORTD(7) +#define GPIO_SD_WP JZ_GPIO_PORTD(15) +#define GPIO_USB_DETECT JZ_GPIO_PORTD(19) +#define GPIO_CHARG_STAT_N JZ_GPIO_PORTD(16) +#define GPIO_LED_ENABLE JZ_GPIO_PORTD(28) +#define GPIO_LPC_INT JZ_GPIO_PORTD(14) +#define GPIO_HPHONE_DETECT JZ_GPIO_PORTD(20) +#define GPIO_SPEAKER_ENABLE JZ_GPIO_PORTD(21) + +/* Display */ +#define GPIO_DISPLAY_RST_L JZ_GPIO_PORTB(18) +#define GPIO_DISPLAY_RDY JZ_GPIO_PORTB(17) +#define GPIO_DISPLAY_STBY JZ_GPIO_PORTC(22) +#define GPIO_DISPLAY_ERR JZ_GPIO_PORTC(23) +#define GPIO_DISPLAY_OFF_N JZ_GPIO_PORTD(1) + +#endif /* __ASM_JZ4740_N516_H__ */ |