18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __ASM_SH7720_H__ 38c2ecf20Sopenharmony_ci#define __ASM_SH7720_H__ 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_cienum { 68c2ecf20Sopenharmony_ci /* PTA */ 78c2ecf20Sopenharmony_ci GPIO_PTA7, GPIO_PTA6, GPIO_PTA5, GPIO_PTA4, 88c2ecf20Sopenharmony_ci GPIO_PTA3, GPIO_PTA2, GPIO_PTA1, GPIO_PTA0, 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci /* PTB */ 118c2ecf20Sopenharmony_ci GPIO_PTB7, GPIO_PTB6, GPIO_PTB5, GPIO_PTB4, 128c2ecf20Sopenharmony_ci GPIO_PTB3, GPIO_PTB2, GPIO_PTB1, GPIO_PTB0, 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci /* PTC */ 158c2ecf20Sopenharmony_ci GPIO_PTC7, GPIO_PTC6, GPIO_PTC5, GPIO_PTC4, 168c2ecf20Sopenharmony_ci GPIO_PTC3, GPIO_PTC2, GPIO_PTC1, GPIO_PTC0, 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci /* PTD */ 198c2ecf20Sopenharmony_ci GPIO_PTD7, GPIO_PTD6, GPIO_PTD5, GPIO_PTD4, 208c2ecf20Sopenharmony_ci GPIO_PTD3, GPIO_PTD2, GPIO_PTD1, GPIO_PTD0, 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci /* PTE */ 238c2ecf20Sopenharmony_ci GPIO_PTE6, GPIO_PTE5, GPIO_PTE4, GPIO_PTE3, 248c2ecf20Sopenharmony_ci GPIO_PTE2, GPIO_PTE1, GPIO_PTE0, 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci /* PTF */ 278c2ecf20Sopenharmony_ci GPIO_PTF6, GPIO_PTF5, GPIO_PTF4, GPIO_PTF3, 288c2ecf20Sopenharmony_ci GPIO_PTF2, GPIO_PTF1, GPIO_PTF0, GPIO_PTG6, 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci /* PTG */ 318c2ecf20Sopenharmony_ci GPIO_PTG5, GPIO_PTG4, GPIO_PTG3, GPIO_PTG2, 328c2ecf20Sopenharmony_ci GPIO_PTG1, GPIO_PTG0, 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci /* PTH */ 358c2ecf20Sopenharmony_ci GPIO_PTH6, GPIO_PTH5, GPIO_PTH4, GPIO_PTH3, 368c2ecf20Sopenharmony_ci GPIO_PTH2, GPIO_PTH1, GPIO_PTH0, 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci /* PTJ */ 398c2ecf20Sopenharmony_ci GPIO_PTJ6, GPIO_PTJ5, GPIO_PTJ4, GPIO_PTJ3, 408c2ecf20Sopenharmony_ci GPIO_PTJ2, GPIO_PTJ1, GPIO_PTJ0, 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci /* PTK */ 438c2ecf20Sopenharmony_ci GPIO_PTK3, GPIO_PTK2, GPIO_PTK1, GPIO_PTK0, 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci /* PTL */ 468c2ecf20Sopenharmony_ci GPIO_PTL7, GPIO_PTL6, GPIO_PTL5, GPIO_PTL4, GPIO_PTL3, 478c2ecf20Sopenharmony_ci 488c2ecf20Sopenharmony_ci /* PTM */ 498c2ecf20Sopenharmony_ci GPIO_PTM7, GPIO_PTM6, GPIO_PTM5, GPIO_PTM4, 508c2ecf20Sopenharmony_ci GPIO_PTM3, GPIO_PTM2, GPIO_PTM1, GPIO_PTM0, 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ci /* PTP */ 538c2ecf20Sopenharmony_ci GPIO_PTP4, GPIO_PTP3, GPIO_PTP2, GPIO_PTP1, GPIO_PTP0, 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ci /* PTR */ 568c2ecf20Sopenharmony_ci GPIO_PTR7, GPIO_PTR6, GPIO_PTR5, GPIO_PTR4, 578c2ecf20Sopenharmony_ci GPIO_PTR3, GPIO_PTR2, GPIO_PTR1, GPIO_PTR0, 588c2ecf20Sopenharmony_ci 598c2ecf20Sopenharmony_ci /* PTS */ 608c2ecf20Sopenharmony_ci GPIO_PTS4, GPIO_PTS3, GPIO_PTS2, GPIO_PTS1, GPIO_PTS0, 618c2ecf20Sopenharmony_ci 628c2ecf20Sopenharmony_ci /* PTT */ 638c2ecf20Sopenharmony_ci GPIO_PTT4, GPIO_PTT3, GPIO_PTT2, GPIO_PTT1, GPIO_PTT0, 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ci /* PTU */ 668c2ecf20Sopenharmony_ci GPIO_PTU4, GPIO_PTU3, GPIO_PTU2, GPIO_PTU1, GPIO_PTU0, 678c2ecf20Sopenharmony_ci 688c2ecf20Sopenharmony_ci /* PTV */ 698c2ecf20Sopenharmony_ci GPIO_PTV4, GPIO_PTV3, GPIO_PTV2, GPIO_PTV1, GPIO_PTV0, 708c2ecf20Sopenharmony_ci 718c2ecf20Sopenharmony_ci /* BSC */ 728c2ecf20Sopenharmony_ci GPIO_FN_D31, GPIO_FN_D30, GPIO_FN_D29, GPIO_FN_D28, 738c2ecf20Sopenharmony_ci GPIO_FN_D27, GPIO_FN_D26, GPIO_FN_D25, GPIO_FN_D24, 748c2ecf20Sopenharmony_ci GPIO_FN_D23, GPIO_FN_D22, GPIO_FN_D21, GPIO_FN_D20, 758c2ecf20Sopenharmony_ci GPIO_FN_D19, GPIO_FN_D18, GPIO_FN_D17, GPIO_FN_D16, 768c2ecf20Sopenharmony_ci GPIO_FN_IOIS16, GPIO_FN_RAS, GPIO_FN_CAS, GPIO_FN_CKE, 778c2ecf20Sopenharmony_ci GPIO_FN_CS5B_CE1A, GPIO_FN_CS6B_CE1B, 788c2ecf20Sopenharmony_ci GPIO_FN_A25, GPIO_FN_A24, GPIO_FN_A23, GPIO_FN_A22, 798c2ecf20Sopenharmony_ci GPIO_FN_A21, GPIO_FN_A20, GPIO_FN_A19, GPIO_FN_A0, 808c2ecf20Sopenharmony_ci GPIO_FN_REFOUT, GPIO_FN_IRQOUT, 818c2ecf20Sopenharmony_ci 828c2ecf20Sopenharmony_ci /* LCDC */ 838c2ecf20Sopenharmony_ci GPIO_FN_LCD_DATA15, GPIO_FN_LCD_DATA14, 848c2ecf20Sopenharmony_ci GPIO_FN_LCD_DATA13, GPIO_FN_LCD_DATA12, 858c2ecf20Sopenharmony_ci GPIO_FN_LCD_DATA11, GPIO_FN_LCD_DATA10, 868c2ecf20Sopenharmony_ci GPIO_FN_LCD_DATA9, GPIO_FN_LCD_DATA8, 878c2ecf20Sopenharmony_ci GPIO_FN_LCD_DATA7, GPIO_FN_LCD_DATA6, 888c2ecf20Sopenharmony_ci GPIO_FN_LCD_DATA5, GPIO_FN_LCD_DATA4, 898c2ecf20Sopenharmony_ci GPIO_FN_LCD_DATA3, GPIO_FN_LCD_DATA2, 908c2ecf20Sopenharmony_ci GPIO_FN_LCD_DATA1, GPIO_FN_LCD_DATA0, 918c2ecf20Sopenharmony_ci GPIO_FN_LCD_M_DISP, 928c2ecf20Sopenharmony_ci GPIO_FN_LCD_CL1, GPIO_FN_LCD_CL2, 938c2ecf20Sopenharmony_ci GPIO_FN_LCD_DON, GPIO_FN_LCD_FLM, 948c2ecf20Sopenharmony_ci GPIO_FN_LCD_VEPWC, GPIO_FN_LCD_VCPWC, 958c2ecf20Sopenharmony_ci 968c2ecf20Sopenharmony_ci /* AFEIF */ 978c2ecf20Sopenharmony_ci GPIO_FN_AFE_RXIN, GPIO_FN_AFE_RDET, 988c2ecf20Sopenharmony_ci GPIO_FN_AFE_FS, GPIO_FN_AFE_TXOUT, 998c2ecf20Sopenharmony_ci GPIO_FN_AFE_SCLK, GPIO_FN_AFE_RLYCNT, 1008c2ecf20Sopenharmony_ci GPIO_FN_AFE_HC1, 1018c2ecf20Sopenharmony_ci 1028c2ecf20Sopenharmony_ci /* IIC */ 1038c2ecf20Sopenharmony_ci GPIO_FN_IIC_SCL, GPIO_FN_IIC_SDA, 1048c2ecf20Sopenharmony_ci 1058c2ecf20Sopenharmony_ci /* DAC */ 1068c2ecf20Sopenharmony_ci GPIO_FN_DA1, GPIO_FN_DA0, 1078c2ecf20Sopenharmony_ci 1088c2ecf20Sopenharmony_ci /* ADC */ 1098c2ecf20Sopenharmony_ci GPIO_FN_AN3, GPIO_FN_AN2, GPIO_FN_AN1, GPIO_FN_AN0, GPIO_FN_ADTRG, 1108c2ecf20Sopenharmony_ci 1118c2ecf20Sopenharmony_ci /* USB */ 1128c2ecf20Sopenharmony_ci GPIO_FN_USB1D_RCV, GPIO_FN_USB1D_TXSE0, 1138c2ecf20Sopenharmony_ci GPIO_FN_USB1D_TXDPLS, GPIO_FN_USB1D_DMNS, 1148c2ecf20Sopenharmony_ci GPIO_FN_USB1D_DPLS, GPIO_FN_USB1D_SPEED, 1158c2ecf20Sopenharmony_ci GPIO_FN_USB1D_TXENL, GPIO_FN_USB2_PWR_EN, 1168c2ecf20Sopenharmony_ci GPIO_FN_USB1_PWR_EN_USBF_UPLUP, GPIO_FN_USB1D_SUSPEND, 1178c2ecf20Sopenharmony_ci 1188c2ecf20Sopenharmony_ci /* INTC */ 1198c2ecf20Sopenharmony_ci GPIO_FN_IRQ5, GPIO_FN_IRQ4, 1208c2ecf20Sopenharmony_ci GPIO_FN_IRQ3_IRL3, GPIO_FN_IRQ2_IRL2, 1218c2ecf20Sopenharmony_ci GPIO_FN_IRQ1_IRL1, GPIO_FN_IRQ0_IRL0, 1228c2ecf20Sopenharmony_ci 1238c2ecf20Sopenharmony_ci /* PCC */ 1248c2ecf20Sopenharmony_ci GPIO_FN_PCC_REG, GPIO_FN_PCC_DRV, 1258c2ecf20Sopenharmony_ci GPIO_FN_PCC_BVD2, GPIO_FN_PCC_BVD1, 1268c2ecf20Sopenharmony_ci GPIO_FN_PCC_CD2, GPIO_FN_PCC_CD1, 1278c2ecf20Sopenharmony_ci GPIO_FN_PCC_RESET, GPIO_FN_PCC_RDY, 1288c2ecf20Sopenharmony_ci GPIO_FN_PCC_VS2, GPIO_FN_PCC_VS1, 1298c2ecf20Sopenharmony_ci 1308c2ecf20Sopenharmony_ci /* HUDI */ 1318c2ecf20Sopenharmony_ci GPIO_FN_AUDATA3, GPIO_FN_AUDATA2, GPIO_FN_AUDATA1, GPIO_FN_AUDATA0, 1328c2ecf20Sopenharmony_ci GPIO_FN_AUDCK, GPIO_FN_AUDSYNC, GPIO_FN_ASEBRKAK, GPIO_FN_TRST, 1338c2ecf20Sopenharmony_ci GPIO_FN_TMS, GPIO_FN_TDO, GPIO_FN_TDI, GPIO_FN_TCK, 1348c2ecf20Sopenharmony_ci 1358c2ecf20Sopenharmony_ci /* DMAC */ 1368c2ecf20Sopenharmony_ci GPIO_FN_DACK1, GPIO_FN_DREQ1, GPIO_FN_DACK0, GPIO_FN_DREQ0, 1378c2ecf20Sopenharmony_ci GPIO_FN_TEND1, GPIO_FN_TEND0, 1388c2ecf20Sopenharmony_ci 1398c2ecf20Sopenharmony_ci /* SIOF0 */ 1408c2ecf20Sopenharmony_ci GPIO_FN_SIOF0_SYNC, GPIO_FN_SIOF0_MCLK, 1418c2ecf20Sopenharmony_ci GPIO_FN_SIOF0_TXD, GPIO_FN_SIOF0_RXD, 1428c2ecf20Sopenharmony_ci GPIO_FN_SIOF0_SCK, 1438c2ecf20Sopenharmony_ci 1448c2ecf20Sopenharmony_ci /* SIOF1 */ 1458c2ecf20Sopenharmony_ci GPIO_FN_SIOF1_SYNC, GPIO_FN_SIOF1_MCLK, 1468c2ecf20Sopenharmony_ci GPIO_FN_SIOF1_TXD, GPIO_FN_SIOF1_RXD, 1478c2ecf20Sopenharmony_ci GPIO_FN_SIOF1_SCK, 1488c2ecf20Sopenharmony_ci 1498c2ecf20Sopenharmony_ci /* SCIF0 */ 1508c2ecf20Sopenharmony_ci GPIO_FN_SCIF0_TXD, GPIO_FN_SCIF0_RXD, 1518c2ecf20Sopenharmony_ci GPIO_FN_SCIF0_RTS, GPIO_FN_SCIF0_CTS, GPIO_FN_SCIF0_SCK, 1528c2ecf20Sopenharmony_ci 1538c2ecf20Sopenharmony_ci /* SCIF1 */ 1548c2ecf20Sopenharmony_ci GPIO_FN_SCIF1_TXD, GPIO_FN_SCIF1_RXD, 1558c2ecf20Sopenharmony_ci GPIO_FN_SCIF1_RTS, GPIO_FN_SCIF1_CTS, GPIO_FN_SCIF1_SCK, 1568c2ecf20Sopenharmony_ci 1578c2ecf20Sopenharmony_ci /* TPU */ 1588c2ecf20Sopenharmony_ci GPIO_FN_TPU_TO1, GPIO_FN_TPU_TO0, 1598c2ecf20Sopenharmony_ci GPIO_FN_TPU_TI3B, GPIO_FN_TPU_TI3A, 1608c2ecf20Sopenharmony_ci GPIO_FN_TPU_TI2B, GPIO_FN_TPU_TI2A, 1618c2ecf20Sopenharmony_ci GPIO_FN_TPU_TO3, GPIO_FN_TPU_TO2, 1628c2ecf20Sopenharmony_ci 1638c2ecf20Sopenharmony_ci /* SIM */ 1648c2ecf20Sopenharmony_ci GPIO_FN_SIM_D, GPIO_FN_SIM_CLK, GPIO_FN_SIM_RST, 1658c2ecf20Sopenharmony_ci 1668c2ecf20Sopenharmony_ci /* MMC */ 1678c2ecf20Sopenharmony_ci GPIO_FN_MMC_DAT, GPIO_FN_MMC_CMD, 1688c2ecf20Sopenharmony_ci GPIO_FN_MMC_CLK, GPIO_FN_MMC_VDDON, 1698c2ecf20Sopenharmony_ci GPIO_FN_MMC_ODMOD, 1708c2ecf20Sopenharmony_ci 1718c2ecf20Sopenharmony_ci /* SYSC */ 1728c2ecf20Sopenharmony_ci GPIO_FN_STATUS0, GPIO_FN_STATUS1, 1738c2ecf20Sopenharmony_ci}; 1748c2ecf20Sopenharmony_ci 1758c2ecf20Sopenharmony_ci#endif /* __ASM_SH7720_H__ */ 176