-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* removed iomux-mx1-mx2.h completely * distributes the former contents to four different files (iomux-mx1.h, iomux-mx21.h, iomux-mx27.h and the file iomux-mx2x.h, which is common to both i.MX21 and i.MX27). * adds all documented IOMUX definitions for i.MX21 and i.MX27 * fixes a few that were wrong (PD14_AOUT_FEC_CLR, PE16_AF_RTCK). * don't silenly include <linux/io.h> * and fixes all collateral damage from above Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
- Loading branch information
Holger Schurig
authored and
Sascha Hauer
committed
Mar 13, 2009
1 parent
16b71fd
commit ccfe30a
Showing
11 changed files
with
872 additions
and
423 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
/* | ||
* Copyright (C) 2008 by Sascha Hauer <kernel@pengutronix.de> | ||
* | ||
* 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. | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
* MA 02110-1301, USA. | ||
*/ | ||
|
||
#ifndef _MXC_IOMUX_MX1_H | ||
#define _MXC_IOMUX_MX1_H | ||
|
||
#ifndef GPIO_PORTA | ||
#error Please include mach/iomux.h | ||
#endif | ||
|
||
/* FIXME: This list is not completed. The correct directions are | ||
* missing on some (many) pins | ||
*/ | ||
|
||
|
||
/* Primary GPIO pin functions */ | ||
|
||
#define PA0_AIN_SPI2_CLK (GPIO_PORTA | GPIO_AIN | GPIO_OUT | 0) | ||
#define PA0_AF_ETMTRACESYNC (GPIO_PORTA | GPIO_AF | 0) | ||
#define PA1_AOUT_SPI2_RXD (GPIO_PORTA | GPIO_AOUT | GPIO_IN | 1) | ||
#define PA1_PF_TIN (GPIO_PORTA | GPIO_PF | 1) | ||
#define PA2_PF_PWM0 (GPIO_PORTA | GPIO_PF | GPIO_OUT | 2) | ||
#define PA3_PF_CSI_MCLK (GPIO_PORTA | GPIO_PF | 3) | ||
#define PA4_PF_CSI_D0 (GPIO_PORTA | GPIO_PF | 4) | ||
#define PA5_PF_CSI_D1 (GPIO_PORTA | GPIO_PF | 5) | ||
#define PA6_PF_CSI_D2 (GPIO_PORTA | GPIO_PF | 6) | ||
#define PA7_PF_CSI_D3 (GPIO_PORTA | GPIO_PF | 7) | ||
#define PA8_PF_CSI_D4 (GPIO_PORTA | GPIO_PF | 8) | ||
#define PA9_PF_CSI_D5 (GPIO_PORTA | GPIO_PF | 9) | ||
#define PA10_PF_CSI_D6 (GPIO_PORTA | GPIO_PF | 10) | ||
#define PA11_PF_CSI_D7 (GPIO_PORTA | GPIO_PF | 11) | ||
#define PA12_PF_CSI_VSYNC (GPIO_PORTA | GPIO_PF | 12) | ||
#define PA13_PF_CSI_HSYNC (GPIO_PORTA | GPIO_PF | 13) | ||
#define PA14_PF_CSI_PIXCLK (GPIO_PORTA | GPIO_PF | 14) | ||
#define PA15_PF_I2C_SDA (GPIO_PORTA | GPIO_PF | GPIO_OUT | 15) | ||
#define PA16_PF_I2C_SCL (GPIO_PORTA | GPIO_PF | GPIO_OUT | 16) | ||
#define PA17_AF_ETMTRACEPKT4 (GPIO_PORTA | GPIO_AF | 17) | ||
#define PA17_AIN_SPI2_SS (GPIO_PORTA | GPIO_AIN | GPIO_OUT | 17) | ||
#define PA18_AF_ETMTRACEPKT5 (GPIO_PORTA | GPIO_AF | 18) | ||
#define PA19_AF_ETMTRACEPKT6 (GPIO_PORTA | GPIO_AF | 19) | ||
#define PA20_AF_ETMTRACEPKT7 (GPIO_PORTA | GPIO_AF | 20) | ||
#define PA21_PF_A0 (GPIO_PORTA | GPIO_PF | 21) | ||
#define PA22_PF_CS4 (GPIO_PORTA | GPIO_PF | 22) | ||
#define PA23_PF_CS5 (GPIO_PORTA | GPIO_PF | 23) | ||
#define PA24_PF_A16 (GPIO_PORTA | GPIO_PF | 24) | ||
#define PA24_AF_ETMTRACEPKT0 (GPIO_PORTA | GPIO_AF | 24) | ||
#define PA25_PF_A17 (GPIO_PORTA | GPIO_PF | 25) | ||
#define PA25_AF_ETMTRACEPKT1 (GPIO_PORTA | GPIO_AF | 25) | ||
#define PA26_PF_A18 (GPIO_PORTA | GPIO_PF | 26) | ||
#define PA26_AF_ETMTRACEPKT2 (GPIO_PORTA | GPIO_AF | 26) | ||
#define PA27_PF_A19 (GPIO_PORTA | GPIO_PF | 27) | ||
#define PA27_AF_ETMTRACEPKT3 (GPIO_PORTA | GPIO_AF | 27) | ||
#define PA28_PF_A20 (GPIO_PORTA | GPIO_PF | 28) | ||
#define PA28_AF_ETMPIPESTAT0 (GPIO_PORTA | GPIO_AF | 28) | ||
#define PA29_PF_A21 (GPIO_PORTA | GPIO_PF | 29) | ||
#define PA29_AF_ETMPIPESTAT1 (GPIO_PORTA | GPIO_AF | 29) | ||
#define PA30_PF_A22 (GPIO_PORTA | GPIO_PF | 30) | ||
#define PA30_AF_ETMPIPESTAT2 (GPIO_PORTA | GPIO_AF | 30) | ||
#define PA31_PF_A23 (GPIO_PORTA | GPIO_PF | 31) | ||
#define PA31_AF_ETMTRACECLK (GPIO_PORTA | GPIO_AF | 31) | ||
#define PB8_PF_SD_DAT0 (GPIO_PORTB | GPIO_PF | GPIO_PUEN | 8) | ||
#define PB8_AF_MS_PIO (GPIO_PORTB | GPIO_AF | 8) | ||
#define PB9_PF_SD_DAT1 (GPIO_PORTB | GPIO_PF | GPIO_PUEN | 9) | ||
#define PB9_AF_MS_PI1 (GPIO_PORTB | GPIO_AF | 9) | ||
#define PB10_PF_SD_DAT2 (GPIO_PORTB | GPIO_PF | GPIO_PUEN | 10) | ||
#define PB10_AF_MS_SCLKI (GPIO_PORTB | GPIO_AF | 10) | ||
#define PB11_PF_SD_DAT3 (GPIO_PORTB | GPIO_PF | 11) | ||
#define PB11_AF_MS_SDIO (GPIO_PORTB | GPIO_AF | 11) | ||
#define PB12_PF_SD_CLK (GPIO_PORTB | GPIO_PF | 12) | ||
#define PB12_AF_MS_SCLK0 (GPIO_PORTB | GPIO_AF | 12) | ||
#define PB13_PF_SD_CMD (GPIO_PORTB | GPIO_PF | GPIO_PUEN | 13) | ||
#define PB13_AF_MS_BS (GPIO_PORTB | GPIO_AF | 13) | ||
#define PB14_AF_SSI_RXFS (GPIO_PORTB | GPIO_AF | 14) | ||
#define PB15_AF_SSI_RXCLK (GPIO_PORTB | GPIO_AF | 15) | ||
#define PB16_AF_SSI_RXDAT (GPIO_PORTB | GPIO_AF | GPIO_IN | 16) | ||
#define PB17_AF_SSI_TXDAT (GPIO_PORTB | GPIO_AF | GPIO_OUT | 17) | ||
#define PB18_AF_SSI_TXFS (GPIO_PORTB | GPIO_AF | 18) | ||
#define PB19_AF_SSI_TXCLK (GPIO_PORTB | GPIO_AF | 19) | ||
#define PB20_PF_USBD_AFE (GPIO_PORTB | GPIO_PF | 20) | ||
#define PB21_PF_USBD_OE (GPIO_PORTB | GPIO_PF | 21) | ||
#define PB22_PF_USBD_RCV (GPIO_PORTB | GPIO_PF | 22) | ||
#define PB23_PF_USBD_SUSPND (GPIO_PORTB | GPIO_PF | 23) | ||
#define PB24_PF_USBD_VP (GPIO_PORTB | GPIO_PF | 24) | ||
#define PB25_PF_USBD_VM (GPIO_PORTB | GPIO_PF | 25) | ||
#define PB26_PF_USBD_VPO (GPIO_PORTB | GPIO_PF | 26) | ||
#define PB27_PF_USBD_VMO (GPIO_PORTB | GPIO_PF | 27) | ||
#define PB28_PF_UART2_CTS (GPIO_PORTB | GPIO_PF | GPIO_OUT | 28) | ||
#define PB29_PF_UART2_RTS (GPIO_PORTB | GPIO_PF | GPIO_IN | 29) | ||
#define PB30_PF_UART2_TXD (GPIO_PORTB | GPIO_PF | GPIO_OUT | 30) | ||
#define PB31_PF_UART2_RXD (GPIO_PORTB | GPIO_PF | GPIO_IN | 31) | ||
#define PC3_PF_SSI_RXFS (GPIO_PORTC | GPIO_PF | 3) | ||
#define PC4_PF_SSI_RXCLK (GPIO_PORTC | GPIO_PF | 4) | ||
#define PC5_PF_SSI_RXDAT (GPIO_PORTC | GPIO_PF | GPIO_IN | 5) | ||
#define PC6_PF_SSI_TXDAT (GPIO_PORTC | GPIO_PF | GPIO_OUT | 6) | ||
#define PC7_PF_SSI_TXFS (GPIO_PORTC | GPIO_PF | 7) | ||
#define PC8_PF_SSI_TXCLK (GPIO_PORTC | GPIO_PF | 8) | ||
#define PC9_PF_UART1_CTS (GPIO_PORTC | GPIO_PF | GPIO_OUT | 9) | ||
#define PC10_PF_UART1_RTS (GPIO_PORTC | GPIO_PF | GPIO_IN | 10) | ||
#define PC11_PF_UART1_TXD (GPIO_PORTC | GPIO_PF | GPIO_OUT | 11) | ||
#define PC12_PF_UART1_RXD (GPIO_PORTC | GPIO_PF | GPIO_IN | 12) | ||
#define PC13_PF_SPI1_SPI_RDY (GPIO_PORTC | GPIO_PF | 13) | ||
#define PC14_PF_SPI1_SCLK (GPIO_PORTC | GPIO_PF | 14) | ||
#define PC15_PF_SPI1_SS (GPIO_PORTC | GPIO_PF | 15) | ||
#define PC16_PF_SPI1_MISO (GPIO_PORTC | GPIO_PF | 16) | ||
#define PC17_PF_SPI1_MOSI (GPIO_PORTC | GPIO_PF | 17) | ||
#define PC24_BIN_UART3_RI (GPIO_PORTC | GPIO_BIN | GPIO_OUT | 24) | ||
#define PC25_BIN_UART3_DSR (GPIO_PORTC | GPIO_BIN | GPIO_OUT | 25) | ||
#define PC26_AOUT_UART3_DTR (GPIO_PORTC | GPIO_AOUT | GPIO_IN | 26) | ||
#define PC27_BIN_UART3_DCD (GPIO_PORTC | GPIO_BIN | GPIO_OUT | 27) | ||
#define PC28_BIN_UART3_CTS (GPIO_PORTC | GPIO_BIN | GPIO_OUT | 28) | ||
#define PC29_AOUT_UART3_RTS (GPIO_PORTC | GPIO_AOUT | GPIO_IN | 29) | ||
#define PC30_BIN_UART3_TX (GPIO_PORTC | GPIO_BIN | 30) | ||
#define PC31_AOUT_UART3_RX (GPIO_PORTC | GPIO_AOUT | GPIO_IN | 31) | ||
#define PD6_PF_LSCLK (GPIO_PORTD | GPIO_PF | GPIO_OUT | 6) | ||
#define PD7_PF_REV (GPIO_PORTD | GPIO_PF | 7) | ||
#define PD7_AF_UART2_DTR (GPIO_PORTD | GPIO_AF | GPIO_IN | 7) | ||
#define PD7_AIN_SPI2_SCLK (GPIO_PORTD | GPIO_AIN | 7) | ||
#define PD8_PF_CLS (GPIO_PORTD | GPIO_PF | 8) | ||
#define PD8_AF_UART2_DCD (GPIO_PORTD | GPIO_AF | GPIO_OUT | 8) | ||
#define PD8_AIN_SPI2_SS (GPIO_PORTD | GPIO_AIN | 8) | ||
#define PD9_PF_PS (GPIO_PORTD | GPIO_PF | 9) | ||
#define PD9_AF_UART2_RI (GPIO_PORTD | GPIO_AF | GPIO_OUT | 9) | ||
#define PD9_AOUT_SPI2_RXD (GPIO_PORTD | GPIO_AOUT | GPIO_IN | 9) | ||
#define PD10_PF_SPL_SPR (GPIO_PORTD | GPIO_PF | GPIO_OUT | 10) | ||
#define PD10_AF_UART2_DSR (GPIO_PORTD | GPIO_AF | GPIO_OUT | 10) | ||
#define PD10_AIN_SPI2_TXD (GPIO_PORTD | GPIO_AIN | GPIO_OUT | 10) | ||
#define PD11_PF_CONTRAST (GPIO_PORTD | GPIO_PF | GPIO_OUT | 11) | ||
#define PD12_PF_ACD_OE (GPIO_PORTD | GPIO_PF | GPIO_OUT | 12) | ||
#define PD13_PF_LP_HSYNC (GPIO_PORTD | GPIO_PF | GPIO_OUT | 13) | ||
#define PD14_PF_FLM_VSYNC (GPIO_PORTD | GPIO_PF | GPIO_OUT | 14) | ||
#define PD15_PF_LD0 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 15) | ||
#define PD16_PF_LD1 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 16) | ||
#define PD17_PF_LD2 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 17) | ||
#define PD18_PF_LD3 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 18) | ||
#define PD19_PF_LD4 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 19) | ||
#define PD20_PF_LD5 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 20) | ||
#define PD21_PF_LD6 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 21) | ||
#define PD22_PF_LD7 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 22) | ||
#define PD23_PF_LD8 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 23) | ||
#define PD24_PF_LD9 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 24) | ||
#define PD25_PF_LD10 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 25) | ||
#define PD26_PF_LD11 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 26) | ||
#define PD27_PF_LD12 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 27) | ||
#define PD28_PF_LD13 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 28) | ||
#define PD29_PF_LD14 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 29) | ||
#define PD30_PF_LD15 (GPIO_PORTD | GPIO_PF | GPIO_OUT | 30) | ||
#define PD31_PF_TMR2OUT (GPIO_PORTD | GPIO_PF | 31) | ||
#define PD31_BIN_SPI2_TXD (GPIO_PORTD | GPIO_BIN | 31) | ||
|
||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
/* | ||
* Copyright (C) 2009 by Holger Schurig <hs4233@mail.mn-solutions.de> | ||
* | ||
* 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. | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
* MA 02110-1301, USA. | ||
*/ | ||
|
||
#ifndef _MXC_IOMUX_MX21_H | ||
#define _MXC_IOMUX_MX21_H | ||
|
||
#ifndef GPIO_PORTA | ||
#error Please include mach/iomux.h | ||
#endif | ||
|
||
|
||
/* Primary GPIO pin functions */ | ||
|
||
#define PB22_PF_USBH1_BYP (GPIO_PORTB | GPIO_PF | 22) | ||
#define PB25_PF_USBH1_ON (GPIO_PORTB | GPIO_PF | 25) | ||
#define PC5_PF_USBOTG_SDA (GPIO_PORTC | GPIO_PF | 5) | ||
#define PC6_PF_USBOTG_SCL (GPIO_PORTC | GPIO_PF | 6) | ||
#define PC7_PF_USBOTG_ON (GPIO_PORTC | GPIO_PF | 7) | ||
#define PC8_PF_USBOTG_FS (GPIO_PORTC | GPIO_PF | 8) | ||
#define PC9_PF_USBOTG_OE (GPIO_PORTC | GPIO_PF | 9) | ||
#define PC10_PF_USBOTG_TXDM (GPIO_PORTC | GPIO_PF | 10) | ||
#define PC11_PF_USBOTG_TXDP (GPIO_PORTC | GPIO_PF | 11) | ||
#define PC12_PF_USBOTG_RXDM (GPIO_PORTC | GPIO_PF | 12) | ||
#define PC13_PF_USBOTG_RXDP (GPIO_PORTC | GPIO_PF | 13) | ||
#define PC16_PF_SAP_FS (GPIO_PORTC | GPIO_PF | 16) | ||
#define PC17_PF_SAP_RXD (GPIO_PORTC | GPIO_PF | 17) | ||
#define PC18_PF_SAP_TXD (GPIO_PORTC | GPIO_PF | 18) | ||
#define PC19_PF_SAP_CLK (GPIO_PORTC | GPIO_PF | 19) | ||
#define PE0_PF_TEST_WB2 (GPIO_PORTE | GPIO_PF | 0) | ||
#define PE1_PF_TEST_WB1 (GPIO_PORTE | GPIO_PF | 1) | ||
#define PE2_PF_TEST_WB0 (GPIO_PORTE | GPIO_PF | 2) | ||
#define PF1_PF_NFCE (GPIO_PORTF | GPIO_PF | 1) | ||
#define PF3_PF_NFCLE (GPIO_PORTF | GPIO_PF | 3) | ||
#define PF7_PF_NFIO0 (GPIO_PORTF | GPIO_PF | 7) | ||
#define PF8_PF_NFIO1 (GPIO_PORTF | GPIO_PF | 8) | ||
#define PF9_PF_NFIO2 (GPIO_PORTF | GPIO_PF | 9) | ||
#define PF10_PF_NFIO3 (GPIO_PORTF | GPIO_PF | 10) | ||
#define PF11_PF_NFIO4 (GPIO_PORTF | GPIO_PF | 11) | ||
#define PF12_PF_NFIO5 (GPIO_PORTF | GPIO_PF | 12) | ||
#define PF13_PF_NFIO6 (GPIO_PORTF | GPIO_PF | 13) | ||
#define PF14_PF_NFIO7 (GPIO_PORTF | GPIO_PF | 14) | ||
#define PF16_PF_RES (GPIO_PORTF | GPIO_PF | 16) | ||
|
||
/* Alternate GPIO pin functions */ | ||
|
||
#define PA5_AF_BMI_CLK_CS (GPIO_PORTA | GPIO_AF | 5) | ||
#define PA6_AF_BMI_D0 (GPIO_PORTA | GPIO_AF | 6) | ||
#define PA7_AF_BMI_D1 (GPIO_PORTA | GPIO_AF | 7) | ||
#define PA8_AF_BMI_D2 (GPIO_PORTA | GPIO_AF | 8) | ||
#define PA9_AF_BMI_D3 (GPIO_PORTA | GPIO_AF | 9) | ||
#define PA10_AF_BMI_D4 (GPIO_PORTA | GPIO_AF | 10) | ||
#define PA11_AF_BMI_D5 (GPIO_PORTA | GPIO_AF | 11) | ||
#define PA12_AF_BMI_D6 (GPIO_PORTA | GPIO_AF | 12) | ||
#define PA13_AF_BMI_D7 (GPIO_PORTA | GPIO_AF | 13) | ||
#define PA14_AF_BMI_D8 (GPIO_PORTA | GPIO_AF | 14) | ||
#define PA15_AF_BMI_D9 (GPIO_PORTA | GPIO_AF | 15) | ||
#define PA16_AF_BMI_D10 (GPIO_PORTA | GPIO_AF | 16) | ||
#define PA17_AF_BMI_D11 (GPIO_PORTA | GPIO_AF | 17) | ||
#define PA18_AF_BMI_D12 (GPIO_PORTA | GPIO_AF | 18) | ||
#define PA19_AF_BMI_D13 (GPIO_PORTA | GPIO_AF | 19) | ||
#define PA20_AF_BMI_D14 (GPIO_PORTA | GPIO_AF | 20) | ||
#define PA21_AF_BMI_D15 (GPIO_PORTA | GPIO_AF | 21) | ||
#define PA22_AF_BMI_READ_REQ (GPIO_PORTA | GPIO_AF | 22) | ||
#define PA23_AF_BMI_WRITE (GPIO_PORTA | GPIO_AF | 23) | ||
#define PA29_AF_BMI_RX_FULL (GPIO_PORTA | GPIO_AF | 29) | ||
#define PA30_AF_BMI_READ (GPIO_PORTA | GPIO_AF | 30) | ||
|
||
/* AIN GPIO pin functions */ | ||
|
||
#define PC14_AIN_SYS_CLK (GPIO_PORTC | GPIO_AIN | GPIO_OUT | 14) | ||
#define PD21_AIN_USBH2_FS (GPIO_PORTD | GPIO_AIN | GPIO_OUT | 21) | ||
#define PD22_AIN_USBH2_OE (GPIO_PORTD | GPIO_AIN | GPIO_OUT | 22) | ||
#define PD23_AIN_USBH2_TXDM (GPIO_PORTD | GPIO_AIN | GPIO_OUT | 23) | ||
#define PD24_AIN_USBH2_TXDP (GPIO_PORTD | GPIO_AIN | GPIO_OUT | 24) | ||
#define PE8_AIN_IR_TXD (GPIO_PORTE | GPIO_AIN | GPIO_OUT | 8) | ||
#define PF0_AIN_PC_RST (GPIO_PORTF | GPIO_AIN | GPIO_OUT | 0) | ||
#define PF1_AIN_PC_CE1 (GPIO_PORTF | GPIO_AIN | GPIO_OUT | 1) | ||
#define PF2_AIN_PC_CE2 (GPIO_PORTF | GPIO_AIN | GPIO_OUT | 2) | ||
#define PF3_AIN_PC_POE (GPIO_PORTF | GPIO_AIN | GPIO_OUT | 3) | ||
#define PF4_AIN_PC_OE (GPIO_PORTF | GPIO_AIN | GPIO_OUT | 4) | ||
#define PF5_AIN_PC_RW (GPIO_PORTF | GPIO_AIN | GPIO_OUT | 5) | ||
|
||
/* BIN GPIO pin functions */ | ||
|
||
#define PC14_BIN_SYS_CLK (GPIO_PORTC | GPIO_BIN | GPIO_OUT | 14) | ||
#define PD27_BIN_EXT_DMA_GRANT (GPIO_PORTD | GPIO_BIN | GPIO_OUT | 27) | ||
|
||
/* CIN GPIO pin functions */ | ||
|
||
#define PB26_CIN_USBH1_RXDAT (GPIO_PORTB | GPIO_CIN | GPIO_OUT | 26) | ||
|
||
/* AOUT GPIO pin functions */ | ||
|
||
#define PA29_AOUT_BMI_WAIT (GPIO_PORTA | GPIO_AOUT | GPIO_IN | 29) | ||
#define PD19_AOUT_USBH2_RXDM (GPIO_PORTD | GPIO_AOUT | GPIO_IN | 19) | ||
#define PD20_AOUT_USBH2_RXDP (GPIO_PORTD | GPIO_AOUT | GPIO_IN | 20) | ||
#define PD25_AOUT_EXT_DMAREQ (GPIO_PORTD | GPIO_AOUT | GPIO_IN | 25) | ||
#define PD26_AOUT_USBOTG_RXDAT (GPIO_PORTD | GPIO_AOUT | GPIO_IN | 26) | ||
#define PE9_AOUT_IR_RXD (GPIO_PORTE | GPIO_AOUT | GPIO_IN | 9) | ||
#define PF6_AOUT_PC_BVD2 (GPIO_PORTF | GPIO_AOUT | GPIO_IN | 6) | ||
#define PF7_AOUT_PC_BVD1 (GPIO_PORTF | GPIO_AOUT | GPIO_IN | 7) | ||
#define PF8_AOUT_PC_VS2 (GPIO_PORTF | GPIO_AOUT | GPIO_IN | 8) | ||
#define PF9_AOUT_PC_VS1 (GPIO_PORTF | GPIO_AOUT | GPIO_IN | 9) | ||
#define PF10_AOUT_PC_WP (GPIO_PORTF | GPIO_AOUT | GPIO_IN | 10) | ||
#define PF11_AOUT_PC_READY (GPIO_PORTF | GPIO_AOUT | GPIO_IN | 11) | ||
#define PF12_AOUT_PC_WAIT (GPIO_PORTF | GPIO_AOUT | GPIO_IN | 12) | ||
#define PF13_AOUT_PC_CD2 (GPIO_PORTF | GPIO_AOUT | GPIO_IN | 13) | ||
#define PF14_AOUT_PC_CD1 (GPIO_PORTF | GPIO_AOUT | GPIO_IN | 14) | ||
|
||
|
||
#endif |
Oops, something went wrong.