18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * arch/arm/mach-pxa/include/mach/z2.h 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Author: Ken McGuire 68c2ecf20Sopenharmony_ci * Created: Feb 6, 2009 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifndef ASM_ARCH_ZIPIT2_H 108c2ecf20Sopenharmony_ci#define ASM_ARCH_ZIPIT2_H 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci/* LEDs */ 138c2ecf20Sopenharmony_ci#define GPIO10_ZIPITZ2_LED_WIFI 10 148c2ecf20Sopenharmony_ci#define GPIO85_ZIPITZ2_LED_CHARGED 85 158c2ecf20Sopenharmony_ci#define GPIO83_ZIPITZ2_LED_CHARGING 83 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci/* SD/MMC */ 188c2ecf20Sopenharmony_ci#define GPIO96_ZIPITZ2_SD_DETECT 96 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci/* GPIO Buttons */ 218c2ecf20Sopenharmony_ci#define GPIO1_ZIPITZ2_POWER_BUTTON 1 228c2ecf20Sopenharmony_ci#define GPIO98_ZIPITZ2_LID_BUTTON 98 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci/* Libertas GSPI8686 WiFi */ 258c2ecf20Sopenharmony_ci#define GPIO14_ZIPITZ2_WIFI_POWER 14 268c2ecf20Sopenharmony_ci#define GPIO24_ZIPITZ2_WIFI_CS 24 278c2ecf20Sopenharmony_ci#define GPIO36_ZIPITZ2_WIFI_IRQ 36 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci/* LCD */ 308c2ecf20Sopenharmony_ci#define GPIO19_ZIPITZ2_LCD_RESET 19 318c2ecf20Sopenharmony_ci#define GPIO88_ZIPITZ2_LCD_CS 88 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci/* MISC GPIOs */ 348c2ecf20Sopenharmony_ci#define GPIO0_ZIPITZ2_AC_DETECT 0 358c2ecf20Sopenharmony_ci#define GPIO37_ZIPITZ2_HEADSET_DETECT 37 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ci#endif 38