2008-08-05 16:14:15 +01:00
/* arch/arm/mach-s3c2410/include/mach/h1940-latch.h
2006-02-10 22:40:51 +00:00
*
2006-12-17 20:02:01 +01:00
* Copyright ( c ) 2005 Simtec Electronics
2006-02-10 22:40:51 +00:00
* http : //armlinux.simtec.co.uk/
* Ben Dooks < ben @ simtec . co . uk >
*
* iPAQ H1940 series - latch definitions
*
* 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_H1940_LATCH_H
# define __ASM_ARCH_H1940_LATCH_H
2010-09-08 12:39:46 +03:00
# include <mach/gpio.h>
2006-02-10 22:40:51 +00:00
2010-09-08 12:39:46 +03:00
# define H1940_LATCH_GPIO(x) (S3C_GPIO_END + (x))
2006-02-10 22:40:51 +00:00
/* SD layer latch */
2010-09-08 12:39:46 +03:00
# define H1940_LATCH_SDQ1 H1940_LATCH_GPIO(0)
# define H1940_LATCH_LCD_P1 H1940_LATCH_GPIO(1)
# define H1940_LATCH_LCD_P2 H1940_LATCH_GPIO(2)
# define H1940_LATCH_LCD_P3 H1940_LATCH_GPIO(3)
# define H1940_LATCH_MAX1698_nSHUTDOWN H1940_LATCH_GPIO(4)
# define H1940_LATCH_LED_RED H1940_LATCH_GPIO(5)
# define H1940_LATCH_SDQ7 H1940_LATCH_GPIO(6)
# define H1940_LATCH_USB_DP H1940_LATCH_GPIO(7)
2006-02-10 22:40:51 +00:00
/* CPU layer latch */
2010-09-08 12:39:46 +03:00
# define H1940_LATCH_UDA_POWER H1940_LATCH_GPIO(8)
# define H1940_LATCH_AUDIO_POWER H1940_LATCH_GPIO(9)
# define H1940_LATCH_SM803_ENABLE H1940_LATCH_GPIO(10)
# define H1940_LATCH_LCD_P4 H1940_LATCH_GPIO(11)
# define H1940_LATCH_CPUQ5 H1940_LATCH_GPIO(12)
# define H1940_LATCH_BLUETOOTH_POWER H1940_LATCH_GPIO(13)
# define H1940_LATCH_LED_GREEN H1940_LATCH_GPIO(14)
# define H1940_LATCH_LED_FLASH H1940_LATCH_GPIO(15)
2006-02-10 22:40:51 +00:00
# endif /* __ASM_ARCH_H1940_LATCH_H */