1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 3 * arch/arm/mach-pxa/include/mach/gumstix.h 4 */ 5 6 #include "irqs.h" /* PXA_GPIO_TO_IRQ */ 7 8 /* BTRESET - Reset line to Bluetooth module, a 9 #define GPIO_GUMSTIX_BTRESET 7 10 #define GPIO_GUMSTIX_BTRESET_MD (GPIO_ 11 12 13 /* 14 GPIOn - Input from MAX823 (or equiv), normaliz 15 interrupt signal for determining cable presenc 16 this moves to GPIO17 and GPIO37. */ 17 18 /* GPIOx - Connects to USB D+ and used as a pu 19 has detected a cable insertion; driven low oth 20 21 #define GPIO_GUMSTIX_USB_GPIOn 35 22 #define GPIO_GUMSTIX_USB_GPIOx 41 23 24 /* usb state change */ 25 #define GUMSTIX_USB_INTR_IRQ PXA_GP 26 27 #define GPIO_GUMSTIX_USB_GPIOn_MD (GPIO_ 28 #define GPIO_GUMSTIX_USB_GPIOx_CON_MD (GPIO_ 29 #define GPIO_GUMSTIX_USB_GPIOx_DIS_MD (GPIO_ 30 31 /* 32 * SD/MMC definitions 33 */ 34 #define GUMSTIX_GPIO_nSD_WP 22 /* 35 #define GUMSTIX_GPIO_nSD_DETECT 11 /* 36 #define GUMSTIX_IRQ_GPIO_nSD_DETECT PXA_GP 37 38 /* 39 * SMC Ethernet definitions 40 * ETH_RST provides a hardware reset line to t 41 * ETH is the IRQ line in from the ethernet ch 42 */ 43 #define GPIO_GUMSTIX_ETH0_RST 80 44 #define GPIO_GUMSTIX_ETH0_RST_MD (GPIO_ 45 #define GPIO_GUMSTIX_ETH1_RST 52 46 #define GPIO_GUMSTIX_ETH1_RST_MD (GPIO_ 47 48 #define GPIO_GUMSTIX_ETH0 36 49 #define GPIO_GUMSTIX_ETH0_MD (GPIO_ 50 #define GUMSTIX_ETH0_IRQ PXA_GP 51 #define GPIO_GUMSTIX_ETH1 27 52 #define GPIO_GUMSTIX_ETH1_MD (GPIO_ 53 #define GUMSTIX_ETH1_IRQ PXA_GP 54 55 56 /* CF reset line */ 57 #define GPIO8_RESET 8 58 59 /* CF slot 0 */ 60 #define GPIO4_nBVD1 4 61 #define GPIO4_nSTSCHG GPIO4_ 62 #define GPIO11_nCD 11 63 #define GPIO26_PRDY_nBSY 26 64 #define GUMSTIX_S0_nSTSCHG_IRQ PXA_GP 65 #define GUMSTIX_S0_nCD_IRQ PXA_GP 66 #define GUMSTIX_S0_PRDY_nBSY_IRQ PXA_GP 67 68 /* CF slot 1 */ 69 #define GPIO18_nBVD1 18 70 #define GPIO18_nSTSCHG GPIO18 71 #define GPIO36_nCD 36 72 #define GPIO27_PRDY_nBSY 27 73 #define GUMSTIX_S1_nSTSCHG_IRQ PXA_GP 74 #define GUMSTIX_S1_nCD_IRQ PXA_GP 75 #define GUMSTIX_S1_PRDY_nBSY_IRQ PXA_GP 76 77 /* CF GPIO line modes */ 78 #define GPIO4_nSTSCHG_MD (GPIO4 79 #define GPIO8_RESET_MD (GPIO8 80 #define GPIO11_nCD_MD (GPIO1 81 #define GPIO18_nSTSCHG_MD (GPIO1 82 #define GPIO26_PRDY_nBSY_MD (GPIO2 83 #define GPIO27_PRDY_nBSY_MD (GPIO2 84 #define GPIO36_nCD_MD (GPIO3 85 86 /* for expansion boards that can't be programa 87 extern int am200_init(void); 88 extern int am300_init(void); 89 90
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.