Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191881
b: refs/heads/master
c: b637799
h: refs/heads/master
i:
  191879: 49a5862
v: v3
  • Loading branch information
Marek Vasut authored and Eric Miao committed May 11, 2010
1 parent 4dcacd2 commit 69e0c35
Show file tree
Hide file tree
Showing 5 changed files with 658 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 818809752303b5b792dde4ace6321e8ccc180f65
refs/heads/master: b637799248520d711f0fdc64666131c1c869cfbc
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-pxa/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,12 @@ config MACH_E800
Say Y here if you intend to run this kernel on a Toshiba
e800 family PDA.

config MACH_ZIPIT2
bool "Zipit Z2 Handheld"
select PXA27x
select HAVE_PWM
select PXA_HAVE_BOARD_IRQS

endmenu

config PXA25x
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-pxa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ obj-$(CONFIG_MACH_E800) += e800.o
obj-$(CONFIG_MACH_RAUMFELD_RC) += raumfeld.o
obj-$(CONFIG_MACH_RAUMFELD_CONNECTOR) += raumfeld.o
obj-$(CONFIG_MACH_RAUMFELD_SPEAKER) += raumfeld.o
obj-$(CONFIG_MACH_ZIPIT2) += z2.o

# Support for blinky lights
led-y := leds.o
Expand Down
41 changes: 41 additions & 0 deletions trunk/arch/arm/mach-pxa/include/mach/z2.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/*
* arch/arm/mach-pxa/include/mach/z2.h
*
* Author: Ken McGuire
* Created: Feb 6, 2009
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

#ifndef ASM_ARCH_ZIPIT2_H
#define ASM_ARCH_ZIPIT2_H

/* LEDs */
#define GPIO10_ZIPITZ2_LED_WIFI 10
#define GPIO85_ZIPITZ2_LED_CHARGED 85
#define GPIO83_ZIPITZ2_LED_CHARGING 83

/* SD/MMC */
#define GPIO96_ZIPITZ2_SD_DETECT 96

/* GPIO Buttons */
#define GPIO1_ZIPITZ2_POWER_BUTTON 1
#define GPIO98_ZIPITZ2_LID_BUTTON 98

/* Libertas GSPI8686 WiFi */
#define GPIO14_ZIPITZ2_WIFI_RESET 14
#define GPIO15_ZIPITZ2_WIFI_POWER 15
#define GPIO24_ZIPITZ2_WIFI_CS 24
#define GPIO36_ZIPITZ2_WIFI_IRQ 36

/* LCD */
#define GPIO19_ZIPITZ2_LCD_RESET 19
#define GPIO88_ZIPITZ2_LCD_CS 88

/* MISC GPIOs */
#define GPIO0_ZIPITZ2_AC_DETECT 0
#define GPIO37_ZIPITZ2_HEADSET_DETECT 37

#endif
Loading

0 comments on commit 69e0c35

Please sign in to comment.