1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2f7275650SPaul Mundt #ifndef __ASM_SH7203_H__ 3f7275650SPaul Mundt #define __ASM_SH7203_H__ 4f7275650SPaul Mundt 5f7275650SPaul Mundt enum { 6f7275650SPaul Mundt /* PA */ 7f7275650SPaul Mundt GPIO_PA7, GPIO_PA6, GPIO_PA5, GPIO_PA4, 8f7275650SPaul Mundt GPIO_PA3, GPIO_PA2, GPIO_PA1, GPIO_PA0, 9f7275650SPaul Mundt 10f7275650SPaul Mundt /* PB */ 11f7275650SPaul Mundt GPIO_PB12, 12f7275650SPaul Mundt GPIO_PB11, GPIO_PB10, GPIO_PB9, GPIO_PB8, 13f7275650SPaul Mundt GPIO_PB7, GPIO_PB6, GPIO_PB5, GPIO_PB4, 14f7275650SPaul Mundt GPIO_PB3, GPIO_PB2, GPIO_PB1, GPIO_PB0, 15f7275650SPaul Mundt 16f7275650SPaul Mundt /* PC */ 17f7275650SPaul Mundt GPIO_PC14, GPIO_PC13, GPIO_PC12, 18f7275650SPaul Mundt GPIO_PC11, GPIO_PC10, GPIO_PC9, GPIO_PC8, 19f7275650SPaul Mundt GPIO_PC7, GPIO_PC6, GPIO_PC5, GPIO_PC4, 20f7275650SPaul Mundt GPIO_PC3, GPIO_PC2, GPIO_PC1, GPIO_PC0, 21f7275650SPaul Mundt 22f7275650SPaul Mundt /* PD */ 23f7275650SPaul Mundt GPIO_PD15, GPIO_PD14, GPIO_PD13, GPIO_PD12, 24f7275650SPaul Mundt GPIO_PD11, GPIO_PD10, GPIO_PD9, GPIO_PD8, 25f7275650SPaul Mundt GPIO_PD7, GPIO_PD6, GPIO_PD5, GPIO_PD4, 26f7275650SPaul Mundt GPIO_PD3, GPIO_PD2, GPIO_PD1, GPIO_PD0, 27f7275650SPaul Mundt 28f7275650SPaul Mundt /* PE */ 29f7275650SPaul Mundt GPIO_PE15, GPIO_PE14, GPIO_PE13, GPIO_PE12, 30f7275650SPaul Mundt GPIO_PE11, GPIO_PE10, GPIO_PE9, GPIO_PE8, 31f7275650SPaul Mundt GPIO_PE7, GPIO_PE6, GPIO_PE5, GPIO_PE4, 32f7275650SPaul Mundt GPIO_PE3, GPIO_PE2, GPIO_PE1, GPIO_PE0, 33f7275650SPaul Mundt 34f7275650SPaul Mundt /* PF */ 35f7275650SPaul Mundt GPIO_PF30, GPIO_PF29, GPIO_PF28, 36f7275650SPaul Mundt GPIO_PF27, GPIO_PF26, GPIO_PF25, GPIO_PF24, 37f7275650SPaul Mundt GPIO_PF23, GPIO_PF22, GPIO_PF21, GPIO_PF20, 38f7275650SPaul Mundt GPIO_PF19, GPIO_PF18, GPIO_PF17, GPIO_PF16, 39f7275650SPaul Mundt GPIO_PF15, GPIO_PF14, GPIO_PF13, GPIO_PF12, 40f7275650SPaul Mundt GPIO_PF11, GPIO_PF10, GPIO_PF9, GPIO_PF8, 41f7275650SPaul Mundt GPIO_PF7, GPIO_PF6, GPIO_PF5, GPIO_PF4, 42f7275650SPaul Mundt GPIO_PF3, GPIO_PF2, GPIO_PF1, GPIO_PF0, 43f7275650SPaul Mundt 44f7275650SPaul Mundt /* INTC: IRQ and PINT on PB/PD/PE */ 45f7275650SPaul Mundt GPIO_FN_PINT7_PB, GPIO_FN_PINT6_PB, GPIO_FN_PINT5_PB, GPIO_FN_PINT4_PB, 46f7275650SPaul Mundt GPIO_FN_PINT3_PB, GPIO_FN_PINT2_PB, GPIO_FN_PINT1_PB, GPIO_FN_PINT0_PB, 47f7275650SPaul Mundt GPIO_FN_PINT7_PD, GPIO_FN_PINT6_PD, GPIO_FN_PINT5_PD, GPIO_FN_PINT4_PD, 48f7275650SPaul Mundt GPIO_FN_PINT3_PD, GPIO_FN_PINT2_PD, GPIO_FN_PINT1_PD, GPIO_FN_PINT0_PD, 49f7275650SPaul Mundt GPIO_FN_IRQ7_PB, GPIO_FN_IRQ6_PB, GPIO_FN_IRQ5_PB, GPIO_FN_IRQ4_PB, 50f7275650SPaul Mundt GPIO_FN_IRQ3_PB, GPIO_FN_IRQ2_PB, GPIO_FN_IRQ1_PB, GPIO_FN_IRQ0_PB, 51f7275650SPaul Mundt GPIO_FN_IRQ7_PD, GPIO_FN_IRQ6_PD, GPIO_FN_IRQ5_PD, GPIO_FN_IRQ4_PD, 52f7275650SPaul Mundt GPIO_FN_IRQ3_PD, GPIO_FN_IRQ2_PD, GPIO_FN_IRQ1_PD, GPIO_FN_IRQ0_PD, 53f7275650SPaul Mundt GPIO_FN_IRQ7_PE, GPIO_FN_IRQ6_PE, GPIO_FN_IRQ5_PE, GPIO_FN_IRQ4_PE, 54f7275650SPaul Mundt GPIO_FN_IRQ3_PE, GPIO_FN_IRQ2_PE, GPIO_FN_IRQ1_PE, GPIO_FN_IRQ0_PE, 55f7275650SPaul Mundt 56f7275650SPaul Mundt GPIO_FN_WDTOVF, GPIO_FN_IRQOUT, GPIO_FN_REFOUT, GPIO_FN_IRQOUT_REFOUT, 57f7275650SPaul Mundt GPIO_FN_UBCTRG, 58f7275650SPaul Mundt 59f7275650SPaul Mundt /* CAN */ 60f7275650SPaul Mundt GPIO_FN_CTX1, GPIO_FN_CRX1, GPIO_FN_CTX0, GPIO_FN_CTX0_CTX1, 61f7275650SPaul Mundt GPIO_FN_CRX0, GPIO_FN_CRX0_CRX1, 62f7275650SPaul Mundt 63f7275650SPaul Mundt /* IIC3 */ 64f7275650SPaul Mundt GPIO_FN_SDA3, GPIO_FN_SCL3, 65f7275650SPaul Mundt GPIO_FN_SDA2, GPIO_FN_SCL2, 66f7275650SPaul Mundt GPIO_FN_SDA1, GPIO_FN_SCL1, 67f7275650SPaul Mundt GPIO_FN_SDA0, GPIO_FN_SCL0, 68f7275650SPaul Mundt 69f7275650SPaul Mundt /* DMAC */ 70f7275650SPaul Mundt GPIO_FN_TEND0_PD, GPIO_FN_TEND0_PE, GPIO_FN_DACK0_PD, 71f7275650SPaul Mundt GPIO_FN_DACK0_PE, GPIO_FN_DREQ0_PD, GPIO_FN_DREQ0_PE, 72f7275650SPaul Mundt GPIO_FN_TEND1_PD, GPIO_FN_TEND1_PE, GPIO_FN_DACK1_PD, 73f7275650SPaul Mundt GPIO_FN_DACK1_PE, GPIO_FN_DREQ1_PD, GPIO_FN_DREQ1_PE, 74f7275650SPaul Mundt GPIO_FN_DACK2, GPIO_FN_DREQ2, 75f7275650SPaul Mundt GPIO_FN_DACK3, GPIO_FN_DREQ3, 76f7275650SPaul Mundt 77f7275650SPaul Mundt /* ADC */ 78f7275650SPaul Mundt GPIO_FN_ADTRG_PD, GPIO_FN_ADTRG_PE, 79f7275650SPaul Mundt 80f7275650SPaul Mundt /* BSC */ 81f7275650SPaul Mundt GPIO_FN_D31, GPIO_FN_D30, GPIO_FN_D29, GPIO_FN_D28, 82f7275650SPaul Mundt GPIO_FN_D27, GPIO_FN_D26, GPIO_FN_D25, GPIO_FN_D24, 83f7275650SPaul Mundt GPIO_FN_D23, GPIO_FN_D22, GPIO_FN_D21, GPIO_FN_D20, 84f7275650SPaul Mundt GPIO_FN_D19, GPIO_FN_D18, GPIO_FN_D17, GPIO_FN_D16, 85f7275650SPaul Mundt GPIO_FN_A25, GPIO_FN_A24, GPIO_FN_A23, GPIO_FN_A22, 86f7275650SPaul Mundt GPIO_FN_A21, GPIO_FN_CS4, GPIO_FN_MRES, GPIO_FN_BS, 87f7275650SPaul Mundt GPIO_FN_IOIS16, GPIO_FN_CS1, GPIO_FN_CS6_CE1B, 88f7275650SPaul Mundt GPIO_FN_CE2B, GPIO_FN_CS5_CE1A, GPIO_FN_CE2A, 89f7275650SPaul Mundt GPIO_FN_FRAME, GPIO_FN_WAIT, GPIO_FN_RDWR, 90f7275650SPaul Mundt GPIO_FN_CKE, GPIO_FN_CASU, GPIO_FN_BREQ, GPIO_FN_RASU, 91f7275650SPaul Mundt GPIO_FN_BACK, GPIO_FN_CASL, GPIO_FN_RASL, 92f7275650SPaul Mundt GPIO_FN_WE3_DQMUU_AH_ICIO_WR, GPIO_FN_WE2_DQMUL_ICIORD, 93f7275650SPaul Mundt GPIO_FN_WE1_DQMLU_WE, GPIO_FN_WE0_DQMLL, 94f7275650SPaul Mundt GPIO_FN_CS3, GPIO_FN_CS2, GPIO_FN_A1, GPIO_FN_A0, GPIO_FN_CS7, 95f7275650SPaul Mundt 96f7275650SPaul Mundt /* TMU */ 97f7275650SPaul Mundt GPIO_FN_TIOC4D, GPIO_FN_TIOC4C, GPIO_FN_TIOC4B, GPIO_FN_TIOC4A, 98f7275650SPaul Mundt GPIO_FN_TIOC3D, GPIO_FN_TIOC3C, GPIO_FN_TIOC3B, GPIO_FN_TIOC3A, 99f7275650SPaul Mundt GPIO_FN_TIOC2B, GPIO_FN_TIOC1B, GPIO_FN_TIOC2A, GPIO_FN_TIOC1A, 100f7275650SPaul Mundt GPIO_FN_TIOC0D, GPIO_FN_TIOC0C, GPIO_FN_TIOC0B, GPIO_FN_TIOC0A, 101f7275650SPaul Mundt GPIO_FN_TCLKD_PD, GPIO_FN_TCLKC_PD, GPIO_FN_TCLKB_PD, GPIO_FN_TCLKA_PD, 102f7275650SPaul Mundt GPIO_FN_TCLKD_PF, GPIO_FN_TCLKC_PF, GPIO_FN_TCLKB_PF, GPIO_FN_TCLKA_PF, 103f7275650SPaul Mundt 104f7275650SPaul Mundt /* SSU */ 105f7275650SPaul Mundt GPIO_FN_SCS0_PD, GPIO_FN_SSO0_PD, GPIO_FN_SSI0_PD, GPIO_FN_SSCK0_PD, 106f7275650SPaul Mundt GPIO_FN_SCS0_PF, GPIO_FN_SSO0_PF, GPIO_FN_SSI0_PF, GPIO_FN_SSCK0_PF, 107f7275650SPaul Mundt GPIO_FN_SCS1_PD, GPIO_FN_SSO1_PD, GPIO_FN_SSI1_PD, GPIO_FN_SSCK1_PD, 108f7275650SPaul Mundt GPIO_FN_SCS1_PF, GPIO_FN_SSO1_PF, GPIO_FN_SSI1_PF, GPIO_FN_SSCK1_PF, 109f7275650SPaul Mundt 110f7275650SPaul Mundt /* SCIF */ 111f7275650SPaul Mundt GPIO_FN_TXD0, GPIO_FN_RXD0, GPIO_FN_SCK0, 112f7275650SPaul Mundt GPIO_FN_TXD1, GPIO_FN_RXD1, GPIO_FN_SCK1, 113f7275650SPaul Mundt GPIO_FN_TXD2, GPIO_FN_RXD2, GPIO_FN_SCK2, 114f7275650SPaul Mundt GPIO_FN_RTS3, GPIO_FN_CTS3, GPIO_FN_TXD3, GPIO_FN_RXD3, GPIO_FN_SCK3, 115f7275650SPaul Mundt 116f7275650SPaul Mundt /* SSI */ 117f7275650SPaul Mundt GPIO_FN_AUDIO_CLK, 118f7275650SPaul Mundt GPIO_FN_SSIDATA3, GPIO_FN_SSIWS3, GPIO_FN_SSISCK3, 119f7275650SPaul Mundt GPIO_FN_SSIDATA2, GPIO_FN_SSIWS2, GPIO_FN_SSISCK2, 120f7275650SPaul Mundt GPIO_FN_SSIDATA1, GPIO_FN_SSIWS1, GPIO_FN_SSISCK1, 121f7275650SPaul Mundt GPIO_FN_SSIDATA0, GPIO_FN_SSIWS0, GPIO_FN_SSISCK0, 122f7275650SPaul Mundt 123f7275650SPaul Mundt /* FLCTL */ 124f7275650SPaul Mundt GPIO_FN_FCE, GPIO_FN_FRB, 125f7275650SPaul Mundt GPIO_FN_NAF7, GPIO_FN_NAF6, GPIO_FN_NAF5, GPIO_FN_NAF4, 126f7275650SPaul Mundt GPIO_FN_NAF3, GPIO_FN_NAF2, GPIO_FN_NAF1, GPIO_FN_NAF0, 127f7275650SPaul Mundt GPIO_FN_FSC, GPIO_FN_FOE, GPIO_FN_FCDE, GPIO_FN_FWE, 128f7275650SPaul Mundt 129f7275650SPaul Mundt /* LCDC */ 130f7275650SPaul Mundt GPIO_FN_LCD_VEPWC, GPIO_FN_LCD_VCPWC, 131f7275650SPaul Mundt GPIO_FN_LCD_CLK, GPIO_FN_LCD_FLM, 132f7275650SPaul Mundt GPIO_FN_LCD_M_DISP, GPIO_FN_LCD_CL2, 133f7275650SPaul Mundt GPIO_FN_LCD_CL1, GPIO_FN_LCD_DON, 134f7275650SPaul Mundt GPIO_FN_LCD_DATA15, GPIO_FN_LCD_DATA14, 135f7275650SPaul Mundt GPIO_FN_LCD_DATA13, GPIO_FN_LCD_DATA12, 136f7275650SPaul Mundt GPIO_FN_LCD_DATA11, GPIO_FN_LCD_DATA10, 137f7275650SPaul Mundt GPIO_FN_LCD_DATA9, GPIO_FN_LCD_DATA8, 138f7275650SPaul Mundt GPIO_FN_LCD_DATA7, GPIO_FN_LCD_DATA6, 139f7275650SPaul Mundt GPIO_FN_LCD_DATA5, GPIO_FN_LCD_DATA4, 140f7275650SPaul Mundt GPIO_FN_LCD_DATA3, GPIO_FN_LCD_DATA2, 141f7275650SPaul Mundt GPIO_FN_LCD_DATA1, GPIO_FN_LCD_DATA0, 142f7275650SPaul Mundt }; 143f7275650SPaul Mundt 144f7275650SPaul Mundt #endif /* __ASM_SH7203_H__ */ 145