1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 240e24c40SPaul Mundt #ifndef __ASM_SH7723_H__ 340e24c40SPaul Mundt #define __ASM_SH7723_H__ 440e24c40SPaul Mundt 5e4218ef5SMagnus Damm /* Boot Mode Pins: 6e4218ef5SMagnus Damm * 7e4218ef5SMagnus Damm * MD0: CPG - Clock Mode 0->3 8e4218ef5SMagnus Damm * MD1: CPG - Clock Mode 0->3 9e4218ef5SMagnus Damm * MD2: CPG - Reserved (L: Normal operation) 10e4218ef5SMagnus Damm * MD3: BSC - Area0 Bus Width (16/32-bit) [CS0BCR.9,10] 11e4218ef5SMagnus Damm * MD5: BSC - Endian Mode (L: Big, H: Little) [CMNCR.3] 12e4218ef5SMagnus Damm * MD8: Test Mode 13e4218ef5SMagnus Damm */ 14e4218ef5SMagnus Damm 15e4218ef5SMagnus Damm /* Pin Function Controller: 16e4218ef5SMagnus Damm * GPIO_FN_xx - GPIO used to select pin function 17e4218ef5SMagnus Damm * GPIO_Pxx - GPIO mapped to real I/O pin on CPU 18e4218ef5SMagnus Damm */ 1940e24c40SPaul Mundt enum { 2040e24c40SPaul Mundt /* PTA */ 2140e24c40SPaul Mundt GPIO_PTA7, GPIO_PTA6, GPIO_PTA5, GPIO_PTA4, 2240e24c40SPaul Mundt GPIO_PTA3, GPIO_PTA2, GPIO_PTA1, GPIO_PTA0, 2340e24c40SPaul Mundt 2440e24c40SPaul Mundt /* PTB */ 2540e24c40SPaul Mundt GPIO_PTB7, GPIO_PTB6, GPIO_PTB5, GPIO_PTB4, 2640e24c40SPaul Mundt GPIO_PTB3, GPIO_PTB2, GPIO_PTB1, GPIO_PTB0, 2740e24c40SPaul Mundt 2840e24c40SPaul Mundt /* PTC */ 2940e24c40SPaul Mundt GPIO_PTC7, GPIO_PTC6, GPIO_PTC5, GPIO_PTC4, 3040e24c40SPaul Mundt GPIO_PTC3, GPIO_PTC2, GPIO_PTC1, GPIO_PTC0, 3140e24c40SPaul Mundt 3240e24c40SPaul Mundt /* PTD */ 3340e24c40SPaul Mundt GPIO_PTD7, GPIO_PTD6, GPIO_PTD5, GPIO_PTD4, 3440e24c40SPaul Mundt GPIO_PTD3, GPIO_PTD2, GPIO_PTD1, GPIO_PTD0, 3540e24c40SPaul Mundt 3640e24c40SPaul Mundt /* PTE */ 3740e24c40SPaul Mundt GPIO_PTE5, GPIO_PTE4, GPIO_PTE3, GPIO_PTE2, 3840e24c40SPaul Mundt GPIO_PTE1, GPIO_PTE0, 3940e24c40SPaul Mundt 4040e24c40SPaul Mundt /* PTF */ 4140e24c40SPaul Mundt GPIO_PTF7, GPIO_PTF6, GPIO_PTF5, GPIO_PTF4, 4240e24c40SPaul Mundt GPIO_PTF3, GPIO_PTF2, GPIO_PTF1, GPIO_PTF0, 4340e24c40SPaul Mundt 4440e24c40SPaul Mundt /* PTG */ 4540e24c40SPaul Mundt GPIO_PTG5, GPIO_PTG4, GPIO_PTG3, GPIO_PTG2, 4640e24c40SPaul Mundt GPIO_PTG1, GPIO_PTG0, 4740e24c40SPaul Mundt 4840e24c40SPaul Mundt /* PTH */ 4940e24c40SPaul Mundt GPIO_PTH7, GPIO_PTH6, GPIO_PTH5, GPIO_PTH4, 5040e24c40SPaul Mundt GPIO_PTH3, GPIO_PTH2, GPIO_PTH1, GPIO_PTH0, 5140e24c40SPaul Mundt 5240e24c40SPaul Mundt /* PTJ */ 5340e24c40SPaul Mundt GPIO_PTJ7, GPIO_PTJ5, GPIO_PTJ3, GPIO_PTJ2, 5440e24c40SPaul Mundt GPIO_PTJ1, GPIO_PTJ0, 5540e24c40SPaul Mundt 5640e24c40SPaul Mundt /* PTK */ 5740e24c40SPaul Mundt GPIO_PTK7, GPIO_PTK6, GPIO_PTK5, GPIO_PTK4, 5840e24c40SPaul Mundt GPIO_PTK3, GPIO_PTK2, GPIO_PTK1, GPIO_PTK0, 5940e24c40SPaul Mundt 6040e24c40SPaul Mundt /* PTL */ 6140e24c40SPaul Mundt GPIO_PTL7, GPIO_PTL6, GPIO_PTL5, GPIO_PTL4, 6240e24c40SPaul Mundt GPIO_PTL3, GPIO_PTL2, GPIO_PTL1, GPIO_PTL0, 6340e24c40SPaul Mundt 6440e24c40SPaul Mundt /* PTM */ 6540e24c40SPaul Mundt GPIO_PTM7, GPIO_PTM6, GPIO_PTM5, GPIO_PTM4, 6640e24c40SPaul Mundt GPIO_PTM3, GPIO_PTM2, GPIO_PTM1, GPIO_PTM0, 6740e24c40SPaul Mundt 6840e24c40SPaul Mundt /* PTN */ 6940e24c40SPaul Mundt GPIO_PTN7, GPIO_PTN6, GPIO_PTN5, GPIO_PTN4, 7040e24c40SPaul Mundt GPIO_PTN3, GPIO_PTN2, GPIO_PTN1, GPIO_PTN0, 7140e24c40SPaul Mundt 7240e24c40SPaul Mundt /* PTQ */ 7340e24c40SPaul Mundt GPIO_PTQ3, GPIO_PTQ2, GPIO_PTQ1, GPIO_PTQ0, 7440e24c40SPaul Mundt 7540e24c40SPaul Mundt /* PTR */ 7640e24c40SPaul Mundt GPIO_PTR7, GPIO_PTR6, GPIO_PTR5, GPIO_PTR4, 7740e24c40SPaul Mundt GPIO_PTR3, GPIO_PTR2, GPIO_PTR1, GPIO_PTR0, 7840e24c40SPaul Mundt 7940e24c40SPaul Mundt /* PTS */ 8040e24c40SPaul Mundt GPIO_PTS7, GPIO_PTS6, GPIO_PTS5, GPIO_PTS4, 8140e24c40SPaul Mundt GPIO_PTS3, GPIO_PTS2, GPIO_PTS1, GPIO_PTS0, 8240e24c40SPaul Mundt 8340e24c40SPaul Mundt /* PTT */ 8440e24c40SPaul Mundt GPIO_PTT5, GPIO_PTT4, GPIO_PTT3, GPIO_PTT2, 8540e24c40SPaul Mundt GPIO_PTT1, GPIO_PTT0, 8640e24c40SPaul Mundt 8740e24c40SPaul Mundt /* PTU */ 8840e24c40SPaul Mundt GPIO_PTU5, GPIO_PTU4, GPIO_PTU3, GPIO_PTU2, 8940e24c40SPaul Mundt GPIO_PTU1, GPIO_PTU0, 9040e24c40SPaul Mundt 9140e24c40SPaul Mundt /* PTV */ 9240e24c40SPaul Mundt GPIO_PTV7, GPIO_PTV6, GPIO_PTV5, GPIO_PTV4, 9340e24c40SPaul Mundt GPIO_PTV3, GPIO_PTV2, GPIO_PTV1, GPIO_PTV0, 9440e24c40SPaul Mundt 9540e24c40SPaul Mundt /* PTW */ 9640e24c40SPaul Mundt GPIO_PTW7, GPIO_PTW6, GPIO_PTW5, GPIO_PTW4, 9740e24c40SPaul Mundt GPIO_PTW3, GPIO_PTW2, GPIO_PTW1, GPIO_PTW0, 9840e24c40SPaul Mundt 9940e24c40SPaul Mundt /* PTX */ 10040e24c40SPaul Mundt GPIO_PTX7, GPIO_PTX6, GPIO_PTX5, GPIO_PTX4, 10140e24c40SPaul Mundt GPIO_PTX3, GPIO_PTX2, GPIO_PTX1, GPIO_PTX0, 10240e24c40SPaul Mundt 10340e24c40SPaul Mundt /* PTY */ 10440e24c40SPaul Mundt GPIO_PTY7, GPIO_PTY6, GPIO_PTY5, GPIO_PTY4, 10540e24c40SPaul Mundt GPIO_PTY3, GPIO_PTY2, GPIO_PTY1, GPIO_PTY0, 10640e24c40SPaul Mundt 10740e24c40SPaul Mundt /* PTZ */ 10840e24c40SPaul Mundt GPIO_PTZ7, GPIO_PTZ6, GPIO_PTZ5, GPIO_PTZ4, 10940e24c40SPaul Mundt GPIO_PTZ3, GPIO_PTZ2, GPIO_PTZ1, GPIO_PTZ0, 11040e24c40SPaul Mundt 11140e24c40SPaul Mundt /* SCIF0 (SCIF: 3 pin PTT/PTU) */ 11240e24c40SPaul Mundt GPIO_FN_SCIF0_PTT_TXD, GPIO_FN_SCIF0_PTT_RXD, GPIO_FN_SCIF0_PTT_SCK, 11340e24c40SPaul Mundt GPIO_FN_SCIF0_PTU_TXD, GPIO_FN_SCIF0_PTU_RXD, GPIO_FN_SCIF0_PTU_SCK, 11440e24c40SPaul Mundt 11540e24c40SPaul Mundt /* SCIF1 (SCIF: 3 pin PTS/PTV) */ 11640e24c40SPaul Mundt GPIO_FN_SCIF1_PTS_TXD, GPIO_FN_SCIF1_PTS_RXD, GPIO_FN_SCIF1_PTS_SCK, 11740e24c40SPaul Mundt GPIO_FN_SCIF1_PTV_TXD, GPIO_FN_SCIF1_PTV_RXD, GPIO_FN_SCIF1_PTV_SCK, 11840e24c40SPaul Mundt 11940e24c40SPaul Mundt /* SCIF2 (SCIF: 3 pin PTT/PTU) */ 12040e24c40SPaul Mundt GPIO_FN_SCIF2_PTT_TXD, GPIO_FN_SCIF2_PTT_RXD, GPIO_FN_SCIF2_PTT_SCK, 12140e24c40SPaul Mundt GPIO_FN_SCIF2_PTU_TXD, GPIO_FN_SCIF2_PTU_RXD, GPIO_FN_SCIF2_PTU_SCK, 12240e24c40SPaul Mundt 12340e24c40SPaul Mundt /* SCIF3 (SCIFA: 5 pin PTS/PTV) */ 12440e24c40SPaul Mundt GPIO_FN_SCIF3_PTS_TXD, GPIO_FN_SCIF3_PTS_RXD, GPIO_FN_SCIF3_PTS_SCK, 12540e24c40SPaul Mundt GPIO_FN_SCIF3_PTS_RTS, GPIO_FN_SCIF3_PTS_CTS, 12640e24c40SPaul Mundt GPIO_FN_SCIF3_PTV_TXD, GPIO_FN_SCIF3_PTV_RXD, GPIO_FN_SCIF3_PTV_SCK, 12740e24c40SPaul Mundt GPIO_FN_SCIF3_PTV_RTS, GPIO_FN_SCIF3_PTV_CTS, 12840e24c40SPaul Mundt 12940e24c40SPaul Mundt /* SCIF4 (SCIFA: 3 pin PTE/PTN) */ 13040e24c40SPaul Mundt GPIO_FN_SCIF4_PTE_TXD, GPIO_FN_SCIF4_PTE_RXD, GPIO_FN_SCIF4_PTE_SCK, 13140e24c40SPaul Mundt GPIO_FN_SCIF4_PTN_TXD, GPIO_FN_SCIF4_PTN_RXD, GPIO_FN_SCIF4_PTN_SCK, 13240e24c40SPaul Mundt 13340e24c40SPaul Mundt /* SCIF5 (SCIFA: 3 pin PTE/PTN) */ 13440e24c40SPaul Mundt GPIO_FN_SCIF5_PTE_TXD, GPIO_FN_SCIF5_PTE_RXD, GPIO_FN_SCIF5_PTE_SCK, 13540e24c40SPaul Mundt GPIO_FN_SCIF5_PTN_TXD, GPIO_FN_SCIF5_PTN_RXD, GPIO_FN_SCIF5_PTN_SCK, 13640e24c40SPaul Mundt 13740e24c40SPaul Mundt /* CEU */ 13840e24c40SPaul Mundt GPIO_FN_VIO_D15, GPIO_FN_VIO_D14, GPIO_FN_VIO_D13, GPIO_FN_VIO_D12, 13940e24c40SPaul Mundt GPIO_FN_VIO_D11, GPIO_FN_VIO_D10, GPIO_FN_VIO_D9, GPIO_FN_VIO_D8, 14040e24c40SPaul Mundt GPIO_FN_VIO_D7, GPIO_FN_VIO_D6, GPIO_FN_VIO_D5, GPIO_FN_VIO_D4, 14140e24c40SPaul Mundt GPIO_FN_VIO_D3, GPIO_FN_VIO_D2, GPIO_FN_VIO_D1, GPIO_FN_VIO_D0, 14240e24c40SPaul Mundt GPIO_FN_VIO_FLD, GPIO_FN_VIO_CKO, 14340e24c40SPaul Mundt GPIO_FN_VIO_VD1, GPIO_FN_VIO_HD1, GPIO_FN_VIO_CLK1, 14440e24c40SPaul Mundt GPIO_FN_VIO_VD2, GPIO_FN_VIO_HD2, GPIO_FN_VIO_CLK2, 14540e24c40SPaul Mundt 14640e24c40SPaul Mundt /* LCDC */ 14740e24c40SPaul Mundt GPIO_FN_LCDD23, GPIO_FN_LCDD22, GPIO_FN_LCDD21, GPIO_FN_LCDD20, 14840e24c40SPaul Mundt GPIO_FN_LCDD19, GPIO_FN_LCDD18, GPIO_FN_LCDD17, GPIO_FN_LCDD16, 14940e24c40SPaul Mundt GPIO_FN_LCDD15, GPIO_FN_LCDD14, GPIO_FN_LCDD13, GPIO_FN_LCDD12, 15040e24c40SPaul Mundt GPIO_FN_LCDD11, GPIO_FN_LCDD10, GPIO_FN_LCDD9, GPIO_FN_LCDD8, 15140e24c40SPaul Mundt GPIO_FN_LCDD7, GPIO_FN_LCDD6, GPIO_FN_LCDD5, GPIO_FN_LCDD4, 15240e24c40SPaul Mundt GPIO_FN_LCDD3, GPIO_FN_LCDD2, GPIO_FN_LCDD1, GPIO_FN_LCDD0, 15340e24c40SPaul Mundt GPIO_FN_LCDLCLK_PTR, GPIO_FN_LCDLCLK_PTW, 15440e24c40SPaul Mundt /* Main LCD */ 15540e24c40SPaul Mundt GPIO_FN_LCDDON, GPIO_FN_LCDVCPWC, GPIO_FN_LCDVEPWC, GPIO_FN_LCDVSYN, 15640e24c40SPaul Mundt /* Main LCD - RGB Mode */ 15740e24c40SPaul Mundt GPIO_FN_LCDDCK, GPIO_FN_LCDHSYN, GPIO_FN_LCDDISP, 15840e24c40SPaul Mundt /* Main LCD - SYS Mode */ 15940e24c40SPaul Mundt GPIO_FN_LCDRS, GPIO_FN_LCDCS, GPIO_FN_LCDWR, GPIO_FN_LCDRD, 16040e24c40SPaul Mundt 16140e24c40SPaul Mundt /* IRQ */ 16240e24c40SPaul Mundt GPIO_FN_IRQ0, GPIO_FN_IRQ1, GPIO_FN_IRQ2, GPIO_FN_IRQ3, 16340e24c40SPaul Mundt GPIO_FN_IRQ4, GPIO_FN_IRQ5, GPIO_FN_IRQ6, GPIO_FN_IRQ7, 16440e24c40SPaul Mundt 16540e24c40SPaul Mundt /* AUD */ 16640e24c40SPaul Mundt GPIO_FN_AUDATA3, GPIO_FN_AUDATA2, GPIO_FN_AUDATA1, GPIO_FN_AUDATA0, 16740e24c40SPaul Mundt GPIO_FN_AUDCK, GPIO_FN_AUDSYNC, 16840e24c40SPaul Mundt 16940e24c40SPaul Mundt /* SDHI0 (PTD) */ 17040e24c40SPaul Mundt GPIO_FN_SDHI0CD_PTD, GPIO_FN_SDHI0WP_PTD, 17140e24c40SPaul Mundt GPIO_FN_SDHI0D3_PTD, GPIO_FN_SDHI0D2_PTD, 17240e24c40SPaul Mundt GPIO_FN_SDHI0D1_PTD, GPIO_FN_SDHI0D0_PTD, 17340e24c40SPaul Mundt GPIO_FN_SDHI0CMD_PTD, GPIO_FN_SDHI0CLK_PTD, 17440e24c40SPaul Mundt 17540e24c40SPaul Mundt /* SDHI0 (PTS) */ 17640e24c40SPaul Mundt GPIO_FN_SDHI0CD_PTS, GPIO_FN_SDHI0WP_PTS, 17740e24c40SPaul Mundt GPIO_FN_SDHI0D3_PTS, GPIO_FN_SDHI0D2_PTS, 17840e24c40SPaul Mundt GPIO_FN_SDHI0D1_PTS, GPIO_FN_SDHI0D0_PTS, 17940e24c40SPaul Mundt GPIO_FN_SDHI0CMD_PTS, GPIO_FN_SDHI0CLK_PTS, 18040e24c40SPaul Mundt 18140e24c40SPaul Mundt /* SDHI1 */ 18240e24c40SPaul Mundt GPIO_FN_SDHI1CD, GPIO_FN_SDHI1WP, GPIO_FN_SDHI1D3, GPIO_FN_SDHI1D2, 18340e24c40SPaul Mundt GPIO_FN_SDHI1D1, GPIO_FN_SDHI1D0, GPIO_FN_SDHI1CMD, GPIO_FN_SDHI1CLK, 18440e24c40SPaul Mundt 18540e24c40SPaul Mundt /* SIUA */ 18640e24c40SPaul Mundt GPIO_FN_SIUAFCK, GPIO_FN_SIUAILR, GPIO_FN_SIUAIBT, GPIO_FN_SIUAISLD, 18740e24c40SPaul Mundt GPIO_FN_SIUAOLR, GPIO_FN_SIUAOBT, GPIO_FN_SIUAOSLD, GPIO_FN_SIUAMCK, 18854cbac81SLaurent Pinchart GPIO_FN_SIUAISPD, GPIO_FN_SIUAOSPD, 18940e24c40SPaul Mundt 19040e24c40SPaul Mundt /* SIUB */ 19140e24c40SPaul Mundt GPIO_FN_SIUBFCK, GPIO_FN_SIUBILR, GPIO_FN_SIUBIBT, GPIO_FN_SIUBISLD, 19240e24c40SPaul Mundt GPIO_FN_SIUBOLR, GPIO_FN_SIUBOBT, GPIO_FN_SIUBOSLD, GPIO_FN_SIUBMCK, 19340e24c40SPaul Mundt 19440e24c40SPaul Mundt /* IRDA */ 19540e24c40SPaul Mundt GPIO_FN_IRDA_IN, GPIO_FN_IRDA_OUT, 19640e24c40SPaul Mundt 19740e24c40SPaul Mundt /* VOU */ 19840e24c40SPaul Mundt GPIO_FN_DV_CLKI, GPIO_FN_DV_CLK, GPIO_FN_DV_HSYNC, GPIO_FN_DV_VSYNC, 19940e24c40SPaul Mundt GPIO_FN_DV_D15, GPIO_FN_DV_D14, GPIO_FN_DV_D13, GPIO_FN_DV_D12, 20040e24c40SPaul Mundt GPIO_FN_DV_D11, GPIO_FN_DV_D10, GPIO_FN_DV_D9, GPIO_FN_DV_D8, 20140e24c40SPaul Mundt GPIO_FN_DV_D7, GPIO_FN_DV_D6, GPIO_FN_DV_D5, GPIO_FN_DV_D4, 20240e24c40SPaul Mundt GPIO_FN_DV_D3, GPIO_FN_DV_D2, GPIO_FN_DV_D1, GPIO_FN_DV_D0, 20340e24c40SPaul Mundt 20440e24c40SPaul Mundt /* KEYSC */ 20540e24c40SPaul Mundt GPIO_FN_KEYIN0, GPIO_FN_KEYIN1, GPIO_FN_KEYIN2, GPIO_FN_KEYIN3, 20640e24c40SPaul Mundt GPIO_FN_KEYIN4, GPIO_FN_KEYOUT0, GPIO_FN_KEYOUT1, GPIO_FN_KEYOUT2, 20740e24c40SPaul Mundt GPIO_FN_KEYOUT3, GPIO_FN_KEYOUT4_IN6, GPIO_FN_KEYOUT5_IN5, 20840e24c40SPaul Mundt 20940e24c40SPaul Mundt /* MSIOF0 (PTF) */ 21040e24c40SPaul Mundt GPIO_FN_MSIOF0_PTF_TXD, GPIO_FN_MSIOF0_PTF_RXD, GPIO_FN_MSIOF0_PTF_MCK, 21140e24c40SPaul Mundt GPIO_FN_MSIOF0_PTF_TSYNC, GPIO_FN_MSIOF0_PTF_TSCK, 21240e24c40SPaul Mundt GPIO_FN_MSIOF0_PTF_RSYNC, GPIO_FN_MSIOF0_PTF_RSCK, 21340e24c40SPaul Mundt GPIO_FN_MSIOF0_PTF_SS1, GPIO_FN_MSIOF0_PTF_SS2, 21440e24c40SPaul Mundt 21540e24c40SPaul Mundt /* MSIOF0 (PTT+PTX) */ 21640e24c40SPaul Mundt GPIO_FN_MSIOF0_PTT_TXD, GPIO_FN_MSIOF0_PTT_RXD, GPIO_FN_MSIOF0_PTX_MCK, 21740e24c40SPaul Mundt GPIO_FN_MSIOF0_PTT_TSYNC, GPIO_FN_MSIOF0_PTT_TSCK, 21840e24c40SPaul Mundt GPIO_FN_MSIOF0_PTT_RSYNC, GPIO_FN_MSIOF0_PTT_RSCK, 21940e24c40SPaul Mundt GPIO_FN_MSIOF0_PTT_SS1, GPIO_FN_MSIOF0_PTT_SS2, 22040e24c40SPaul Mundt 22140e24c40SPaul Mundt /* MSIOF1 */ 22240e24c40SPaul Mundt GPIO_FN_MSIOF1_TXD, GPIO_FN_MSIOF1_RXD, GPIO_FN_MSIOF1_MCK, 22340e24c40SPaul Mundt GPIO_FN_MSIOF1_TSYNC, GPIO_FN_MSIOF1_TSCK, 22440e24c40SPaul Mundt GPIO_FN_MSIOF1_RSYNC, GPIO_FN_MSIOF1_RSCK, 22540e24c40SPaul Mundt GPIO_FN_MSIOF1_SS1, GPIO_FN_MSIOF1_SS2, 22640e24c40SPaul Mundt 22740e24c40SPaul Mundt /* TSIF */ 22840e24c40SPaul Mundt GPIO_FN_TS0_SDAT, GPIO_FN_TS0_SCK, GPIO_FN_TS0_SDEN, GPIO_FN_TS0_SPSYNC, 22940e24c40SPaul Mundt 23040e24c40SPaul Mundt /* FLCTL */ 23140e24c40SPaul Mundt GPIO_FN_FCE, GPIO_FN_NAF7, GPIO_FN_NAF6, GPIO_FN_NAF5, GPIO_FN_NAF4, 23240e24c40SPaul Mundt GPIO_FN_NAF3, GPIO_FN_NAF2, GPIO_FN_NAF1, GPIO_FN_NAF0, GPIO_FN_FCDE, 23340e24c40SPaul Mundt GPIO_FN_FOE, GPIO_FN_FSC, GPIO_FN_FWE, GPIO_FN_FRB, 23440e24c40SPaul Mundt 23540e24c40SPaul Mundt /* DMAC */ 23640e24c40SPaul Mundt GPIO_FN_DACK1, GPIO_FN_DREQ1, GPIO_FN_DACK0, GPIO_FN_DREQ0, 23740e24c40SPaul Mundt 23840e24c40SPaul Mundt /* ADC */ 23940e24c40SPaul Mundt GPIO_FN_AN3, GPIO_FN_AN2, GPIO_FN_AN1, GPIO_FN_AN0, GPIO_FN_ADTRG, 24040e24c40SPaul Mundt 24140e24c40SPaul Mundt /* CPG */ 24240e24c40SPaul Mundt GPIO_FN_STATUS0, GPIO_FN_PDSTATUS, 24340e24c40SPaul Mundt 24440e24c40SPaul Mundt /* TPU */ 24540e24c40SPaul Mundt GPIO_FN_TPUTO3, GPIO_FN_TPUTO2, GPIO_FN_TPUTO1, GPIO_FN_TPUTO0, 24640e24c40SPaul Mundt 24740e24c40SPaul Mundt /* BSC */ 24840e24c40SPaul Mundt GPIO_FN_D31, GPIO_FN_D30, GPIO_FN_D29, GPIO_FN_D28, 24940e24c40SPaul Mundt GPIO_FN_D27, GPIO_FN_D26, GPIO_FN_D25, GPIO_FN_D24, 25040e24c40SPaul Mundt GPIO_FN_D23, GPIO_FN_D22, GPIO_FN_D21, GPIO_FN_D20, 25140e24c40SPaul Mundt GPIO_FN_D19, GPIO_FN_D18, GPIO_FN_D17, GPIO_FN_D16, 25240e24c40SPaul Mundt GPIO_FN_IOIS16, GPIO_FN_WAIT, GPIO_FN_BS, 25340e24c40SPaul Mundt GPIO_FN_A25, GPIO_FN_A24, GPIO_FN_A23, GPIO_FN_A22, 25440e24c40SPaul Mundt GPIO_FN_CS6B_CE1B, GPIO_FN_CS6A_CE2B, 25540e24c40SPaul Mundt GPIO_FN_CS5B_CE1A, GPIO_FN_CS5A_CE2A, 25640e24c40SPaul Mundt GPIO_FN_WE3_ICIOWR, GPIO_FN_WE2_ICIORD, 25740e24c40SPaul Mundt 25840e24c40SPaul Mundt /* ATAPI */ 25940e24c40SPaul Mundt GPIO_FN_IDED15, GPIO_FN_IDED14, GPIO_FN_IDED13, GPIO_FN_IDED12, 26040e24c40SPaul Mundt GPIO_FN_IDED11, GPIO_FN_IDED10, GPIO_FN_IDED9, GPIO_FN_IDED8, 26140e24c40SPaul Mundt GPIO_FN_IDED7, GPIO_FN_IDED6, GPIO_FN_IDED5, GPIO_FN_IDED4, 26240e24c40SPaul Mundt GPIO_FN_IDED3, GPIO_FN_IDED2, GPIO_FN_IDED1, GPIO_FN_IDED0, 26340e24c40SPaul Mundt GPIO_FN_DIRECTION, GPIO_FN_EXBUF_ENB, GPIO_FN_IDERST, GPIO_FN_IODACK, 26440e24c40SPaul Mundt GPIO_FN_IODREQ, GPIO_FN_IDEIORDY, GPIO_FN_IDEINT, GPIO_FN_IDEIOWR, 26540e24c40SPaul Mundt GPIO_FN_IDEIORD, GPIO_FN_IDECS1, GPIO_FN_IDECS0, GPIO_FN_IDEA2, 26640e24c40SPaul Mundt GPIO_FN_IDEA1, GPIO_FN_IDEA0, 26740e24c40SPaul Mundt }; 26840e24c40SPaul Mundt 2692094e504SMagnus Damm enum { 2702094e504SMagnus Damm HWBLK_TLB, HWBLK_IC, HWBLK_OC, HWBLK_L2C, HWBLK_ILMEM, HWBLK_FPU, 2712094e504SMagnus Damm HWBLK_INTC, HWBLK_DMAC0, HWBLK_SHYWAY, 272544089a9SKuninori Morimoto HWBLK_HUDI, HWBLK_UBC, 2732094e504SMagnus Damm HWBLK_TMU0, HWBLK_CMT, HWBLK_RWDT, HWBLK_DMAC1, HWBLK_TMU1, 2742094e504SMagnus Damm HWBLK_FLCTL, 2752094e504SMagnus Damm HWBLK_SCIF0, HWBLK_SCIF1, HWBLK_SCIF2, 2762094e504SMagnus Damm HWBLK_SCIF3, HWBLK_SCIF4, HWBLK_SCIF5, 2772094e504SMagnus Damm HWBLK_MSIOF0, HWBLK_MSIOF1, HWBLK_MERAM, HWBLK_IIC, HWBLK_RTC, 2782094e504SMagnus Damm HWBLK_ATAPI, HWBLK_ADC, HWBLK_TPU, HWBLK_IRDA, HWBLK_TSIF, HWBLK_ICB, 2792094e504SMagnus Damm HWBLK_SDHI0, HWBLK_SDHI1, HWBLK_KEYSC, HWBLK_USB, 2802094e504SMagnus Damm HWBLK_2DG, HWBLK_SIU, HWBLK_VEU2H1, HWBLK_VOU, HWBLK_BEU, HWBLK_CEU, 2812094e504SMagnus Damm HWBLK_VEU2H0, HWBLK_VPU, HWBLK_LCDC, 2822094e504SMagnus Damm HWBLK_NR, 2832094e504SMagnus Damm }; 2842094e504SMagnus Damm 28540e24c40SPaul Mundt #endif /* __ASM_SH7723_H__ */ 286