18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * r8a7778 processor support - PFC hardware block 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2013 Renesas Solutions Corp. 68c2ecf20Sopenharmony_ci * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 78c2ecf20Sopenharmony_ci * Copyright (C) 2013 Cogent Embedded, Inc. 88c2ecf20Sopenharmony_ci * Copyright (C) 2015 Ulrich Hecht 98c2ecf20Sopenharmony_ci * 108c2ecf20Sopenharmony_ci * based on 118c2ecf20Sopenharmony_ci * Copyright (C) 2011 Renesas Solutions Corp. 128c2ecf20Sopenharmony_ci * Copyright (C) 2011 Magnus Damm 138c2ecf20Sopenharmony_ci */ 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#include <linux/io.h> 168c2ecf20Sopenharmony_ci#include <linux/kernel.h> 178c2ecf20Sopenharmony_ci#include <linux/pinctrl/pinconf-generic.h> 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci#include "core.h" 208c2ecf20Sopenharmony_ci#include "sh_pfc.h" 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci#define PORT_GP_PUP_1(bank, pin, fn, sfx) \ 238c2ecf20Sopenharmony_ci PORT_GP_CFG_1(bank, pin, fn, sfx, SH_PFC_PIN_CFG_PULL_UP) 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci#define CPU_ALL_GP(fn, sfx) \ 268c2ecf20Sopenharmony_ci PORT_GP_CFG_32(0, fn, sfx, SH_PFC_PIN_CFG_PULL_UP), \ 278c2ecf20Sopenharmony_ci PORT_GP_CFG_32(1, fn, sfx, SH_PFC_PIN_CFG_PULL_UP), \ 288c2ecf20Sopenharmony_ci PORT_GP_CFG_32(2, fn, sfx, SH_PFC_PIN_CFG_PULL_UP), \ 298c2ecf20Sopenharmony_ci PORT_GP_CFG_32(3, fn, sfx, SH_PFC_PIN_CFG_PULL_UP), \ 308c2ecf20Sopenharmony_ci PORT_GP_CFG_27(4, fn, sfx, SH_PFC_PIN_CFG_PULL_UP) 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci#define CPU_ALL_NOGP(fn) \ 338c2ecf20Sopenharmony_ci PIN_NOGP(CLKOUT, "B25", fn), \ 348c2ecf20Sopenharmony_ci PIN_NOGP(CS0, "A20", fn), \ 358c2ecf20Sopenharmony_ci PIN_NOGP(CS1_A26, "C20", fn) 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_cienum { 388c2ecf20Sopenharmony_ci PINMUX_RESERVED = 0, 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ci PINMUX_DATA_BEGIN, 418c2ecf20Sopenharmony_ci GP_ALL(DATA), /* GP_0_0_DATA -> GP_4_26_DATA */ 428c2ecf20Sopenharmony_ci PINMUX_DATA_END, 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ci PINMUX_FUNCTION_BEGIN, 458c2ecf20Sopenharmony_ci GP_ALL(FN), /* GP_0_0_FN -> GP_4_26_FN */ 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ci /* GPSR0 */ 488c2ecf20Sopenharmony_ci FN_IP0_1_0, FN_PENC0, FN_PENC1, FN_IP0_4_2, 498c2ecf20Sopenharmony_ci FN_IP0_7_5, FN_IP0_11_8, FN_IP0_14_12, FN_A1, 508c2ecf20Sopenharmony_ci FN_A2, FN_A3, FN_IP0_15, FN_IP0_16, 518c2ecf20Sopenharmony_ci FN_IP0_17, FN_IP0_18, FN_IP0_19, FN_IP0_20, 528c2ecf20Sopenharmony_ci FN_IP0_21, FN_IP0_22, FN_IP0_23, FN_IP0_24, 538c2ecf20Sopenharmony_ci FN_IP0_25, FN_IP0_26, FN_IP0_27, FN_IP0_28, 548c2ecf20Sopenharmony_ci FN_IP0_29, FN_IP0_30, FN_IP1_0, FN_IP1_1, 558c2ecf20Sopenharmony_ci FN_IP1_4_2, FN_IP1_7_5, FN_IP1_10_8, FN_IP1_14_11, 568c2ecf20Sopenharmony_ci 578c2ecf20Sopenharmony_ci /* GPSR1 */ 588c2ecf20Sopenharmony_ci FN_IP1_23_21, FN_WE0, FN_IP1_24, FN_IP1_27_25, 598c2ecf20Sopenharmony_ci FN_IP1_29_28, FN_IP2_2_0, FN_IP2_5_3, FN_IP2_8_6, 608c2ecf20Sopenharmony_ci FN_IP2_11_9, FN_IP2_13_12, FN_IP2_16_14, FN_IP2_17, 618c2ecf20Sopenharmony_ci FN_IP2_30, FN_IP2_31, FN_IP3_1_0, FN_IP3_4_2, 628c2ecf20Sopenharmony_ci FN_IP3_7_5, FN_IP3_9_8, FN_IP3_12_10, FN_IP3_15_13, 638c2ecf20Sopenharmony_ci FN_IP3_18_16, FN_IP3_20_19, FN_IP3_23_21, FN_IP3_26_24, 648c2ecf20Sopenharmony_ci FN_IP3_27, FN_IP3_28, FN_IP3_29, FN_IP3_30, 658c2ecf20Sopenharmony_ci FN_IP3_31, FN_IP4_0, FN_IP4_3_1, FN_IP4_6_4, 668c2ecf20Sopenharmony_ci 678c2ecf20Sopenharmony_ci /* GPSR2 */ 688c2ecf20Sopenharmony_ci FN_IP4_7, FN_IP4_8, FN_IP4_10_9, FN_IP4_12_11, 698c2ecf20Sopenharmony_ci FN_IP4_14_13, FN_IP4_16_15, FN_IP4_20_17, FN_IP4_24_21, 708c2ecf20Sopenharmony_ci FN_IP4_26_25, FN_IP4_28_27, FN_IP4_30_29, FN_IP5_1_0, 718c2ecf20Sopenharmony_ci FN_IP5_3_2, FN_IP5_5_4, FN_IP5_6, FN_IP5_7, 728c2ecf20Sopenharmony_ci FN_IP5_9_8, FN_IP5_11_10, FN_IP5_12, FN_IP5_14_13, 738c2ecf20Sopenharmony_ci FN_IP5_17_15, FN_IP5_20_18, FN_AUDIO_CLKA, FN_AUDIO_CLKB, 748c2ecf20Sopenharmony_ci FN_IP5_22_21, FN_IP5_25_23, FN_IP5_28_26, FN_IP5_30_29, 758c2ecf20Sopenharmony_ci FN_IP6_1_0, FN_IP6_4_2, FN_IP6_6_5, FN_IP6_7, 768c2ecf20Sopenharmony_ci 778c2ecf20Sopenharmony_ci /* GPSR3 */ 788c2ecf20Sopenharmony_ci FN_IP6_8, FN_IP6_9, FN_SSI_SCK34, FN_IP6_10, 798c2ecf20Sopenharmony_ci FN_IP6_12_11, FN_IP6_13, FN_IP6_15_14, FN_IP6_16, 808c2ecf20Sopenharmony_ci FN_IP6_18_17, FN_IP6_20_19, FN_IP6_21, FN_IP6_23_22, 818c2ecf20Sopenharmony_ci FN_IP6_25_24, FN_IP6_27_26, FN_IP6_29_28, FN_IP6_31_30, 828c2ecf20Sopenharmony_ci FN_IP7_1_0, FN_IP7_3_2, FN_IP7_5_4, FN_IP7_8_6, 838c2ecf20Sopenharmony_ci FN_IP7_11_9, FN_IP7_14_12, FN_IP7_17_15, FN_IP7_20_18, 848c2ecf20Sopenharmony_ci FN_IP7_21, FN_IP7_24_22, FN_IP7_28_25, FN_IP7_31_29, 858c2ecf20Sopenharmony_ci FN_IP8_2_0, FN_IP8_5_3, FN_IP8_8_6, FN_IP8_10_9, 868c2ecf20Sopenharmony_ci 878c2ecf20Sopenharmony_ci /* GPSR4 */ 888c2ecf20Sopenharmony_ci FN_IP8_13_11, FN_IP8_15_14, FN_IP8_18_16, FN_IP8_21_19, 898c2ecf20Sopenharmony_ci FN_IP8_23_22, FN_IP8_26_24, FN_IP8_29_27, FN_IP9_2_0, 908c2ecf20Sopenharmony_ci FN_IP9_5_3, FN_IP9_8_6, FN_IP9_11_9, FN_IP9_14_12, 918c2ecf20Sopenharmony_ci FN_IP9_17_15, FN_IP9_20_18, FN_IP9_23_21, FN_IP9_26_24, 928c2ecf20Sopenharmony_ci FN_IP9_29_27, FN_IP10_2_0, FN_IP10_5_3, FN_IP10_8_6, 938c2ecf20Sopenharmony_ci FN_IP10_12_9, FN_IP10_15_13, FN_IP10_18_16, FN_IP10_21_19, 948c2ecf20Sopenharmony_ci FN_IP10_24_22, FN_AVS1, FN_AVS2, 958c2ecf20Sopenharmony_ci 968c2ecf20Sopenharmony_ci /* IPSR0 */ 978c2ecf20Sopenharmony_ci FN_PRESETOUT, FN_PWM1, FN_AUDATA0, FN_ARM_TRACEDATA_0, 988c2ecf20Sopenharmony_ci FN_GPSCLK_C, FN_USB_OVC0, FN_TX2_E, FN_SDA2_B, 998c2ecf20Sopenharmony_ci FN_AUDATA1, FN_ARM_TRACEDATA_1, FN_GPSIN_C, 1008c2ecf20Sopenharmony_ci FN_USB_OVC1, FN_RX2_E, FN_SCL2_B, FN_SD1_DAT2_A, 1018c2ecf20Sopenharmony_ci FN_MMC_D2, FN_BS, FN_ATADIR0_A, FN_SDSELF_A, 1028c2ecf20Sopenharmony_ci FN_PWM4_B, FN_SD1_DAT3_A, FN_MMC_D3, FN_A0, 1038c2ecf20Sopenharmony_ci FN_ATAG0_A, FN_REMOCON_B, FN_A4, FN_A5, 1048c2ecf20Sopenharmony_ci FN_A6, FN_A7, FN_A8, FN_A9, 1058c2ecf20Sopenharmony_ci FN_A10, FN_A11, FN_A12, FN_A13, 1068c2ecf20Sopenharmony_ci FN_A14, FN_A15, FN_A16, FN_A17, 1078c2ecf20Sopenharmony_ci FN_A18, FN_A19, 1088c2ecf20Sopenharmony_ci 1098c2ecf20Sopenharmony_ci /* IPSR1 */ 1108c2ecf20Sopenharmony_ci FN_A20, FN_HSPI_CS1_B, FN_A21, FN_HSPI_CLK1_B, 1118c2ecf20Sopenharmony_ci FN_A22, FN_HRTS0_B, FN_RX2_B, FN_DREQ2_A, 1128c2ecf20Sopenharmony_ci FN_A23, FN_HTX0_B, FN_TX2_B, FN_DACK2_A, 1138c2ecf20Sopenharmony_ci FN_TS_SDEN0_A, FN_SD1_CD_A, FN_MMC_D6, FN_A24, 1148c2ecf20Sopenharmony_ci FN_DREQ1_A, FN_HRX0_B, FN_TS_SPSYNC0_A, 1158c2ecf20Sopenharmony_ci FN_SD1_WP_A, FN_MMC_D7, FN_A25, FN_DACK1_A, 1168c2ecf20Sopenharmony_ci FN_HCTS0_B, FN_RX3_C, FN_TS_SDAT0_A, FN_CLKOUT, 1178c2ecf20Sopenharmony_ci FN_HSPI_TX1_B, FN_PWM0_B, FN_CS0, FN_HSPI_RX1_B, 1188c2ecf20Sopenharmony_ci FN_SSI_SCK1_B, FN_ATAG0_B, FN_CS1_A26, FN_SDA2_A, 1198c2ecf20Sopenharmony_ci FN_SCK2_B, FN_MMC_D5, FN_ATADIR0_B, FN_RD_WR, 1208c2ecf20Sopenharmony_ci FN_WE1, FN_ATAWR0_B, FN_SSI_WS1_B, FN_EX_CS0, 1218c2ecf20Sopenharmony_ci FN_SCL2_A, FN_TX3_C, FN_TS_SCK0_A, FN_EX_CS1, 1228c2ecf20Sopenharmony_ci FN_MMC_D4, 1238c2ecf20Sopenharmony_ci 1248c2ecf20Sopenharmony_ci /* IPSR2 */ 1258c2ecf20Sopenharmony_ci FN_SD1_CLK_A, FN_MMC_CLK, FN_ATACS00, FN_EX_CS2, 1268c2ecf20Sopenharmony_ci FN_SD1_CMD_A, FN_MMC_CMD, FN_ATACS10, FN_EX_CS3, 1278c2ecf20Sopenharmony_ci FN_SD1_DAT0_A, FN_MMC_D0, FN_ATARD0, FN_EX_CS4, 1288c2ecf20Sopenharmony_ci FN_EX_WAIT1_A, FN_SD1_DAT1_A, FN_MMC_D1, FN_ATAWR0_A, 1298c2ecf20Sopenharmony_ci FN_EX_CS5, FN_EX_WAIT2_A, FN_DREQ0_A, FN_RX3_A, 1308c2ecf20Sopenharmony_ci FN_DACK0, FN_TX3_A, FN_DRACK0, FN_EX_WAIT0, 1318c2ecf20Sopenharmony_ci FN_PWM0_C, FN_D0, FN_D1, FN_D2, 1328c2ecf20Sopenharmony_ci FN_D3, FN_D4, FN_D5, FN_D6, 1338c2ecf20Sopenharmony_ci FN_D7, FN_D8, FN_D9, FN_D10, 1348c2ecf20Sopenharmony_ci FN_D11, FN_RD_WR_B, FN_IRQ0, FN_MLB_CLK, 1358c2ecf20Sopenharmony_ci FN_IRQ1_A, 1368c2ecf20Sopenharmony_ci 1378c2ecf20Sopenharmony_ci /* IPSR3 */ 1388c2ecf20Sopenharmony_ci FN_MLB_SIG, FN_RX5_B, FN_SDA3_A, FN_IRQ2_A, 1398c2ecf20Sopenharmony_ci FN_MLB_DAT, FN_TX5_B, FN_SCL3_A, FN_IRQ3_A, 1408c2ecf20Sopenharmony_ci FN_SDSELF_B, FN_SD1_CMD_B, FN_SCIF_CLK, FN_AUDIO_CLKOUT_B, 1418c2ecf20Sopenharmony_ci FN_CAN_CLK_B, FN_SDA3_B, FN_SD1_CLK_B, FN_HTX0_A, 1428c2ecf20Sopenharmony_ci FN_TX0_A, FN_SD1_DAT0_B, FN_HRX0_A, FN_RX0_A, 1438c2ecf20Sopenharmony_ci FN_SD1_DAT1_B, FN_HSCK0, FN_SCK0, FN_SCL3_B, 1448c2ecf20Sopenharmony_ci FN_SD1_DAT2_B, FN_HCTS0_A, FN_CTS0, FN_SD1_DAT3_B, 1458c2ecf20Sopenharmony_ci FN_HRTS0_A, FN_RTS0, FN_SSI_SCK4, FN_DU0_DR0, 1468c2ecf20Sopenharmony_ci FN_LCDOUT0, FN_AUDATA2, FN_ARM_TRACEDATA_2, 1478c2ecf20Sopenharmony_ci FN_SDA3_C, FN_ADICHS1, FN_TS_SDEN0_B, FN_SSI_WS4, 1488c2ecf20Sopenharmony_ci FN_DU0_DR1, FN_LCDOUT1, FN_AUDATA3, FN_ARM_TRACEDATA_3, 1498c2ecf20Sopenharmony_ci FN_SCL3_C, FN_ADICHS2, FN_TS_SPSYNC0_B, 1508c2ecf20Sopenharmony_ci FN_DU0_DR2, FN_LCDOUT2, FN_DU0_DR3, FN_LCDOUT3, 1518c2ecf20Sopenharmony_ci FN_DU0_DR4, FN_LCDOUT4, FN_DU0_DR5, FN_LCDOUT5, 1528c2ecf20Sopenharmony_ci FN_DU0_DR6, FN_LCDOUT6, 1538c2ecf20Sopenharmony_ci 1548c2ecf20Sopenharmony_ci /* IPSR4 */ 1558c2ecf20Sopenharmony_ci FN_DU0_DR7, FN_LCDOUT7, FN_DU0_DG0, FN_LCDOUT8, 1568c2ecf20Sopenharmony_ci FN_AUDATA4, FN_ARM_TRACEDATA_4, FN_TX1_D, 1578c2ecf20Sopenharmony_ci FN_CAN0_TX_A, FN_ADICHS0, FN_DU0_DG1, FN_LCDOUT9, 1588c2ecf20Sopenharmony_ci FN_AUDATA5, FN_ARM_TRACEDATA_5, FN_RX1_D, 1598c2ecf20Sopenharmony_ci FN_CAN0_RX_A, FN_ADIDATA, FN_DU0_DG2, FN_LCDOUT10, 1608c2ecf20Sopenharmony_ci FN_DU0_DG3, FN_LCDOUT11, FN_DU0_DG4, FN_LCDOUT12, 1618c2ecf20Sopenharmony_ci FN_RX0_B, FN_DU0_DG5, FN_LCDOUT13, FN_TX0_B, 1628c2ecf20Sopenharmony_ci FN_DU0_DG6, FN_LCDOUT14, FN_RX4_A, FN_DU0_DG7, 1638c2ecf20Sopenharmony_ci FN_LCDOUT15, FN_TX4_A, FN_SSI_SCK2_B, FN_VI0_R0_B, 1648c2ecf20Sopenharmony_ci FN_DU0_DB0, FN_LCDOUT16, FN_AUDATA6, FN_ARM_TRACEDATA_6, 1658c2ecf20Sopenharmony_ci FN_GPSCLK_A, FN_PWM0_A, FN_ADICLK, FN_TS_SDAT0_B, 1668c2ecf20Sopenharmony_ci FN_AUDIO_CLKC, FN_VI0_R1_B, FN_DU0_DB1, FN_LCDOUT17, 1678c2ecf20Sopenharmony_ci FN_AUDATA7, FN_ARM_TRACEDATA_7, FN_GPSIN_A, 1688c2ecf20Sopenharmony_ci FN_ADICS_SAMP, FN_TS_SCK0_B, FN_VI0_R2_B, FN_DU0_DB2, 1698c2ecf20Sopenharmony_ci FN_LCDOUT18, FN_VI0_R3_B, FN_DU0_DB3, FN_LCDOUT19, 1708c2ecf20Sopenharmony_ci FN_VI0_R4_B, FN_DU0_DB4, FN_LCDOUT20, 1718c2ecf20Sopenharmony_ci 1728c2ecf20Sopenharmony_ci /* IPSR5 */ 1738c2ecf20Sopenharmony_ci FN_VI0_R5_B, FN_DU0_DB5, FN_LCDOUT21, FN_VI1_DATA10_B, 1748c2ecf20Sopenharmony_ci FN_DU0_DB6, FN_LCDOUT22, FN_VI1_DATA11_B, 1758c2ecf20Sopenharmony_ci FN_DU0_DB7, FN_LCDOUT23, FN_DU0_DOTCLKIN, 1768c2ecf20Sopenharmony_ci FN_QSTVA_QVS, FN_DU0_DOTCLKO_UT0, FN_QCLK, 1778c2ecf20Sopenharmony_ci FN_DU0_DOTCLKO_UT1, FN_QSTVB_QVE, FN_AUDIO_CLKOUT_A, 1788c2ecf20Sopenharmony_ci FN_REMOCON_C, FN_SSI_WS2_B, FN_DU0_EXHSYNC_DU0_HSYNC, 1798c2ecf20Sopenharmony_ci FN_QSTH_QHS, FN_DU0_EXVSYNC_DU0_VSYNC, FN_QSTB_QHE, 1808c2ecf20Sopenharmony_ci FN_DU0_EXODDF_DU0_ODDF_DISP_CDE, 1818c2ecf20Sopenharmony_ci FN_QCPV_QDE, FN_FMCLK_D, FN_SSI_SCK1_A, FN_DU0_DISP, 1828c2ecf20Sopenharmony_ci FN_QPOLA, FN_AUDCK, FN_ARM_TRACECLK, 1838c2ecf20Sopenharmony_ci FN_BPFCLK_D, FN_SSI_WS1_A, FN_DU0_CDE, FN_QPOLB, 1848c2ecf20Sopenharmony_ci FN_AUDSYNC, FN_ARM_TRACECTL, FN_FMIN_D, 1858c2ecf20Sopenharmony_ci FN_SD1_CD_B, FN_SSI_SCK78, FN_HSPI_RX0_B, FN_TX1_B, 1868c2ecf20Sopenharmony_ci FN_SD1_WP_B, FN_SSI_WS78, FN_HSPI_CLK0_B, FN_RX1_B, 1878c2ecf20Sopenharmony_ci FN_CAN_CLK_D, FN_SSI_SDATA8, FN_SSI_SCK2_A, FN_HSPI_CS0_B, 1888c2ecf20Sopenharmony_ci FN_TX2_A, FN_CAN0_TX_B, FN_SSI_SDATA7, FN_HSPI_TX0_B, 1898c2ecf20Sopenharmony_ci FN_RX2_A, FN_CAN0_RX_B, 1908c2ecf20Sopenharmony_ci 1918c2ecf20Sopenharmony_ci /* IPSR6 */ 1928c2ecf20Sopenharmony_ci FN_SSI_SCK6, FN_HSPI_RX2_A, FN_FMCLK_B, FN_CAN1_TX_B, 1938c2ecf20Sopenharmony_ci FN_SSI_WS6, FN_HSPI_CLK2_A, FN_BPFCLK_B, FN_CAN1_RX_B, 1948c2ecf20Sopenharmony_ci FN_SSI_SDATA6, FN_HSPI_TX2_A, FN_FMIN_B, FN_SSI_SCK5, 1958c2ecf20Sopenharmony_ci FN_RX4_C, FN_SSI_WS5, FN_TX4_C, FN_SSI_SDATA5, 1968c2ecf20Sopenharmony_ci FN_RX0_D, FN_SSI_WS34, FN_ARM_TRACEDATA_8, 1978c2ecf20Sopenharmony_ci FN_SSI_SDATA4, FN_SSI_WS2_A, FN_ARM_TRACEDATA_9, 1988c2ecf20Sopenharmony_ci FN_SSI_SDATA3, FN_ARM_TRACEDATA_10, 1998c2ecf20Sopenharmony_ci FN_SSI_SCK012, FN_ARM_TRACEDATA_11, 2008c2ecf20Sopenharmony_ci FN_TX0_D, FN_SSI_WS012, FN_ARM_TRACEDATA_12, 2018c2ecf20Sopenharmony_ci FN_SSI_SDATA2, FN_HSPI_CS2_A, FN_ARM_TRACEDATA_13, 2028c2ecf20Sopenharmony_ci FN_SDA1_A, FN_SSI_SDATA1, FN_ARM_TRACEDATA_14, 2038c2ecf20Sopenharmony_ci FN_SCL1_A, FN_SCK2_A, FN_SSI_SDATA0, 2048c2ecf20Sopenharmony_ci FN_ARM_TRACEDATA_15, 2058c2ecf20Sopenharmony_ci FN_SD0_CLK, FN_SUB_TDO, FN_SD0_CMD, FN_SUB_TRST, 2068c2ecf20Sopenharmony_ci FN_SD0_DAT0, FN_SUB_TMS, FN_SD0_DAT1, FN_SUB_TCK, 2078c2ecf20Sopenharmony_ci FN_SD0_DAT2, FN_SUB_TDI, 2088c2ecf20Sopenharmony_ci 2098c2ecf20Sopenharmony_ci /* IPSR7 */ 2108c2ecf20Sopenharmony_ci FN_SD0_DAT3, FN_IRQ1_B, FN_SD0_CD, FN_TX5_A, 2118c2ecf20Sopenharmony_ci FN_SD0_WP, FN_RX5_A, FN_VI1_CLKENB, FN_HSPI_CLK0_A, 2128c2ecf20Sopenharmony_ci FN_HTX1_A, FN_RTS1_C, FN_VI1_FIELD, FN_HSPI_CS0_A, 2138c2ecf20Sopenharmony_ci FN_HRX1_A, FN_SCK1_C, FN_VI1_HSYNC, FN_HSPI_RX0_A, 2148c2ecf20Sopenharmony_ci FN_HRTS1_A, FN_FMCLK_A, FN_RX1_C, FN_VI1_VSYNC, 2158c2ecf20Sopenharmony_ci FN_HSPI_TX0, FN_HCTS1_A, FN_BPFCLK_A, FN_TX1_C, 2168c2ecf20Sopenharmony_ci FN_TCLK0, FN_HSCK1_A, FN_FMIN_A, FN_IRQ2_C, 2178c2ecf20Sopenharmony_ci FN_CTS1_C, FN_SPEEDIN, FN_VI0_CLK, FN_CAN_CLK_A, 2188c2ecf20Sopenharmony_ci FN_VI0_CLKENB, FN_SD2_DAT2_B, FN_VI1_DATA0, FN_DU1_DG6, 2198c2ecf20Sopenharmony_ci FN_HSPI_RX1_A, FN_RX4_B, FN_VI0_FIELD, FN_SD2_DAT3_B, 2208c2ecf20Sopenharmony_ci FN_VI0_R3_C, FN_VI1_DATA1, FN_DU1_DG7, FN_HSPI_CLK1_A, 2218c2ecf20Sopenharmony_ci FN_TX4_B, FN_VI0_HSYNC, FN_SD2_CD_B, FN_VI1_DATA2, 2228c2ecf20Sopenharmony_ci FN_DU1_DR2, FN_HSPI_CS1_A, FN_RX3_B, 2238c2ecf20Sopenharmony_ci 2248c2ecf20Sopenharmony_ci /* IPSR8 */ 2258c2ecf20Sopenharmony_ci FN_VI0_VSYNC, FN_SD2_WP_B, FN_VI1_DATA3, FN_DU1_DR3, 2268c2ecf20Sopenharmony_ci FN_HSPI_TX1_A, FN_TX3_B, FN_VI0_DATA0_VI0_B0, 2278c2ecf20Sopenharmony_ci FN_DU1_DG2, FN_IRQ2_B, FN_RX3_D, FN_VI0_DATA1_VI0_B1, 2288c2ecf20Sopenharmony_ci FN_DU1_DG3, FN_IRQ3_B, FN_TX3_D, FN_VI0_DATA2_VI0_B2, 2298c2ecf20Sopenharmony_ci FN_DU1_DG4, FN_RX0_C, FN_VI0_DATA3_VI0_B3, 2308c2ecf20Sopenharmony_ci FN_DU1_DG5, FN_TX1_A, FN_TX0_C, FN_VI0_DATA4_VI0_B4, 2318c2ecf20Sopenharmony_ci FN_DU1_DB2, FN_RX1_A, FN_VI0_DATA5_VI0_B5, 2328c2ecf20Sopenharmony_ci FN_DU1_DB3, FN_SCK1_A, FN_PWM4, FN_HSCK1_B, 2338c2ecf20Sopenharmony_ci FN_VI0_DATA6_VI0_G0, FN_DU1_DB4, FN_CTS1_A, 2348c2ecf20Sopenharmony_ci FN_PWM5, FN_VI0_DATA7_VI0_G1, FN_DU1_DB5, 2358c2ecf20Sopenharmony_ci FN_RTS1_A, FN_VI0_G2, FN_SD2_CLK_B, FN_VI1_DATA4, 2368c2ecf20Sopenharmony_ci FN_DU1_DR4, FN_HTX1_B, FN_VI0_G3, FN_SD2_CMD_B, 2378c2ecf20Sopenharmony_ci FN_VI1_DATA5, FN_DU1_DR5, FN_HRX1_B, 2388c2ecf20Sopenharmony_ci 2398c2ecf20Sopenharmony_ci /* IPSR9 */ 2408c2ecf20Sopenharmony_ci FN_VI0_G4, FN_SD2_DAT0_B, FN_VI1_DATA6, FN_DU1_DR6, 2418c2ecf20Sopenharmony_ci FN_HRTS1_B, FN_VI0_G5, FN_SD2_DAT1_B, FN_VI1_DATA7, 2428c2ecf20Sopenharmony_ci FN_DU1_DR7, FN_HCTS1_B, FN_VI0_R0_A, FN_VI1_CLK, 2438c2ecf20Sopenharmony_ci FN_ETH_REF_CLK, FN_DU1_DOTCLKIN, FN_VI0_R1_A, 2448c2ecf20Sopenharmony_ci FN_VI1_DATA8, FN_DU1_DB6, FN_ETH_TXD0, FN_PWM2, 2458c2ecf20Sopenharmony_ci FN_TCLK1, FN_VI0_R2_A, FN_VI1_DATA9, FN_DU1_DB7, 2468c2ecf20Sopenharmony_ci FN_ETH_TXD1, FN_PWM3, FN_VI0_R3_A, FN_ETH_CRS_DV, 2478c2ecf20Sopenharmony_ci FN_IECLK, FN_SCK2_C, FN_VI0_R4_A, FN_ETH_TX_EN, 2488c2ecf20Sopenharmony_ci FN_IETX, FN_TX2_C, FN_VI0_R5_A, FN_ETH_RX_ER, 2498c2ecf20Sopenharmony_ci FN_FMCLK_C, FN_IERX, FN_RX2_C, FN_VI1_DATA10_A, 2508c2ecf20Sopenharmony_ci FN_DU1_DOTCLKOUT, FN_ETH_RXD0, FN_BPFCLK_C, 2518c2ecf20Sopenharmony_ci FN_TX2_D, FN_SDA2_C, FN_VI1_DATA11_A, 2528c2ecf20Sopenharmony_ci FN_DU1_EXHSYNC_DU1_HSYNC, FN_ETH_RXD1, FN_FMIN_C, 2538c2ecf20Sopenharmony_ci FN_RX2_D, FN_SCL2_C, 2548c2ecf20Sopenharmony_ci 2558c2ecf20Sopenharmony_ci /* IPSR10 */ 2568c2ecf20Sopenharmony_ci FN_SD2_CLK_A, FN_DU1_EXVSYNC_DU1_VSYNC, FN_ATARD1, 2578c2ecf20Sopenharmony_ci FN_ETH_MDC, FN_SDA1_B, FN_SD2_CMD_A, 2588c2ecf20Sopenharmony_ci FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, FN_ATAWR1, 2598c2ecf20Sopenharmony_ci FN_ETH_MDIO, FN_SCL1_B, FN_SD2_DAT0_A, FN_DU1_DISP, 2608c2ecf20Sopenharmony_ci FN_ATACS01, FN_DREQ1_B, FN_ETH_LINK, FN_CAN1_RX_A, 2618c2ecf20Sopenharmony_ci FN_SD2_DAT1_A, FN_DU1_CDE, FN_ATACS11, FN_DACK1_B, 2628c2ecf20Sopenharmony_ci FN_ETH_MAGIC, FN_CAN1_TX_A, FN_PWM6, FN_SD2_DAT2_A, 2638c2ecf20Sopenharmony_ci FN_VI1_DATA12, FN_DREQ2_B, FN_ATADIR1, FN_HSPI_CLK2_B, 2648c2ecf20Sopenharmony_ci FN_GPSCLK_B, FN_SD2_DAT3_A, FN_VI1_DATA13, FN_DACK2_B, 2658c2ecf20Sopenharmony_ci FN_ATAG1, FN_HSPI_CS2_B, FN_GPSIN_B, FN_SD2_CD_A, 2668c2ecf20Sopenharmony_ci FN_VI1_DATA14, FN_EX_WAIT1_B, FN_DREQ0_B, FN_HSPI_RX2_B, 2678c2ecf20Sopenharmony_ci FN_REMOCON_A, FN_SD2_WP_A, FN_VI1_DATA15, FN_EX_WAIT2_B, 2688c2ecf20Sopenharmony_ci FN_DACK0_B, FN_HSPI_TX2_B, FN_CAN_CLK_C, 2698c2ecf20Sopenharmony_ci 2708c2ecf20Sopenharmony_ci /* SEL */ 2718c2ecf20Sopenharmony_ci FN_SEL_SCIF5_A, FN_SEL_SCIF5_B, 2728c2ecf20Sopenharmony_ci FN_SEL_SCIF4_A, FN_SEL_SCIF4_B, FN_SEL_SCIF4_C, 2738c2ecf20Sopenharmony_ci FN_SEL_SCIF3_A, FN_SEL_SCIF3_B, FN_SEL_SCIF3_C, FN_SEL_SCIF3_D, 2748c2ecf20Sopenharmony_ci FN_SEL_SCIF2_A, FN_SEL_SCIF2_B, FN_SEL_SCIF2_C, FN_SEL_SCIF2_D, FN_SEL_SCIF2_E, 2758c2ecf20Sopenharmony_ci FN_SEL_SCIF1_A, FN_SEL_SCIF1_B, FN_SEL_SCIF1_C, FN_SEL_SCIF1_D, 2768c2ecf20Sopenharmony_ci FN_SEL_SCIF0_A, FN_SEL_SCIF0_B, FN_SEL_SCIF0_C, FN_SEL_SCIF0_D, 2778c2ecf20Sopenharmony_ci FN_SEL_SSI2_A, FN_SEL_SSI2_B, 2788c2ecf20Sopenharmony_ci FN_SEL_SSI1_A, FN_SEL_SSI1_B, 2798c2ecf20Sopenharmony_ci FN_SEL_VI1_A, FN_SEL_VI1_B, 2808c2ecf20Sopenharmony_ci FN_SEL_VI0_A, FN_SEL_VI0_B, FN_SEL_VI0_C, FN_SEL_VI0_D, 2818c2ecf20Sopenharmony_ci FN_SEL_SD2_A, FN_SEL_SD2_B, 2828c2ecf20Sopenharmony_ci FN_SEL_SD1_A, FN_SEL_SD1_B, 2838c2ecf20Sopenharmony_ci FN_SEL_IRQ3_A, FN_SEL_IRQ3_B, 2848c2ecf20Sopenharmony_ci FN_SEL_IRQ2_A, FN_SEL_IRQ2_B, FN_SEL_IRQ2_C, 2858c2ecf20Sopenharmony_ci FN_SEL_IRQ1_A, FN_SEL_IRQ1_B, 2868c2ecf20Sopenharmony_ci FN_SEL_DREQ2_A, FN_SEL_DREQ2_B, 2878c2ecf20Sopenharmony_ci FN_SEL_DREQ1_A, FN_SEL_DREQ1_B, 2888c2ecf20Sopenharmony_ci FN_SEL_DREQ0_A, FN_SEL_DREQ0_B, 2898c2ecf20Sopenharmony_ci FN_SEL_WAIT2_A, FN_SEL_WAIT2_B, 2908c2ecf20Sopenharmony_ci FN_SEL_WAIT1_A, FN_SEL_WAIT1_B, 2918c2ecf20Sopenharmony_ci FN_SEL_CAN1_A, FN_SEL_CAN1_B, 2928c2ecf20Sopenharmony_ci FN_SEL_CAN0_A, FN_SEL_CAN0_B, 2938c2ecf20Sopenharmony_ci FN_SEL_CANCLK_A, FN_SEL_CANCLK_B, 2948c2ecf20Sopenharmony_ci FN_SEL_CANCLK_C, FN_SEL_CANCLK_D, 2958c2ecf20Sopenharmony_ci FN_SEL_HSCIF1_A, FN_SEL_HSCIF1_B, 2968c2ecf20Sopenharmony_ci FN_SEL_HSCIF0_A, FN_SEL_HSCIF0_B, 2978c2ecf20Sopenharmony_ci FN_SEL_REMOCON_A, FN_SEL_REMOCON_B, FN_SEL_REMOCON_C, 2988c2ecf20Sopenharmony_ci FN_SEL_FM_A, FN_SEL_FM_B, FN_SEL_FM_C, FN_SEL_FM_D, 2998c2ecf20Sopenharmony_ci FN_SEL_GPS_A, FN_SEL_GPS_B, FN_SEL_GPS_C, 3008c2ecf20Sopenharmony_ci FN_SEL_TSIF0_A, FN_SEL_TSIF0_B, 3018c2ecf20Sopenharmony_ci FN_SEL_HSPI2_A, FN_SEL_HSPI2_B, 3028c2ecf20Sopenharmony_ci FN_SEL_HSPI1_A, FN_SEL_HSPI1_B, 3038c2ecf20Sopenharmony_ci FN_SEL_HSPI0_A, FN_SEL_HSPI0_B, 3048c2ecf20Sopenharmony_ci FN_SEL_I2C3_A, FN_SEL_I2C3_B, FN_SEL_I2C3_C, 3058c2ecf20Sopenharmony_ci FN_SEL_I2C2_A, FN_SEL_I2C2_B, FN_SEL_I2C2_C, 3068c2ecf20Sopenharmony_ci FN_SEL_I2C1_A, FN_SEL_I2C1_B, 3078c2ecf20Sopenharmony_ci PINMUX_FUNCTION_END, 3088c2ecf20Sopenharmony_ci 3098c2ecf20Sopenharmony_ci PINMUX_MARK_BEGIN, 3108c2ecf20Sopenharmony_ci 3118c2ecf20Sopenharmony_ci /* GPSR0 */ 3128c2ecf20Sopenharmony_ci PENC0_MARK, PENC1_MARK, A1_MARK, A2_MARK, A3_MARK, 3138c2ecf20Sopenharmony_ci 3148c2ecf20Sopenharmony_ci /* GPSR1 */ 3158c2ecf20Sopenharmony_ci WE0_MARK, 3168c2ecf20Sopenharmony_ci 3178c2ecf20Sopenharmony_ci /* GPSR2 */ 3188c2ecf20Sopenharmony_ci AUDIO_CLKA_MARK, 3198c2ecf20Sopenharmony_ci AUDIO_CLKB_MARK, 3208c2ecf20Sopenharmony_ci 3218c2ecf20Sopenharmony_ci /* GPSR3 */ 3228c2ecf20Sopenharmony_ci SSI_SCK34_MARK, 3238c2ecf20Sopenharmony_ci 3248c2ecf20Sopenharmony_ci /* GPSR4 */ 3258c2ecf20Sopenharmony_ci AVS1_MARK, 3268c2ecf20Sopenharmony_ci AVS2_MARK, 3278c2ecf20Sopenharmony_ci 3288c2ecf20Sopenharmony_ci VI0_R0_C_MARK, /* see sel_vi0 */ 3298c2ecf20Sopenharmony_ci VI0_R1_C_MARK, /* see sel_vi0 */ 3308c2ecf20Sopenharmony_ci VI0_R2_C_MARK, /* see sel_vi0 */ 3318c2ecf20Sopenharmony_ci /* VI0_R3_C_MARK, */ 3328c2ecf20Sopenharmony_ci VI0_R4_C_MARK, /* see sel_vi0 */ 3338c2ecf20Sopenharmony_ci VI0_R5_C_MARK, /* see sel_vi0 */ 3348c2ecf20Sopenharmony_ci 3358c2ecf20Sopenharmony_ci VI0_R0_D_MARK, /* see sel_vi0 */ 3368c2ecf20Sopenharmony_ci VI0_R1_D_MARK, /* see sel_vi0 */ 3378c2ecf20Sopenharmony_ci VI0_R2_D_MARK, /* see sel_vi0 */ 3388c2ecf20Sopenharmony_ci VI0_R3_D_MARK, /* see sel_vi0 */ 3398c2ecf20Sopenharmony_ci VI0_R4_D_MARK, /* see sel_vi0 */ 3408c2ecf20Sopenharmony_ci VI0_R5_D_MARK, /* see sel_vi0 */ 3418c2ecf20Sopenharmony_ci 3428c2ecf20Sopenharmony_ci /* IPSR0 */ 3438c2ecf20Sopenharmony_ci PRESETOUT_MARK, PWM1_MARK, AUDATA0_MARK, 3448c2ecf20Sopenharmony_ci ARM_TRACEDATA_0_MARK, GPSCLK_C_MARK, USB_OVC0_MARK, 3458c2ecf20Sopenharmony_ci TX2_E_MARK, SDA2_B_MARK, AUDATA1_MARK, ARM_TRACEDATA_1_MARK, 3468c2ecf20Sopenharmony_ci GPSIN_C_MARK, USB_OVC1_MARK, RX2_E_MARK, SCL2_B_MARK, 3478c2ecf20Sopenharmony_ci SD1_DAT2_A_MARK, MMC_D2_MARK, BS_MARK, 3488c2ecf20Sopenharmony_ci ATADIR0_A_MARK, SDSELF_A_MARK, PWM4_B_MARK, SD1_DAT3_A_MARK, 3498c2ecf20Sopenharmony_ci MMC_D3_MARK, A0_MARK, ATAG0_A_MARK, REMOCON_B_MARK, 3508c2ecf20Sopenharmony_ci A4_MARK, A5_MARK, A6_MARK, A7_MARK, 3518c2ecf20Sopenharmony_ci A8_MARK, A9_MARK, A10_MARK, A11_MARK, 3528c2ecf20Sopenharmony_ci A12_MARK, A13_MARK, A14_MARK, A15_MARK, 3538c2ecf20Sopenharmony_ci A16_MARK, A17_MARK, A18_MARK, A19_MARK, 3548c2ecf20Sopenharmony_ci 3558c2ecf20Sopenharmony_ci /* IPSR1 */ 3568c2ecf20Sopenharmony_ci A20_MARK, HSPI_CS1_B_MARK, A21_MARK, 3578c2ecf20Sopenharmony_ci HSPI_CLK1_B_MARK, A22_MARK, HRTS0_B_MARK, 3588c2ecf20Sopenharmony_ci RX2_B_MARK, DREQ2_A_MARK, A23_MARK, HTX0_B_MARK, 3598c2ecf20Sopenharmony_ci TX2_B_MARK, DACK2_A_MARK, TS_SDEN0_A_MARK, 3608c2ecf20Sopenharmony_ci SD1_CD_A_MARK, MMC_D6_MARK, A24_MARK, DREQ1_A_MARK, 3618c2ecf20Sopenharmony_ci HRX0_B_MARK, TS_SPSYNC0_A_MARK, SD1_WP_A_MARK, 3628c2ecf20Sopenharmony_ci MMC_D7_MARK, A25_MARK, DACK1_A_MARK, HCTS0_B_MARK, 3638c2ecf20Sopenharmony_ci RX3_C_MARK, TS_SDAT0_A_MARK, CLKOUT_MARK, 3648c2ecf20Sopenharmony_ci HSPI_TX1_B_MARK, PWM0_B_MARK, CS0_MARK, 3658c2ecf20Sopenharmony_ci HSPI_RX1_B_MARK, SSI_SCK1_B_MARK, 3668c2ecf20Sopenharmony_ci ATAG0_B_MARK, CS1_A26_MARK, SDA2_A_MARK, SCK2_B_MARK, 3678c2ecf20Sopenharmony_ci MMC_D5_MARK, ATADIR0_B_MARK, RD_WR_MARK, WE1_MARK, 3688c2ecf20Sopenharmony_ci ATAWR0_B_MARK, SSI_WS1_B_MARK, EX_CS0_MARK, SCL2_A_MARK, 3698c2ecf20Sopenharmony_ci TX3_C_MARK, TS_SCK0_A_MARK, EX_CS1_MARK, MMC_D4_MARK, 3708c2ecf20Sopenharmony_ci 3718c2ecf20Sopenharmony_ci /* IPSR2 */ 3728c2ecf20Sopenharmony_ci SD1_CLK_A_MARK, MMC_CLK_MARK, ATACS00_MARK, EX_CS2_MARK, 3738c2ecf20Sopenharmony_ci SD1_CMD_A_MARK, MMC_CMD_MARK, ATACS10_MARK, EX_CS3_MARK, 3748c2ecf20Sopenharmony_ci SD1_DAT0_A_MARK, MMC_D0_MARK, ATARD0_MARK, 3758c2ecf20Sopenharmony_ci EX_CS4_MARK, EX_WAIT1_A_MARK, SD1_DAT1_A_MARK, 3768c2ecf20Sopenharmony_ci MMC_D1_MARK, ATAWR0_A_MARK, EX_CS5_MARK, EX_WAIT2_A_MARK, 3778c2ecf20Sopenharmony_ci DREQ0_A_MARK, RX3_A_MARK, DACK0_MARK, TX3_A_MARK, 3788c2ecf20Sopenharmony_ci DRACK0_MARK, EX_WAIT0_MARK, PWM0_C_MARK, D0_MARK, 3798c2ecf20Sopenharmony_ci D1_MARK, D2_MARK, D3_MARK, D4_MARK, 3808c2ecf20Sopenharmony_ci D5_MARK, D6_MARK, D7_MARK, D8_MARK, 3818c2ecf20Sopenharmony_ci D9_MARK, D10_MARK, D11_MARK, RD_WR_B_MARK, 3828c2ecf20Sopenharmony_ci IRQ0_MARK, MLB_CLK_MARK, IRQ1_A_MARK, 3838c2ecf20Sopenharmony_ci 3848c2ecf20Sopenharmony_ci /* IPSR3 */ 3858c2ecf20Sopenharmony_ci MLB_SIG_MARK, RX5_B_MARK, SDA3_A_MARK, IRQ2_A_MARK, 3868c2ecf20Sopenharmony_ci MLB_DAT_MARK, TX5_B_MARK, SCL3_A_MARK, IRQ3_A_MARK, 3878c2ecf20Sopenharmony_ci SDSELF_B_MARK, SD1_CMD_B_MARK, SCIF_CLK_MARK, AUDIO_CLKOUT_B_MARK, 3888c2ecf20Sopenharmony_ci CAN_CLK_B_MARK, SDA3_B_MARK, SD1_CLK_B_MARK, HTX0_A_MARK, 3898c2ecf20Sopenharmony_ci TX0_A_MARK, SD1_DAT0_B_MARK, HRX0_A_MARK, 3908c2ecf20Sopenharmony_ci RX0_A_MARK, SD1_DAT1_B_MARK, HSCK0_MARK, 3918c2ecf20Sopenharmony_ci SCK0_MARK, SCL3_B_MARK, SD1_DAT2_B_MARK, 3928c2ecf20Sopenharmony_ci HCTS0_A_MARK, CTS0_MARK, SD1_DAT3_B_MARK, 3938c2ecf20Sopenharmony_ci HRTS0_A_MARK, RTS0_MARK, SSI_SCK4_MARK, 3948c2ecf20Sopenharmony_ci DU0_DR0_MARK, LCDOUT0_MARK, AUDATA2_MARK, ARM_TRACEDATA_2_MARK, 3958c2ecf20Sopenharmony_ci SDA3_C_MARK, ADICHS1_MARK, TS_SDEN0_B_MARK, 3968c2ecf20Sopenharmony_ci SSI_WS4_MARK, DU0_DR1_MARK, LCDOUT1_MARK, AUDATA3_MARK, 3978c2ecf20Sopenharmony_ci ARM_TRACEDATA_3_MARK, SCL3_C_MARK, ADICHS2_MARK, 3988c2ecf20Sopenharmony_ci TS_SPSYNC0_B_MARK, DU0_DR2_MARK, LCDOUT2_MARK, 3998c2ecf20Sopenharmony_ci DU0_DR3_MARK, LCDOUT3_MARK, DU0_DR4_MARK, LCDOUT4_MARK, 4008c2ecf20Sopenharmony_ci DU0_DR5_MARK, LCDOUT5_MARK, DU0_DR6_MARK, LCDOUT6_MARK, 4018c2ecf20Sopenharmony_ci 4028c2ecf20Sopenharmony_ci /* IPSR4 */ 4038c2ecf20Sopenharmony_ci DU0_DR7_MARK, LCDOUT7_MARK, DU0_DG0_MARK, LCDOUT8_MARK, 4048c2ecf20Sopenharmony_ci AUDATA4_MARK, ARM_TRACEDATA_4_MARK, 4058c2ecf20Sopenharmony_ci TX1_D_MARK, CAN0_TX_A_MARK, ADICHS0_MARK, DU0_DG1_MARK, 4068c2ecf20Sopenharmony_ci LCDOUT9_MARK, AUDATA5_MARK, ARM_TRACEDATA_5_MARK, 4078c2ecf20Sopenharmony_ci RX1_D_MARK, CAN0_RX_A_MARK, ADIDATA_MARK, DU0_DG2_MARK, 4088c2ecf20Sopenharmony_ci LCDOUT10_MARK, DU0_DG3_MARK, LCDOUT11_MARK, DU0_DG4_MARK, 4098c2ecf20Sopenharmony_ci LCDOUT12_MARK, RX0_B_MARK, DU0_DG5_MARK, LCDOUT13_MARK, 4108c2ecf20Sopenharmony_ci TX0_B_MARK, DU0_DG6_MARK, LCDOUT14_MARK, RX4_A_MARK, 4118c2ecf20Sopenharmony_ci DU0_DG7_MARK, LCDOUT15_MARK, TX4_A_MARK, SSI_SCK2_B_MARK, 4128c2ecf20Sopenharmony_ci VI0_R0_B_MARK, DU0_DB0_MARK, LCDOUT16_MARK, AUDATA6_MARK, 4138c2ecf20Sopenharmony_ci ARM_TRACEDATA_6_MARK, GPSCLK_A_MARK, PWM0_A_MARK, 4148c2ecf20Sopenharmony_ci ADICLK_MARK, TS_SDAT0_B_MARK, AUDIO_CLKC_MARK, 4158c2ecf20Sopenharmony_ci VI0_R1_B_MARK, DU0_DB1_MARK, LCDOUT17_MARK, AUDATA7_MARK, 4168c2ecf20Sopenharmony_ci ARM_TRACEDATA_7_MARK, GPSIN_A_MARK, ADICS_SAMP_MARK, 4178c2ecf20Sopenharmony_ci TS_SCK0_B_MARK, VI0_R2_B_MARK, DU0_DB2_MARK, LCDOUT18_MARK, 4188c2ecf20Sopenharmony_ci VI0_R3_B_MARK, DU0_DB3_MARK, LCDOUT19_MARK, VI0_R4_B_MARK, 4198c2ecf20Sopenharmony_ci DU0_DB4_MARK, LCDOUT20_MARK, 4208c2ecf20Sopenharmony_ci 4218c2ecf20Sopenharmony_ci /* IPSR5 */ 4228c2ecf20Sopenharmony_ci VI0_R5_B_MARK, DU0_DB5_MARK, LCDOUT21_MARK, VI1_DATA10_B_MARK, 4238c2ecf20Sopenharmony_ci DU0_DB6_MARK, LCDOUT22_MARK, VI1_DATA11_B_MARK, 4248c2ecf20Sopenharmony_ci DU0_DB7_MARK, LCDOUT23_MARK, DU0_DOTCLKIN_MARK, 4258c2ecf20Sopenharmony_ci QSTVA_QVS_MARK, DU0_DOTCLKO_UT0_MARK, 4268c2ecf20Sopenharmony_ci QCLK_MARK, DU0_DOTCLKO_UT1_MARK, QSTVB_QVE_MARK, 4278c2ecf20Sopenharmony_ci AUDIO_CLKOUT_A_MARK, REMOCON_C_MARK, SSI_WS2_B_MARK, 4288c2ecf20Sopenharmony_ci DU0_EXHSYNC_DU0_HSYNC_MARK, QSTH_QHS_MARK, 4298c2ecf20Sopenharmony_ci DU0_EXVSYNC_DU0_VSYNC_MARK, QSTB_QHE_MARK, 4308c2ecf20Sopenharmony_ci DU0_EXODDF_DU0_ODDF_DISP_CDE_MARK, 4318c2ecf20Sopenharmony_ci QCPV_QDE_MARK, FMCLK_D_MARK, SSI_SCK1_A_MARK, 4328c2ecf20Sopenharmony_ci DU0_DISP_MARK, QPOLA_MARK, AUDCK_MARK, ARM_TRACECLK_MARK, 4338c2ecf20Sopenharmony_ci BPFCLK_D_MARK, SSI_WS1_A_MARK, DU0_CDE_MARK, QPOLB_MARK, 4348c2ecf20Sopenharmony_ci AUDSYNC_MARK, ARM_TRACECTL_MARK, FMIN_D_MARK, 4358c2ecf20Sopenharmony_ci SD1_CD_B_MARK, SSI_SCK78_MARK, HSPI_RX0_B_MARK, 4368c2ecf20Sopenharmony_ci TX1_B_MARK, SD1_WP_B_MARK, SSI_WS78_MARK, HSPI_CLK0_B_MARK, 4378c2ecf20Sopenharmony_ci RX1_B_MARK, CAN_CLK_D_MARK, SSI_SDATA8_MARK, 4388c2ecf20Sopenharmony_ci SSI_SCK2_A_MARK, HSPI_CS0_B_MARK, 4398c2ecf20Sopenharmony_ci TX2_A_MARK, CAN0_TX_B_MARK, SSI_SDATA7_MARK, 4408c2ecf20Sopenharmony_ci HSPI_TX0_B_MARK, RX2_A_MARK, CAN0_RX_B_MARK, 4418c2ecf20Sopenharmony_ci 4428c2ecf20Sopenharmony_ci /* IPSR6 */ 4438c2ecf20Sopenharmony_ci SSI_SCK6_MARK, HSPI_RX2_A_MARK, FMCLK_B_MARK, 4448c2ecf20Sopenharmony_ci CAN1_TX_B_MARK, SSI_WS6_MARK, HSPI_CLK2_A_MARK, 4458c2ecf20Sopenharmony_ci BPFCLK_B_MARK, CAN1_RX_B_MARK, SSI_SDATA6_MARK, 4468c2ecf20Sopenharmony_ci HSPI_TX2_A_MARK, FMIN_B_MARK, SSI_SCK5_MARK, 4478c2ecf20Sopenharmony_ci RX4_C_MARK, SSI_WS5_MARK, TX4_C_MARK, SSI_SDATA5_MARK, 4488c2ecf20Sopenharmony_ci RX0_D_MARK, SSI_WS34_MARK, ARM_TRACEDATA_8_MARK, 4498c2ecf20Sopenharmony_ci SSI_SDATA4_MARK, SSI_WS2_A_MARK, ARM_TRACEDATA_9_MARK, 4508c2ecf20Sopenharmony_ci SSI_SDATA3_MARK, ARM_TRACEDATA_10_MARK, 4518c2ecf20Sopenharmony_ci SSI_SCK012_MARK, ARM_TRACEDATA_11_MARK, 4528c2ecf20Sopenharmony_ci TX0_D_MARK, SSI_WS012_MARK, ARM_TRACEDATA_12_MARK, 4538c2ecf20Sopenharmony_ci SSI_SDATA2_MARK, HSPI_CS2_A_MARK, 4548c2ecf20Sopenharmony_ci ARM_TRACEDATA_13_MARK, SDA1_A_MARK, SSI_SDATA1_MARK, 4558c2ecf20Sopenharmony_ci ARM_TRACEDATA_14_MARK, SCL1_A_MARK, SCK2_A_MARK, 4568c2ecf20Sopenharmony_ci SSI_SDATA0_MARK, ARM_TRACEDATA_15_MARK, 4578c2ecf20Sopenharmony_ci SD0_CLK_MARK, SUB_TDO_MARK, SD0_CMD_MARK, SUB_TRST_MARK, 4588c2ecf20Sopenharmony_ci SD0_DAT0_MARK, SUB_TMS_MARK, SD0_DAT1_MARK, SUB_TCK_MARK, 4598c2ecf20Sopenharmony_ci SD0_DAT2_MARK, SUB_TDI_MARK, 4608c2ecf20Sopenharmony_ci 4618c2ecf20Sopenharmony_ci /* IPSR7 */ 4628c2ecf20Sopenharmony_ci SD0_DAT3_MARK, IRQ1_B_MARK, SD0_CD_MARK, TX5_A_MARK, 4638c2ecf20Sopenharmony_ci SD0_WP_MARK, RX5_A_MARK, VI1_CLKENB_MARK, 4648c2ecf20Sopenharmony_ci HSPI_CLK0_A_MARK, HTX1_A_MARK, RTS1_C_MARK, VI1_FIELD_MARK, 4658c2ecf20Sopenharmony_ci HSPI_CS0_A_MARK, HRX1_A_MARK, SCK1_C_MARK, VI1_HSYNC_MARK, 4668c2ecf20Sopenharmony_ci HSPI_RX0_A_MARK, HRTS1_A_MARK, FMCLK_A_MARK, RX1_C_MARK, 4678c2ecf20Sopenharmony_ci VI1_VSYNC_MARK, HSPI_TX0_MARK, HCTS1_A_MARK, BPFCLK_A_MARK, 4688c2ecf20Sopenharmony_ci TX1_C_MARK, TCLK0_MARK, HSCK1_A_MARK, FMIN_A_MARK, 4698c2ecf20Sopenharmony_ci IRQ2_C_MARK, CTS1_C_MARK, SPEEDIN_MARK, VI0_CLK_MARK, 4708c2ecf20Sopenharmony_ci CAN_CLK_A_MARK, VI0_CLKENB_MARK, SD2_DAT2_B_MARK, 4718c2ecf20Sopenharmony_ci VI1_DATA0_MARK, DU1_DG6_MARK, HSPI_RX1_A_MARK, 4728c2ecf20Sopenharmony_ci RX4_B_MARK, VI0_FIELD_MARK, SD2_DAT3_B_MARK, 4738c2ecf20Sopenharmony_ci VI0_R3_C_MARK, VI1_DATA1_MARK, DU1_DG7_MARK, HSPI_CLK1_A_MARK, 4748c2ecf20Sopenharmony_ci TX4_B_MARK, VI0_HSYNC_MARK, SD2_CD_B_MARK, VI1_DATA2_MARK, 4758c2ecf20Sopenharmony_ci DU1_DR2_MARK, HSPI_CS1_A_MARK, RX3_B_MARK, 4768c2ecf20Sopenharmony_ci 4778c2ecf20Sopenharmony_ci /* IPSR8 */ 4788c2ecf20Sopenharmony_ci VI0_VSYNC_MARK, SD2_WP_B_MARK, VI1_DATA3_MARK, DU1_DR3_MARK, 4798c2ecf20Sopenharmony_ci HSPI_TX1_A_MARK, TX3_B_MARK, VI0_DATA0_VI0_B0_MARK, 4808c2ecf20Sopenharmony_ci DU1_DG2_MARK, IRQ2_B_MARK, RX3_D_MARK, VI0_DATA1_VI0_B1_MARK, 4818c2ecf20Sopenharmony_ci DU1_DG3_MARK, IRQ3_B_MARK, TX3_D_MARK, VI0_DATA2_VI0_B2_MARK, 4828c2ecf20Sopenharmony_ci DU1_DG4_MARK, RX0_C_MARK, VI0_DATA3_VI0_B3_MARK, 4838c2ecf20Sopenharmony_ci DU1_DG5_MARK, TX1_A_MARK, TX0_C_MARK, VI0_DATA4_VI0_B4_MARK, 4848c2ecf20Sopenharmony_ci DU1_DB2_MARK, RX1_A_MARK, VI0_DATA5_VI0_B5_MARK, 4858c2ecf20Sopenharmony_ci DU1_DB3_MARK, SCK1_A_MARK, PWM4_MARK, HSCK1_B_MARK, 4868c2ecf20Sopenharmony_ci VI0_DATA6_VI0_G0_MARK, DU1_DB4_MARK, CTS1_A_MARK, 4878c2ecf20Sopenharmony_ci PWM5_MARK, VI0_DATA7_VI0_G1_MARK, DU1_DB5_MARK, 4888c2ecf20Sopenharmony_ci RTS1_A_MARK, VI0_G2_MARK, SD2_CLK_B_MARK, VI1_DATA4_MARK, 4898c2ecf20Sopenharmony_ci DU1_DR4_MARK, HTX1_B_MARK, VI0_G3_MARK, SD2_CMD_B_MARK, 4908c2ecf20Sopenharmony_ci VI1_DATA5_MARK, DU1_DR5_MARK, HRX1_B_MARK, 4918c2ecf20Sopenharmony_ci 4928c2ecf20Sopenharmony_ci /* IPSR9 */ 4938c2ecf20Sopenharmony_ci VI0_G4_MARK, SD2_DAT0_B_MARK, VI1_DATA6_MARK, 4948c2ecf20Sopenharmony_ci DU1_DR6_MARK, HRTS1_B_MARK, VI0_G5_MARK, SD2_DAT1_B_MARK, 4958c2ecf20Sopenharmony_ci VI1_DATA7_MARK, DU1_DR7_MARK, HCTS1_B_MARK, VI0_R0_A_MARK, 4968c2ecf20Sopenharmony_ci VI1_CLK_MARK, ETH_REF_CLK_MARK, DU1_DOTCLKIN_MARK, 4978c2ecf20Sopenharmony_ci VI0_R1_A_MARK, VI1_DATA8_MARK, DU1_DB6_MARK, ETH_TXD0_MARK, 4988c2ecf20Sopenharmony_ci PWM2_MARK, TCLK1_MARK, VI0_R2_A_MARK, VI1_DATA9_MARK, 4998c2ecf20Sopenharmony_ci DU1_DB7_MARK, ETH_TXD1_MARK, PWM3_MARK, VI0_R3_A_MARK, 5008c2ecf20Sopenharmony_ci ETH_CRS_DV_MARK, IECLK_MARK, SCK2_C_MARK, 5018c2ecf20Sopenharmony_ci VI0_R4_A_MARK, ETH_TX_EN_MARK, IETX_MARK, 5028c2ecf20Sopenharmony_ci TX2_C_MARK, VI0_R5_A_MARK, ETH_RX_ER_MARK, FMCLK_C_MARK, 5038c2ecf20Sopenharmony_ci IERX_MARK, RX2_C_MARK, VI1_DATA10_A_MARK, 5048c2ecf20Sopenharmony_ci DU1_DOTCLKOUT_MARK, ETH_RXD0_MARK, 5058c2ecf20Sopenharmony_ci BPFCLK_C_MARK, TX2_D_MARK, SDA2_C_MARK, VI1_DATA11_A_MARK, 5068c2ecf20Sopenharmony_ci DU1_EXHSYNC_DU1_HSYNC_MARK, ETH_RXD1_MARK, FMIN_C_MARK, 5078c2ecf20Sopenharmony_ci RX2_D_MARK, SCL2_C_MARK, 5088c2ecf20Sopenharmony_ci 5098c2ecf20Sopenharmony_ci /* IPSR10 */ 5108c2ecf20Sopenharmony_ci SD2_CLK_A_MARK, DU1_EXVSYNC_DU1_VSYNC_MARK, ATARD1_MARK, 5118c2ecf20Sopenharmony_ci ETH_MDC_MARK, SDA1_B_MARK, SD2_CMD_A_MARK, 5128c2ecf20Sopenharmony_ci DU1_EXODDF_DU1_ODDF_DISP_CDE_MARK, ATAWR1_MARK, 5138c2ecf20Sopenharmony_ci ETH_MDIO_MARK, SCL1_B_MARK, SD2_DAT0_A_MARK, 5148c2ecf20Sopenharmony_ci DU1_DISP_MARK, ATACS01_MARK, DREQ1_B_MARK, ETH_LINK_MARK, 5158c2ecf20Sopenharmony_ci CAN1_RX_A_MARK, SD2_DAT1_A_MARK, DU1_CDE_MARK, 5168c2ecf20Sopenharmony_ci ATACS11_MARK, DACK1_B_MARK, ETH_MAGIC_MARK, CAN1_TX_A_MARK, 5178c2ecf20Sopenharmony_ci PWM6_MARK, SD2_DAT2_A_MARK, VI1_DATA12_MARK, 5188c2ecf20Sopenharmony_ci DREQ2_B_MARK, ATADIR1_MARK, HSPI_CLK2_B_MARK, 5198c2ecf20Sopenharmony_ci GPSCLK_B_MARK, SD2_DAT3_A_MARK, VI1_DATA13_MARK, 5208c2ecf20Sopenharmony_ci DACK2_B_MARK, ATAG1_MARK, HSPI_CS2_B_MARK, 5218c2ecf20Sopenharmony_ci GPSIN_B_MARK, SD2_CD_A_MARK, VI1_DATA14_MARK, 5228c2ecf20Sopenharmony_ci EX_WAIT1_B_MARK, DREQ0_B_MARK, HSPI_RX2_B_MARK, 5238c2ecf20Sopenharmony_ci REMOCON_A_MARK, SD2_WP_A_MARK, VI1_DATA15_MARK, 5248c2ecf20Sopenharmony_ci EX_WAIT2_B_MARK, DACK0_B_MARK, 5258c2ecf20Sopenharmony_ci HSPI_TX2_B_MARK, CAN_CLK_C_MARK, 5268c2ecf20Sopenharmony_ci 5278c2ecf20Sopenharmony_ci PINMUX_MARK_END, 5288c2ecf20Sopenharmony_ci}; 5298c2ecf20Sopenharmony_ci 5308c2ecf20Sopenharmony_cistatic const u16 pinmux_data[] = { 5318c2ecf20Sopenharmony_ci PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */ 5328c2ecf20Sopenharmony_ci 5338c2ecf20Sopenharmony_ci PINMUX_SINGLE(PENC0), 5348c2ecf20Sopenharmony_ci PINMUX_SINGLE(PENC1), 5358c2ecf20Sopenharmony_ci PINMUX_SINGLE(A1), 5368c2ecf20Sopenharmony_ci PINMUX_SINGLE(A2), 5378c2ecf20Sopenharmony_ci PINMUX_SINGLE(A3), 5388c2ecf20Sopenharmony_ci PINMUX_SINGLE(WE0), 5398c2ecf20Sopenharmony_ci PINMUX_SINGLE(AUDIO_CLKA), 5408c2ecf20Sopenharmony_ci PINMUX_SINGLE(AUDIO_CLKB), 5418c2ecf20Sopenharmony_ci PINMUX_SINGLE(SSI_SCK34), 5428c2ecf20Sopenharmony_ci PINMUX_SINGLE(AVS1), 5438c2ecf20Sopenharmony_ci PINMUX_SINGLE(AVS2), 5448c2ecf20Sopenharmony_ci 5458c2ecf20Sopenharmony_ci /* IPSR0 */ 5468c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_1_0, PRESETOUT), 5478c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_1_0, PWM1), 5488c2ecf20Sopenharmony_ci 5498c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_4_2, AUDATA0), 5508c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_4_2, ARM_TRACEDATA_0), 5518c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP0_4_2, GPSCLK_C, SEL_GPS_C), 5528c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_4_2, USB_OVC0), 5538c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_4_2, TX2_E), 5548c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP0_4_2, SDA2_B, SEL_I2C2_B), 5558c2ecf20Sopenharmony_ci 5568c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_7_5, AUDATA1), 5578c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_7_5, ARM_TRACEDATA_1), 5588c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP0_7_5, GPSIN_C, SEL_GPS_C), 5598c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_7_5, USB_OVC1), 5608c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP0_7_5, RX2_E, SEL_SCIF2_E), 5618c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP0_7_5, SCL2_B, SEL_I2C2_B), 5628c2ecf20Sopenharmony_ci 5638c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP0_11_8, SD1_DAT2_A, SEL_SD1_A), 5648c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_11_8, MMC_D2), 5658c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_11_8, BS), 5668c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_11_8, ATADIR0_A), 5678c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_11_8, SDSELF_A), 5688c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_11_8, PWM4_B), 5698c2ecf20Sopenharmony_ci 5708c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP0_14_12, SD1_DAT3_A, SEL_SD1_A), 5718c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_14_12, MMC_D3), 5728c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_14_12, A0), 5738c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_14_12, ATAG0_A), 5748c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP0_14_12, REMOCON_B, SEL_REMOCON_B), 5758c2ecf20Sopenharmony_ci 5768c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_15, A4), 5778c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_16, A5), 5788c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_17, A6), 5798c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_18, A7), 5808c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_19, A8), 5818c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_20, A9), 5828c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_21, A10), 5838c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_22, A11), 5848c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_23, A12), 5858c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_24, A13), 5868c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_25, A14), 5878c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_26, A15), 5888c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_27, A16), 5898c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_28, A17), 5908c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_29, A18), 5918c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP0_30, A19), 5928c2ecf20Sopenharmony_ci 5938c2ecf20Sopenharmony_ci /* IPSR1 */ 5948c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_0, A20), 5958c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_0, HSPI_CS1_B, SEL_HSPI1_B), 5968c2ecf20Sopenharmony_ci 5978c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_1, A21), 5988c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_1, HSPI_CLK1_B, SEL_HSPI1_B), 5998c2ecf20Sopenharmony_ci 6008c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_4_2, A22), 6018c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_4_2, HRTS0_B, SEL_HSCIF0_B), 6028c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_4_2, RX2_B, SEL_SCIF2_B), 6038c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_4_2, DREQ2_A, SEL_DREQ2_A), 6048c2ecf20Sopenharmony_ci 6058c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_7_5, A23), 6068c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_7_5, HTX0_B), 6078c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_7_5, TX2_B), 6088c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_7_5, DACK2_A), 6098c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_7_5, TS_SDEN0_A, SEL_TSIF0_A), 6108c2ecf20Sopenharmony_ci 6118c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_10_8, SD1_CD_A, SEL_SD1_A), 6128c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_10_8, MMC_D6), 6138c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_10_8, A24), 6148c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_10_8, DREQ1_A, SEL_DREQ1_A), 6158c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_10_8, HRX0_B, SEL_HSCIF0_B), 6168c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_10_8, TS_SPSYNC0_A, SEL_TSIF0_A), 6178c2ecf20Sopenharmony_ci 6188c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_14_11, SD1_WP_A, SEL_SD1_A), 6198c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_14_11, MMC_D7), 6208c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_14_11, A25), 6218c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_14_11, DACK1_A), 6228c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_14_11, HCTS0_B, SEL_HSCIF0_B), 6238c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_14_11, RX3_C, SEL_SCIF3_C), 6248c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_14_11, TS_SDAT0_A, SEL_TSIF0_A), 6258c2ecf20Sopenharmony_ci 6268c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP1_16_15, CLKOUT), 6278c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP1_16_15, HSPI_TX1_B), 6288c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP1_16_15, PWM0_B), 6298c2ecf20Sopenharmony_ci 6308c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP1_17, CS0), 6318c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGM(IP1_17, HSPI_RX1_B, SEL_HSPI1_B), 6328c2ecf20Sopenharmony_ci 6338c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGM(IP1_20_18, SSI_SCK1_B, SEL_SSI1_B), 6348c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP1_20_18, ATAG0_B), 6358c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP1_20_18, CS1_A26), 6368c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGM(IP1_20_18, SDA2_A, SEL_I2C2_A), 6378c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGM(IP1_20_18, SCK2_B, SEL_SCIF2_B), 6388c2ecf20Sopenharmony_ci 6398c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_23_21, MMC_D5), 6408c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_23_21, ATADIR0_B), 6418c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_23_21, RD_WR), 6428c2ecf20Sopenharmony_ci 6438c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_24, WE1), 6448c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_24, ATAWR0_B), 6458c2ecf20Sopenharmony_ci 6468c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_27_25, SSI_WS1_B, SEL_SSI1_B), 6478c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_27_25, EX_CS0), 6488c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_27_25, SCL2_A, SEL_I2C2_A), 6498c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_27_25, TX3_C), 6508c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP1_27_25, TS_SCK0_A, SEL_TSIF0_A), 6518c2ecf20Sopenharmony_ci 6528c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_29_28, EX_CS1), 6538c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP1_29_28, MMC_D4), 6548c2ecf20Sopenharmony_ci 6558c2ecf20Sopenharmony_ci /* IPSR2 */ 6568c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_2_0, SD1_CLK_A), 6578c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_2_0, MMC_CLK), 6588c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_2_0, ATACS00), 6598c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_2_0, EX_CS2), 6608c2ecf20Sopenharmony_ci 6618c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP2_5_3, SD1_CMD_A, SEL_SD1_A), 6628c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_5_3, MMC_CMD), 6638c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_5_3, ATACS10), 6648c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_5_3, EX_CS3), 6658c2ecf20Sopenharmony_ci 6668c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP2_8_6, SD1_DAT0_A, SEL_SD1_A), 6678c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_8_6, MMC_D0), 6688c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_8_6, ATARD0), 6698c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_8_6, EX_CS4), 6708c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP2_8_6, EX_WAIT1_A, SEL_WAIT1_A), 6718c2ecf20Sopenharmony_ci 6728c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP2_11_9, SD1_DAT1_A, SEL_SD1_A), 6738c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_11_9, MMC_D1), 6748c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_11_9, ATAWR0_A), 6758c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_11_9, EX_CS5), 6768c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP2_11_9, EX_WAIT2_A, SEL_WAIT2_A), 6778c2ecf20Sopenharmony_ci 6788c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP2_13_12, DREQ0_A, SEL_DREQ0_A), 6798c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP2_13_12, RX3_A, SEL_SCIF3_A), 6808c2ecf20Sopenharmony_ci 6818c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_16_14, DACK0), 6828c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_16_14, TX3_A), 6838c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_16_14, DRACK0), 6848c2ecf20Sopenharmony_ci 6858c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_17, EX_WAIT0), 6868c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_17, PWM0_C), 6878c2ecf20Sopenharmony_ci 6888c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP2_18, D0), 6898c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP2_19, D1), 6908c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP2_20, D2), 6918c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP2_21, D3), 6928c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP2_22, D4), 6938c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP2_23, D5), 6948c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP2_24, D6), 6958c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP2_25, D7), 6968c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP2_26, D8), 6978c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP2_27, D9), 6988c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP2_28, D10), 6998c2ecf20Sopenharmony_ci PINMUX_IPSR_NOGP(IP2_29, D11), 7008c2ecf20Sopenharmony_ci 7018c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_30, RD_WR_B), 7028c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_30, IRQ0), 7038c2ecf20Sopenharmony_ci 7048c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP2_31, MLB_CLK), 7058c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP2_31, IRQ1_A, SEL_IRQ1_A), 7068c2ecf20Sopenharmony_ci 7078c2ecf20Sopenharmony_ci /* IPSR3 */ 7088c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_1_0, MLB_SIG), 7098c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_1_0, RX5_B, SEL_SCIF5_B), 7108c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_1_0, SDA3_A, SEL_I2C3_A), 7118c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_1_0, IRQ2_A, SEL_IRQ2_A), 7128c2ecf20Sopenharmony_ci 7138c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_4_2, MLB_DAT), 7148c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_4_2, TX5_B), 7158c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_4_2, SCL3_A, SEL_I2C3_A), 7168c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_4_2, IRQ3_A, SEL_IRQ3_A), 7178c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_4_2, SDSELF_B), 7188c2ecf20Sopenharmony_ci 7198c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_7_5, SD1_CMD_B, SEL_SD1_B), 7208c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_7_5, SCIF_CLK), 7218c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_7_5, AUDIO_CLKOUT_B), 7228c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_7_5, CAN_CLK_B, SEL_CANCLK_B), 7238c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_7_5, SDA3_B, SEL_I2C3_B), 7248c2ecf20Sopenharmony_ci 7258c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_9_8, SD1_CLK_B), 7268c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_9_8, HTX0_A), 7278c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_9_8, TX0_A), 7288c2ecf20Sopenharmony_ci 7298c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_12_10, SD1_DAT0_B, SEL_SD1_B), 7308c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_12_10, HRX0_A, SEL_HSCIF0_A), 7318c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_12_10, RX0_A, SEL_SCIF0_A), 7328c2ecf20Sopenharmony_ci 7338c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_15_13, SD1_DAT1_B, SEL_SD1_B), 7348c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_15_13, HSCK0, SEL_HSCIF0_A), 7358c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_15_13, SCK0), 7368c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_15_13, SCL3_B, SEL_I2C3_B), 7378c2ecf20Sopenharmony_ci 7388c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_18_16, SD1_DAT2_B, SEL_SD1_B), 7398c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_18_16, HCTS0_A, SEL_HSCIF0_A), 7408c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_18_16, CTS0), 7418c2ecf20Sopenharmony_ci 7428c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_20_19, SD1_DAT3_B, SEL_SD1_B), 7438c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_20_19, HRTS0_A, SEL_HSCIF0_A), 7448c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_20_19, RTS0), 7458c2ecf20Sopenharmony_ci 7468c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_23_21, SSI_SCK4), 7478c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_23_21, DU0_DR0), 7488c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_23_21, LCDOUT0), 7498c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_23_21, AUDATA2), 7508c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_23_21, ARM_TRACEDATA_2), 7518c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_23_21, SDA3_C, SEL_I2C3_C), 7528c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_23_21, ADICHS1), 7538c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_23_21, TS_SDEN0_B, SEL_TSIF0_B), 7548c2ecf20Sopenharmony_ci 7558c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_26_24, SSI_WS4), 7568c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_26_24, DU0_DR1), 7578c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_26_24, LCDOUT1), 7588c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_26_24, AUDATA3), 7598c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_26_24, ARM_TRACEDATA_3), 7608c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_26_24, SCL3_C, SEL_I2C3_C), 7618c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_26_24, ADICHS2), 7628c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP3_26_24, TS_SPSYNC0_B, SEL_TSIF0_B), 7638c2ecf20Sopenharmony_ci 7648c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_27, DU0_DR2), 7658c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_27, LCDOUT2), 7668c2ecf20Sopenharmony_ci 7678c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_28, DU0_DR3), 7688c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_28, LCDOUT3), 7698c2ecf20Sopenharmony_ci 7708c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_29, DU0_DR4), 7718c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_29, LCDOUT4), 7728c2ecf20Sopenharmony_ci 7738c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_30, DU0_DR5), 7748c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_30, LCDOUT5), 7758c2ecf20Sopenharmony_ci 7768c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_31, DU0_DR6), 7778c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP3_31, LCDOUT6), 7788c2ecf20Sopenharmony_ci 7798c2ecf20Sopenharmony_ci /* IPSR4 */ 7808c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_0, DU0_DR7), 7818c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_0, LCDOUT7), 7828c2ecf20Sopenharmony_ci 7838c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_3_1, DU0_DG0), 7848c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_3_1, LCDOUT8), 7858c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_3_1, AUDATA4), 7868c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_3_1, ARM_TRACEDATA_4), 7878c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_3_1, TX1_D), 7888c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_3_1, CAN0_TX_A), 7898c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_3_1, ADICHS0), 7908c2ecf20Sopenharmony_ci 7918c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_6_4, DU0_DG1), 7928c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_6_4, LCDOUT9), 7938c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_6_4, AUDATA5), 7948c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_6_4, ARM_TRACEDATA_5), 7958c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP4_6_4, RX1_D, SEL_SCIF1_D), 7968c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP4_6_4, CAN0_RX_A, SEL_CAN0_A), 7978c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_6_4, ADIDATA), 7988c2ecf20Sopenharmony_ci 7998c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_7, DU0_DG2), 8008c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_7, LCDOUT10), 8018c2ecf20Sopenharmony_ci 8028c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_8, DU0_DG3), 8038c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_8, LCDOUT11), 8048c2ecf20Sopenharmony_ci 8058c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_10_9, DU0_DG4), 8068c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_10_9, LCDOUT12), 8078c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP4_10_9, RX0_B, SEL_SCIF0_B), 8088c2ecf20Sopenharmony_ci 8098c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_12_11, DU0_DG5), 8108c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_12_11, LCDOUT13), 8118c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_12_11, TX0_B), 8128c2ecf20Sopenharmony_ci 8138c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_14_13, DU0_DG6), 8148c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_14_13, LCDOUT14), 8158c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP4_14_13, RX4_A, SEL_SCIF4_A), 8168c2ecf20Sopenharmony_ci 8178c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_16_15, DU0_DG7), 8188c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_16_15, LCDOUT15), 8198c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_16_15, TX4_A), 8208c2ecf20Sopenharmony_ci 8218c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP4_20_17, SSI_SCK2_B, SEL_SSI2_B), 8228c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R0_B_MARK, FN_IP4_20_17, FN_VI0_R0_B, FN_SEL_VI0_B), /* see sel_vi0 */ 8238c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R0_D_MARK, FN_IP4_20_17, FN_VI0_R0_B, FN_SEL_VI0_D), /* see sel_vi0 */ 8248c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_20_17, DU0_DB0), 8258c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_20_17, LCDOUT16), 8268c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_20_17, AUDATA6), 8278c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_20_17, ARM_TRACEDATA_6), 8288c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP4_20_17, GPSCLK_A, SEL_GPS_A), 8298c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_20_17, PWM0_A), 8308c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_20_17, ADICLK), 8318c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP4_20_17, TS_SDAT0_B, SEL_TSIF0_B), 8328c2ecf20Sopenharmony_ci 8338c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_24_21, AUDIO_CLKC), 8348c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R1_B_MARK, FN_IP4_24_21, FN_VI0_R1_B, FN_SEL_VI0_B), /* see sel_vi0 */ 8358c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R1_D_MARK, FN_IP4_24_21, FN_VI0_R1_B, FN_SEL_VI0_D), /* see sel_vi0 */ 8368c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_24_21, DU0_DB1), 8378c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_24_21, LCDOUT17), 8388c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_24_21, AUDATA7), 8398c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_24_21, ARM_TRACEDATA_7), 8408c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP4_24_21, GPSIN_A, SEL_GPS_A), 8418c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_24_21, ADICS_SAMP), 8428c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP4_24_21, TS_SCK0_B, SEL_TSIF0_B), 8438c2ecf20Sopenharmony_ci 8448c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R2_B_MARK, FN_IP4_26_25, FN_VI0_R2_B, FN_SEL_VI0_B), /* see sel_vi0 */ 8458c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R2_D_MARK, FN_IP4_26_25, FN_VI0_R2_B, FN_SEL_VI0_D), /* see sel_vi0 */ 8468c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_26_25, DU0_DB2), 8478c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_26_25, LCDOUT18), 8488c2ecf20Sopenharmony_ci 8498c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP4_28_27, VI0_R3_B, SEL_VI0_B), 8508c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_28_27, DU0_DB3), 8518c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_28_27, LCDOUT19), 8528c2ecf20Sopenharmony_ci 8538c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R4_B_MARK, FN_IP4_30_29, FN_VI0_R4_B, FN_SEL_VI0_B), /* see sel_vi0 */ 8548c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R4_D_MARK, FN_IP4_30_29, FN_VI0_R4_B, FN_SEL_VI0_D), /* see sel_vi0 */ 8558c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_30_29, DU0_DB4), 8568c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP4_30_29, LCDOUT20), 8578c2ecf20Sopenharmony_ci 8588c2ecf20Sopenharmony_ci /* IPSR5 */ 8598c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R5_B_MARK, FN_IP5_1_0, FN_VI0_R5_B, FN_SEL_VI0_B), /* see sel_vi0 */ 8608c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R5_D_MARK, FN_IP5_1_0, FN_VI0_R5_B, FN_SEL_VI0_D), /* see sel_vi0 */ 8618c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_1_0, DU0_DB5), 8628c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_1_0, LCDOUT21), 8638c2ecf20Sopenharmony_ci 8648c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_3_2, VI1_DATA10_B, SEL_VI1_B), 8658c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_3_2, DU0_DB6), 8668c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_3_2, LCDOUT22), 8678c2ecf20Sopenharmony_ci 8688c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_5_4, VI1_DATA11_B, SEL_VI1_B), 8698c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_5_4, DU0_DB7), 8708c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_5_4, LCDOUT23), 8718c2ecf20Sopenharmony_ci 8728c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_6, DU0_DOTCLKIN), 8738c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_6, QSTVA_QVS), 8748c2ecf20Sopenharmony_ci 8758c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_7, DU0_DOTCLKO_UT0), 8768c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_7, QCLK), 8778c2ecf20Sopenharmony_ci 8788c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_9_8, DU0_DOTCLKO_UT1), 8798c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_9_8, QSTVB_QVE), 8808c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_9_8, AUDIO_CLKOUT_A), 8818c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_9_8, REMOCON_C, SEL_REMOCON_C), 8828c2ecf20Sopenharmony_ci 8838c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_11_10, SSI_WS2_B, SEL_SSI2_B), 8848c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_11_10, DU0_EXHSYNC_DU0_HSYNC), 8858c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_11_10, QSTH_QHS), 8868c2ecf20Sopenharmony_ci 8878c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_12, DU0_EXVSYNC_DU0_VSYNC), 8888c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_12, QSTB_QHE), 8898c2ecf20Sopenharmony_ci 8908c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_14_13, DU0_EXODDF_DU0_ODDF_DISP_CDE), 8918c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_14_13, QCPV_QDE), 8928c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_14_13, FMCLK_D, SEL_FM_D), 8938c2ecf20Sopenharmony_ci 8948c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_17_15, SSI_SCK1_A, SEL_SSI1_A), 8958c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_17_15, DU0_DISP), 8968c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_17_15, QPOLA), 8978c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_17_15, AUDCK), 8988c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_17_15, ARM_TRACECLK), 8998c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_17_15, BPFCLK_D), 9008c2ecf20Sopenharmony_ci 9018c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_20_18, SSI_WS1_A, SEL_SSI1_A), 9028c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_20_18, DU0_CDE), 9038c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_20_18, QPOLB), 9048c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_20_18, AUDSYNC), 9058c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_20_18, ARM_TRACECTL), 9068c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_20_18, FMIN_D, SEL_FM_D), 9078c2ecf20Sopenharmony_ci 9088c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_22_21, SD1_CD_B, SEL_SD1_B), 9098c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_22_21, SSI_SCK78), 9108c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_22_21, HSPI_RX0_B, SEL_HSPI0_B), 9118c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_22_21, TX1_B), 9128c2ecf20Sopenharmony_ci 9138c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_25_23, SD1_WP_B, SEL_SD1_B), 9148c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_25_23, SSI_WS78), 9158c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_25_23, HSPI_CLK0_B, SEL_HSPI0_B), 9168c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_25_23, RX1_B, SEL_SCIF1_B), 9178c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_25_23, CAN_CLK_D, SEL_CANCLK_D), 9188c2ecf20Sopenharmony_ci 9198c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_28_26, SSI_SDATA8), 9208c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_28_26, SSI_SCK2_A, SEL_SSI2_A), 9218c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_28_26, HSPI_CS0_B, SEL_HSPI0_B), 9228c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_28_26, TX2_A), 9238c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_28_26, CAN0_TX_B), 9248c2ecf20Sopenharmony_ci 9258c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_30_29, SSI_SDATA7), 9268c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP5_30_29, HSPI_TX0_B), 9278c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_30_29, RX2_A, SEL_SCIF2_A), 9288c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP5_30_29, CAN0_RX_B, SEL_CAN0_B), 9298c2ecf20Sopenharmony_ci 9308c2ecf20Sopenharmony_ci /* IPSR6 */ 9318c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_1_0, SSI_SCK6), 9328c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP6_1_0, HSPI_RX2_A, SEL_HSPI2_A), 9338c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP6_1_0, FMCLK_B, SEL_FM_B), 9348c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_1_0, CAN1_TX_B), 9358c2ecf20Sopenharmony_ci 9368c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_4_2, SSI_WS6), 9378c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP6_4_2, HSPI_CLK2_A, SEL_HSPI2_A), 9388c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_4_2, BPFCLK_B), 9398c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP6_4_2, CAN1_RX_B, SEL_CAN1_B), 9408c2ecf20Sopenharmony_ci 9418c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_6_5, SSI_SDATA6), 9428c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_6_5, HSPI_TX2_A), 9438c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP6_6_5, FMIN_B, SEL_FM_B), 9448c2ecf20Sopenharmony_ci 9458c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_7, SSI_SCK5), 9468c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP6_7, RX4_C, SEL_SCIF4_C), 9478c2ecf20Sopenharmony_ci 9488c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_8, SSI_WS5), 9498c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_8, TX4_C), 9508c2ecf20Sopenharmony_ci 9518c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_9, SSI_SDATA5), 9528c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP6_9, RX0_D, SEL_SCIF0_D), 9538c2ecf20Sopenharmony_ci 9548c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_10, SSI_WS34), 9558c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_10, ARM_TRACEDATA_8), 9568c2ecf20Sopenharmony_ci 9578c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_12_11, SSI_SDATA4), 9588c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP6_12_11, SSI_WS2_A, SEL_SSI2_A), 9598c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_12_11, ARM_TRACEDATA_9), 9608c2ecf20Sopenharmony_ci 9618c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_13, SSI_SDATA3), 9628c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_13, ARM_TRACEDATA_10), 9638c2ecf20Sopenharmony_ci 9648c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_15_14, SSI_SCK012), 9658c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_15_14, ARM_TRACEDATA_11), 9668c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_15_14, TX0_D), 9678c2ecf20Sopenharmony_ci 9688c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_16, SSI_WS012), 9698c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_16, ARM_TRACEDATA_12), 9708c2ecf20Sopenharmony_ci 9718c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_18_17, SSI_SDATA2), 9728c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP6_18_17, HSPI_CS2_A, SEL_HSPI2_A), 9738c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_18_17, ARM_TRACEDATA_13), 9748c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP6_18_17, SDA1_A, SEL_I2C1_A), 9758c2ecf20Sopenharmony_ci 9768c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_20_19, SSI_SDATA1), 9778c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_20_19, ARM_TRACEDATA_14), 9788c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP6_20_19, SCL1_A, SEL_I2C1_A), 9798c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP6_20_19, SCK2_A, SEL_SCIF2_A), 9808c2ecf20Sopenharmony_ci 9818c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_21, SSI_SDATA0), 9828c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_21, ARM_TRACEDATA_15), 9838c2ecf20Sopenharmony_ci 9848c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_23_22, SD0_CLK), 9858c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_23_22, SUB_TDO), 9868c2ecf20Sopenharmony_ci 9878c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_25_24, SD0_CMD), 9888c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_25_24, SUB_TRST), 9898c2ecf20Sopenharmony_ci 9908c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_27_26, SD0_DAT0), 9918c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_27_26, SUB_TMS), 9928c2ecf20Sopenharmony_ci 9938c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_29_28, SD0_DAT1), 9948c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_29_28, SUB_TCK), 9958c2ecf20Sopenharmony_ci 9968c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_31_30, SD0_DAT2), 9978c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP6_31_30, SUB_TDI), 9988c2ecf20Sopenharmony_ci 9998c2ecf20Sopenharmony_ci /* IPSR7 */ 10008c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_1_0, SD0_DAT3), 10018c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_1_0, IRQ1_B, SEL_IRQ1_B), 10028c2ecf20Sopenharmony_ci 10038c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_3_2, SD0_CD), 10048c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_3_2, TX5_A), 10058c2ecf20Sopenharmony_ci 10068c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_5_4, SD0_WP), 10078c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_5_4, RX5_A, SEL_SCIF5_A), 10088c2ecf20Sopenharmony_ci 10098c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_8_6, VI1_CLKENB), 10108c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_8_6, HSPI_CLK0_A, SEL_HSPI0_A), 10118c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_8_6, HTX1_A), 10128c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_8_6, RTS1_C, SEL_SCIF1_C), 10138c2ecf20Sopenharmony_ci 10148c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_11_9, VI1_FIELD), 10158c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_11_9, HSPI_CS0_A, SEL_HSPI0_A), 10168c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_11_9, HRX1_A, SEL_HSCIF1_A), 10178c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_11_9, SCK1_C, SEL_SCIF1_C), 10188c2ecf20Sopenharmony_ci 10198c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_14_12, VI1_HSYNC), 10208c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_14_12, HSPI_RX0_A, SEL_HSPI0_A), 10218c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_14_12, HRTS1_A, SEL_HSCIF1_A), 10228c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_14_12, FMCLK_A, SEL_FM_A), 10238c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_14_12, RX1_C, SEL_SCIF1_C), 10248c2ecf20Sopenharmony_ci 10258c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_17_15, VI1_VSYNC), 10268c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_17_15, HSPI_TX0), 10278c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_17_15, HCTS1_A, SEL_HSCIF1_A), 10288c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_17_15, BPFCLK_A), 10298c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_17_15, TX1_C), 10308c2ecf20Sopenharmony_ci 10318c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_20_18, TCLK0), 10328c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_20_18, HSCK1_A, SEL_HSCIF1_A), 10338c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_20_18, FMIN_A, SEL_FM_A), 10348c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_20_18, IRQ2_C, SEL_IRQ2_C), 10358c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_20_18, CTS1_C, SEL_SCIF1_C), 10368c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_20_18, SPEEDIN), 10378c2ecf20Sopenharmony_ci 10388c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_21, VI0_CLK), 10398c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_21, CAN_CLK_A, SEL_CANCLK_A), 10408c2ecf20Sopenharmony_ci 10418c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_24_22, VI0_CLKENB), 10428c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_24_22, SD2_DAT2_B, SEL_SD2_B), 10438c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_24_22, VI1_DATA0), 10448c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_24_22, DU1_DG6), 10458c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_24_22, HSPI_RX1_A, SEL_HSPI1_A), 10468c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_24_22, RX4_B, SEL_SCIF4_B), 10478c2ecf20Sopenharmony_ci 10488c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_28_25, VI0_FIELD), 10498c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_28_25, SD2_DAT3_B, SEL_SD2_B), 10508c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R3_C_MARK, FN_IP7_28_25, FN_VI0_R3_C, FN_SEL_VI0_C), /* see sel_vi0 */ 10518c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R3_D_MARK, FN_IP7_28_25, FN_VI0_R3_C, FN_SEL_VI0_D), /* see sel_vi0 */ 10528c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_28_25, VI1_DATA1), 10538c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_28_25, DU1_DG7), 10548c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_28_25, HSPI_CLK1_A, SEL_HSPI1_A), 10558c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_28_25, TX4_B), 10568c2ecf20Sopenharmony_ci 10578c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_31_29, VI0_HSYNC), 10588c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_31_29, SD2_CD_B, SEL_SD2_B), 10598c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_31_29, VI1_DATA2), 10608c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP7_31_29, DU1_DR2), 10618c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_31_29, HSPI_CS1_A, SEL_HSPI1_A), 10628c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP7_31_29, RX3_B, SEL_SCIF3_B), 10638c2ecf20Sopenharmony_ci 10648c2ecf20Sopenharmony_ci /* IPSR8 */ 10658c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_2_0, VI0_VSYNC), 10668c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP8_2_0, SD2_WP_B, SEL_SD2_B), 10678c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_2_0, VI1_DATA3), 10688c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_2_0, DU1_DR3), 10698c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_2_0, HSPI_TX1_A), 10708c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_2_0, TX3_B), 10718c2ecf20Sopenharmony_ci 10728c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_5_3, VI0_DATA0_VI0_B0), 10738c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_5_3, DU1_DG2), 10748c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP8_5_3, IRQ2_B, SEL_IRQ2_B), 10758c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP8_5_3, RX3_D, SEL_SCIF3_D), 10768c2ecf20Sopenharmony_ci 10778c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_8_6, VI0_DATA1_VI0_B1), 10788c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_8_6, DU1_DG3), 10798c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP8_8_6, IRQ3_B, SEL_IRQ3_B), 10808c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_8_6, TX3_D), 10818c2ecf20Sopenharmony_ci 10828c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_10_9, VI0_DATA2_VI0_B2), 10838c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_10_9, DU1_DG4), 10848c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP8_10_9, RX0_C, SEL_SCIF0_C), 10858c2ecf20Sopenharmony_ci 10868c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_13_11, VI0_DATA3_VI0_B3), 10878c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_13_11, DU1_DG5), 10888c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_13_11, TX1_A), 10898c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_13_11, TX0_C), 10908c2ecf20Sopenharmony_ci 10918c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_15_14, VI0_DATA4_VI0_B4), 10928c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_15_14, DU1_DB2), 10938c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP8_15_14, RX1_A, SEL_SCIF1_A), 10948c2ecf20Sopenharmony_ci 10958c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_18_16, VI0_DATA5_VI0_B5), 10968c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_18_16, DU1_DB3), 10978c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP8_18_16, SCK1_A, SEL_SCIF1_A), 10988c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_18_16, PWM4), 10998c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP8_18_16, HSCK1_B, SEL_HSCIF1_B), 11008c2ecf20Sopenharmony_ci 11018c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_21_19, VI0_DATA6_VI0_G0), 11028c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_21_19, DU1_DB4), 11038c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP8_21_19, CTS1_A, SEL_SCIF1_A), 11048c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_21_19, PWM5), 11058c2ecf20Sopenharmony_ci 11068c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_23_22, VI0_DATA7_VI0_G1), 11078c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_23_22, DU1_DB5), 11088c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP8_23_22, RTS1_A, SEL_SCIF1_A), 11098c2ecf20Sopenharmony_ci 11108c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_26_24, VI0_G2), 11118c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_26_24, SD2_CLK_B), 11128c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_26_24, VI1_DATA4), 11138c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_26_24, DU1_DR4), 11148c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_26_24, HTX1_B), 11158c2ecf20Sopenharmony_ci 11168c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_29_27, VI0_G3), 11178c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP8_29_27, SD2_CMD_B, SEL_SD2_B), 11188c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_29_27, VI1_DATA5), 11198c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP8_29_27, DU1_DR5), 11208c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP8_29_27, HRX1_B, SEL_HSCIF1_B), 11218c2ecf20Sopenharmony_ci 11228c2ecf20Sopenharmony_ci /* IPSR9 */ 11238c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_2_0, VI0_G4), 11248c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP9_2_0, SD2_DAT0_B, SEL_SD2_B), 11258c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_2_0, VI1_DATA6), 11268c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_2_0, DU1_DR6), 11278c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP9_2_0, HRTS1_B, SEL_HSCIF1_B), 11288c2ecf20Sopenharmony_ci 11298c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_5_3, VI0_G5), 11308c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP9_5_3, SD2_DAT1_B, SEL_SD2_B), 11318c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_5_3, VI1_DATA7), 11328c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_5_3, DU1_DR7), 11338c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP9_5_3, HCTS1_B, SEL_HSCIF1_B), 11348c2ecf20Sopenharmony_ci 11358c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R0_A_MARK, FN_IP9_8_6, FN_VI0_R0_A, FN_SEL_VI0_A), /* see sel_vi0 */ 11368c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R0_C_MARK, FN_IP9_8_6, FN_VI0_R0_A, FN_SEL_VI0_C), /* see sel_vi0 */ 11378c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_8_6, VI1_CLK), 11388c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_8_6, ETH_REF_CLK), 11398c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_8_6, DU1_DOTCLKIN), 11408c2ecf20Sopenharmony_ci 11418c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R1_A_MARK, FN_IP9_11_9, FN_VI0_R1_A, FN_SEL_VI0_A), /* see sel_vi0 */ 11428c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R1_C_MARK, FN_IP9_11_9, FN_VI0_R1_A, FN_SEL_VI0_C), /* see sel_vi0 */ 11438c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_11_9, VI1_DATA8), 11448c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_11_9, DU1_DB6), 11458c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_11_9, ETH_TXD0), 11468c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_11_9, PWM2), 11478c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_11_9, TCLK1), 11488c2ecf20Sopenharmony_ci 11498c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R2_A_MARK, FN_IP9_14_12, FN_VI0_R2_A, FN_SEL_VI0_A), /* see sel_vi0 */ 11508c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R2_C_MARK, FN_IP9_14_12, FN_VI0_R2_A, FN_SEL_VI0_C), /* see sel_vi0 */ 11518c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_14_12, VI1_DATA9), 11528c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_14_12, DU1_DB7), 11538c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_14_12, ETH_TXD1), 11548c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_14_12, PWM3), 11558c2ecf20Sopenharmony_ci 11568c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP9_17_15, VI0_R3_A, SEL_VI0_A), 11578c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_17_15, ETH_CRS_DV), 11588c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_17_15, IECLK), 11598c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP9_17_15, SCK2_C, SEL_SCIF2_C), 11608c2ecf20Sopenharmony_ci 11618c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R4_A_MARK, FN_IP9_20_18, FN_VI0_R4_A, FN_SEL_VI0_A), /* see sel_vi0 */ 11628c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R3_C_MARK, FN_IP9_20_18, FN_VI0_R4_A, FN_SEL_VI0_C), /* see sel_vi0 */ 11638c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_20_18, ETH_TX_EN), 11648c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_20_18, IETX), 11658c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_20_18, TX2_C), 11668c2ecf20Sopenharmony_ci 11678c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R5_A_MARK, FN_IP9_23_21, FN_VI0_R5_A, FN_SEL_VI0_A), /* see sel_vi0 */ 11688c2ecf20Sopenharmony_ci PINMUX_DATA(VI0_R5_C_MARK, FN_IP9_23_21, FN_VI0_R5_A, FN_SEL_VI0_C), /* see sel_vi0 */ 11698c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_23_21, ETH_RX_ER), 11708c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP9_23_21, FMCLK_C, SEL_FM_C), 11718c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_23_21, IERX), 11728c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP9_23_21, RX2_C, SEL_SCIF2_C), 11738c2ecf20Sopenharmony_ci 11748c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP9_26_24, VI1_DATA10_A, SEL_VI1_A), 11758c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_26_24, DU1_DOTCLKOUT), 11768c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_26_24, ETH_RXD0), 11778c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_26_24, BPFCLK_C), 11788c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_26_24, TX2_D), 11798c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP9_26_24, SDA2_C, SEL_I2C2_C), 11808c2ecf20Sopenharmony_ci 11818c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP9_29_27, VI1_DATA11_A, SEL_VI1_A), 11828c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_29_27, DU1_EXHSYNC_DU1_HSYNC), 11838c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP9_29_27, ETH_RXD1), 11848c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP9_29_27, FMIN_C, SEL_FM_C), 11858c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP9_29_27, RX2_D, SEL_SCIF2_D), 11868c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP9_29_27, SCL2_C, SEL_I2C2_C), 11878c2ecf20Sopenharmony_ci 11888c2ecf20Sopenharmony_ci /* IPSR10 */ 11898c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_2_0, SD2_CLK_A), 11908c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_2_0, DU1_EXVSYNC_DU1_VSYNC), 11918c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_2_0, ATARD1), 11928c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_2_0, ETH_MDC), 11938c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_2_0, SDA1_B, SEL_I2C1_B), 11948c2ecf20Sopenharmony_ci 11958c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_5_3, SD2_CMD_A, SEL_SD2_A), 11968c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_5_3, DU1_EXODDF_DU1_ODDF_DISP_CDE), 11978c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_5_3, ATAWR1), 11988c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_5_3, ETH_MDIO), 11998c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_5_3, SCL1_B, SEL_I2C1_B), 12008c2ecf20Sopenharmony_ci 12018c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_8_6, SD2_DAT0_A, SEL_SD2_A), 12028c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_8_6, DU1_DISP), 12038c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_8_6, ATACS01), 12048c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_8_6, DREQ1_B, SEL_DREQ1_B), 12058c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_8_6, ETH_LINK), 12068c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_8_6, CAN1_RX_A, SEL_CAN1_A), 12078c2ecf20Sopenharmony_ci 12088c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_12_9, SD2_DAT1_A, SEL_SD2_A), 12098c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_12_9, DU1_CDE), 12108c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_12_9, ATACS11), 12118c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_12_9, DACK1_B), 12128c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_12_9, ETH_MAGIC), 12138c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_12_9, CAN1_TX_A), 12148c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_12_9, PWM6), 12158c2ecf20Sopenharmony_ci 12168c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_15_13, SD2_DAT2_A, SEL_SD2_A), 12178c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_15_13, VI1_DATA12), 12188c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_15_13, DREQ2_B, SEL_DREQ2_B), 12198c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_15_13, ATADIR1), 12208c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_15_13, HSPI_CLK2_B, SEL_HSPI2_B), 12218c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_15_13, GPSCLK_B, SEL_GPS_B), 12228c2ecf20Sopenharmony_ci 12238c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_18_16, SD2_DAT3_A, SEL_SD2_A), 12248c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_18_16, VI1_DATA13), 12258c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_18_16, DACK2_B), 12268c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_18_16, ATAG1), 12278c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_18_16, HSPI_CS2_B, SEL_HSPI2_B), 12288c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_18_16, GPSIN_B, SEL_GPS_B), 12298c2ecf20Sopenharmony_ci 12308c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_21_19, SD2_CD_A, SEL_SD2_A), 12318c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_21_19, VI1_DATA14), 12328c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_21_19, EX_WAIT1_B, SEL_WAIT1_B), 12338c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_21_19, DREQ0_B, SEL_DREQ0_B), 12348c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_21_19, HSPI_RX2_B, SEL_HSPI2_B), 12358c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_21_19, REMOCON_A, SEL_REMOCON_A), 12368c2ecf20Sopenharmony_ci 12378c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_24_22, SD2_WP_A, SEL_SD2_A), 12388c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_24_22, VI1_DATA15), 12398c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_24_22, EX_WAIT2_B, SEL_WAIT2_B), 12408c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_24_22, DACK0_B), 12418c2ecf20Sopenharmony_ci PINMUX_IPSR_GPSR(IP10_24_22, HSPI_TX2_B), 12428c2ecf20Sopenharmony_ci PINMUX_IPSR_MSEL(IP10_24_22, CAN_CLK_C, SEL_CANCLK_C), 12438c2ecf20Sopenharmony_ci}; 12448c2ecf20Sopenharmony_ci 12458c2ecf20Sopenharmony_ci/* 12468c2ecf20Sopenharmony_ci * Pins not associated with a GPIO port. 12478c2ecf20Sopenharmony_ci */ 12488c2ecf20Sopenharmony_cienum { 12498c2ecf20Sopenharmony_ci GP_ASSIGN_LAST(), 12508c2ecf20Sopenharmony_ci NOGP_ALL(), 12518c2ecf20Sopenharmony_ci}; 12528c2ecf20Sopenharmony_ci 12538c2ecf20Sopenharmony_cistatic const struct sh_pfc_pin pinmux_pins[] = { 12548c2ecf20Sopenharmony_ci PINMUX_GPIO_GP_ALL(), 12558c2ecf20Sopenharmony_ci PINMUX_NOGP_ALL(), 12568c2ecf20Sopenharmony_ci}; 12578c2ecf20Sopenharmony_ci 12588c2ecf20Sopenharmony_ci/* - macro */ 12598c2ecf20Sopenharmony_ci#define SH_PFC_PINS(name, args...) \ 12608c2ecf20Sopenharmony_ci static const unsigned int name ##_pins[] = { args } 12618c2ecf20Sopenharmony_ci#define SH_PFC_MUX1(name, arg1) \ 12628c2ecf20Sopenharmony_ci static const unsigned int name ##_mux[] = { arg1##_MARK } 12638c2ecf20Sopenharmony_ci#define SH_PFC_MUX2(name, arg1, arg2) \ 12648c2ecf20Sopenharmony_ci static const unsigned int name ##_mux[] = { arg1##_MARK, arg2##_MARK, } 12658c2ecf20Sopenharmony_ci#define SH_PFC_MUX3(name, arg1, arg2, arg3) \ 12668c2ecf20Sopenharmony_ci static const unsigned int name ##_mux[] = { arg1##_MARK, arg2##_MARK, \ 12678c2ecf20Sopenharmony_ci arg3##_MARK } 12688c2ecf20Sopenharmony_ci#define SH_PFC_MUX4(name, arg1, arg2, arg3, arg4) \ 12698c2ecf20Sopenharmony_ci static const unsigned int name ##_mux[] = { arg1##_MARK, arg2##_MARK, \ 12708c2ecf20Sopenharmony_ci arg3##_MARK, arg4##_MARK } 12718c2ecf20Sopenharmony_ci#define SH_PFC_MUX8(name, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \ 12728c2ecf20Sopenharmony_ci static const unsigned int name ##_mux[] = { arg1##_MARK, arg2##_MARK, \ 12738c2ecf20Sopenharmony_ci arg3##_MARK, arg4##_MARK, \ 12748c2ecf20Sopenharmony_ci arg5##_MARK, arg6##_MARK, \ 12758c2ecf20Sopenharmony_ci arg7##_MARK, arg8##_MARK, } 12768c2ecf20Sopenharmony_ci 12778c2ecf20Sopenharmony_ci/* - AUDIO macro -------------------------------------------------------------*/ 12788c2ecf20Sopenharmony_ci#define AUDIO_PFC_PIN(name, pin) SH_PFC_PINS(name, pin) 12798c2ecf20Sopenharmony_ci#define AUDIO_PFC_DAT(name, pin) SH_PFC_MUX1(name, pin) 12808c2ecf20Sopenharmony_ci 12818c2ecf20Sopenharmony_ci/* - AUDIO clock -------------------------------------------------------------*/ 12828c2ecf20Sopenharmony_ciAUDIO_PFC_PIN(audio_clk_a, RCAR_GP_PIN(2, 22)); 12838c2ecf20Sopenharmony_ciAUDIO_PFC_DAT(audio_clk_a, AUDIO_CLKA); 12848c2ecf20Sopenharmony_ciAUDIO_PFC_PIN(audio_clk_b, RCAR_GP_PIN(2, 23)); 12858c2ecf20Sopenharmony_ciAUDIO_PFC_DAT(audio_clk_b, AUDIO_CLKB); 12868c2ecf20Sopenharmony_ciAUDIO_PFC_PIN(audio_clk_c, RCAR_GP_PIN(2, 7)); 12878c2ecf20Sopenharmony_ciAUDIO_PFC_DAT(audio_clk_c, AUDIO_CLKC); 12888c2ecf20Sopenharmony_ciAUDIO_PFC_PIN(audio_clkout_a, RCAR_GP_PIN(2, 16)); 12898c2ecf20Sopenharmony_ciAUDIO_PFC_DAT(audio_clkout_a, AUDIO_CLKOUT_A); 12908c2ecf20Sopenharmony_ciAUDIO_PFC_PIN(audio_clkout_b, RCAR_GP_PIN(1, 16)); 12918c2ecf20Sopenharmony_ciAUDIO_PFC_DAT(audio_clkout_b, AUDIO_CLKOUT_B); 12928c2ecf20Sopenharmony_ci 12938c2ecf20Sopenharmony_ci/* - CAN macro --------_----------------------------------------------------- */ 12948c2ecf20Sopenharmony_ci#define CAN_PFC_PINS(name, args...) SH_PFC_PINS(name, args) 12958c2ecf20Sopenharmony_ci#define CAN_PFC_DATA(name, tx, rx) SH_PFC_MUX2(name, tx, rx) 12968c2ecf20Sopenharmony_ci#define CAN_PFC_CLK(name, clk) SH_PFC_MUX1(name, clk) 12978c2ecf20Sopenharmony_ci 12988c2ecf20Sopenharmony_ci/* - CAN0 ------------------------------------------------------------------- */ 12998c2ecf20Sopenharmony_ciCAN_PFC_PINS(can0_data_a, RCAR_GP_PIN(1, 30), RCAR_GP_PIN(1, 31)); 13008c2ecf20Sopenharmony_ciCAN_PFC_DATA(can0_data_a, CAN0_TX_A, CAN0_RX_A); 13018c2ecf20Sopenharmony_ciCAN_PFC_PINS(can0_data_b, RCAR_GP_PIN(2, 26), RCAR_GP_PIN(2, 27)); 13028c2ecf20Sopenharmony_ciCAN_PFC_DATA(can0_data_b, CAN0_TX_B, CAN0_RX_B); 13038c2ecf20Sopenharmony_ci 13048c2ecf20Sopenharmony_ci/* - CAN1 ------------------------------------------------------------------- */ 13058c2ecf20Sopenharmony_ciCAN_PFC_PINS(can1_data_a, RCAR_GP_PIN(4, 20), RCAR_GP_PIN(4, 19)); 13068c2ecf20Sopenharmony_ciCAN_PFC_DATA(can1_data_a, CAN1_TX_A, CAN1_RX_A); 13078c2ecf20Sopenharmony_ciCAN_PFC_PINS(can1_data_b, RCAR_GP_PIN(2, 28), RCAR_GP_PIN(2, 29)); 13088c2ecf20Sopenharmony_ciCAN_PFC_DATA(can1_data_b, CAN1_TX_B, CAN1_RX_B); 13098c2ecf20Sopenharmony_ci 13108c2ecf20Sopenharmony_ci/* - CAN_CLK --------------------------------------------------------------- */ 13118c2ecf20Sopenharmony_ciCAN_PFC_PINS(can_clk_a, RCAR_GP_PIN(3, 24)); 13128c2ecf20Sopenharmony_ciCAN_PFC_CLK(can_clk_a, CAN_CLK_A); 13138c2ecf20Sopenharmony_ciCAN_PFC_PINS(can_clk_b, RCAR_GP_PIN(1, 16)); 13148c2ecf20Sopenharmony_ciCAN_PFC_CLK(can_clk_b, CAN_CLK_B); 13158c2ecf20Sopenharmony_ciCAN_PFC_PINS(can_clk_c, RCAR_GP_PIN(4, 24)); 13168c2ecf20Sopenharmony_ciCAN_PFC_CLK(can_clk_c, CAN_CLK_C); 13178c2ecf20Sopenharmony_ciCAN_PFC_PINS(can_clk_d, RCAR_GP_PIN(2, 25)); 13188c2ecf20Sopenharmony_ciCAN_PFC_CLK(can_clk_d, CAN_CLK_D); 13198c2ecf20Sopenharmony_ci 13208c2ecf20Sopenharmony_ci/* - Ether ------------------------------------------------------------------ */ 13218c2ecf20Sopenharmony_ciSH_PFC_PINS(ether_rmii, RCAR_GP_PIN(4, 10), RCAR_GP_PIN(4, 11), 13228c2ecf20Sopenharmony_ci RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 9), 13238c2ecf20Sopenharmony_ci RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16), 13248c2ecf20Sopenharmony_ci RCAR_GP_PIN(4, 12), RCAR_GP_PIN(4, 14), 13258c2ecf20Sopenharmony_ci RCAR_GP_PIN(4, 18), RCAR_GP_PIN(4, 17)); 13268c2ecf20Sopenharmony_cistatic const unsigned int ether_rmii_mux[] = { 13278c2ecf20Sopenharmony_ci ETH_TXD0_MARK, ETH_TXD1_MARK, ETH_TX_EN_MARK, ETH_REF_CLK_MARK, 13288c2ecf20Sopenharmony_ci ETH_RXD0_MARK, ETH_RXD1_MARK, ETH_CRS_DV_MARK, ETH_RX_ER_MARK, 13298c2ecf20Sopenharmony_ci ETH_MDIO_MARK, ETH_MDC_MARK, 13308c2ecf20Sopenharmony_ci}; 13318c2ecf20Sopenharmony_ciSH_PFC_PINS(ether_link, RCAR_GP_PIN(4, 19)); 13328c2ecf20Sopenharmony_ciSH_PFC_MUX1(ether_link, ETH_LINK); 13338c2ecf20Sopenharmony_ciSH_PFC_PINS(ether_magic, RCAR_GP_PIN(4, 20)); 13348c2ecf20Sopenharmony_ciSH_PFC_MUX1(ether_magic, ETH_MAGIC); 13358c2ecf20Sopenharmony_ci 13368c2ecf20Sopenharmony_ci/* - SCIF macro ------------------------------------------------------------- */ 13378c2ecf20Sopenharmony_ci#define SCIF_PFC_PIN(name, args...) SH_PFC_PINS(name, args) 13388c2ecf20Sopenharmony_ci#define SCIF_PFC_DAT(name, tx, rx) SH_PFC_MUX2(name, tx, rx) 13398c2ecf20Sopenharmony_ci#define SCIF_PFC_CTR(name, cts, rts) SH_PFC_MUX2(name, cts, rts) 13408c2ecf20Sopenharmony_ci#define SCIF_PFC_CLK(name, sck) SH_PFC_MUX1(name, sck) 13418c2ecf20Sopenharmony_ci 13428c2ecf20Sopenharmony_ci/* - HSCIF0 ----------------------------------------------------------------- */ 13438c2ecf20Sopenharmony_ciSCIF_PFC_PIN(hscif0_data_a, RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 18)); 13448c2ecf20Sopenharmony_ciSCIF_PFC_DAT(hscif0_data_a, HTX0_A, HRX0_A); 13458c2ecf20Sopenharmony_ciSCIF_PFC_PIN(hscif0_data_b, RCAR_GP_PIN(0, 29), RCAR_GP_PIN(0, 30)); 13468c2ecf20Sopenharmony_ciSCIF_PFC_DAT(hscif0_data_b, HTX0_B, HRX0_B); 13478c2ecf20Sopenharmony_ciSCIF_PFC_PIN(hscif0_ctrl_a, RCAR_GP_PIN(1, 20), RCAR_GP_PIN(1, 21)); 13488c2ecf20Sopenharmony_ciSCIF_PFC_CTR(hscif0_ctrl_a, HCTS0_A, HRTS0_A); 13498c2ecf20Sopenharmony_ciSCIF_PFC_PIN(hscif0_ctrl_b, RCAR_GP_PIN(0, 31), RCAR_GP_PIN(0, 28)); 13508c2ecf20Sopenharmony_ciSCIF_PFC_CTR(hscif0_ctrl_b, HCTS0_B, HRTS0_B); 13518c2ecf20Sopenharmony_ciSCIF_PFC_PIN(hscif0_clk, RCAR_GP_PIN(1, 19)); 13528c2ecf20Sopenharmony_ciSCIF_PFC_CLK(hscif0_clk, HSCK0); 13538c2ecf20Sopenharmony_ci 13548c2ecf20Sopenharmony_ci/* - HSCIF1 ----------------------------------------------------------------- */ 13558c2ecf20Sopenharmony_ciSCIF_PFC_PIN(hscif1_data_a, RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 20)); 13568c2ecf20Sopenharmony_ciSCIF_PFC_DAT(hscif1_data_a, HTX1_A, HRX1_A); 13578c2ecf20Sopenharmony_ciSCIF_PFC_PIN(hscif1_data_b, RCAR_GP_PIN(4, 5), RCAR_GP_PIN(4, 6)); 13588c2ecf20Sopenharmony_ciSCIF_PFC_DAT(hscif1_data_b, HTX1_B, HRX1_B); 13598c2ecf20Sopenharmony_ciSCIF_PFC_PIN(hscif1_ctrl_a, RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21)); 13608c2ecf20Sopenharmony_ciSCIF_PFC_CTR(hscif1_ctrl_a, HCTS1_A, HRTS1_A); 13618c2ecf20Sopenharmony_ciSCIF_PFC_PIN(hscif1_ctrl_b, RCAR_GP_PIN(4, 8), RCAR_GP_PIN(4, 7)); 13628c2ecf20Sopenharmony_ciSCIF_PFC_CTR(hscif1_ctrl_b, HCTS1_B, HRTS1_B); 13638c2ecf20Sopenharmony_ciSCIF_PFC_PIN(hscif1_clk_a, RCAR_GP_PIN(3, 23)); 13648c2ecf20Sopenharmony_ciSCIF_PFC_CLK(hscif1_clk_a, HSCK1_A); 13658c2ecf20Sopenharmony_ciSCIF_PFC_PIN(hscif1_clk_b, RCAR_GP_PIN(4, 2)); 13668c2ecf20Sopenharmony_ciSCIF_PFC_CLK(hscif1_clk_b, HSCK1_B); 13678c2ecf20Sopenharmony_ci 13688c2ecf20Sopenharmony_ci/* - HSPI macro --------------------------------------------------------------*/ 13698c2ecf20Sopenharmony_ci#define HSPI_PFC_PIN(name, args...) SH_PFC_PINS(name, args) 13708c2ecf20Sopenharmony_ci#define HSPI_PFC_DAT(name, clk, cs, rx, tx) SH_PFC_MUX4(name, clk, cs, rx, tx) 13718c2ecf20Sopenharmony_ci 13728c2ecf20Sopenharmony_ci/* - HSPI0 -------------------------------------------------------------------*/ 13738c2ecf20Sopenharmony_ciHSPI_PFC_PIN(hspi0_a, RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 20), 13748c2ecf20Sopenharmony_ci RCAR_GP_PIN(3, 21), RCAR_GP_PIN(3, 22)); 13758c2ecf20Sopenharmony_ciHSPI_PFC_DAT(hspi0_a, HSPI_CLK0_A, HSPI_CS0_A, 13768c2ecf20Sopenharmony_ci HSPI_RX0_A, HSPI_TX0); 13778c2ecf20Sopenharmony_ci 13788c2ecf20Sopenharmony_ciHSPI_PFC_PIN(hspi0_b, RCAR_GP_PIN(2, 25), RCAR_GP_PIN(2, 26), 13798c2ecf20Sopenharmony_ci RCAR_GP_PIN(2, 24), RCAR_GP_PIN(2, 27)); 13808c2ecf20Sopenharmony_ciHSPI_PFC_DAT(hspi0_b, HSPI_CLK0_B, HSPI_CS0_B, 13818c2ecf20Sopenharmony_ci HSPI_RX0_B, HSPI_TX0_B); 13828c2ecf20Sopenharmony_ci 13838c2ecf20Sopenharmony_ci/* - HSPI1 -------------------------------------------------------------------*/ 13848c2ecf20Sopenharmony_ciHSPI_PFC_PIN(hspi1_a, RCAR_GP_PIN(3, 26), RCAR_GP_PIN(3, 27), 13858c2ecf20Sopenharmony_ci RCAR_GP_PIN(3, 25), RCAR_GP_PIN(3, 28)); 13868c2ecf20Sopenharmony_ciHSPI_PFC_DAT(hspi1_a, HSPI_CLK1_A, HSPI_CS1_A, 13878c2ecf20Sopenharmony_ci HSPI_RX1_A, HSPI_TX1_A); 13888c2ecf20Sopenharmony_ci 13898c2ecf20Sopenharmony_ciHSPI_PFC_PIN(hspi1_b, RCAR_GP_PIN(0, 27), RCAR_GP_PIN(0, 26), 13908c2ecf20Sopenharmony_ci PIN_CS0, PIN_CLKOUT); 13918c2ecf20Sopenharmony_ciHSPI_PFC_DAT(hspi1_b, HSPI_CLK1_B, HSPI_CS1_B, 13928c2ecf20Sopenharmony_ci HSPI_RX1_B, HSPI_TX1_B); 13938c2ecf20Sopenharmony_ci 13948c2ecf20Sopenharmony_ci/* - HSPI2 -------------------------------------------------------------------*/ 13958c2ecf20Sopenharmony_ciHSPI_PFC_PIN(hspi2_a, RCAR_GP_PIN(2, 29), RCAR_GP_PIN(3, 8), 13968c2ecf20Sopenharmony_ci RCAR_GP_PIN(2, 28), RCAR_GP_PIN(2, 30)); 13978c2ecf20Sopenharmony_ciHSPI_PFC_DAT(hspi2_a, HSPI_CLK2_A, HSPI_CS2_A, 13988c2ecf20Sopenharmony_ci HSPI_RX2_A, HSPI_TX2_A); 13998c2ecf20Sopenharmony_ci 14008c2ecf20Sopenharmony_ciHSPI_PFC_PIN(hspi2_b, RCAR_GP_PIN(4, 21), RCAR_GP_PIN(4, 22), 14018c2ecf20Sopenharmony_ci RCAR_GP_PIN(4, 23), RCAR_GP_PIN(4, 24)); 14028c2ecf20Sopenharmony_ciHSPI_PFC_DAT(hspi2_b, HSPI_CLK2_B, HSPI_CS2_B, 14038c2ecf20Sopenharmony_ci HSPI_RX2_B, HSPI_TX2_B); 14048c2ecf20Sopenharmony_ci 14058c2ecf20Sopenharmony_ci/* - I2C macro ------------------------------------------------------------- */ 14068c2ecf20Sopenharmony_ci#define I2C_PFC_PIN(name, args...) SH_PFC_PINS(name, args) 14078c2ecf20Sopenharmony_ci#define I2C_PFC_MUX(name, sda, scl) SH_PFC_MUX2(name, sda, scl) 14088c2ecf20Sopenharmony_ci 14098c2ecf20Sopenharmony_ci/* - I2C1 ------------------------------------------------------------------ */ 14108c2ecf20Sopenharmony_ciI2C_PFC_PIN(i2c1_a, RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9)); 14118c2ecf20Sopenharmony_ciI2C_PFC_MUX(i2c1_a, SDA1_A, SCL1_A); 14128c2ecf20Sopenharmony_ciI2C_PFC_PIN(i2c1_b, RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 18)); 14138c2ecf20Sopenharmony_ciI2C_PFC_MUX(i2c1_b, SDA1_B, SCL1_B); 14148c2ecf20Sopenharmony_ci 14158c2ecf20Sopenharmony_ci/* - I2C2 ------------------------------------------------------------------ */ 14168c2ecf20Sopenharmony_ciI2C_PFC_PIN(i2c2_a, PIN_CS1_A26, RCAR_GP_PIN(1, 3)); 14178c2ecf20Sopenharmony_ciI2C_PFC_MUX(i2c2_a, SDA2_A, SCL2_A); 14188c2ecf20Sopenharmony_ciI2C_PFC_PIN(i2c2_b, RCAR_GP_PIN(0, 3), RCAR_GP_PIN(0, 4)); 14198c2ecf20Sopenharmony_ciI2C_PFC_MUX(i2c2_b, SDA2_B, SCL2_B); 14208c2ecf20Sopenharmony_ciI2C_PFC_PIN(i2c2_c, RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16)); 14218c2ecf20Sopenharmony_ciI2C_PFC_MUX(i2c2_c, SDA2_C, SCL2_C); 14228c2ecf20Sopenharmony_ci 14238c2ecf20Sopenharmony_ci/* - I2C3 ------------------------------------------------------------------ */ 14248c2ecf20Sopenharmony_ciI2C_PFC_PIN(i2c3_a, RCAR_GP_PIN(1, 14), RCAR_GP_PIN(1, 15)); 14258c2ecf20Sopenharmony_ciI2C_PFC_MUX(i2c3_a, SDA3_A, SCL3_A); 14268c2ecf20Sopenharmony_ciI2C_PFC_PIN(i2c3_b, RCAR_GP_PIN(1, 16), RCAR_GP_PIN(1, 19)); 14278c2ecf20Sopenharmony_ciI2C_PFC_MUX(i2c3_b, SDA3_B, SCL3_B); 14288c2ecf20Sopenharmony_ciI2C_PFC_PIN(i2c3_c, RCAR_GP_PIN(1, 22), RCAR_GP_PIN(1, 23)); 14298c2ecf20Sopenharmony_ciI2C_PFC_MUX(i2c3_c, SDA3_C, SCL3_C); 14308c2ecf20Sopenharmony_ci 14318c2ecf20Sopenharmony_ci/* - MMC macro -------------------------------------------------------------- */ 14328c2ecf20Sopenharmony_ci#define MMC_PFC_PINS(name, args...) SH_PFC_PINS(name, args) 14338c2ecf20Sopenharmony_ci#define MMC_PFC_CTRL(name, clk, cmd) SH_PFC_MUX2(name, clk, cmd) 14348c2ecf20Sopenharmony_ci#define MMC_PFC_DAT1(name, d0) SH_PFC_MUX1(name, d0) 14358c2ecf20Sopenharmony_ci#define MMC_PFC_DAT4(name, d0, d1, d2, d3) SH_PFC_MUX4(name, d0, d1, d2, d3) 14368c2ecf20Sopenharmony_ci#define MMC_PFC_DAT8(name, d0, d1, d2, d3, d4, d5, d6, d7) \ 14378c2ecf20Sopenharmony_ci SH_PFC_MUX8(name, d0, d1, d2, d3, d4, d5, d6, d7) 14388c2ecf20Sopenharmony_ci 14398c2ecf20Sopenharmony_ci/* - MMC -------------------------------------------------------------------- */ 14408c2ecf20Sopenharmony_ciMMC_PFC_PINS(mmc_ctrl, RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6)); 14418c2ecf20Sopenharmony_ciMMC_PFC_CTRL(mmc_ctrl, MMC_CLK, MMC_CMD); 14428c2ecf20Sopenharmony_ciMMC_PFC_PINS(mmc_data1, RCAR_GP_PIN(1, 7)); 14438c2ecf20Sopenharmony_ciMMC_PFC_DAT1(mmc_data1, MMC_D0); 14448c2ecf20Sopenharmony_ciMMC_PFC_PINS(mmc_data4, RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 8), 14458c2ecf20Sopenharmony_ci RCAR_GP_PIN(0, 5), RCAR_GP_PIN(0, 6)); 14468c2ecf20Sopenharmony_ciMMC_PFC_DAT4(mmc_data4, MMC_D0, MMC_D1, 14478c2ecf20Sopenharmony_ci MMC_D2, MMC_D3); 14488c2ecf20Sopenharmony_ciMMC_PFC_PINS(mmc_data8, RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 8), 14498c2ecf20Sopenharmony_ci RCAR_GP_PIN(0, 5), RCAR_GP_PIN(0, 6), 14508c2ecf20Sopenharmony_ci RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 0), 14518c2ecf20Sopenharmony_ci RCAR_GP_PIN(0, 30), RCAR_GP_PIN(0, 31)); 14528c2ecf20Sopenharmony_ciMMC_PFC_DAT8(mmc_data8, MMC_D0, MMC_D1, 14538c2ecf20Sopenharmony_ci MMC_D2, MMC_D3, 14548c2ecf20Sopenharmony_ci MMC_D4, MMC_D5, 14558c2ecf20Sopenharmony_ci MMC_D6, MMC_D7); 14568c2ecf20Sopenharmony_ci 14578c2ecf20Sopenharmony_ci/* - SCIF CLOCK ------------------------------------------------------------- */ 14588c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif_clk, RCAR_GP_PIN(1, 16)); 14598c2ecf20Sopenharmony_ciSCIF_PFC_CLK(scif_clk, SCIF_CLK); 14608c2ecf20Sopenharmony_ci 14618c2ecf20Sopenharmony_ci/* - SCIF0 ------------------------------------------------------------------ */ 14628c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif0_data_a, RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 18)); 14638c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif0_data_a, TX0_A, RX0_A); 14648c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif0_data_b, RCAR_GP_PIN(2, 3), RCAR_GP_PIN(2, 2)); 14658c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif0_data_b, TX0_B, RX0_B); 14668c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif0_data_c, RCAR_GP_PIN(4, 0), RCAR_GP_PIN(3, 31)); 14678c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif0_data_c, TX0_C, RX0_C); 14688c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif0_data_d, RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 1)); 14698c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif0_data_d, TX0_D, RX0_D); 14708c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif0_ctrl, RCAR_GP_PIN(1, 20), RCAR_GP_PIN(1, 21)); 14718c2ecf20Sopenharmony_ciSCIF_PFC_CTR(scif0_ctrl, CTS0, RTS0); 14728c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif0_clk, RCAR_GP_PIN(1, 19)); 14738c2ecf20Sopenharmony_ciSCIF_PFC_CLK(scif0_clk, SCK0); 14748c2ecf20Sopenharmony_ci 14758c2ecf20Sopenharmony_ci/* - SCIF1 ------------------------------------------------------------------ */ 14768c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif1_data_a, RCAR_GP_PIN(4, 0), RCAR_GP_PIN(4, 1)); 14778c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif1_data_a, TX1_A, RX1_A); 14788c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif1_data_b, RCAR_GP_PIN(2, 24), RCAR_GP_PIN(2, 25)); 14798c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif1_data_b, TX1_B, RX1_B); 14808c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif1_data_c, RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21)); 14818c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif1_data_c, TX1_C, RX1_C); 14828c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif1_data_d, RCAR_GP_PIN(1, 30), RCAR_GP_PIN(1, 31)); 14838c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif1_data_d, TX1_D, RX1_D); 14848c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif1_ctrl_a, RCAR_GP_PIN(4, 3), RCAR_GP_PIN(4, 4)); 14858c2ecf20Sopenharmony_ciSCIF_PFC_CTR(scif1_ctrl_a, CTS1_A, RTS1_A); 14868c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif1_ctrl_c, RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 19)); 14878c2ecf20Sopenharmony_ciSCIF_PFC_CTR(scif1_ctrl_c, CTS1_C, RTS1_C); 14888c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif1_clk_a, RCAR_GP_PIN(4, 2)); 14898c2ecf20Sopenharmony_ciSCIF_PFC_CLK(scif1_clk_a, SCK1_A); 14908c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif1_clk_c, RCAR_GP_PIN(3, 20)); 14918c2ecf20Sopenharmony_ciSCIF_PFC_CLK(scif1_clk_c, SCK1_C); 14928c2ecf20Sopenharmony_ci 14938c2ecf20Sopenharmony_ci/* - SCIF2 ------------------------------------------------------------------ */ 14948c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif2_data_a, RCAR_GP_PIN(2, 26), RCAR_GP_PIN(2, 27)); 14958c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif2_data_a, TX2_A, RX2_A); 14968c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif2_data_b, RCAR_GP_PIN(0, 29), RCAR_GP_PIN(0, 28)); 14978c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif2_data_b, TX2_B, RX2_B); 14988c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif2_data_c, RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 14)); 14998c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif2_data_c, TX2_C, RX2_C); 15008c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif2_data_d, RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16)); 15018c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif2_data_d, TX2_D, RX2_D); 15028c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif2_data_e, RCAR_GP_PIN(0, 3), RCAR_GP_PIN(0, 4)); 15038c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif2_data_e, TX2_E, RX2_E); 15048c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif2_clk_a, RCAR_GP_PIN(3, 9)); 15058c2ecf20Sopenharmony_ciSCIF_PFC_CLK(scif2_clk_a, SCK2_A); 15068c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif2_clk_b, PIN_CS1_A26); 15078c2ecf20Sopenharmony_ciSCIF_PFC_CLK(scif2_clk_b, SCK2_B); 15088c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif2_clk_c, RCAR_GP_PIN(4, 12)); 15098c2ecf20Sopenharmony_ciSCIF_PFC_CLK(scif2_clk_c, SCK2_C); 15108c2ecf20Sopenharmony_ci 15118c2ecf20Sopenharmony_ci/* - SCIF3 ------------------------------------------------------------------ */ 15128c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif3_data_a, RCAR_GP_PIN(1, 10), RCAR_GP_PIN(1, 9)); 15138c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif3_data_a, TX3_A, RX3_A); 15148c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif3_data_b, RCAR_GP_PIN(3, 28), RCAR_GP_PIN(3, 27)); 15158c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif3_data_b, TX3_B, RX3_B); 15168c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif3_data_c, RCAR_GP_PIN(1, 3), RCAR_GP_PIN(0, 31)); 15178c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif3_data_c, TX3_C, RX3_C); 15188c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif3_data_d, RCAR_GP_PIN(3, 30), RCAR_GP_PIN(3, 29)); 15198c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif3_data_d, TX3_D, RX3_D); 15208c2ecf20Sopenharmony_ci 15218c2ecf20Sopenharmony_ci/* - SCIF4 ------------------------------------------------------------------ */ 15228c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif4_data_a, RCAR_GP_PIN(2, 5), RCAR_GP_PIN(2, 4)); 15238c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif4_data_a, TX4_A, RX4_A); 15248c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif4_data_b, RCAR_GP_PIN(3, 26), RCAR_GP_PIN(3, 25)); 15258c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif4_data_b, TX4_B, RX4_B); 15268c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif4_data_c, RCAR_GP_PIN(3, 0), RCAR_GP_PIN(2, 31)); 15278c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif4_data_c, TX4_C, RX4_C); 15288c2ecf20Sopenharmony_ci 15298c2ecf20Sopenharmony_ci/* - SCIF5 ------------------------------------------------------------------ */ 15308c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif5_data_a, RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 18)); 15318c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif5_data_a, TX5_A, RX5_A); 15328c2ecf20Sopenharmony_ciSCIF_PFC_PIN(scif5_data_b, RCAR_GP_PIN(1, 15), RCAR_GP_PIN(1, 14)); 15338c2ecf20Sopenharmony_ciSCIF_PFC_DAT(scif5_data_b, TX5_B, RX5_B); 15348c2ecf20Sopenharmony_ci 15358c2ecf20Sopenharmony_ci/* - SDHI macro ------------------------------------------------------------- */ 15368c2ecf20Sopenharmony_ci#define SDHI_PFC_PINS(name, args...) SH_PFC_PINS(name, args) 15378c2ecf20Sopenharmony_ci#define SDHI_PFC_DAT1(name, d0) SH_PFC_MUX1(name, d0) 15388c2ecf20Sopenharmony_ci#define SDHI_PFC_DAT4(name, d0, d1, d2, d3) SH_PFC_MUX4(name, d0, d1, d2, d3) 15398c2ecf20Sopenharmony_ci#define SDHI_PFC_CTRL(name, clk, cmd) SH_PFC_MUX2(name, clk, cmd) 15408c2ecf20Sopenharmony_ci#define SDHI_PFC_CDPN(name, cd) SH_PFC_MUX1(name, cd) 15418c2ecf20Sopenharmony_ci#define SDHI_PFC_WPPN(name, wp) SH_PFC_MUX1(name, wp) 15428c2ecf20Sopenharmony_ci 15438c2ecf20Sopenharmony_ci/* - SDHI0 ------------------------------------------------------------------ */ 15448c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi0_cd, RCAR_GP_PIN(3, 17)); 15458c2ecf20Sopenharmony_ciSDHI_PFC_CDPN(sdhi0_cd, SD0_CD); 15468c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi0_ctrl, RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 12)); 15478c2ecf20Sopenharmony_ciSDHI_PFC_CTRL(sdhi0_ctrl, SD0_CLK, SD0_CMD); 15488c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi0_data1, RCAR_GP_PIN(3, 13)); 15498c2ecf20Sopenharmony_ciSDHI_PFC_DAT1(sdhi0_data1, SD0_DAT0); 15508c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi0_data4, RCAR_GP_PIN(3, 13), RCAR_GP_PIN(3, 14), 15518c2ecf20Sopenharmony_ci RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 16)); 15528c2ecf20Sopenharmony_ciSDHI_PFC_DAT4(sdhi0_data4, SD0_DAT0, SD0_DAT1, 15538c2ecf20Sopenharmony_ci SD0_DAT2, SD0_DAT3); 15548c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi0_wp, RCAR_GP_PIN(3, 18)); 15558c2ecf20Sopenharmony_ciSDHI_PFC_WPPN(sdhi0_wp, SD0_WP); 15568c2ecf20Sopenharmony_ci 15578c2ecf20Sopenharmony_ci/* - SDHI1 ------------------------------------------------------------------ */ 15588c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi1_cd_a, RCAR_GP_PIN(0, 30)); 15598c2ecf20Sopenharmony_ciSDHI_PFC_CDPN(sdhi1_cd_a, SD1_CD_A); 15608c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi1_cd_b, RCAR_GP_PIN(2, 24)); 15618c2ecf20Sopenharmony_ciSDHI_PFC_CDPN(sdhi1_cd_b, SD1_CD_B); 15628c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi1_ctrl_a, RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6)); 15638c2ecf20Sopenharmony_ciSDHI_PFC_CTRL(sdhi1_ctrl_a, SD1_CLK_A, SD1_CMD_A); 15648c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi1_ctrl_b, RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 16)); 15658c2ecf20Sopenharmony_ciSDHI_PFC_CTRL(sdhi1_ctrl_b, SD1_CLK_B, SD1_CMD_B); 15668c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi1_data1_a, RCAR_GP_PIN(1, 7)); 15678c2ecf20Sopenharmony_ciSDHI_PFC_DAT1(sdhi1_data1_a, SD1_DAT0_A); 15688c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi1_data1_b, RCAR_GP_PIN(1, 18)); 15698c2ecf20Sopenharmony_ciSDHI_PFC_DAT1(sdhi1_data1_b, SD1_DAT0_B); 15708c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi1_data4_a, RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 8), 15718c2ecf20Sopenharmony_ci RCAR_GP_PIN(0, 5), RCAR_GP_PIN(0, 6)); 15728c2ecf20Sopenharmony_ciSDHI_PFC_DAT4(sdhi1_data4_a, SD1_DAT0_A, SD1_DAT1_A, 15738c2ecf20Sopenharmony_ci SD1_DAT2_A, SD1_DAT3_A); 15748c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi1_data4_b, RCAR_GP_PIN(1, 18), RCAR_GP_PIN(1, 19), 15758c2ecf20Sopenharmony_ci RCAR_GP_PIN(1, 20), RCAR_GP_PIN(1, 21)); 15768c2ecf20Sopenharmony_ciSDHI_PFC_DAT4(sdhi1_data4_b, SD1_DAT0_B, SD1_DAT1_B, 15778c2ecf20Sopenharmony_ci SD1_DAT2_B, SD1_DAT3_B); 15788c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi1_wp_a, RCAR_GP_PIN(0, 31)); 15798c2ecf20Sopenharmony_ciSDHI_PFC_WPPN(sdhi1_wp_a, SD1_WP_A); 15808c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi1_wp_b, RCAR_GP_PIN(2, 25)); 15818c2ecf20Sopenharmony_ciSDHI_PFC_WPPN(sdhi1_wp_b, SD1_WP_B); 15828c2ecf20Sopenharmony_ci 15838c2ecf20Sopenharmony_ci/* - SDH2 ------------------------------------------------------------------- */ 15848c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi2_cd_a, RCAR_GP_PIN(4, 23)); 15858c2ecf20Sopenharmony_ciSDHI_PFC_CDPN(sdhi2_cd_a, SD2_CD_A); 15868c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi2_cd_b, RCAR_GP_PIN(3, 27)); 15878c2ecf20Sopenharmony_ciSDHI_PFC_CDPN(sdhi2_cd_b, SD2_CD_B); 15888c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi2_ctrl_a, RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 18)); 15898c2ecf20Sopenharmony_ciSDHI_PFC_CTRL(sdhi2_ctrl_a, SD2_CLK_A, SD2_CMD_A); 15908c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi2_ctrl_b, RCAR_GP_PIN(4, 5), RCAR_GP_PIN(4, 6)); 15918c2ecf20Sopenharmony_ciSDHI_PFC_CTRL(sdhi2_ctrl_b, SD2_CLK_B, SD2_CMD_B); 15928c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi2_data1_a, RCAR_GP_PIN(4, 19)); 15938c2ecf20Sopenharmony_ciSDHI_PFC_DAT1(sdhi2_data1_a, SD2_DAT0_A); 15948c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi2_data1_b, RCAR_GP_PIN(4, 7)); 15958c2ecf20Sopenharmony_ciSDHI_PFC_DAT1(sdhi2_data1_b, SD2_DAT0_B); 15968c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi2_data4_a, RCAR_GP_PIN(4, 19), RCAR_GP_PIN(4, 20), 15978c2ecf20Sopenharmony_ci RCAR_GP_PIN(4, 21), RCAR_GP_PIN(4, 22)); 15988c2ecf20Sopenharmony_ciSDHI_PFC_DAT4(sdhi2_data4_a, SD2_DAT0_A, SD2_DAT1_A, 15998c2ecf20Sopenharmony_ci SD2_DAT2_A, SD2_DAT3_A); 16008c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi2_data4_b, RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 8), 16018c2ecf20Sopenharmony_ci RCAR_GP_PIN(3, 25), RCAR_GP_PIN(3, 26)); 16028c2ecf20Sopenharmony_ciSDHI_PFC_DAT4(sdhi2_data4_b, SD2_DAT0_B, SD2_DAT1_B, 16038c2ecf20Sopenharmony_ci SD2_DAT2_B, SD2_DAT3_B); 16048c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi2_wp_a, RCAR_GP_PIN(4, 24)); 16058c2ecf20Sopenharmony_ciSDHI_PFC_WPPN(sdhi2_wp_a, SD2_WP_A); 16068c2ecf20Sopenharmony_ciSDHI_PFC_PINS(sdhi2_wp_b, RCAR_GP_PIN(3, 28)); 16078c2ecf20Sopenharmony_ciSDHI_PFC_WPPN(sdhi2_wp_b, SD2_WP_B); 16088c2ecf20Sopenharmony_ci 16098c2ecf20Sopenharmony_ci/* - SSI macro -------------------------------------------------------------- */ 16108c2ecf20Sopenharmony_ci#define SSI_PFC_PINS(name, args...) SH_PFC_PINS(name, args) 16118c2ecf20Sopenharmony_ci#define SSI_PFC_CTRL(name, sck, ws) SH_PFC_MUX2(name, sck, ws) 16128c2ecf20Sopenharmony_ci#define SSI_PFC_DATA(name, d) SH_PFC_MUX1(name, d) 16138c2ecf20Sopenharmony_ci 16148c2ecf20Sopenharmony_ci/* - SSI 0/1/2 -------------------------------------------------------------- */ 16158c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi012_ctrl, RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7)); 16168c2ecf20Sopenharmony_ciSSI_PFC_CTRL(ssi012_ctrl, SSI_SCK012, SSI_WS012); 16178c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi0_data, RCAR_GP_PIN(3, 10)); 16188c2ecf20Sopenharmony_ciSSI_PFC_DATA(ssi0_data, SSI_SDATA0); 16198c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi1_a_ctrl, RCAR_GP_PIN(2, 20), RCAR_GP_PIN(2, 21)); 16208c2ecf20Sopenharmony_ciSSI_PFC_CTRL(ssi1_a_ctrl, SSI_SCK1_A, SSI_WS1_A); 16218c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi1_b_ctrl, PIN_CS1_A26, RCAR_GP_PIN(1, 3)); 16228c2ecf20Sopenharmony_ciSSI_PFC_CTRL(ssi1_b_ctrl, SSI_SCK1_B, SSI_WS1_B); 16238c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi1_data, RCAR_GP_PIN(3, 9)); 16248c2ecf20Sopenharmony_ciSSI_PFC_DATA(ssi1_data, SSI_SDATA1); 16258c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi2_a_ctrl, RCAR_GP_PIN(2, 26), RCAR_GP_PIN(3, 4)); 16268c2ecf20Sopenharmony_ciSSI_PFC_CTRL(ssi2_a_ctrl, SSI_SCK2_A, SSI_WS2_A); 16278c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi2_b_ctrl, RCAR_GP_PIN(2, 6), RCAR_GP_PIN(2, 17)); 16288c2ecf20Sopenharmony_ciSSI_PFC_CTRL(ssi2_b_ctrl, SSI_SCK2_B, SSI_WS2_B); 16298c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi2_data, RCAR_GP_PIN(3, 8)); 16308c2ecf20Sopenharmony_ciSSI_PFC_DATA(ssi2_data, SSI_SDATA2); 16318c2ecf20Sopenharmony_ci 16328c2ecf20Sopenharmony_ci/* - SSI 3/4 ---------------------------------------------------------------- */ 16338c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi34_ctrl, RCAR_GP_PIN(3, 2), RCAR_GP_PIN(3, 3)); 16348c2ecf20Sopenharmony_ciSSI_PFC_CTRL(ssi34_ctrl, SSI_SCK34, SSI_WS34); 16358c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi3_data, RCAR_GP_PIN(3, 5)); 16368c2ecf20Sopenharmony_ciSSI_PFC_DATA(ssi3_data, SSI_SDATA3); 16378c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi4_ctrl, RCAR_GP_PIN(1, 22), RCAR_GP_PIN(1, 23)); 16388c2ecf20Sopenharmony_ciSSI_PFC_CTRL(ssi4_ctrl, SSI_SCK4, SSI_WS4); 16398c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi4_data, RCAR_GP_PIN(3, 4)); 16408c2ecf20Sopenharmony_ciSSI_PFC_DATA(ssi4_data, SSI_SDATA4); 16418c2ecf20Sopenharmony_ci 16428c2ecf20Sopenharmony_ci/* - SSI 5 ------------------------------------------------------------------ */ 16438c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi5_ctrl, RCAR_GP_PIN(2, 31), RCAR_GP_PIN(3, 0)); 16448c2ecf20Sopenharmony_ciSSI_PFC_CTRL(ssi5_ctrl, SSI_SCK5, SSI_WS5); 16458c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi5_data, RCAR_GP_PIN(3, 1)); 16468c2ecf20Sopenharmony_ciSSI_PFC_DATA(ssi5_data, SSI_SDATA5); 16478c2ecf20Sopenharmony_ci 16488c2ecf20Sopenharmony_ci/* - SSI 6 ------------------------------------------------------------------ */ 16498c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi6_ctrl, RCAR_GP_PIN(2, 28), RCAR_GP_PIN(2, 29)); 16508c2ecf20Sopenharmony_ciSSI_PFC_CTRL(ssi6_ctrl, SSI_SCK6, SSI_WS6); 16518c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi6_data, RCAR_GP_PIN(2, 30)); 16528c2ecf20Sopenharmony_ciSSI_PFC_DATA(ssi6_data, SSI_SDATA6); 16538c2ecf20Sopenharmony_ci 16548c2ecf20Sopenharmony_ci/* - SSI 7/8 --------------------------------------------------------------- */ 16558c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi78_ctrl, RCAR_GP_PIN(2, 24), RCAR_GP_PIN(2, 25)); 16568c2ecf20Sopenharmony_ciSSI_PFC_CTRL(ssi78_ctrl, SSI_SCK78, SSI_WS78); 16578c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi7_data, RCAR_GP_PIN(2, 27)); 16588c2ecf20Sopenharmony_ciSSI_PFC_DATA(ssi7_data, SSI_SDATA7); 16598c2ecf20Sopenharmony_ciSSI_PFC_PINS(ssi8_data, RCAR_GP_PIN(2, 26)); 16608c2ecf20Sopenharmony_ciSSI_PFC_DATA(ssi8_data, SSI_SDATA8); 16618c2ecf20Sopenharmony_ci 16628c2ecf20Sopenharmony_ci/* - USB0 ------------------------------------------------------------------- */ 16638c2ecf20Sopenharmony_ciSH_PFC_PINS(usb0, RCAR_GP_PIN(0, 1)); 16648c2ecf20Sopenharmony_ciSH_PFC_MUX1(usb0, PENC0); 16658c2ecf20Sopenharmony_ciSH_PFC_PINS(usb0_ovc, RCAR_GP_PIN(0, 3)); 16668c2ecf20Sopenharmony_ciSH_PFC_MUX1(usb0_ovc, USB_OVC0); 16678c2ecf20Sopenharmony_ci 16688c2ecf20Sopenharmony_ci/* - USB1 ------------------------------------------------------------------- */ 16698c2ecf20Sopenharmony_ciSH_PFC_PINS(usb1, RCAR_GP_PIN(0, 2)); 16708c2ecf20Sopenharmony_ciSH_PFC_MUX1(usb1, PENC1); 16718c2ecf20Sopenharmony_ciSH_PFC_PINS(usb1_ovc, RCAR_GP_PIN(0, 4)); 16728c2ecf20Sopenharmony_ciSH_PFC_MUX1(usb1_ovc, USB_OVC1); 16738c2ecf20Sopenharmony_ci 16748c2ecf20Sopenharmony_ci/* - VIN macros ------------------------------------------------------------- */ 16758c2ecf20Sopenharmony_ci#define VIN_PFC_PINS(name, args...) SH_PFC_PINS(name, args) 16768c2ecf20Sopenharmony_ci#define VIN_PFC_DAT8(name, d0, d1, d2, d3, d4, d5, d6, d7) \ 16778c2ecf20Sopenharmony_ci SH_PFC_MUX8(name, d0, d1, d2, d3, d4, d5, d6, d7) 16788c2ecf20Sopenharmony_ci#define VIN_PFC_CLK(name, clk) SH_PFC_MUX1(name, clk) 16798c2ecf20Sopenharmony_ci#define VIN_PFC_SYNC(name, hsync, vsync) SH_PFC_MUX2(name, hsync, vsync) 16808c2ecf20Sopenharmony_ci 16818c2ecf20Sopenharmony_ci/* - VIN0 ------------------------------------------------------------------- */ 16828c2ecf20Sopenharmony_ciVIN_PFC_PINS(vin0_data8, RCAR_GP_PIN(3, 29), RCAR_GP_PIN(3, 30), 16838c2ecf20Sopenharmony_ci RCAR_GP_PIN(3, 31), RCAR_GP_PIN(4, 0), 16848c2ecf20Sopenharmony_ci RCAR_GP_PIN(4, 1), RCAR_GP_PIN(4, 2), 16858c2ecf20Sopenharmony_ci RCAR_GP_PIN(4, 3), RCAR_GP_PIN(4, 4)); 16868c2ecf20Sopenharmony_ciVIN_PFC_DAT8(vin0_data8, VI0_DATA0_VI0_B0, VI0_DATA1_VI0_B1, 16878c2ecf20Sopenharmony_ci VI0_DATA2_VI0_B2, VI0_DATA3_VI0_B3, 16888c2ecf20Sopenharmony_ci VI0_DATA4_VI0_B4, VI0_DATA5_VI0_B5, 16898c2ecf20Sopenharmony_ci VI0_DATA6_VI0_G0, VI0_DATA7_VI0_G1); 16908c2ecf20Sopenharmony_ciVIN_PFC_PINS(vin0_clk, RCAR_GP_PIN(3, 24)); 16918c2ecf20Sopenharmony_ciVIN_PFC_CLK(vin0_clk, VI0_CLK); 16928c2ecf20Sopenharmony_ciVIN_PFC_PINS(vin0_sync, RCAR_GP_PIN(3, 27), RCAR_GP_PIN(3, 28)); 16938c2ecf20Sopenharmony_ciVIN_PFC_SYNC(vin0_sync, VI0_HSYNC, VI0_VSYNC); 16948c2ecf20Sopenharmony_ci/* - VIN1 ------------------------------------------------------------------- */ 16958c2ecf20Sopenharmony_ciVIN_PFC_PINS(vin1_data8, RCAR_GP_PIN(3, 25), RCAR_GP_PIN(3, 26), 16968c2ecf20Sopenharmony_ci RCAR_GP_PIN(3, 27), RCAR_GP_PIN(3, 28), 16978c2ecf20Sopenharmony_ci RCAR_GP_PIN(4, 5), RCAR_GP_PIN(4, 6), 16988c2ecf20Sopenharmony_ci RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 8)); 16998c2ecf20Sopenharmony_ciVIN_PFC_DAT8(vin1_data8, VI1_DATA0, VI1_DATA1, 17008c2ecf20Sopenharmony_ci VI1_DATA2, VI1_DATA3, 17018c2ecf20Sopenharmony_ci VI1_DATA4, VI1_DATA5, 17028c2ecf20Sopenharmony_ci VI1_DATA6, VI1_DATA7); 17038c2ecf20Sopenharmony_ciVIN_PFC_PINS(vin1_clk, RCAR_GP_PIN(4, 9)); 17048c2ecf20Sopenharmony_ciVIN_PFC_CLK(vin1_clk, VI1_CLK); 17058c2ecf20Sopenharmony_ciVIN_PFC_PINS(vin1_sync, RCAR_GP_PIN(3, 21), RCAR_GP_PIN(3, 22)); 17068c2ecf20Sopenharmony_ciVIN_PFC_SYNC(vin1_sync, VI1_HSYNC, VI1_VSYNC); 17078c2ecf20Sopenharmony_ci 17088c2ecf20Sopenharmony_cistatic const struct sh_pfc_pin_group pinmux_groups[] = { 17098c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(audio_clk_a), 17108c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(audio_clk_b), 17118c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(audio_clk_c), 17128c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(audio_clkout_a), 17138c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(audio_clkout_b), 17148c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(can0_data_a), 17158c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(can0_data_b), 17168c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(can1_data_a), 17178c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(can1_data_b), 17188c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(can_clk_a), 17198c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(can_clk_b), 17208c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(can_clk_c), 17218c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(can_clk_d), 17228c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ether_rmii), 17238c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ether_link), 17248c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ether_magic), 17258c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hscif0_data_a), 17268c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hscif0_data_b), 17278c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hscif0_ctrl_a), 17288c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hscif0_ctrl_b), 17298c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hscif0_clk), 17308c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hscif1_data_a), 17318c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hscif1_data_b), 17328c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hscif1_ctrl_a), 17338c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hscif1_ctrl_b), 17348c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hscif1_clk_a), 17358c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hscif1_clk_b), 17368c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hspi0_a), 17378c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hspi0_b), 17388c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hspi1_a), 17398c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hspi1_b), 17408c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hspi2_a), 17418c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(hspi2_b), 17428c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(i2c1_a), 17438c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(i2c1_b), 17448c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(i2c2_a), 17458c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(i2c2_b), 17468c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(i2c2_c), 17478c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(i2c3_a), 17488c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(i2c3_b), 17498c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(i2c3_c), 17508c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(mmc_ctrl), 17518c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(mmc_data1), 17528c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(mmc_data4), 17538c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(mmc_data8), 17548c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif_clk), 17558c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif0_data_a), 17568c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif0_data_b), 17578c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif0_data_c), 17588c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif0_data_d), 17598c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif0_ctrl), 17608c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif0_clk), 17618c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif1_data_a), 17628c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif1_data_b), 17638c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif1_data_c), 17648c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif1_data_d), 17658c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif1_ctrl_a), 17668c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif1_ctrl_c), 17678c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif1_clk_a), 17688c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif1_clk_c), 17698c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif2_data_a), 17708c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif2_data_b), 17718c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif2_data_c), 17728c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif2_data_d), 17738c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif2_data_e), 17748c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif2_clk_a), 17758c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif2_clk_b), 17768c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif2_clk_c), 17778c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif3_data_a), 17788c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif3_data_b), 17798c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif3_data_c), 17808c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif3_data_d), 17818c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif4_data_a), 17828c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif4_data_b), 17838c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif4_data_c), 17848c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif5_data_a), 17858c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scif5_data_b), 17868c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi0_cd), 17878c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi0_ctrl), 17888c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi0_data1), 17898c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi0_data4), 17908c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi0_wp), 17918c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi1_cd_a), 17928c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi1_cd_b), 17938c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi1_ctrl_a), 17948c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi1_ctrl_b), 17958c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi1_data1_a), 17968c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi1_data1_b), 17978c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi1_data4_a), 17988c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi1_data4_b), 17998c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi1_wp_a), 18008c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi1_wp_b), 18018c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi2_cd_a), 18028c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi2_cd_b), 18038c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi2_ctrl_a), 18048c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi2_ctrl_b), 18058c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi2_data1_a), 18068c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi2_data1_b), 18078c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi2_data4_a), 18088c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi2_data4_b), 18098c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi2_wp_a), 18108c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi2_wp_b), 18118c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi012_ctrl), 18128c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi0_data), 18138c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi1_a_ctrl), 18148c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi1_b_ctrl), 18158c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi1_data), 18168c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi2_a_ctrl), 18178c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi2_b_ctrl), 18188c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi2_data), 18198c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi34_ctrl), 18208c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi3_data), 18218c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi4_ctrl), 18228c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi4_data), 18238c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi5_ctrl), 18248c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi5_data), 18258c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi6_ctrl), 18268c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi6_data), 18278c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi78_ctrl), 18288c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi7_data), 18298c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ssi8_data), 18308c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usb0), 18318c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usb0_ovc), 18328c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usb1), 18338c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usb1_ovc), 18348c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(vin0_data8), 18358c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(vin0_clk), 18368c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(vin0_sync), 18378c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(vin1_data8), 18388c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(vin1_clk), 18398c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(vin1_sync), 18408c2ecf20Sopenharmony_ci}; 18418c2ecf20Sopenharmony_ci 18428c2ecf20Sopenharmony_cistatic const char * const audio_clk_groups[] = { 18438c2ecf20Sopenharmony_ci "audio_clk_a", 18448c2ecf20Sopenharmony_ci "audio_clk_b", 18458c2ecf20Sopenharmony_ci "audio_clk_c", 18468c2ecf20Sopenharmony_ci "audio_clkout_a", 18478c2ecf20Sopenharmony_ci "audio_clkout_b", 18488c2ecf20Sopenharmony_ci}; 18498c2ecf20Sopenharmony_ci 18508c2ecf20Sopenharmony_cistatic const char * const can0_groups[] = { 18518c2ecf20Sopenharmony_ci "can0_data_a", 18528c2ecf20Sopenharmony_ci "can0_data_b", 18538c2ecf20Sopenharmony_ci "can_clk_a", 18548c2ecf20Sopenharmony_ci "can_clk_b", 18558c2ecf20Sopenharmony_ci "can_clk_c", 18568c2ecf20Sopenharmony_ci "can_clk_d", 18578c2ecf20Sopenharmony_ci}; 18588c2ecf20Sopenharmony_ci 18598c2ecf20Sopenharmony_cistatic const char * const can1_groups[] = { 18608c2ecf20Sopenharmony_ci "can1_data_a", 18618c2ecf20Sopenharmony_ci "can1_data_b", 18628c2ecf20Sopenharmony_ci "can_clk_a", 18638c2ecf20Sopenharmony_ci "can_clk_b", 18648c2ecf20Sopenharmony_ci "can_clk_c", 18658c2ecf20Sopenharmony_ci "can_clk_d", 18668c2ecf20Sopenharmony_ci}; 18678c2ecf20Sopenharmony_ci 18688c2ecf20Sopenharmony_cistatic const char * const ether_groups[] = { 18698c2ecf20Sopenharmony_ci "ether_rmii", 18708c2ecf20Sopenharmony_ci "ether_link", 18718c2ecf20Sopenharmony_ci "ether_magic", 18728c2ecf20Sopenharmony_ci}; 18738c2ecf20Sopenharmony_ci 18748c2ecf20Sopenharmony_cistatic const char * const hscif0_groups[] = { 18758c2ecf20Sopenharmony_ci "hscif0_data_a", 18768c2ecf20Sopenharmony_ci "hscif0_data_b", 18778c2ecf20Sopenharmony_ci "hscif0_ctrl_a", 18788c2ecf20Sopenharmony_ci "hscif0_ctrl_b", 18798c2ecf20Sopenharmony_ci "hscif0_clk", 18808c2ecf20Sopenharmony_ci}; 18818c2ecf20Sopenharmony_ci 18828c2ecf20Sopenharmony_cistatic const char * const hscif1_groups[] = { 18838c2ecf20Sopenharmony_ci "hscif1_data_a", 18848c2ecf20Sopenharmony_ci "hscif1_data_b", 18858c2ecf20Sopenharmony_ci "hscif1_ctrl_a", 18868c2ecf20Sopenharmony_ci "hscif1_ctrl_b", 18878c2ecf20Sopenharmony_ci "hscif1_clk_a", 18888c2ecf20Sopenharmony_ci "hscif1_clk_b", 18898c2ecf20Sopenharmony_ci}; 18908c2ecf20Sopenharmony_ci 18918c2ecf20Sopenharmony_cistatic const char * const hspi0_groups[] = { 18928c2ecf20Sopenharmony_ci "hspi0_a", 18938c2ecf20Sopenharmony_ci "hspi0_b", 18948c2ecf20Sopenharmony_ci}; 18958c2ecf20Sopenharmony_ci 18968c2ecf20Sopenharmony_cistatic const char * const hspi1_groups[] = { 18978c2ecf20Sopenharmony_ci "hspi1_a", 18988c2ecf20Sopenharmony_ci "hspi1_b", 18998c2ecf20Sopenharmony_ci}; 19008c2ecf20Sopenharmony_ci 19018c2ecf20Sopenharmony_cistatic const char * const hspi2_groups[] = { 19028c2ecf20Sopenharmony_ci "hspi2_a", 19038c2ecf20Sopenharmony_ci "hspi2_b", 19048c2ecf20Sopenharmony_ci}; 19058c2ecf20Sopenharmony_ci 19068c2ecf20Sopenharmony_cistatic const char * const i2c1_groups[] = { 19078c2ecf20Sopenharmony_ci "i2c1_a", 19088c2ecf20Sopenharmony_ci "i2c1_b", 19098c2ecf20Sopenharmony_ci}; 19108c2ecf20Sopenharmony_ci 19118c2ecf20Sopenharmony_cistatic const char * const i2c2_groups[] = { 19128c2ecf20Sopenharmony_ci "i2c2_a", 19138c2ecf20Sopenharmony_ci "i2c2_b", 19148c2ecf20Sopenharmony_ci "i2c2_c", 19158c2ecf20Sopenharmony_ci}; 19168c2ecf20Sopenharmony_ci 19178c2ecf20Sopenharmony_cistatic const char * const i2c3_groups[] = { 19188c2ecf20Sopenharmony_ci "i2c3_a", 19198c2ecf20Sopenharmony_ci "i2c3_b", 19208c2ecf20Sopenharmony_ci "i2c3_c", 19218c2ecf20Sopenharmony_ci}; 19228c2ecf20Sopenharmony_ci 19238c2ecf20Sopenharmony_cistatic const char * const mmc_groups[] = { 19248c2ecf20Sopenharmony_ci "mmc_ctrl", 19258c2ecf20Sopenharmony_ci "mmc_data1", 19268c2ecf20Sopenharmony_ci "mmc_data4", 19278c2ecf20Sopenharmony_ci "mmc_data8", 19288c2ecf20Sopenharmony_ci}; 19298c2ecf20Sopenharmony_ci 19308c2ecf20Sopenharmony_cistatic const char * const scif_clk_groups[] = { 19318c2ecf20Sopenharmony_ci "scif_clk", 19328c2ecf20Sopenharmony_ci}; 19338c2ecf20Sopenharmony_ci 19348c2ecf20Sopenharmony_cistatic const char * const scif0_groups[] = { 19358c2ecf20Sopenharmony_ci "scif0_data_a", 19368c2ecf20Sopenharmony_ci "scif0_data_b", 19378c2ecf20Sopenharmony_ci "scif0_data_c", 19388c2ecf20Sopenharmony_ci "scif0_data_d", 19398c2ecf20Sopenharmony_ci "scif0_ctrl", 19408c2ecf20Sopenharmony_ci "scif0_clk", 19418c2ecf20Sopenharmony_ci}; 19428c2ecf20Sopenharmony_ci 19438c2ecf20Sopenharmony_cistatic const char * const scif1_groups[] = { 19448c2ecf20Sopenharmony_ci "scif1_data_a", 19458c2ecf20Sopenharmony_ci "scif1_data_b", 19468c2ecf20Sopenharmony_ci "scif1_data_c", 19478c2ecf20Sopenharmony_ci "scif1_data_d", 19488c2ecf20Sopenharmony_ci "scif1_ctrl_a", 19498c2ecf20Sopenharmony_ci "scif1_ctrl_c", 19508c2ecf20Sopenharmony_ci "scif1_clk_a", 19518c2ecf20Sopenharmony_ci "scif1_clk_c", 19528c2ecf20Sopenharmony_ci}; 19538c2ecf20Sopenharmony_ci 19548c2ecf20Sopenharmony_cistatic const char * const scif2_groups[] = { 19558c2ecf20Sopenharmony_ci "scif2_data_a", 19568c2ecf20Sopenharmony_ci "scif2_data_b", 19578c2ecf20Sopenharmony_ci "scif2_data_c", 19588c2ecf20Sopenharmony_ci "scif2_data_d", 19598c2ecf20Sopenharmony_ci "scif2_data_e", 19608c2ecf20Sopenharmony_ci "scif2_clk_a", 19618c2ecf20Sopenharmony_ci "scif2_clk_b", 19628c2ecf20Sopenharmony_ci "scif2_clk_c", 19638c2ecf20Sopenharmony_ci}; 19648c2ecf20Sopenharmony_ci 19658c2ecf20Sopenharmony_cistatic const char * const scif3_groups[] = { 19668c2ecf20Sopenharmony_ci "scif3_data_a", 19678c2ecf20Sopenharmony_ci "scif3_data_b", 19688c2ecf20Sopenharmony_ci "scif3_data_c", 19698c2ecf20Sopenharmony_ci "scif3_data_d", 19708c2ecf20Sopenharmony_ci}; 19718c2ecf20Sopenharmony_ci 19728c2ecf20Sopenharmony_cistatic const char * const scif4_groups[] = { 19738c2ecf20Sopenharmony_ci "scif4_data_a", 19748c2ecf20Sopenharmony_ci "scif4_data_b", 19758c2ecf20Sopenharmony_ci "scif4_data_c", 19768c2ecf20Sopenharmony_ci}; 19778c2ecf20Sopenharmony_ci 19788c2ecf20Sopenharmony_cistatic const char * const scif5_groups[] = { 19798c2ecf20Sopenharmony_ci "scif5_data_a", 19808c2ecf20Sopenharmony_ci "scif5_data_b", 19818c2ecf20Sopenharmony_ci}; 19828c2ecf20Sopenharmony_ci 19838c2ecf20Sopenharmony_ci 19848c2ecf20Sopenharmony_cistatic const char * const sdhi0_groups[] = { 19858c2ecf20Sopenharmony_ci "sdhi0_cd", 19868c2ecf20Sopenharmony_ci "sdhi0_ctrl", 19878c2ecf20Sopenharmony_ci "sdhi0_data1", 19888c2ecf20Sopenharmony_ci "sdhi0_data4", 19898c2ecf20Sopenharmony_ci "sdhi0_wp", 19908c2ecf20Sopenharmony_ci}; 19918c2ecf20Sopenharmony_ci 19928c2ecf20Sopenharmony_cistatic const char * const sdhi1_groups[] = { 19938c2ecf20Sopenharmony_ci "sdhi1_cd_a", 19948c2ecf20Sopenharmony_ci "sdhi1_cd_b", 19958c2ecf20Sopenharmony_ci "sdhi1_ctrl_a", 19968c2ecf20Sopenharmony_ci "sdhi1_ctrl_b", 19978c2ecf20Sopenharmony_ci "sdhi1_data1_a", 19988c2ecf20Sopenharmony_ci "sdhi1_data1_b", 19998c2ecf20Sopenharmony_ci "sdhi1_data4_a", 20008c2ecf20Sopenharmony_ci "sdhi1_data4_b", 20018c2ecf20Sopenharmony_ci "sdhi1_wp_a", 20028c2ecf20Sopenharmony_ci "sdhi1_wp_b", 20038c2ecf20Sopenharmony_ci}; 20048c2ecf20Sopenharmony_ci 20058c2ecf20Sopenharmony_cistatic const char * const sdhi2_groups[] = { 20068c2ecf20Sopenharmony_ci "sdhi2_cd_a", 20078c2ecf20Sopenharmony_ci "sdhi2_cd_b", 20088c2ecf20Sopenharmony_ci "sdhi2_ctrl_a", 20098c2ecf20Sopenharmony_ci "sdhi2_ctrl_b", 20108c2ecf20Sopenharmony_ci "sdhi2_data1_a", 20118c2ecf20Sopenharmony_ci "sdhi2_data1_b", 20128c2ecf20Sopenharmony_ci "sdhi2_data4_a", 20138c2ecf20Sopenharmony_ci "sdhi2_data4_b", 20148c2ecf20Sopenharmony_ci "sdhi2_wp_a", 20158c2ecf20Sopenharmony_ci "sdhi2_wp_b", 20168c2ecf20Sopenharmony_ci}; 20178c2ecf20Sopenharmony_ci 20188c2ecf20Sopenharmony_cistatic const char * const ssi_groups[] = { 20198c2ecf20Sopenharmony_ci "ssi012_ctrl", 20208c2ecf20Sopenharmony_ci "ssi0_data", 20218c2ecf20Sopenharmony_ci "ssi1_a_ctrl", 20228c2ecf20Sopenharmony_ci "ssi1_b_ctrl", 20238c2ecf20Sopenharmony_ci "ssi1_data", 20248c2ecf20Sopenharmony_ci "ssi2_a_ctrl", 20258c2ecf20Sopenharmony_ci "ssi2_b_ctrl", 20268c2ecf20Sopenharmony_ci "ssi2_data", 20278c2ecf20Sopenharmony_ci "ssi34_ctrl", 20288c2ecf20Sopenharmony_ci "ssi3_data", 20298c2ecf20Sopenharmony_ci "ssi4_ctrl", 20308c2ecf20Sopenharmony_ci "ssi4_data", 20318c2ecf20Sopenharmony_ci "ssi5_ctrl", 20328c2ecf20Sopenharmony_ci "ssi5_data", 20338c2ecf20Sopenharmony_ci "ssi6_ctrl", 20348c2ecf20Sopenharmony_ci "ssi6_data", 20358c2ecf20Sopenharmony_ci "ssi78_ctrl", 20368c2ecf20Sopenharmony_ci "ssi7_data", 20378c2ecf20Sopenharmony_ci "ssi8_data", 20388c2ecf20Sopenharmony_ci}; 20398c2ecf20Sopenharmony_ci 20408c2ecf20Sopenharmony_cistatic const char * const usb0_groups[] = { 20418c2ecf20Sopenharmony_ci "usb0", 20428c2ecf20Sopenharmony_ci "usb0_ovc", 20438c2ecf20Sopenharmony_ci}; 20448c2ecf20Sopenharmony_ci 20458c2ecf20Sopenharmony_cistatic const char * const usb1_groups[] = { 20468c2ecf20Sopenharmony_ci "usb1", 20478c2ecf20Sopenharmony_ci "usb1_ovc", 20488c2ecf20Sopenharmony_ci}; 20498c2ecf20Sopenharmony_ci 20508c2ecf20Sopenharmony_cistatic const char * const vin0_groups[] = { 20518c2ecf20Sopenharmony_ci "vin0_data8", 20528c2ecf20Sopenharmony_ci "vin0_clk", 20538c2ecf20Sopenharmony_ci "vin0_sync", 20548c2ecf20Sopenharmony_ci}; 20558c2ecf20Sopenharmony_ci 20568c2ecf20Sopenharmony_cistatic const char * const vin1_groups[] = { 20578c2ecf20Sopenharmony_ci "vin1_data8", 20588c2ecf20Sopenharmony_ci "vin1_clk", 20598c2ecf20Sopenharmony_ci "vin1_sync", 20608c2ecf20Sopenharmony_ci}; 20618c2ecf20Sopenharmony_ci 20628c2ecf20Sopenharmony_cistatic const struct sh_pfc_function pinmux_functions[] = { 20638c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(audio_clk), 20648c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(can0), 20658c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(can1), 20668c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(ether), 20678c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(hscif0), 20688c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(hscif1), 20698c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(hspi0), 20708c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(hspi1), 20718c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(hspi2), 20728c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(i2c1), 20738c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(i2c2), 20748c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(i2c3), 20758c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(mmc), 20768c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(scif_clk), 20778c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(scif0), 20788c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(scif1), 20798c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(scif2), 20808c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(scif3), 20818c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(scif4), 20828c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(scif5), 20838c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(sdhi0), 20848c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(sdhi1), 20858c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(sdhi2), 20868c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(ssi), 20878c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(usb0), 20888c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(usb1), 20898c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(vin0), 20908c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(vin1), 20918c2ecf20Sopenharmony_ci}; 20928c2ecf20Sopenharmony_ci 20938c2ecf20Sopenharmony_cistatic const struct pinmux_cfg_reg pinmux_config_regs[] = { 20948c2ecf20Sopenharmony_ci { PINMUX_CFG_REG("GPSR0", 0xfffc0004, 32, 1, GROUP( 20958c2ecf20Sopenharmony_ci GP_0_31_FN, FN_IP1_14_11, 20968c2ecf20Sopenharmony_ci GP_0_30_FN, FN_IP1_10_8, 20978c2ecf20Sopenharmony_ci GP_0_29_FN, FN_IP1_7_5, 20988c2ecf20Sopenharmony_ci GP_0_28_FN, FN_IP1_4_2, 20998c2ecf20Sopenharmony_ci GP_0_27_FN, FN_IP1_1, 21008c2ecf20Sopenharmony_ci GP_0_26_FN, FN_IP1_0, 21018c2ecf20Sopenharmony_ci GP_0_25_FN, FN_IP0_30, 21028c2ecf20Sopenharmony_ci GP_0_24_FN, FN_IP0_29, 21038c2ecf20Sopenharmony_ci GP_0_23_FN, FN_IP0_28, 21048c2ecf20Sopenharmony_ci GP_0_22_FN, FN_IP0_27, 21058c2ecf20Sopenharmony_ci GP_0_21_FN, FN_IP0_26, 21068c2ecf20Sopenharmony_ci GP_0_20_FN, FN_IP0_25, 21078c2ecf20Sopenharmony_ci GP_0_19_FN, FN_IP0_24, 21088c2ecf20Sopenharmony_ci GP_0_18_FN, FN_IP0_23, 21098c2ecf20Sopenharmony_ci GP_0_17_FN, FN_IP0_22, 21108c2ecf20Sopenharmony_ci GP_0_16_FN, FN_IP0_21, 21118c2ecf20Sopenharmony_ci GP_0_15_FN, FN_IP0_20, 21128c2ecf20Sopenharmony_ci GP_0_14_FN, FN_IP0_19, 21138c2ecf20Sopenharmony_ci GP_0_13_FN, FN_IP0_18, 21148c2ecf20Sopenharmony_ci GP_0_12_FN, FN_IP0_17, 21158c2ecf20Sopenharmony_ci GP_0_11_FN, FN_IP0_16, 21168c2ecf20Sopenharmony_ci GP_0_10_FN, FN_IP0_15, 21178c2ecf20Sopenharmony_ci GP_0_9_FN, FN_A3, 21188c2ecf20Sopenharmony_ci GP_0_8_FN, FN_A2, 21198c2ecf20Sopenharmony_ci GP_0_7_FN, FN_A1, 21208c2ecf20Sopenharmony_ci GP_0_6_FN, FN_IP0_14_12, 21218c2ecf20Sopenharmony_ci GP_0_5_FN, FN_IP0_11_8, 21228c2ecf20Sopenharmony_ci GP_0_4_FN, FN_IP0_7_5, 21238c2ecf20Sopenharmony_ci GP_0_3_FN, FN_IP0_4_2, 21248c2ecf20Sopenharmony_ci GP_0_2_FN, FN_PENC1, 21258c2ecf20Sopenharmony_ci GP_0_1_FN, FN_PENC0, 21268c2ecf20Sopenharmony_ci GP_0_0_FN, FN_IP0_1_0 )) 21278c2ecf20Sopenharmony_ci }, 21288c2ecf20Sopenharmony_ci { PINMUX_CFG_REG("GPSR1", 0xfffc0008, 32, 1, GROUP( 21298c2ecf20Sopenharmony_ci GP_1_31_FN, FN_IP4_6_4, 21308c2ecf20Sopenharmony_ci GP_1_30_FN, FN_IP4_3_1, 21318c2ecf20Sopenharmony_ci GP_1_29_FN, FN_IP4_0, 21328c2ecf20Sopenharmony_ci GP_1_28_FN, FN_IP3_31, 21338c2ecf20Sopenharmony_ci GP_1_27_FN, FN_IP3_30, 21348c2ecf20Sopenharmony_ci GP_1_26_FN, FN_IP3_29, 21358c2ecf20Sopenharmony_ci GP_1_25_FN, FN_IP3_28, 21368c2ecf20Sopenharmony_ci GP_1_24_FN, FN_IP3_27, 21378c2ecf20Sopenharmony_ci GP_1_23_FN, FN_IP3_26_24, 21388c2ecf20Sopenharmony_ci GP_1_22_FN, FN_IP3_23_21, 21398c2ecf20Sopenharmony_ci GP_1_21_FN, FN_IP3_20_19, 21408c2ecf20Sopenharmony_ci GP_1_20_FN, FN_IP3_18_16, 21418c2ecf20Sopenharmony_ci GP_1_19_FN, FN_IP3_15_13, 21428c2ecf20Sopenharmony_ci GP_1_18_FN, FN_IP3_12_10, 21438c2ecf20Sopenharmony_ci GP_1_17_FN, FN_IP3_9_8, 21448c2ecf20Sopenharmony_ci GP_1_16_FN, FN_IP3_7_5, 21458c2ecf20Sopenharmony_ci GP_1_15_FN, FN_IP3_4_2, 21468c2ecf20Sopenharmony_ci GP_1_14_FN, FN_IP3_1_0, 21478c2ecf20Sopenharmony_ci GP_1_13_FN, FN_IP2_31, 21488c2ecf20Sopenharmony_ci GP_1_12_FN, FN_IP2_30, 21498c2ecf20Sopenharmony_ci GP_1_11_FN, FN_IP2_17, 21508c2ecf20Sopenharmony_ci GP_1_10_FN, FN_IP2_16_14, 21518c2ecf20Sopenharmony_ci GP_1_9_FN, FN_IP2_13_12, 21528c2ecf20Sopenharmony_ci GP_1_8_FN, FN_IP2_11_9, 21538c2ecf20Sopenharmony_ci GP_1_7_FN, FN_IP2_8_6, 21548c2ecf20Sopenharmony_ci GP_1_6_FN, FN_IP2_5_3, 21558c2ecf20Sopenharmony_ci GP_1_5_FN, FN_IP2_2_0, 21568c2ecf20Sopenharmony_ci GP_1_4_FN, FN_IP1_29_28, 21578c2ecf20Sopenharmony_ci GP_1_3_FN, FN_IP1_27_25, 21588c2ecf20Sopenharmony_ci GP_1_2_FN, FN_IP1_24, 21598c2ecf20Sopenharmony_ci GP_1_1_FN, FN_WE0, 21608c2ecf20Sopenharmony_ci GP_1_0_FN, FN_IP1_23_21 )) 21618c2ecf20Sopenharmony_ci }, 21628c2ecf20Sopenharmony_ci { PINMUX_CFG_REG("GPSR2", 0xfffc000c, 32, 1, GROUP( 21638c2ecf20Sopenharmony_ci GP_2_31_FN, FN_IP6_7, 21648c2ecf20Sopenharmony_ci GP_2_30_FN, FN_IP6_6_5, 21658c2ecf20Sopenharmony_ci GP_2_29_FN, FN_IP6_4_2, 21668c2ecf20Sopenharmony_ci GP_2_28_FN, FN_IP6_1_0, 21678c2ecf20Sopenharmony_ci GP_2_27_FN, FN_IP5_30_29, 21688c2ecf20Sopenharmony_ci GP_2_26_FN, FN_IP5_28_26, 21698c2ecf20Sopenharmony_ci GP_2_25_FN, FN_IP5_25_23, 21708c2ecf20Sopenharmony_ci GP_2_24_FN, FN_IP5_22_21, 21718c2ecf20Sopenharmony_ci GP_2_23_FN, FN_AUDIO_CLKB, 21728c2ecf20Sopenharmony_ci GP_2_22_FN, FN_AUDIO_CLKA, 21738c2ecf20Sopenharmony_ci GP_2_21_FN, FN_IP5_20_18, 21748c2ecf20Sopenharmony_ci GP_2_20_FN, FN_IP5_17_15, 21758c2ecf20Sopenharmony_ci GP_2_19_FN, FN_IP5_14_13, 21768c2ecf20Sopenharmony_ci GP_2_18_FN, FN_IP5_12, 21778c2ecf20Sopenharmony_ci GP_2_17_FN, FN_IP5_11_10, 21788c2ecf20Sopenharmony_ci GP_2_16_FN, FN_IP5_9_8, 21798c2ecf20Sopenharmony_ci GP_2_15_FN, FN_IP5_7, 21808c2ecf20Sopenharmony_ci GP_2_14_FN, FN_IP5_6, 21818c2ecf20Sopenharmony_ci GP_2_13_FN, FN_IP5_5_4, 21828c2ecf20Sopenharmony_ci GP_2_12_FN, FN_IP5_3_2, 21838c2ecf20Sopenharmony_ci GP_2_11_FN, FN_IP5_1_0, 21848c2ecf20Sopenharmony_ci GP_2_10_FN, FN_IP4_30_29, 21858c2ecf20Sopenharmony_ci GP_2_9_FN, FN_IP4_28_27, 21868c2ecf20Sopenharmony_ci GP_2_8_FN, FN_IP4_26_25, 21878c2ecf20Sopenharmony_ci GP_2_7_FN, FN_IP4_24_21, 21888c2ecf20Sopenharmony_ci GP_2_6_FN, FN_IP4_20_17, 21898c2ecf20Sopenharmony_ci GP_2_5_FN, FN_IP4_16_15, 21908c2ecf20Sopenharmony_ci GP_2_4_FN, FN_IP4_14_13, 21918c2ecf20Sopenharmony_ci GP_2_3_FN, FN_IP4_12_11, 21928c2ecf20Sopenharmony_ci GP_2_2_FN, FN_IP4_10_9, 21938c2ecf20Sopenharmony_ci GP_2_1_FN, FN_IP4_8, 21948c2ecf20Sopenharmony_ci GP_2_0_FN, FN_IP4_7 )) 21958c2ecf20Sopenharmony_ci }, 21968c2ecf20Sopenharmony_ci { PINMUX_CFG_REG("GPSR3", 0xfffc0010, 32, 1, GROUP( 21978c2ecf20Sopenharmony_ci GP_3_31_FN, FN_IP8_10_9, 21988c2ecf20Sopenharmony_ci GP_3_30_FN, FN_IP8_8_6, 21998c2ecf20Sopenharmony_ci GP_3_29_FN, FN_IP8_5_3, 22008c2ecf20Sopenharmony_ci GP_3_28_FN, FN_IP8_2_0, 22018c2ecf20Sopenharmony_ci GP_3_27_FN, FN_IP7_31_29, 22028c2ecf20Sopenharmony_ci GP_3_26_FN, FN_IP7_28_25, 22038c2ecf20Sopenharmony_ci GP_3_25_FN, FN_IP7_24_22, 22048c2ecf20Sopenharmony_ci GP_3_24_FN, FN_IP7_21, 22058c2ecf20Sopenharmony_ci GP_3_23_FN, FN_IP7_20_18, 22068c2ecf20Sopenharmony_ci GP_3_22_FN, FN_IP7_17_15, 22078c2ecf20Sopenharmony_ci GP_3_21_FN, FN_IP7_14_12, 22088c2ecf20Sopenharmony_ci GP_3_20_FN, FN_IP7_11_9, 22098c2ecf20Sopenharmony_ci GP_3_19_FN, FN_IP7_8_6, 22108c2ecf20Sopenharmony_ci GP_3_18_FN, FN_IP7_5_4, 22118c2ecf20Sopenharmony_ci GP_3_17_FN, FN_IP7_3_2, 22128c2ecf20Sopenharmony_ci GP_3_16_FN, FN_IP7_1_0, 22138c2ecf20Sopenharmony_ci GP_3_15_FN, FN_IP6_31_30, 22148c2ecf20Sopenharmony_ci GP_3_14_FN, FN_IP6_29_28, 22158c2ecf20Sopenharmony_ci GP_3_13_FN, FN_IP6_27_26, 22168c2ecf20Sopenharmony_ci GP_3_12_FN, FN_IP6_25_24, 22178c2ecf20Sopenharmony_ci GP_3_11_FN, FN_IP6_23_22, 22188c2ecf20Sopenharmony_ci GP_3_10_FN, FN_IP6_21, 22198c2ecf20Sopenharmony_ci GP_3_9_FN, FN_IP6_20_19, 22208c2ecf20Sopenharmony_ci GP_3_8_FN, FN_IP6_18_17, 22218c2ecf20Sopenharmony_ci GP_3_7_FN, FN_IP6_16, 22228c2ecf20Sopenharmony_ci GP_3_6_FN, FN_IP6_15_14, 22238c2ecf20Sopenharmony_ci GP_3_5_FN, FN_IP6_13, 22248c2ecf20Sopenharmony_ci GP_3_4_FN, FN_IP6_12_11, 22258c2ecf20Sopenharmony_ci GP_3_3_FN, FN_IP6_10, 22268c2ecf20Sopenharmony_ci GP_3_2_FN, FN_SSI_SCK34, 22278c2ecf20Sopenharmony_ci GP_3_1_FN, FN_IP6_9, 22288c2ecf20Sopenharmony_ci GP_3_0_FN, FN_IP6_8 )) 22298c2ecf20Sopenharmony_ci }, 22308c2ecf20Sopenharmony_ci { PINMUX_CFG_REG("GPSR4", 0xfffc0014, 32, 1, GROUP( 22318c2ecf20Sopenharmony_ci 0, 0, 22328c2ecf20Sopenharmony_ci 0, 0, 22338c2ecf20Sopenharmony_ci 0, 0, 22348c2ecf20Sopenharmony_ci 0, 0, 22358c2ecf20Sopenharmony_ci 0, 0, 22368c2ecf20Sopenharmony_ci GP_4_26_FN, FN_AVS2, 22378c2ecf20Sopenharmony_ci GP_4_25_FN, FN_AVS1, 22388c2ecf20Sopenharmony_ci GP_4_24_FN, FN_IP10_24_22, 22398c2ecf20Sopenharmony_ci GP_4_23_FN, FN_IP10_21_19, 22408c2ecf20Sopenharmony_ci GP_4_22_FN, FN_IP10_18_16, 22418c2ecf20Sopenharmony_ci GP_4_21_FN, FN_IP10_15_13, 22428c2ecf20Sopenharmony_ci GP_4_20_FN, FN_IP10_12_9, 22438c2ecf20Sopenharmony_ci GP_4_19_FN, FN_IP10_8_6, 22448c2ecf20Sopenharmony_ci GP_4_18_FN, FN_IP10_5_3, 22458c2ecf20Sopenharmony_ci GP_4_17_FN, FN_IP10_2_0, 22468c2ecf20Sopenharmony_ci GP_4_16_FN, FN_IP9_29_27, 22478c2ecf20Sopenharmony_ci GP_4_15_FN, FN_IP9_26_24, 22488c2ecf20Sopenharmony_ci GP_4_14_FN, FN_IP9_23_21, 22498c2ecf20Sopenharmony_ci GP_4_13_FN, FN_IP9_20_18, 22508c2ecf20Sopenharmony_ci GP_4_12_FN, FN_IP9_17_15, 22518c2ecf20Sopenharmony_ci GP_4_11_FN, FN_IP9_14_12, 22528c2ecf20Sopenharmony_ci GP_4_10_FN, FN_IP9_11_9, 22538c2ecf20Sopenharmony_ci GP_4_9_FN, FN_IP9_8_6, 22548c2ecf20Sopenharmony_ci GP_4_8_FN, FN_IP9_5_3, 22558c2ecf20Sopenharmony_ci GP_4_7_FN, FN_IP9_2_0, 22568c2ecf20Sopenharmony_ci GP_4_6_FN, FN_IP8_29_27, 22578c2ecf20Sopenharmony_ci GP_4_5_FN, FN_IP8_26_24, 22588c2ecf20Sopenharmony_ci GP_4_4_FN, FN_IP8_23_22, 22598c2ecf20Sopenharmony_ci GP_4_3_FN, FN_IP8_21_19, 22608c2ecf20Sopenharmony_ci GP_4_2_FN, FN_IP8_18_16, 22618c2ecf20Sopenharmony_ci GP_4_1_FN, FN_IP8_15_14, 22628c2ecf20Sopenharmony_ci GP_4_0_FN, FN_IP8_13_11 )) 22638c2ecf20Sopenharmony_ci }, 22648c2ecf20Sopenharmony_ci 22658c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("IPSR0", 0xfffc0020, 32, 22668c2ecf20Sopenharmony_ci GROUP(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 22678c2ecf20Sopenharmony_ci 1, 1, 1, 1, 1, 3, 4, 3, 3, 2), 22688c2ecf20Sopenharmony_ci GROUP( 22698c2ecf20Sopenharmony_ci /* IP0_31 [1] */ 22708c2ecf20Sopenharmony_ci 0, 0, 22718c2ecf20Sopenharmony_ci /* IP0_30 [1] */ 22728c2ecf20Sopenharmony_ci FN_A19, 0, 22738c2ecf20Sopenharmony_ci /* IP0_29 [1] */ 22748c2ecf20Sopenharmony_ci FN_A18, 0, 22758c2ecf20Sopenharmony_ci /* IP0_28 [1] */ 22768c2ecf20Sopenharmony_ci FN_A17, 0, 22778c2ecf20Sopenharmony_ci /* IP0_27 [1] */ 22788c2ecf20Sopenharmony_ci FN_A16, 0, 22798c2ecf20Sopenharmony_ci /* IP0_26 [1] */ 22808c2ecf20Sopenharmony_ci FN_A15, 0, 22818c2ecf20Sopenharmony_ci /* IP0_25 [1] */ 22828c2ecf20Sopenharmony_ci FN_A14, 0, 22838c2ecf20Sopenharmony_ci /* IP0_24 [1] */ 22848c2ecf20Sopenharmony_ci FN_A13, 0, 22858c2ecf20Sopenharmony_ci /* IP0_23 [1] */ 22868c2ecf20Sopenharmony_ci FN_A12, 0, 22878c2ecf20Sopenharmony_ci /* IP0_22 [1] */ 22888c2ecf20Sopenharmony_ci FN_A11, 0, 22898c2ecf20Sopenharmony_ci /* IP0_21 [1] */ 22908c2ecf20Sopenharmony_ci FN_A10, 0, 22918c2ecf20Sopenharmony_ci /* IP0_20 [1] */ 22928c2ecf20Sopenharmony_ci FN_A9, 0, 22938c2ecf20Sopenharmony_ci /* IP0_19 [1] */ 22948c2ecf20Sopenharmony_ci FN_A8, 0, 22958c2ecf20Sopenharmony_ci /* IP0_18 [1] */ 22968c2ecf20Sopenharmony_ci FN_A7, 0, 22978c2ecf20Sopenharmony_ci /* IP0_17 [1] */ 22988c2ecf20Sopenharmony_ci FN_A6, 0, 22998c2ecf20Sopenharmony_ci /* IP0_16 [1] */ 23008c2ecf20Sopenharmony_ci FN_A5, 0, 23018c2ecf20Sopenharmony_ci /* IP0_15 [1] */ 23028c2ecf20Sopenharmony_ci FN_A4, 0, 23038c2ecf20Sopenharmony_ci /* IP0_14_12 [3] */ 23048c2ecf20Sopenharmony_ci FN_SD1_DAT3_A, FN_MMC_D3, 0, FN_A0, 23058c2ecf20Sopenharmony_ci FN_ATAG0_A, 0, FN_REMOCON_B, 0, 23068c2ecf20Sopenharmony_ci /* IP0_11_8 [4] */ 23078c2ecf20Sopenharmony_ci FN_SD1_DAT2_A, FN_MMC_D2, 0, FN_BS, 23088c2ecf20Sopenharmony_ci FN_ATADIR0_A, 0, FN_SDSELF_A, 0, 23098c2ecf20Sopenharmony_ci FN_PWM4_B, 0, 0, 0, 23108c2ecf20Sopenharmony_ci 0, 0, 0, 0, 23118c2ecf20Sopenharmony_ci /* IP0_7_5 [3] */ 23128c2ecf20Sopenharmony_ci FN_AUDATA1, FN_ARM_TRACEDATA_1, FN_GPSIN_C, FN_USB_OVC1, 23138c2ecf20Sopenharmony_ci FN_RX2_E, FN_SCL2_B, 0, 0, 23148c2ecf20Sopenharmony_ci /* IP0_4_2 [3] */ 23158c2ecf20Sopenharmony_ci FN_AUDATA0, FN_ARM_TRACEDATA_0, FN_GPSCLK_C, FN_USB_OVC0, 23168c2ecf20Sopenharmony_ci FN_TX2_E, FN_SDA2_B, 0, 0, 23178c2ecf20Sopenharmony_ci /* IP0_1_0 [2] */ 23188c2ecf20Sopenharmony_ci FN_PRESETOUT, 0, FN_PWM1, 0, 23198c2ecf20Sopenharmony_ci )) 23208c2ecf20Sopenharmony_ci }, 23218c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("IPSR1", 0xfffc0024, 32, 23228c2ecf20Sopenharmony_ci GROUP(1, 1, 2, 3, 1, 3, 3, 1, 2, 4, 3, 3, 23238c2ecf20Sopenharmony_ci 3, 1, 1), 23248c2ecf20Sopenharmony_ci GROUP( 23258c2ecf20Sopenharmony_ci /* IP1_31 [1] */ 23268c2ecf20Sopenharmony_ci 0, 0, 23278c2ecf20Sopenharmony_ci /* IP1_30 [1] */ 23288c2ecf20Sopenharmony_ci 0, 0, 23298c2ecf20Sopenharmony_ci /* IP1_29_28 [2] */ 23308c2ecf20Sopenharmony_ci FN_EX_CS1, FN_MMC_D4, 0, 0, 23318c2ecf20Sopenharmony_ci /* IP1_27_25 [3] */ 23328c2ecf20Sopenharmony_ci FN_SSI_WS1_B, FN_EX_CS0, FN_SCL2_A, FN_TX3_C, 23338c2ecf20Sopenharmony_ci FN_TS_SCK0_A, 0, 0, 0, 23348c2ecf20Sopenharmony_ci /* IP1_24 [1] */ 23358c2ecf20Sopenharmony_ci FN_WE1, FN_ATAWR0_B, 23368c2ecf20Sopenharmony_ci /* IP1_23_21 [3] */ 23378c2ecf20Sopenharmony_ci FN_MMC_D5, FN_ATADIR0_B, 0, FN_RD_WR, 23388c2ecf20Sopenharmony_ci 0, 0, 0, 0, 23398c2ecf20Sopenharmony_ci /* IP1_20_18 [3] */ 23408c2ecf20Sopenharmony_ci FN_SSI_SCK1_B, FN_ATAG0_B, FN_CS1_A26, FN_SDA2_A, 23418c2ecf20Sopenharmony_ci FN_SCK2_B, 0, 0, 0, 23428c2ecf20Sopenharmony_ci /* IP1_17 [1] */ 23438c2ecf20Sopenharmony_ci FN_CS0, FN_HSPI_RX1_B, 23448c2ecf20Sopenharmony_ci /* IP1_16_15 [2] */ 23458c2ecf20Sopenharmony_ci FN_CLKOUT, FN_HSPI_TX1_B, FN_PWM0_B, 0, 23468c2ecf20Sopenharmony_ci /* IP1_14_11 [4] */ 23478c2ecf20Sopenharmony_ci FN_SD1_WP_A, FN_MMC_D7, 0, FN_A25, 23488c2ecf20Sopenharmony_ci FN_DACK1_A, 0, FN_HCTS0_B, FN_RX3_C, 23498c2ecf20Sopenharmony_ci FN_TS_SDAT0_A, 0, 0, 0, 23508c2ecf20Sopenharmony_ci 0, 0, 0, 0, 23518c2ecf20Sopenharmony_ci /* IP1_10_8 [3] */ 23528c2ecf20Sopenharmony_ci FN_SD1_CD_A, FN_MMC_D6, 0, FN_A24, 23538c2ecf20Sopenharmony_ci FN_DREQ1_A, 0, FN_HRX0_B, FN_TS_SPSYNC0_A, 23548c2ecf20Sopenharmony_ci /* IP1_7_5 [3] */ 23558c2ecf20Sopenharmony_ci FN_A23, FN_HTX0_B, FN_TX2_B, FN_DACK2_A, 23568c2ecf20Sopenharmony_ci FN_TS_SDEN0_A, 0, 0, 0, 23578c2ecf20Sopenharmony_ci /* IP1_4_2 [3] */ 23588c2ecf20Sopenharmony_ci FN_A22, FN_HRTS0_B, FN_RX2_B, FN_DREQ2_A, 23598c2ecf20Sopenharmony_ci 0, 0, 0, 0, 23608c2ecf20Sopenharmony_ci /* IP1_1 [1] */ 23618c2ecf20Sopenharmony_ci FN_A21, FN_HSPI_CLK1_B, 23628c2ecf20Sopenharmony_ci /* IP1_0 [1] */ 23638c2ecf20Sopenharmony_ci FN_A20, FN_HSPI_CS1_B, 23648c2ecf20Sopenharmony_ci )) 23658c2ecf20Sopenharmony_ci }, 23668c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("IPSR2", 0xfffc0028, 32, 23678c2ecf20Sopenharmony_ci GROUP(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 23688c2ecf20Sopenharmony_ci 1, 1, 1, 3, 2, 3, 3, 3, 3), 23698c2ecf20Sopenharmony_ci GROUP( 23708c2ecf20Sopenharmony_ci /* IP2_31 [1] */ 23718c2ecf20Sopenharmony_ci FN_MLB_CLK, FN_IRQ1_A, 23728c2ecf20Sopenharmony_ci /* IP2_30 [1] */ 23738c2ecf20Sopenharmony_ci FN_RD_WR_B, FN_IRQ0, 23748c2ecf20Sopenharmony_ci /* IP2_29 [1] */ 23758c2ecf20Sopenharmony_ci FN_D11, 0, 23768c2ecf20Sopenharmony_ci /* IP2_28 [1] */ 23778c2ecf20Sopenharmony_ci FN_D10, 0, 23788c2ecf20Sopenharmony_ci /* IP2_27 [1] */ 23798c2ecf20Sopenharmony_ci FN_D9, 0, 23808c2ecf20Sopenharmony_ci /* IP2_26 [1] */ 23818c2ecf20Sopenharmony_ci FN_D8, 0, 23828c2ecf20Sopenharmony_ci /* IP2_25 [1] */ 23838c2ecf20Sopenharmony_ci FN_D7, 0, 23848c2ecf20Sopenharmony_ci /* IP2_24 [1] */ 23858c2ecf20Sopenharmony_ci FN_D6, 0, 23868c2ecf20Sopenharmony_ci /* IP2_23 [1] */ 23878c2ecf20Sopenharmony_ci FN_D5, 0, 23888c2ecf20Sopenharmony_ci /* IP2_22 [1] */ 23898c2ecf20Sopenharmony_ci FN_D4, 0, 23908c2ecf20Sopenharmony_ci /* IP2_21 [1] */ 23918c2ecf20Sopenharmony_ci FN_D3, 0, 23928c2ecf20Sopenharmony_ci /* IP2_20 [1] */ 23938c2ecf20Sopenharmony_ci FN_D2, 0, 23948c2ecf20Sopenharmony_ci /* IP2_19 [1] */ 23958c2ecf20Sopenharmony_ci FN_D1, 0, 23968c2ecf20Sopenharmony_ci /* IP2_18 [1] */ 23978c2ecf20Sopenharmony_ci FN_D0, 0, 23988c2ecf20Sopenharmony_ci /* IP2_17 [1] */ 23998c2ecf20Sopenharmony_ci FN_EX_WAIT0, FN_PWM0_C, 24008c2ecf20Sopenharmony_ci /* IP2_16_14 [3] */ 24018c2ecf20Sopenharmony_ci FN_DACK0, 0, 0, FN_TX3_A, 24028c2ecf20Sopenharmony_ci FN_DRACK0, 0, 0, 0, 24038c2ecf20Sopenharmony_ci /* IP2_13_12 [2] */ 24048c2ecf20Sopenharmony_ci FN_DREQ0_A, 0, 0, FN_RX3_A, 24058c2ecf20Sopenharmony_ci /* IP2_11_9 [3] */ 24068c2ecf20Sopenharmony_ci FN_SD1_DAT1_A, FN_MMC_D1, 0, FN_ATAWR0_A, 24078c2ecf20Sopenharmony_ci FN_EX_CS5, FN_EX_WAIT2_A, 0, 0, 24088c2ecf20Sopenharmony_ci /* IP2_8_6 [3] */ 24098c2ecf20Sopenharmony_ci FN_SD1_DAT0_A, FN_MMC_D0, 0, FN_ATARD0, 24108c2ecf20Sopenharmony_ci FN_EX_CS4, FN_EX_WAIT1_A, 0, 0, 24118c2ecf20Sopenharmony_ci /* IP2_5_3 [3] */ 24128c2ecf20Sopenharmony_ci FN_SD1_CMD_A, FN_MMC_CMD, 0, FN_ATACS10, 24138c2ecf20Sopenharmony_ci FN_EX_CS3, 0, 0, 0, 24148c2ecf20Sopenharmony_ci /* IP2_2_0 [3] */ 24158c2ecf20Sopenharmony_ci FN_SD1_CLK_A, FN_MMC_CLK, 0, FN_ATACS00, 24168c2ecf20Sopenharmony_ci FN_EX_CS2, 0, 0, 0, 24178c2ecf20Sopenharmony_ci )) 24188c2ecf20Sopenharmony_ci }, 24198c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("IPSR3", 0xfffc002c, 32, 24208c2ecf20Sopenharmony_ci GROUP(1, 1, 1, 1, 1, 3, 3, 2, 3, 3, 3, 2, 24218c2ecf20Sopenharmony_ci 3, 3, 2), 24228c2ecf20Sopenharmony_ci GROUP( 24238c2ecf20Sopenharmony_ci /* IP3_31 [1] */ 24248c2ecf20Sopenharmony_ci FN_DU0_DR6, FN_LCDOUT6, 24258c2ecf20Sopenharmony_ci /* IP3_30 [1] */ 24268c2ecf20Sopenharmony_ci FN_DU0_DR5, FN_LCDOUT5, 24278c2ecf20Sopenharmony_ci /* IP3_29 [1] */ 24288c2ecf20Sopenharmony_ci FN_DU0_DR4, FN_LCDOUT4, 24298c2ecf20Sopenharmony_ci /* IP3_28 [1] */ 24308c2ecf20Sopenharmony_ci FN_DU0_DR3, FN_LCDOUT3, 24318c2ecf20Sopenharmony_ci /* IP3_27 [1] */ 24328c2ecf20Sopenharmony_ci FN_DU0_DR2, FN_LCDOUT2, 24338c2ecf20Sopenharmony_ci /* IP3_26_24 [3] */ 24348c2ecf20Sopenharmony_ci FN_SSI_WS4, FN_DU0_DR1, FN_LCDOUT1, FN_AUDATA3, 24358c2ecf20Sopenharmony_ci FN_ARM_TRACEDATA_3, FN_SCL3_C, FN_ADICHS2, FN_TS_SPSYNC0_B, 24368c2ecf20Sopenharmony_ci /* IP3_23_21 [3] */ 24378c2ecf20Sopenharmony_ci FN_SSI_SCK4, FN_DU0_DR0, FN_LCDOUT0, FN_AUDATA2, 24388c2ecf20Sopenharmony_ci FN_ARM_TRACEDATA_2, FN_SDA3_C, FN_ADICHS1, FN_TS_SDEN0_B, 24398c2ecf20Sopenharmony_ci /* IP3_20_19 [2] */ 24408c2ecf20Sopenharmony_ci FN_SD1_DAT3_B, FN_HRTS0_A, FN_RTS0, 0, 24418c2ecf20Sopenharmony_ci /* IP3_18_16 [3] */ 24428c2ecf20Sopenharmony_ci FN_SD1_DAT2_B, FN_HCTS0_A, FN_CTS0, 0, 24438c2ecf20Sopenharmony_ci 0, 0, 0, 0, 24448c2ecf20Sopenharmony_ci /* IP3_15_13 [3] */ 24458c2ecf20Sopenharmony_ci FN_SD1_DAT1_B, FN_HSCK0, FN_SCK0, FN_SCL3_B, 24468c2ecf20Sopenharmony_ci 0, 0, 0, 0, 24478c2ecf20Sopenharmony_ci /* IP3_12_10 [3] */ 24488c2ecf20Sopenharmony_ci FN_SD1_DAT0_B, FN_HRX0_A, FN_RX0_A, 0, 24498c2ecf20Sopenharmony_ci 0, 0, 0, 0, 24508c2ecf20Sopenharmony_ci /* IP3_9_8 [2] */ 24518c2ecf20Sopenharmony_ci FN_SD1_CLK_B, FN_HTX0_A, FN_TX0_A, 0, 24528c2ecf20Sopenharmony_ci /* IP3_7_5 [3] */ 24538c2ecf20Sopenharmony_ci FN_SD1_CMD_B, FN_SCIF_CLK, FN_AUDIO_CLKOUT_B, FN_CAN_CLK_B, 24548c2ecf20Sopenharmony_ci FN_SDA3_B, 0, 0, 0, 24558c2ecf20Sopenharmony_ci /* IP3_4_2 [3] */ 24568c2ecf20Sopenharmony_ci FN_MLB_DAT, FN_TX5_B, FN_SCL3_A, FN_IRQ3_A, 24578c2ecf20Sopenharmony_ci FN_SDSELF_B, 0, 0, 0, 24588c2ecf20Sopenharmony_ci /* IP3_1_0 [2] */ 24598c2ecf20Sopenharmony_ci FN_MLB_SIG, FN_RX5_B, FN_SDA3_A, FN_IRQ2_A, 24608c2ecf20Sopenharmony_ci )) 24618c2ecf20Sopenharmony_ci }, 24628c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("IPSR4", 0xfffc0030, 32, 24638c2ecf20Sopenharmony_ci GROUP(1, 2, 2, 2, 4, 4, 2, 2, 2, 2, 1, 1, 24648c2ecf20Sopenharmony_ci 3, 3, 1), 24658c2ecf20Sopenharmony_ci GROUP( 24668c2ecf20Sopenharmony_ci /* IP4_31 [1] */ 24678c2ecf20Sopenharmony_ci 0, 0, 24688c2ecf20Sopenharmony_ci /* IP4_30_29 [2] */ 24698c2ecf20Sopenharmony_ci FN_VI0_R4_B, FN_DU0_DB4, FN_LCDOUT20, 0, 24708c2ecf20Sopenharmony_ci /* IP4_28_27 [2] */ 24718c2ecf20Sopenharmony_ci FN_VI0_R3_B, FN_DU0_DB3, FN_LCDOUT19, 0, 24728c2ecf20Sopenharmony_ci /* IP4_26_25 [2] */ 24738c2ecf20Sopenharmony_ci FN_VI0_R2_B, FN_DU0_DB2, FN_LCDOUT18, 0, 24748c2ecf20Sopenharmony_ci /* IP4_24_21 [4] */ 24758c2ecf20Sopenharmony_ci FN_AUDIO_CLKC, FN_VI0_R1_B, FN_DU0_DB1, FN_LCDOUT17, 24768c2ecf20Sopenharmony_ci FN_AUDATA7, FN_ARM_TRACEDATA_7, FN_GPSIN_A, 0, 24778c2ecf20Sopenharmony_ci FN_ADICS_SAMP, FN_TS_SCK0_B, 0, 0, 24788c2ecf20Sopenharmony_ci 0, 0, 0, 0, 24798c2ecf20Sopenharmony_ci /* IP4_20_17 [4] */ 24808c2ecf20Sopenharmony_ci FN_SSI_SCK2_B, FN_VI0_R0_B, FN_DU0_DB0, FN_LCDOUT16, 24818c2ecf20Sopenharmony_ci FN_AUDATA6, FN_ARM_TRACEDATA_6, FN_GPSCLK_A, FN_PWM0_A, 24828c2ecf20Sopenharmony_ci FN_ADICLK, FN_TS_SDAT0_B, 0, 0, 24838c2ecf20Sopenharmony_ci 0, 0, 0, 0, 24848c2ecf20Sopenharmony_ci /* IP4_16_15 [2] */ 24858c2ecf20Sopenharmony_ci FN_DU0_DG7, FN_LCDOUT15, FN_TX4_A, 0, 24868c2ecf20Sopenharmony_ci /* IP4_14_13 [2] */ 24878c2ecf20Sopenharmony_ci FN_DU0_DG6, FN_LCDOUT14, FN_RX4_A, 0, 24888c2ecf20Sopenharmony_ci /* IP4_12_11 [2] */ 24898c2ecf20Sopenharmony_ci FN_DU0_DG5, FN_LCDOUT13, FN_TX0_B, 0, 24908c2ecf20Sopenharmony_ci /* IP4_10_9 [2] */ 24918c2ecf20Sopenharmony_ci FN_DU0_DG4, FN_LCDOUT12, FN_RX0_B, 0, 24928c2ecf20Sopenharmony_ci /* IP4_8 [1] */ 24938c2ecf20Sopenharmony_ci FN_DU0_DG3, FN_LCDOUT11, 24948c2ecf20Sopenharmony_ci /* IP4_7 [1] */ 24958c2ecf20Sopenharmony_ci FN_DU0_DG2, FN_LCDOUT10, 24968c2ecf20Sopenharmony_ci /* IP4_6_4 [3] */ 24978c2ecf20Sopenharmony_ci FN_DU0_DG1, FN_LCDOUT9, FN_AUDATA5, FN_ARM_TRACEDATA_5, 24988c2ecf20Sopenharmony_ci FN_RX1_D, FN_CAN0_RX_A, FN_ADIDATA, 0, 24998c2ecf20Sopenharmony_ci /* IP4_3_1 [3] */ 25008c2ecf20Sopenharmony_ci FN_DU0_DG0, FN_LCDOUT8, FN_AUDATA4, FN_ARM_TRACEDATA_4, 25018c2ecf20Sopenharmony_ci FN_TX1_D, FN_CAN0_TX_A, FN_ADICHS0, 0, 25028c2ecf20Sopenharmony_ci /* IP4_0 [1] */ 25038c2ecf20Sopenharmony_ci FN_DU0_DR7, FN_LCDOUT7, 25048c2ecf20Sopenharmony_ci )) 25058c2ecf20Sopenharmony_ci }, 25068c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("IPSR5", 0xfffc0034, 32, 25078c2ecf20Sopenharmony_ci GROUP(1, 2, 3, 3, 2, 3, 3, 2, 1, 2, 2, 1, 25088c2ecf20Sopenharmony_ci 1, 2, 2, 2), 25098c2ecf20Sopenharmony_ci GROUP( 25108c2ecf20Sopenharmony_ci 25118c2ecf20Sopenharmony_ci /* IP5_31 [1] */ 25128c2ecf20Sopenharmony_ci 0, 0, 25138c2ecf20Sopenharmony_ci /* IP5_30_29 [2] */ 25148c2ecf20Sopenharmony_ci FN_SSI_SDATA7, FN_HSPI_TX0_B, FN_RX2_A, FN_CAN0_RX_B, 25158c2ecf20Sopenharmony_ci /* IP5_28_26 [3] */ 25168c2ecf20Sopenharmony_ci FN_SSI_SDATA8, FN_SSI_SCK2_A, FN_HSPI_CS0_B, FN_TX2_A, 25178c2ecf20Sopenharmony_ci FN_CAN0_TX_B, 0, 0, 0, 25188c2ecf20Sopenharmony_ci /* IP5_25_23 [3] */ 25198c2ecf20Sopenharmony_ci FN_SD1_WP_B, FN_SSI_WS78, FN_HSPI_CLK0_B, FN_RX1_B, 25208c2ecf20Sopenharmony_ci FN_CAN_CLK_D, 0, 0, 0, 25218c2ecf20Sopenharmony_ci /* IP5_22_21 [2] */ 25228c2ecf20Sopenharmony_ci FN_SD1_CD_B, FN_SSI_SCK78, FN_HSPI_RX0_B, FN_TX1_B, 25238c2ecf20Sopenharmony_ci /* IP5_20_18 [3] */ 25248c2ecf20Sopenharmony_ci FN_SSI_WS1_A, FN_DU0_CDE, FN_QPOLB, FN_AUDSYNC, 25258c2ecf20Sopenharmony_ci FN_ARM_TRACECTL, FN_FMIN_D, 0, 0, 25268c2ecf20Sopenharmony_ci /* IP5_17_15 [3] */ 25278c2ecf20Sopenharmony_ci FN_SSI_SCK1_A, FN_DU0_DISP, FN_QPOLA, FN_AUDCK, 25288c2ecf20Sopenharmony_ci FN_ARM_TRACECLK, FN_BPFCLK_D, 0, 0, 25298c2ecf20Sopenharmony_ci /* IP5_14_13 [2] */ 25308c2ecf20Sopenharmony_ci FN_DU0_EXODDF_DU0_ODDF_DISP_CDE, FN_QCPV_QDE, 25318c2ecf20Sopenharmony_ci FN_FMCLK_D, 0, 25328c2ecf20Sopenharmony_ci /* IP5_12 [1] */ 25338c2ecf20Sopenharmony_ci FN_DU0_EXVSYNC_DU0_VSYNC, FN_QSTB_QHE, 25348c2ecf20Sopenharmony_ci /* IP5_11_10 [2] */ 25358c2ecf20Sopenharmony_ci FN_SSI_WS2_B, FN_DU0_EXHSYNC_DU0_HSYNC, 25368c2ecf20Sopenharmony_ci FN_QSTH_QHS, 0, 25378c2ecf20Sopenharmony_ci /* IP5_9_8 [2] */ 25388c2ecf20Sopenharmony_ci FN_DU0_DOTCLKO_UT1, FN_QSTVB_QVE, 25398c2ecf20Sopenharmony_ci FN_AUDIO_CLKOUT_A, FN_REMOCON_C, 25408c2ecf20Sopenharmony_ci /* IP5_7 [1] */ 25418c2ecf20Sopenharmony_ci FN_DU0_DOTCLKO_UT0, FN_QCLK, 25428c2ecf20Sopenharmony_ci /* IP5_6 [1] */ 25438c2ecf20Sopenharmony_ci FN_DU0_DOTCLKIN, FN_QSTVA_QVS, 25448c2ecf20Sopenharmony_ci /* IP5_5_4 [2] */ 25458c2ecf20Sopenharmony_ci FN_VI1_DATA11_B, FN_DU0_DB7, FN_LCDOUT23, 0, 25468c2ecf20Sopenharmony_ci /* IP5_3_2 [2] */ 25478c2ecf20Sopenharmony_ci FN_VI1_DATA10_B, FN_DU0_DB6, FN_LCDOUT22, 0, 25488c2ecf20Sopenharmony_ci /* IP5_1_0 [2] */ 25498c2ecf20Sopenharmony_ci FN_VI0_R5_B, FN_DU0_DB5, FN_LCDOUT21, 0, 25508c2ecf20Sopenharmony_ci )) 25518c2ecf20Sopenharmony_ci }, 25528c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("IPSR6", 0xfffc0038, 32, 25538c2ecf20Sopenharmony_ci GROUP(2, 2, 2, 2, 2, 1, 2, 2, 1, 2, 1, 2, 25548c2ecf20Sopenharmony_ci 1, 1, 1, 1, 2, 3, 2), 25558c2ecf20Sopenharmony_ci GROUP( 25568c2ecf20Sopenharmony_ci /* IP6_31_30 [2] */ 25578c2ecf20Sopenharmony_ci FN_SD0_DAT2, 0, FN_SUB_TDI, 0, 25588c2ecf20Sopenharmony_ci /* IP6_29_28 [2] */ 25598c2ecf20Sopenharmony_ci FN_SD0_DAT1, 0, FN_SUB_TCK, 0, 25608c2ecf20Sopenharmony_ci /* IP6_27_26 [2] */ 25618c2ecf20Sopenharmony_ci FN_SD0_DAT0, 0, FN_SUB_TMS, 0, 25628c2ecf20Sopenharmony_ci /* IP6_25_24 [2] */ 25638c2ecf20Sopenharmony_ci FN_SD0_CMD, 0, FN_SUB_TRST, 0, 25648c2ecf20Sopenharmony_ci /* IP6_23_22 [2] */ 25658c2ecf20Sopenharmony_ci FN_SD0_CLK, 0, FN_SUB_TDO, 0, 25668c2ecf20Sopenharmony_ci /* IP6_21 [1] */ 25678c2ecf20Sopenharmony_ci FN_SSI_SDATA0, FN_ARM_TRACEDATA_15, 25688c2ecf20Sopenharmony_ci /* IP6_20_19 [2] */ 25698c2ecf20Sopenharmony_ci FN_SSI_SDATA1, FN_ARM_TRACEDATA_14, 25708c2ecf20Sopenharmony_ci FN_SCL1_A, FN_SCK2_A, 25718c2ecf20Sopenharmony_ci /* IP6_18_17 [2] */ 25728c2ecf20Sopenharmony_ci FN_SSI_SDATA2, FN_HSPI_CS2_A, 25738c2ecf20Sopenharmony_ci FN_ARM_TRACEDATA_13, FN_SDA1_A, 25748c2ecf20Sopenharmony_ci /* IP6_16 [1] */ 25758c2ecf20Sopenharmony_ci FN_SSI_WS012, FN_ARM_TRACEDATA_12, 25768c2ecf20Sopenharmony_ci /* IP6_15_14 [2] */ 25778c2ecf20Sopenharmony_ci FN_SSI_SCK012, FN_ARM_TRACEDATA_11, 25788c2ecf20Sopenharmony_ci FN_TX0_D, 0, 25798c2ecf20Sopenharmony_ci /* IP6_13 [1] */ 25808c2ecf20Sopenharmony_ci FN_SSI_SDATA3, FN_ARM_TRACEDATA_10, 25818c2ecf20Sopenharmony_ci /* IP6_12_11 [2] */ 25828c2ecf20Sopenharmony_ci FN_SSI_SDATA4, FN_SSI_WS2_A, 25838c2ecf20Sopenharmony_ci FN_ARM_TRACEDATA_9, 0, 25848c2ecf20Sopenharmony_ci /* IP6_10 [1] */ 25858c2ecf20Sopenharmony_ci FN_SSI_WS34, FN_ARM_TRACEDATA_8, 25868c2ecf20Sopenharmony_ci /* IP6_9 [1] */ 25878c2ecf20Sopenharmony_ci FN_SSI_SDATA5, FN_RX0_D, 25888c2ecf20Sopenharmony_ci /* IP6_8 [1] */ 25898c2ecf20Sopenharmony_ci FN_SSI_WS5, FN_TX4_C, 25908c2ecf20Sopenharmony_ci /* IP6_7 [1] */ 25918c2ecf20Sopenharmony_ci FN_SSI_SCK5, FN_RX4_C, 25928c2ecf20Sopenharmony_ci /* IP6_6_5 [2] */ 25938c2ecf20Sopenharmony_ci FN_SSI_SDATA6, FN_HSPI_TX2_A, 25948c2ecf20Sopenharmony_ci FN_FMIN_B, 0, 25958c2ecf20Sopenharmony_ci /* IP6_4_2 [3] */ 25968c2ecf20Sopenharmony_ci FN_SSI_WS6, FN_HSPI_CLK2_A, 25978c2ecf20Sopenharmony_ci FN_BPFCLK_B, FN_CAN1_RX_B, 25988c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25998c2ecf20Sopenharmony_ci /* IP6_1_0 [2] */ 26008c2ecf20Sopenharmony_ci FN_SSI_SCK6, FN_HSPI_RX2_A, 26018c2ecf20Sopenharmony_ci FN_FMCLK_B, FN_CAN1_TX_B, 26028c2ecf20Sopenharmony_ci )) 26038c2ecf20Sopenharmony_ci }, 26048c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("IPSR7", 0xfffc003c, 32, 26058c2ecf20Sopenharmony_ci GROUP(3, 4, 3, 1, 3, 3, 3, 3, 3, 2, 2, 2), 26068c2ecf20Sopenharmony_ci GROUP( 26078c2ecf20Sopenharmony_ci 26088c2ecf20Sopenharmony_ci /* IP7_31_29 [3] */ 26098c2ecf20Sopenharmony_ci FN_VI0_HSYNC, FN_SD2_CD_B, FN_VI1_DATA2, FN_DU1_DR2, 26108c2ecf20Sopenharmony_ci 0, FN_HSPI_CS1_A, FN_RX3_B, 0, 26118c2ecf20Sopenharmony_ci /* IP7_28_25 [4] */ 26128c2ecf20Sopenharmony_ci FN_VI0_FIELD, FN_SD2_DAT3_B, FN_VI0_R3_C, FN_VI1_DATA1, 26138c2ecf20Sopenharmony_ci FN_DU1_DG7, 0, FN_HSPI_CLK1_A, FN_TX4_B, 26148c2ecf20Sopenharmony_ci 0, 0, 0, 0, 26158c2ecf20Sopenharmony_ci 0, 0, 0, 0, 26168c2ecf20Sopenharmony_ci /* IP7_24_22 [3] */ 26178c2ecf20Sopenharmony_ci FN_VI0_CLKENB, FN_SD2_DAT2_B, FN_VI1_DATA0, FN_DU1_DG6, 26188c2ecf20Sopenharmony_ci 0, FN_HSPI_RX1_A, FN_RX4_B, 0, 26198c2ecf20Sopenharmony_ci /* IP7_21 [1] */ 26208c2ecf20Sopenharmony_ci FN_VI0_CLK, FN_CAN_CLK_A, 26218c2ecf20Sopenharmony_ci /* IP7_20_18 [3] */ 26228c2ecf20Sopenharmony_ci FN_TCLK0, FN_HSCK1_A, FN_FMIN_A, 0, 26238c2ecf20Sopenharmony_ci FN_IRQ2_C, FN_CTS1_C, FN_SPEEDIN, 0, 26248c2ecf20Sopenharmony_ci /* IP7_17_15 [3] */ 26258c2ecf20Sopenharmony_ci FN_VI1_VSYNC, FN_HSPI_TX0, FN_HCTS1_A, FN_BPFCLK_A, 26268c2ecf20Sopenharmony_ci 0, FN_TX1_C, 0, 0, 26278c2ecf20Sopenharmony_ci /* IP7_14_12 [3] */ 26288c2ecf20Sopenharmony_ci FN_VI1_HSYNC, FN_HSPI_RX0_A, FN_HRTS1_A, FN_FMCLK_A, 26298c2ecf20Sopenharmony_ci 0, FN_RX1_C, 0, 0, 26308c2ecf20Sopenharmony_ci /* IP7_11_9 [3] */ 26318c2ecf20Sopenharmony_ci FN_VI1_FIELD, FN_HSPI_CS0_A, FN_HRX1_A, 0, 26328c2ecf20Sopenharmony_ci FN_SCK1_C, 0, 0, 0, 26338c2ecf20Sopenharmony_ci /* IP7_8_6 [3] */ 26348c2ecf20Sopenharmony_ci FN_VI1_CLKENB, FN_HSPI_CLK0_A, FN_HTX1_A, 0, 26358c2ecf20Sopenharmony_ci FN_RTS1_C, 0, 0, 0, 26368c2ecf20Sopenharmony_ci /* IP7_5_4 [2] */ 26378c2ecf20Sopenharmony_ci FN_SD0_WP, 0, FN_RX5_A, 0, 26388c2ecf20Sopenharmony_ci /* IP7_3_2 [2] */ 26398c2ecf20Sopenharmony_ci FN_SD0_CD, 0, FN_TX5_A, 0, 26408c2ecf20Sopenharmony_ci /* IP7_1_0 [2] */ 26418c2ecf20Sopenharmony_ci FN_SD0_DAT3, 0, FN_IRQ1_B, 0, 26428c2ecf20Sopenharmony_ci )) 26438c2ecf20Sopenharmony_ci }, 26448c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("IPSR8", 0xfffc0040, 32, 26458c2ecf20Sopenharmony_ci GROUP(1, 1, 3, 3, 2, 3, 3, 2, 3, 2, 3, 3, 3), 26468c2ecf20Sopenharmony_ci GROUP( 26478c2ecf20Sopenharmony_ci /* IP8_31 [1] */ 26488c2ecf20Sopenharmony_ci 0, 0, 26498c2ecf20Sopenharmony_ci /* IP8_30 [1] */ 26508c2ecf20Sopenharmony_ci 0, 0, 26518c2ecf20Sopenharmony_ci /* IP8_29_27 [3] */ 26528c2ecf20Sopenharmony_ci FN_VI0_G3, FN_SD2_CMD_B, FN_VI1_DATA5, FN_DU1_DR5, 26538c2ecf20Sopenharmony_ci 0, FN_HRX1_B, 0, 0, 26548c2ecf20Sopenharmony_ci /* IP8_26_24 [3] */ 26558c2ecf20Sopenharmony_ci FN_VI0_G2, FN_SD2_CLK_B, FN_VI1_DATA4, FN_DU1_DR4, 26568c2ecf20Sopenharmony_ci 0, FN_HTX1_B, 0, 0, 26578c2ecf20Sopenharmony_ci /* IP8_23_22 [2] */ 26588c2ecf20Sopenharmony_ci FN_VI0_DATA7_VI0_G1, FN_DU1_DB5, 26598c2ecf20Sopenharmony_ci FN_RTS1_A, 0, 26608c2ecf20Sopenharmony_ci /* IP8_21_19 [3] */ 26618c2ecf20Sopenharmony_ci FN_VI0_DATA6_VI0_G0, FN_DU1_DB4, 26628c2ecf20Sopenharmony_ci FN_CTS1_A, FN_PWM5, 26638c2ecf20Sopenharmony_ci 0, 0, 0, 0, 26648c2ecf20Sopenharmony_ci /* IP8_18_16 [3] */ 26658c2ecf20Sopenharmony_ci FN_VI0_DATA5_VI0_B5, FN_DU1_DB3, FN_SCK1_A, FN_PWM4, 26668c2ecf20Sopenharmony_ci 0, FN_HSCK1_B, 0, 0, 26678c2ecf20Sopenharmony_ci /* IP8_15_14 [2] */ 26688c2ecf20Sopenharmony_ci FN_VI0_DATA4_VI0_B4, FN_DU1_DB2, FN_RX1_A, 0, 26698c2ecf20Sopenharmony_ci /* IP8_13_11 [3] */ 26708c2ecf20Sopenharmony_ci FN_VI0_DATA3_VI0_B3, FN_DU1_DG5, FN_TX1_A, FN_TX0_C, 26718c2ecf20Sopenharmony_ci 0, 0, 0, 0, 26728c2ecf20Sopenharmony_ci /* IP8_10_9 [2] */ 26738c2ecf20Sopenharmony_ci FN_VI0_DATA2_VI0_B2, FN_DU1_DG4, FN_RX0_C, 0, 26748c2ecf20Sopenharmony_ci /* IP8_8_6 [3] */ 26758c2ecf20Sopenharmony_ci FN_VI0_DATA1_VI0_B1, FN_DU1_DG3, FN_IRQ3_B, FN_TX3_D, 26768c2ecf20Sopenharmony_ci 0, 0, 0, 0, 26778c2ecf20Sopenharmony_ci /* IP8_5_3 [3] */ 26788c2ecf20Sopenharmony_ci FN_VI0_DATA0_VI0_B0, FN_DU1_DG2, FN_IRQ2_B, FN_RX3_D, 26798c2ecf20Sopenharmony_ci 0, 0, 0, 0, 26808c2ecf20Sopenharmony_ci /* IP8_2_0 [3] */ 26818c2ecf20Sopenharmony_ci FN_VI0_VSYNC, FN_SD2_WP_B, FN_VI1_DATA3, FN_DU1_DR3, 26828c2ecf20Sopenharmony_ci 0, FN_HSPI_TX1_A, FN_TX3_B, 0, 26838c2ecf20Sopenharmony_ci )) 26848c2ecf20Sopenharmony_ci }, 26858c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("IPSR9", 0xfffc0044, 32, 26868c2ecf20Sopenharmony_ci GROUP(1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3), 26878c2ecf20Sopenharmony_ci GROUP( 26888c2ecf20Sopenharmony_ci /* IP9_31 [1] */ 26898c2ecf20Sopenharmony_ci 0, 0, 26908c2ecf20Sopenharmony_ci /* IP9_30 [1] */ 26918c2ecf20Sopenharmony_ci 0, 0, 26928c2ecf20Sopenharmony_ci /* IP9_29_27 [3] */ 26938c2ecf20Sopenharmony_ci FN_VI1_DATA11_A, FN_DU1_EXHSYNC_DU1_HSYNC, 26948c2ecf20Sopenharmony_ci FN_ETH_RXD1, FN_FMIN_C, 26958c2ecf20Sopenharmony_ci 0, FN_RX2_D, 26968c2ecf20Sopenharmony_ci FN_SCL2_C, 0, 26978c2ecf20Sopenharmony_ci /* IP9_26_24 [3] */ 26988c2ecf20Sopenharmony_ci FN_VI1_DATA10_A, FN_DU1_DOTCLKOUT, 26998c2ecf20Sopenharmony_ci FN_ETH_RXD0, FN_BPFCLK_C, 27008c2ecf20Sopenharmony_ci 0, FN_TX2_D, 27018c2ecf20Sopenharmony_ci FN_SDA2_C, 0, 27028c2ecf20Sopenharmony_ci /* IP9_23_21 [3] */ 27038c2ecf20Sopenharmony_ci FN_VI0_R5_A, 0, FN_ETH_RX_ER, FN_FMCLK_C, 27048c2ecf20Sopenharmony_ci FN_IERX, FN_RX2_C, 0, 0, 27058c2ecf20Sopenharmony_ci /* IP9_20_18 [3] */ 27068c2ecf20Sopenharmony_ci FN_VI0_R4_A, FN_ETH_TX_EN, 0, 0, 27078c2ecf20Sopenharmony_ci FN_IETX, FN_TX2_C, 0, 0, 27088c2ecf20Sopenharmony_ci /* IP9_17_15 [3] */ 27098c2ecf20Sopenharmony_ci FN_VI0_R3_A, FN_ETH_CRS_DV, 0, FN_IECLK, 27108c2ecf20Sopenharmony_ci FN_SCK2_C, 0, 0, 0, 27118c2ecf20Sopenharmony_ci /* IP9_14_12 [3] */ 27128c2ecf20Sopenharmony_ci FN_VI0_R2_A, FN_VI1_DATA9, FN_DU1_DB7, FN_ETH_TXD1, 27138c2ecf20Sopenharmony_ci 0, FN_PWM3, 0, 0, 27148c2ecf20Sopenharmony_ci /* IP9_11_9 [3] */ 27158c2ecf20Sopenharmony_ci FN_VI0_R1_A, FN_VI1_DATA8, FN_DU1_DB6, FN_ETH_TXD0, 27168c2ecf20Sopenharmony_ci 0, FN_PWM2, FN_TCLK1, 0, 27178c2ecf20Sopenharmony_ci /* IP9_8_6 [3] */ 27188c2ecf20Sopenharmony_ci FN_VI0_R0_A, FN_VI1_CLK, FN_ETH_REF_CLK, FN_DU1_DOTCLKIN, 27198c2ecf20Sopenharmony_ci 0, 0, 0, 0, 27208c2ecf20Sopenharmony_ci /* IP9_5_3 [3] */ 27218c2ecf20Sopenharmony_ci FN_VI0_G5, FN_SD2_DAT1_B, FN_VI1_DATA7, FN_DU1_DR7, 27228c2ecf20Sopenharmony_ci 0, FN_HCTS1_B, 0, 0, 27238c2ecf20Sopenharmony_ci /* IP9_2_0 [3] */ 27248c2ecf20Sopenharmony_ci FN_VI0_G4, FN_SD2_DAT0_B, FN_VI1_DATA6, FN_DU1_DR6, 27258c2ecf20Sopenharmony_ci 0, FN_HRTS1_B, 0, 0, 27268c2ecf20Sopenharmony_ci )) 27278c2ecf20Sopenharmony_ci }, 27288c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("IPSR10", 0xfffc0048, 32, 27298c2ecf20Sopenharmony_ci GROUP(1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 4, 27308c2ecf20Sopenharmony_ci 3, 3, 3), 27318c2ecf20Sopenharmony_ci GROUP( 27328c2ecf20Sopenharmony_ci 27338c2ecf20Sopenharmony_ci /* IP10_31 [1] */ 27348c2ecf20Sopenharmony_ci 0, 0, 27358c2ecf20Sopenharmony_ci /* IP10_30 [1] */ 27368c2ecf20Sopenharmony_ci 0, 0, 27378c2ecf20Sopenharmony_ci /* IP10_29 [1] */ 27388c2ecf20Sopenharmony_ci 0, 0, 27398c2ecf20Sopenharmony_ci /* IP10_28 [1] */ 27408c2ecf20Sopenharmony_ci 0, 0, 27418c2ecf20Sopenharmony_ci /* IP10_27 [1] */ 27428c2ecf20Sopenharmony_ci 0, 0, 27438c2ecf20Sopenharmony_ci /* IP10_26 [1] */ 27448c2ecf20Sopenharmony_ci 0, 0, 27458c2ecf20Sopenharmony_ci /* IP10_25 [1] */ 27468c2ecf20Sopenharmony_ci 0, 0, 27478c2ecf20Sopenharmony_ci /* IP10_24_22 [3] */ 27488c2ecf20Sopenharmony_ci FN_SD2_WP_A, FN_VI1_DATA15, FN_EX_WAIT2_B, FN_DACK0_B, 27498c2ecf20Sopenharmony_ci FN_HSPI_TX2_B, FN_CAN_CLK_C, 0, 0, 27508c2ecf20Sopenharmony_ci /* IP10_21_19 [3] */ 27518c2ecf20Sopenharmony_ci FN_SD2_CD_A, FN_VI1_DATA14, FN_EX_WAIT1_B, FN_DREQ0_B, 27528c2ecf20Sopenharmony_ci FN_HSPI_RX2_B, FN_REMOCON_A, 0, 0, 27538c2ecf20Sopenharmony_ci /* IP10_18_16 [3] */ 27548c2ecf20Sopenharmony_ci FN_SD2_DAT3_A, FN_VI1_DATA13, FN_DACK2_B, FN_ATAG1, 27558c2ecf20Sopenharmony_ci FN_HSPI_CS2_B, FN_GPSIN_B, 0, 0, 27568c2ecf20Sopenharmony_ci /* IP10_15_13 [3] */ 27578c2ecf20Sopenharmony_ci FN_SD2_DAT2_A, FN_VI1_DATA12, FN_DREQ2_B, FN_ATADIR1, 27588c2ecf20Sopenharmony_ci FN_HSPI_CLK2_B, FN_GPSCLK_B, 0, 0, 27598c2ecf20Sopenharmony_ci /* IP10_12_9 [4] */ 27608c2ecf20Sopenharmony_ci FN_SD2_DAT1_A, FN_DU1_CDE, FN_ATACS11, FN_DACK1_B, 27618c2ecf20Sopenharmony_ci FN_ETH_MAGIC, FN_CAN1_TX_A, 0, FN_PWM6, 27628c2ecf20Sopenharmony_ci 0, 0, 0, 0, 27638c2ecf20Sopenharmony_ci 0, 0, 0, 0, 27648c2ecf20Sopenharmony_ci /* IP10_8_6 [3] */ 27658c2ecf20Sopenharmony_ci FN_SD2_DAT0_A, FN_DU1_DISP, FN_ATACS01, FN_DREQ1_B, 27668c2ecf20Sopenharmony_ci FN_ETH_LINK, FN_CAN1_RX_A, 0, 0, 27678c2ecf20Sopenharmony_ci /* IP10_5_3 [3] */ 27688c2ecf20Sopenharmony_ci FN_SD2_CMD_A, FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, 27698c2ecf20Sopenharmony_ci FN_ATAWR1, FN_ETH_MDIO, 27708c2ecf20Sopenharmony_ci FN_SCL1_B, 0, 27718c2ecf20Sopenharmony_ci 0, 0, 27728c2ecf20Sopenharmony_ci /* IP10_2_0 [3] */ 27738c2ecf20Sopenharmony_ci FN_SD2_CLK_A, FN_DU1_EXVSYNC_DU1_VSYNC, 27748c2ecf20Sopenharmony_ci FN_ATARD1, FN_ETH_MDC, 27758c2ecf20Sopenharmony_ci FN_SDA1_B, 0, 27768c2ecf20Sopenharmony_ci 0, 0, 27778c2ecf20Sopenharmony_ci )) 27788c2ecf20Sopenharmony_ci }, 27798c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("MOD_SEL0", 0xfffc0050, 32, 27808c2ecf20Sopenharmony_ci GROUP(1, 1, 2, 2, 3, 2, 2, 1, 1, 1, 1, 2, 27818c2ecf20Sopenharmony_ci 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1), 27828c2ecf20Sopenharmony_ci GROUP( 27838c2ecf20Sopenharmony_ci 27848c2ecf20Sopenharmony_ci /* SEL 31 [1] */ 27858c2ecf20Sopenharmony_ci 0, 0, 27868c2ecf20Sopenharmony_ci /* SEL_30 (SCIF5) [1] */ 27878c2ecf20Sopenharmony_ci FN_SEL_SCIF5_A, FN_SEL_SCIF5_B, 27888c2ecf20Sopenharmony_ci /* SEL_29_28 (SCIF4) [2] */ 27898c2ecf20Sopenharmony_ci FN_SEL_SCIF4_A, FN_SEL_SCIF4_B, 27908c2ecf20Sopenharmony_ci FN_SEL_SCIF4_C, 0, 27918c2ecf20Sopenharmony_ci /* SEL_27_26 (SCIF3) [2] */ 27928c2ecf20Sopenharmony_ci FN_SEL_SCIF3_A, FN_SEL_SCIF3_B, 27938c2ecf20Sopenharmony_ci FN_SEL_SCIF3_C, FN_SEL_SCIF3_D, 27948c2ecf20Sopenharmony_ci /* SEL_25_23 (SCIF2) [3] */ 27958c2ecf20Sopenharmony_ci FN_SEL_SCIF2_A, FN_SEL_SCIF2_B, 27968c2ecf20Sopenharmony_ci FN_SEL_SCIF2_C, FN_SEL_SCIF2_D, 27978c2ecf20Sopenharmony_ci FN_SEL_SCIF2_E, 0, 27988c2ecf20Sopenharmony_ci 0, 0, 27998c2ecf20Sopenharmony_ci /* SEL_22_21 (SCIF1) [2] */ 28008c2ecf20Sopenharmony_ci FN_SEL_SCIF1_A, FN_SEL_SCIF1_B, 28018c2ecf20Sopenharmony_ci FN_SEL_SCIF1_C, FN_SEL_SCIF1_D, 28028c2ecf20Sopenharmony_ci /* SEL_20_19 (SCIF0) [2] */ 28038c2ecf20Sopenharmony_ci FN_SEL_SCIF0_A, FN_SEL_SCIF0_B, 28048c2ecf20Sopenharmony_ci FN_SEL_SCIF0_C, FN_SEL_SCIF0_D, 28058c2ecf20Sopenharmony_ci /* SEL_18 [1] */ 28068c2ecf20Sopenharmony_ci 0, 0, 28078c2ecf20Sopenharmony_ci /* SEL_17 (SSI2) [1] */ 28088c2ecf20Sopenharmony_ci FN_SEL_SSI2_A, FN_SEL_SSI2_B, 28098c2ecf20Sopenharmony_ci /* SEL_16 (SSI1) [1] */ 28108c2ecf20Sopenharmony_ci FN_SEL_SSI1_A, FN_SEL_SSI1_B, 28118c2ecf20Sopenharmony_ci /* SEL_15 (VI1) [1] */ 28128c2ecf20Sopenharmony_ci FN_SEL_VI1_A, FN_SEL_VI1_B, 28138c2ecf20Sopenharmony_ci /* SEL_14_13 (VI0) [2] */ 28148c2ecf20Sopenharmony_ci FN_SEL_VI0_A, FN_SEL_VI0_B, 28158c2ecf20Sopenharmony_ci FN_SEL_VI0_C, FN_SEL_VI0_D, 28168c2ecf20Sopenharmony_ci /* SEL_12 [1] */ 28178c2ecf20Sopenharmony_ci 0, 0, 28188c2ecf20Sopenharmony_ci /* SEL_11 (SD2) [1] */ 28198c2ecf20Sopenharmony_ci FN_SEL_SD2_A, FN_SEL_SD2_B, 28208c2ecf20Sopenharmony_ci /* SEL_10 (SD1) [1] */ 28218c2ecf20Sopenharmony_ci FN_SEL_SD1_A, FN_SEL_SD1_B, 28228c2ecf20Sopenharmony_ci /* SEL_9 (IRQ3) [1] */ 28238c2ecf20Sopenharmony_ci FN_SEL_IRQ3_A, FN_SEL_IRQ3_B, 28248c2ecf20Sopenharmony_ci /* SEL_8_7 (IRQ2) [2] */ 28258c2ecf20Sopenharmony_ci FN_SEL_IRQ2_A, FN_SEL_IRQ2_B, 28268c2ecf20Sopenharmony_ci FN_SEL_IRQ2_C, 0, 28278c2ecf20Sopenharmony_ci /* SEL_6 (IRQ1) [1] */ 28288c2ecf20Sopenharmony_ci FN_SEL_IRQ1_A, FN_SEL_IRQ1_B, 28298c2ecf20Sopenharmony_ci /* SEL_5 [1] */ 28308c2ecf20Sopenharmony_ci 0, 0, 28318c2ecf20Sopenharmony_ci /* SEL_4 (DREQ2) [1] */ 28328c2ecf20Sopenharmony_ci FN_SEL_DREQ2_A, FN_SEL_DREQ2_B, 28338c2ecf20Sopenharmony_ci /* SEL_3 (DREQ1) [1] */ 28348c2ecf20Sopenharmony_ci FN_SEL_DREQ1_A, FN_SEL_DREQ1_B, 28358c2ecf20Sopenharmony_ci /* SEL_2 (DREQ0) [1] */ 28368c2ecf20Sopenharmony_ci FN_SEL_DREQ0_A, FN_SEL_DREQ0_B, 28378c2ecf20Sopenharmony_ci /* SEL_1 (WAIT2) [1] */ 28388c2ecf20Sopenharmony_ci FN_SEL_WAIT2_A, FN_SEL_WAIT2_B, 28398c2ecf20Sopenharmony_ci /* SEL_0 (WAIT1) [1] */ 28408c2ecf20Sopenharmony_ci FN_SEL_WAIT1_A, FN_SEL_WAIT1_B, 28418c2ecf20Sopenharmony_ci )) 28428c2ecf20Sopenharmony_ci }, 28438c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("MOD_SEL1", 0xfffc0054, 32, 28448c2ecf20Sopenharmony_ci GROUP(1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 28458c2ecf20Sopenharmony_ci 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 2, 2, 1), 28468c2ecf20Sopenharmony_ci GROUP( 28478c2ecf20Sopenharmony_ci 28488c2ecf20Sopenharmony_ci /* SEL_31 [1] */ 28498c2ecf20Sopenharmony_ci 0, 0, 28508c2ecf20Sopenharmony_ci /* SEL_30 [1] */ 28518c2ecf20Sopenharmony_ci 0, 0, 28528c2ecf20Sopenharmony_ci /* SEL_29 [1] */ 28538c2ecf20Sopenharmony_ci 0, 0, 28548c2ecf20Sopenharmony_ci /* SEL_28 [1] */ 28558c2ecf20Sopenharmony_ci 0, 0, 28568c2ecf20Sopenharmony_ci /* SEL_27 (CAN1) [1] */ 28578c2ecf20Sopenharmony_ci FN_SEL_CAN1_A, FN_SEL_CAN1_B, 28588c2ecf20Sopenharmony_ci /* SEL_26 (CAN0) [1] */ 28598c2ecf20Sopenharmony_ci FN_SEL_CAN0_A, FN_SEL_CAN0_B, 28608c2ecf20Sopenharmony_ci /* SEL_25_24 (CANCLK) [2] */ 28618c2ecf20Sopenharmony_ci FN_SEL_CANCLK_A, FN_SEL_CANCLK_B, 28628c2ecf20Sopenharmony_ci FN_SEL_CANCLK_C, FN_SEL_CANCLK_D, 28638c2ecf20Sopenharmony_ci /* SEL_23 (HSCIF1) [1] */ 28648c2ecf20Sopenharmony_ci FN_SEL_HSCIF1_A, FN_SEL_HSCIF1_B, 28658c2ecf20Sopenharmony_ci /* SEL_22 (HSCIF0) [1] */ 28668c2ecf20Sopenharmony_ci FN_SEL_HSCIF0_A, FN_SEL_HSCIF0_B, 28678c2ecf20Sopenharmony_ci /* SEL_21 [1] */ 28688c2ecf20Sopenharmony_ci 0, 0, 28698c2ecf20Sopenharmony_ci /* SEL_20 [1] */ 28708c2ecf20Sopenharmony_ci 0, 0, 28718c2ecf20Sopenharmony_ci /* SEL_19 [1] */ 28728c2ecf20Sopenharmony_ci 0, 0, 28738c2ecf20Sopenharmony_ci /* SEL_18 [1] */ 28748c2ecf20Sopenharmony_ci 0, 0, 28758c2ecf20Sopenharmony_ci /* SEL_17 [1] */ 28768c2ecf20Sopenharmony_ci 0, 0, 28778c2ecf20Sopenharmony_ci /* SEL_16 [1] */ 28788c2ecf20Sopenharmony_ci 0, 0, 28798c2ecf20Sopenharmony_ci /* SEL_15 [1] */ 28808c2ecf20Sopenharmony_ci 0, 0, 28818c2ecf20Sopenharmony_ci /* SEL_14_13 (REMOCON) [2] */ 28828c2ecf20Sopenharmony_ci FN_SEL_REMOCON_A, FN_SEL_REMOCON_B, 28838c2ecf20Sopenharmony_ci FN_SEL_REMOCON_C, 0, 28848c2ecf20Sopenharmony_ci /* SEL_12_11 (FM) [2] */ 28858c2ecf20Sopenharmony_ci FN_SEL_FM_A, FN_SEL_FM_B, 28868c2ecf20Sopenharmony_ci FN_SEL_FM_C, FN_SEL_FM_D, 28878c2ecf20Sopenharmony_ci /* SEL_10_9 (GPS) [2] */ 28888c2ecf20Sopenharmony_ci FN_SEL_GPS_A, FN_SEL_GPS_B, 28898c2ecf20Sopenharmony_ci FN_SEL_GPS_C, 0, 28908c2ecf20Sopenharmony_ci /* SEL_8 (TSIF0) [1] */ 28918c2ecf20Sopenharmony_ci FN_SEL_TSIF0_A, FN_SEL_TSIF0_B, 28928c2ecf20Sopenharmony_ci /* SEL_7 (HSPI2) [1] */ 28938c2ecf20Sopenharmony_ci FN_SEL_HSPI2_A, FN_SEL_HSPI2_B, 28948c2ecf20Sopenharmony_ci /* SEL_6 (HSPI1) [1] */ 28958c2ecf20Sopenharmony_ci FN_SEL_HSPI1_A, FN_SEL_HSPI1_B, 28968c2ecf20Sopenharmony_ci /* SEL_5 (HSPI0) [1] */ 28978c2ecf20Sopenharmony_ci FN_SEL_HSPI0_A, FN_SEL_HSPI0_B, 28988c2ecf20Sopenharmony_ci /* SEL_4_3 (I2C3) [2] */ 28998c2ecf20Sopenharmony_ci FN_SEL_I2C3_A, FN_SEL_I2C3_B, 29008c2ecf20Sopenharmony_ci FN_SEL_I2C3_C, 0, 29018c2ecf20Sopenharmony_ci /* SEL_2_1 (I2C2) [2] */ 29028c2ecf20Sopenharmony_ci FN_SEL_I2C2_A, FN_SEL_I2C2_B, 29038c2ecf20Sopenharmony_ci FN_SEL_I2C2_C, 0, 29048c2ecf20Sopenharmony_ci /* SEL_0 (I2C1) [1] */ 29058c2ecf20Sopenharmony_ci FN_SEL_I2C1_A, FN_SEL_I2C1_B, 29068c2ecf20Sopenharmony_ci )) 29078c2ecf20Sopenharmony_ci }, 29088c2ecf20Sopenharmony_ci { }, 29098c2ecf20Sopenharmony_ci}; 29108c2ecf20Sopenharmony_ci 29118c2ecf20Sopenharmony_cistatic const struct pinmux_bias_reg pinmux_bias_regs[] = { 29128c2ecf20Sopenharmony_ci { PINMUX_BIAS_REG("PUPR0", 0x100, "N/A", 0) { 29138c2ecf20Sopenharmony_ci [ 0] = RCAR_GP_PIN(0, 6), /* A0 */ 29148c2ecf20Sopenharmony_ci [ 1] = RCAR_GP_PIN(0, 7), /* A1 */ 29158c2ecf20Sopenharmony_ci [ 2] = RCAR_GP_PIN(0, 8), /* A2 */ 29168c2ecf20Sopenharmony_ci [ 3] = RCAR_GP_PIN(0, 9), /* A3 */ 29178c2ecf20Sopenharmony_ci [ 4] = RCAR_GP_PIN(0, 10), /* A4 */ 29188c2ecf20Sopenharmony_ci [ 5] = RCAR_GP_PIN(0, 11), /* A5 */ 29198c2ecf20Sopenharmony_ci [ 6] = RCAR_GP_PIN(0, 12), /* A6 */ 29208c2ecf20Sopenharmony_ci [ 7] = RCAR_GP_PIN(0, 13), /* A7 */ 29218c2ecf20Sopenharmony_ci [ 8] = RCAR_GP_PIN(0, 14), /* A8 */ 29228c2ecf20Sopenharmony_ci [ 9] = RCAR_GP_PIN(0, 15), /* A9 */ 29238c2ecf20Sopenharmony_ci [10] = RCAR_GP_PIN(0, 16), /* A10 */ 29248c2ecf20Sopenharmony_ci [11] = RCAR_GP_PIN(0, 17), /* A11 */ 29258c2ecf20Sopenharmony_ci [12] = RCAR_GP_PIN(0, 18), /* A12 */ 29268c2ecf20Sopenharmony_ci [13] = RCAR_GP_PIN(0, 19), /* A13 */ 29278c2ecf20Sopenharmony_ci [14] = RCAR_GP_PIN(0, 20), /* A14 */ 29288c2ecf20Sopenharmony_ci [15] = RCAR_GP_PIN(0, 21), /* A15 */ 29298c2ecf20Sopenharmony_ci [16] = RCAR_GP_PIN(0, 22), /* A16 */ 29308c2ecf20Sopenharmony_ci [17] = RCAR_GP_PIN(0, 23), /* A17 */ 29318c2ecf20Sopenharmony_ci [18] = RCAR_GP_PIN(0, 24), /* A18 */ 29328c2ecf20Sopenharmony_ci [19] = RCAR_GP_PIN(0, 25), /* A19 */ 29338c2ecf20Sopenharmony_ci [20] = RCAR_GP_PIN(0, 26), /* A20 */ 29348c2ecf20Sopenharmony_ci [21] = RCAR_GP_PIN(0, 27), /* A21 */ 29358c2ecf20Sopenharmony_ci [22] = RCAR_GP_PIN(0, 28), /* A22 */ 29368c2ecf20Sopenharmony_ci [23] = RCAR_GP_PIN(0, 29), /* A23 */ 29378c2ecf20Sopenharmony_ci [24] = RCAR_GP_PIN(0, 30), /* A24 */ 29388c2ecf20Sopenharmony_ci [25] = RCAR_GP_PIN(0, 31), /* A25 */ 29398c2ecf20Sopenharmony_ci [26] = RCAR_GP_PIN(1, 3), /* /EX_CS0 */ 29408c2ecf20Sopenharmony_ci [27] = RCAR_GP_PIN(1, 4), /* /EX_CS1 */ 29418c2ecf20Sopenharmony_ci [28] = RCAR_GP_PIN(1, 5), /* /EX_CS2 */ 29428c2ecf20Sopenharmony_ci [29] = RCAR_GP_PIN(1, 6), /* /EX_CS3 */ 29438c2ecf20Sopenharmony_ci [30] = RCAR_GP_PIN(1, 7), /* /EX_CS4 */ 29448c2ecf20Sopenharmony_ci [31] = RCAR_GP_PIN(1, 8), /* /EX_CS5 */ 29458c2ecf20Sopenharmony_ci } }, 29468c2ecf20Sopenharmony_ci { PINMUX_BIAS_REG("PUPR1", 0x104, "N/A", 0) { 29478c2ecf20Sopenharmony_ci [ 0] = RCAR_GP_PIN(0, 0), /* /PRESETOUT */ 29488c2ecf20Sopenharmony_ci [ 1] = RCAR_GP_PIN(0, 5), /* /BS */ 29498c2ecf20Sopenharmony_ci [ 2] = RCAR_GP_PIN(1, 0), /* RD//WR */ 29508c2ecf20Sopenharmony_ci [ 3] = RCAR_GP_PIN(1, 1), /* /WE0 */ 29518c2ecf20Sopenharmony_ci [ 4] = RCAR_GP_PIN(1, 2), /* /WE1 */ 29528c2ecf20Sopenharmony_ci [ 5] = RCAR_GP_PIN(1, 11), /* EX_WAIT0 */ 29538c2ecf20Sopenharmony_ci [ 6] = RCAR_GP_PIN(1, 9), /* DREQ0 */ 29548c2ecf20Sopenharmony_ci [ 7] = RCAR_GP_PIN(1, 10), /* DACK0 */ 29558c2ecf20Sopenharmony_ci [ 8] = RCAR_GP_PIN(1, 12), /* IRQ0 */ 29568c2ecf20Sopenharmony_ci [ 9] = RCAR_GP_PIN(1, 13), /* IRQ1 */ 29578c2ecf20Sopenharmony_ci [10] = SH_PFC_PIN_NONE, 29588c2ecf20Sopenharmony_ci [11] = SH_PFC_PIN_NONE, 29598c2ecf20Sopenharmony_ci [12] = SH_PFC_PIN_NONE, 29608c2ecf20Sopenharmony_ci [13] = SH_PFC_PIN_NONE, 29618c2ecf20Sopenharmony_ci [14] = SH_PFC_PIN_NONE, 29628c2ecf20Sopenharmony_ci [15] = SH_PFC_PIN_NONE, 29638c2ecf20Sopenharmony_ci [16] = SH_PFC_PIN_NONE, 29648c2ecf20Sopenharmony_ci [17] = SH_PFC_PIN_NONE, 29658c2ecf20Sopenharmony_ci [18] = SH_PFC_PIN_NONE, 29668c2ecf20Sopenharmony_ci [19] = SH_PFC_PIN_NONE, 29678c2ecf20Sopenharmony_ci [20] = SH_PFC_PIN_NONE, 29688c2ecf20Sopenharmony_ci [21] = SH_PFC_PIN_NONE, 29698c2ecf20Sopenharmony_ci [22] = SH_PFC_PIN_NONE, 29708c2ecf20Sopenharmony_ci [23] = SH_PFC_PIN_NONE, 29718c2ecf20Sopenharmony_ci [24] = SH_PFC_PIN_NONE, 29728c2ecf20Sopenharmony_ci [25] = SH_PFC_PIN_NONE, 29738c2ecf20Sopenharmony_ci [26] = SH_PFC_PIN_NONE, 29748c2ecf20Sopenharmony_ci [27] = SH_PFC_PIN_NONE, 29758c2ecf20Sopenharmony_ci [28] = SH_PFC_PIN_NONE, 29768c2ecf20Sopenharmony_ci [29] = SH_PFC_PIN_NONE, 29778c2ecf20Sopenharmony_ci [30] = SH_PFC_PIN_NONE, 29788c2ecf20Sopenharmony_ci [31] = SH_PFC_PIN_NONE, 29798c2ecf20Sopenharmony_ci } }, 29808c2ecf20Sopenharmony_ci { PINMUX_BIAS_REG("PUPR2", 0x108, "N/A", 0) { 29818c2ecf20Sopenharmony_ci [ 0] = RCAR_GP_PIN(1, 22), /* DU0_DR0 */ 29828c2ecf20Sopenharmony_ci [ 1] = RCAR_GP_PIN(1, 23), /* DU0_DR1 */ 29838c2ecf20Sopenharmony_ci [ 2] = RCAR_GP_PIN(1, 24), /* DU0_DR2 */ 29848c2ecf20Sopenharmony_ci [ 3] = RCAR_GP_PIN(1, 25), /* DU0_DR3 */ 29858c2ecf20Sopenharmony_ci [ 4] = RCAR_GP_PIN(1, 26), /* DU0_DR4 */ 29868c2ecf20Sopenharmony_ci [ 5] = RCAR_GP_PIN(1, 27), /* DU0_DR5 */ 29878c2ecf20Sopenharmony_ci [ 6] = RCAR_GP_PIN(1, 28), /* DU0_DR6 */ 29888c2ecf20Sopenharmony_ci [ 7] = RCAR_GP_PIN(1, 29), /* DU0_DR7 */ 29898c2ecf20Sopenharmony_ci [ 8] = RCAR_GP_PIN(1, 30), /* DU0_DG0 */ 29908c2ecf20Sopenharmony_ci [ 9] = RCAR_GP_PIN(1, 31), /* DU0_DG1 */ 29918c2ecf20Sopenharmony_ci [10] = RCAR_GP_PIN(2, 0), /* DU0_DG2 */ 29928c2ecf20Sopenharmony_ci [11] = RCAR_GP_PIN(2, 1), /* DU0_DG3 */ 29938c2ecf20Sopenharmony_ci [12] = RCAR_GP_PIN(2, 2), /* DU0_DG4 */ 29948c2ecf20Sopenharmony_ci [13] = RCAR_GP_PIN(2, 3), /* DU0_DG5 */ 29958c2ecf20Sopenharmony_ci [14] = RCAR_GP_PIN(2, 4), /* DU0_DG6 */ 29968c2ecf20Sopenharmony_ci [15] = RCAR_GP_PIN(2, 5), /* DU0_DG7 */ 29978c2ecf20Sopenharmony_ci [16] = RCAR_GP_PIN(2, 6), /* DU0_DB0 */ 29988c2ecf20Sopenharmony_ci [17] = RCAR_GP_PIN(2, 7), /* DU0_DB1 */ 29998c2ecf20Sopenharmony_ci [18] = RCAR_GP_PIN(2, 8), /* DU0_DB2 */ 30008c2ecf20Sopenharmony_ci [19] = RCAR_GP_PIN(2, 9), /* DU0_DB3 */ 30018c2ecf20Sopenharmony_ci [20] = RCAR_GP_PIN(2, 10), /* DU0_DB4 */ 30028c2ecf20Sopenharmony_ci [21] = RCAR_GP_PIN(2, 11), /* DU0_DB5 */ 30038c2ecf20Sopenharmony_ci [22] = RCAR_GP_PIN(2, 12), /* DU0_DB6 */ 30048c2ecf20Sopenharmony_ci [23] = RCAR_GP_PIN(2, 13), /* DU0_DB7 */ 30058c2ecf20Sopenharmony_ci [24] = RCAR_GP_PIN(2, 14), /* DU0_DOTCLKIN */ 30068c2ecf20Sopenharmony_ci [25] = RCAR_GP_PIN(2, 15), /* DU0_DOTCLKOUT0 */ 30078c2ecf20Sopenharmony_ci [26] = RCAR_GP_PIN(2, 17), /* DU0_HSYNC */ 30088c2ecf20Sopenharmony_ci [27] = RCAR_GP_PIN(2, 18), /* DU0_VSYNC */ 30098c2ecf20Sopenharmony_ci [28] = RCAR_GP_PIN(2, 19), /* DU0_EXODDF */ 30108c2ecf20Sopenharmony_ci [29] = RCAR_GP_PIN(2, 20), /* DU0_DISP */ 30118c2ecf20Sopenharmony_ci [30] = RCAR_GP_PIN(2, 21), /* DU0_CDE */ 30128c2ecf20Sopenharmony_ci [31] = RCAR_GP_PIN(2, 16), /* DU0_DOTCLKOUT1 */ 30138c2ecf20Sopenharmony_ci } }, 30148c2ecf20Sopenharmony_ci { PINMUX_BIAS_REG("PUPR3", 0x10c, "N/A", 0) { 30158c2ecf20Sopenharmony_ci [ 0] = RCAR_GP_PIN(3, 24), /* VI0_CLK */ 30168c2ecf20Sopenharmony_ci [ 1] = RCAR_GP_PIN(3, 25), /* VI0_CLKENB */ 30178c2ecf20Sopenharmony_ci [ 2] = RCAR_GP_PIN(3, 26), /* VI0_FIELD */ 30188c2ecf20Sopenharmony_ci [ 3] = RCAR_GP_PIN(3, 27), /* /VI0_HSYNC */ 30198c2ecf20Sopenharmony_ci [ 4] = RCAR_GP_PIN(3, 28), /* /VI0_VSYNC */ 30208c2ecf20Sopenharmony_ci [ 5] = RCAR_GP_PIN(3, 29), /* VI0_DATA0 */ 30218c2ecf20Sopenharmony_ci [ 6] = RCAR_GP_PIN(3, 30), /* VI0_DATA1 */ 30228c2ecf20Sopenharmony_ci [ 7] = RCAR_GP_PIN(3, 31), /* VI0_DATA2 */ 30238c2ecf20Sopenharmony_ci [ 8] = RCAR_GP_PIN(4, 0), /* VI0_DATA3 */ 30248c2ecf20Sopenharmony_ci [ 9] = RCAR_GP_PIN(4, 1), /* VI0_DATA4 */ 30258c2ecf20Sopenharmony_ci [10] = RCAR_GP_PIN(4, 2), /* VI0_DATA5 */ 30268c2ecf20Sopenharmony_ci [11] = RCAR_GP_PIN(4, 3), /* VI0_DATA6 */ 30278c2ecf20Sopenharmony_ci [12] = RCAR_GP_PIN(4, 4), /* VI0_DATA7 */ 30288c2ecf20Sopenharmony_ci [13] = RCAR_GP_PIN(4, 5), /* VI0_G2 */ 30298c2ecf20Sopenharmony_ci [14] = RCAR_GP_PIN(4, 6), /* VI0_G3 */ 30308c2ecf20Sopenharmony_ci [15] = RCAR_GP_PIN(4, 7), /* VI0_G4 */ 30318c2ecf20Sopenharmony_ci [16] = RCAR_GP_PIN(4, 8), /* VI0_G5 */ 30328c2ecf20Sopenharmony_ci [17] = RCAR_GP_PIN(4, 21), /* VI1_DATA12 */ 30338c2ecf20Sopenharmony_ci [18] = RCAR_GP_PIN(4, 22), /* VI1_DATA13 */ 30348c2ecf20Sopenharmony_ci [19] = RCAR_GP_PIN(4, 23), /* VI1_DATA14 */ 30358c2ecf20Sopenharmony_ci [20] = RCAR_GP_PIN(4, 24), /* VI1_DATA15 */ 30368c2ecf20Sopenharmony_ci [21] = RCAR_GP_PIN(4, 9), /* ETH_REF_CLK */ 30378c2ecf20Sopenharmony_ci [22] = RCAR_GP_PIN(4, 10), /* ETH_TXD0 */ 30388c2ecf20Sopenharmony_ci [23] = RCAR_GP_PIN(4, 11), /* ETH_TXD1 */ 30398c2ecf20Sopenharmony_ci [24] = RCAR_GP_PIN(4, 12), /* ETH_CRS_DV */ 30408c2ecf20Sopenharmony_ci [25] = RCAR_GP_PIN(4, 13), /* ETH_TX_EN */ 30418c2ecf20Sopenharmony_ci [26] = RCAR_GP_PIN(4, 14), /* ETH_RX_ER */ 30428c2ecf20Sopenharmony_ci [27] = RCAR_GP_PIN(4, 15), /* ETH_RXD0 */ 30438c2ecf20Sopenharmony_ci [28] = RCAR_GP_PIN(4, 16), /* ETH_RXD1 */ 30448c2ecf20Sopenharmony_ci [29] = RCAR_GP_PIN(4, 17), /* ETH_MDC */ 30458c2ecf20Sopenharmony_ci [30] = RCAR_GP_PIN(4, 18), /* ETH_MDIO */ 30468c2ecf20Sopenharmony_ci [31] = RCAR_GP_PIN(4, 19), /* ETH_LINK */ 30478c2ecf20Sopenharmony_ci } }, 30488c2ecf20Sopenharmony_ci { PINMUX_BIAS_REG("PUPR4", 0x110, "N/A", 0) { 30498c2ecf20Sopenharmony_ci [ 0] = RCAR_GP_PIN(3, 6), /* SSI_SCK012 */ 30508c2ecf20Sopenharmony_ci [ 1] = RCAR_GP_PIN(3, 7), /* SSI_WS012 */ 30518c2ecf20Sopenharmony_ci [ 2] = RCAR_GP_PIN(3, 10), /* SSI_SDATA0 */ 30528c2ecf20Sopenharmony_ci [ 3] = RCAR_GP_PIN(3, 9), /* SSI_SDATA1 */ 30538c2ecf20Sopenharmony_ci [ 4] = RCAR_GP_PIN(3, 8), /* SSI_SDATA2 */ 30548c2ecf20Sopenharmony_ci [ 5] = RCAR_GP_PIN(3, 2), /* SSI_SCK34 */ 30558c2ecf20Sopenharmony_ci [ 6] = RCAR_GP_PIN(3, 3), /* SSI_WS34 */ 30568c2ecf20Sopenharmony_ci [ 7] = RCAR_GP_PIN(3, 5), /* SSI_SDATA3 */ 30578c2ecf20Sopenharmony_ci [ 8] = RCAR_GP_PIN(3, 4), /* SSI_SDATA4 */ 30588c2ecf20Sopenharmony_ci [ 9] = RCAR_GP_PIN(2, 31), /* SSI_SCK5 */ 30598c2ecf20Sopenharmony_ci [10] = RCAR_GP_PIN(3, 0), /* SSI_WS5 */ 30608c2ecf20Sopenharmony_ci [11] = RCAR_GP_PIN(3, 1), /* SSI_SDATA5 */ 30618c2ecf20Sopenharmony_ci [12] = RCAR_GP_PIN(2, 28), /* SSI_SCK6 */ 30628c2ecf20Sopenharmony_ci [13] = RCAR_GP_PIN(2, 29), /* SSI_WS6 */ 30638c2ecf20Sopenharmony_ci [14] = RCAR_GP_PIN(2, 30), /* SSI_SDATA6 */ 30648c2ecf20Sopenharmony_ci [15] = RCAR_GP_PIN(2, 24), /* SSI_SCK78 */ 30658c2ecf20Sopenharmony_ci [16] = RCAR_GP_PIN(2, 25), /* SSI_WS78 */ 30668c2ecf20Sopenharmony_ci [17] = RCAR_GP_PIN(2, 27), /* SSI_SDATA7 */ 30678c2ecf20Sopenharmony_ci [18] = RCAR_GP_PIN(2, 26), /* SSI_SDATA8 */ 30688c2ecf20Sopenharmony_ci [19] = RCAR_GP_PIN(3, 23), /* TCLK0 */ 30698c2ecf20Sopenharmony_ci [20] = RCAR_GP_PIN(3, 11), /* SD0_CLK */ 30708c2ecf20Sopenharmony_ci [21] = RCAR_GP_PIN(3, 12), /* SD0_CMD */ 30718c2ecf20Sopenharmony_ci [22] = RCAR_GP_PIN(3, 13), /* SD0_DAT0 */ 30728c2ecf20Sopenharmony_ci [23] = RCAR_GP_PIN(3, 14), /* SD0_DAT1 */ 30738c2ecf20Sopenharmony_ci [24] = RCAR_GP_PIN(3, 15), /* SD0_DAT2 */ 30748c2ecf20Sopenharmony_ci [25] = RCAR_GP_PIN(3, 16), /* SD0_DAT3 */ 30758c2ecf20Sopenharmony_ci [26] = RCAR_GP_PIN(3, 17), /* SD0_CD */ 30768c2ecf20Sopenharmony_ci [27] = RCAR_GP_PIN(3, 18), /* SD0_WP */ 30778c2ecf20Sopenharmony_ci [28] = RCAR_GP_PIN(2, 22), /* AUDIO_CLKA */ 30788c2ecf20Sopenharmony_ci [29] = RCAR_GP_PIN(2, 23), /* AUDIO_CLKB */ 30798c2ecf20Sopenharmony_ci [30] = RCAR_GP_PIN(1, 14), /* IRQ2 */ 30808c2ecf20Sopenharmony_ci [31] = RCAR_GP_PIN(1, 15), /* IRQ3 */ 30818c2ecf20Sopenharmony_ci } }, 30828c2ecf20Sopenharmony_ci { PINMUX_BIAS_REG("PUPR5", 0x114, "N/A", 0) { 30838c2ecf20Sopenharmony_ci [ 0] = RCAR_GP_PIN(0, 1), /* PENC0 */ 30848c2ecf20Sopenharmony_ci [ 1] = RCAR_GP_PIN(0, 2), /* PENC1 */ 30858c2ecf20Sopenharmony_ci [ 2] = RCAR_GP_PIN(0, 3), /* USB_OVC0 */ 30868c2ecf20Sopenharmony_ci [ 3] = RCAR_GP_PIN(0, 4), /* USB_OVC1 */ 30878c2ecf20Sopenharmony_ci [ 4] = RCAR_GP_PIN(1, 16), /* SCIF_CLK */ 30888c2ecf20Sopenharmony_ci [ 5] = RCAR_GP_PIN(1, 17), /* TX0 */ 30898c2ecf20Sopenharmony_ci [ 6] = RCAR_GP_PIN(1, 18), /* RX0 */ 30908c2ecf20Sopenharmony_ci [ 7] = RCAR_GP_PIN(1, 19), /* SCK0 */ 30918c2ecf20Sopenharmony_ci [ 8] = RCAR_GP_PIN(1, 20), /* /CTS0 */ 30928c2ecf20Sopenharmony_ci [ 9] = RCAR_GP_PIN(1, 21), /* /RTS0 */ 30938c2ecf20Sopenharmony_ci [10] = RCAR_GP_PIN(3, 19), /* HSPI_CLK0 */ 30948c2ecf20Sopenharmony_ci [11] = RCAR_GP_PIN(3, 20), /* /HSPI_CS0 */ 30958c2ecf20Sopenharmony_ci [12] = RCAR_GP_PIN(3, 21), /* HSPI_RX0 */ 30968c2ecf20Sopenharmony_ci [13] = RCAR_GP_PIN(3, 22), /* HSPI_TX0 */ 30978c2ecf20Sopenharmony_ci [14] = RCAR_GP_PIN(4, 20), /* ETH_MAGIC */ 30988c2ecf20Sopenharmony_ci [15] = RCAR_GP_PIN(4, 25), /* AVS1 */ 30998c2ecf20Sopenharmony_ci [16] = RCAR_GP_PIN(4, 26), /* AVS2 */ 31008c2ecf20Sopenharmony_ci [17] = SH_PFC_PIN_NONE, 31018c2ecf20Sopenharmony_ci [18] = SH_PFC_PIN_NONE, 31028c2ecf20Sopenharmony_ci [19] = SH_PFC_PIN_NONE, 31038c2ecf20Sopenharmony_ci [20] = SH_PFC_PIN_NONE, 31048c2ecf20Sopenharmony_ci [21] = SH_PFC_PIN_NONE, 31058c2ecf20Sopenharmony_ci [22] = SH_PFC_PIN_NONE, 31068c2ecf20Sopenharmony_ci [23] = SH_PFC_PIN_NONE, 31078c2ecf20Sopenharmony_ci [24] = SH_PFC_PIN_NONE, 31088c2ecf20Sopenharmony_ci [25] = SH_PFC_PIN_NONE, 31098c2ecf20Sopenharmony_ci [26] = SH_PFC_PIN_NONE, 31108c2ecf20Sopenharmony_ci [27] = SH_PFC_PIN_NONE, 31118c2ecf20Sopenharmony_ci [28] = SH_PFC_PIN_NONE, 31128c2ecf20Sopenharmony_ci [29] = SH_PFC_PIN_NONE, 31138c2ecf20Sopenharmony_ci [30] = SH_PFC_PIN_NONE, 31148c2ecf20Sopenharmony_ci [31] = SH_PFC_PIN_NONE, 31158c2ecf20Sopenharmony_ci } }, 31168c2ecf20Sopenharmony_ci { /* sentinel */ }, 31178c2ecf20Sopenharmony_ci}; 31188c2ecf20Sopenharmony_ci 31198c2ecf20Sopenharmony_cistatic unsigned int r8a7778_pinmux_get_bias(struct sh_pfc *pfc, 31208c2ecf20Sopenharmony_ci unsigned int pin) 31218c2ecf20Sopenharmony_ci{ 31228c2ecf20Sopenharmony_ci const struct pinmux_bias_reg *reg; 31238c2ecf20Sopenharmony_ci void __iomem *addr; 31248c2ecf20Sopenharmony_ci unsigned int bit; 31258c2ecf20Sopenharmony_ci 31268c2ecf20Sopenharmony_ci reg = sh_pfc_pin_to_bias_reg(pfc, pin, &bit); 31278c2ecf20Sopenharmony_ci if (!reg) 31288c2ecf20Sopenharmony_ci return PIN_CONFIG_BIAS_DISABLE; 31298c2ecf20Sopenharmony_ci 31308c2ecf20Sopenharmony_ci addr = pfc->windows->virt + reg->puen; 31318c2ecf20Sopenharmony_ci 31328c2ecf20Sopenharmony_ci if (ioread32(addr) & BIT(bit)) 31338c2ecf20Sopenharmony_ci return PIN_CONFIG_BIAS_PULL_UP; 31348c2ecf20Sopenharmony_ci else 31358c2ecf20Sopenharmony_ci return PIN_CONFIG_BIAS_DISABLE; 31368c2ecf20Sopenharmony_ci} 31378c2ecf20Sopenharmony_ci 31388c2ecf20Sopenharmony_cistatic void r8a7778_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, 31398c2ecf20Sopenharmony_ci unsigned int bias) 31408c2ecf20Sopenharmony_ci{ 31418c2ecf20Sopenharmony_ci const struct pinmux_bias_reg *reg; 31428c2ecf20Sopenharmony_ci void __iomem *addr; 31438c2ecf20Sopenharmony_ci unsigned int bit; 31448c2ecf20Sopenharmony_ci u32 value; 31458c2ecf20Sopenharmony_ci 31468c2ecf20Sopenharmony_ci reg = sh_pfc_pin_to_bias_reg(pfc, pin, &bit); 31478c2ecf20Sopenharmony_ci if (!reg) 31488c2ecf20Sopenharmony_ci return; 31498c2ecf20Sopenharmony_ci 31508c2ecf20Sopenharmony_ci addr = pfc->windows->virt + reg->puen; 31518c2ecf20Sopenharmony_ci 31528c2ecf20Sopenharmony_ci value = ioread32(addr) & ~BIT(bit); 31538c2ecf20Sopenharmony_ci if (bias == PIN_CONFIG_BIAS_PULL_UP) 31548c2ecf20Sopenharmony_ci value |= BIT(bit); 31558c2ecf20Sopenharmony_ci iowrite32(value, addr); 31568c2ecf20Sopenharmony_ci} 31578c2ecf20Sopenharmony_ci 31588c2ecf20Sopenharmony_cistatic const struct sh_pfc_soc_operations r8a7778_pfc_ops = { 31598c2ecf20Sopenharmony_ci .get_bias = r8a7778_pinmux_get_bias, 31608c2ecf20Sopenharmony_ci .set_bias = r8a7778_pinmux_set_bias, 31618c2ecf20Sopenharmony_ci}; 31628c2ecf20Sopenharmony_ci 31638c2ecf20Sopenharmony_ciconst struct sh_pfc_soc_info r8a7778_pinmux_info = { 31648c2ecf20Sopenharmony_ci .name = "r8a7778_pfc", 31658c2ecf20Sopenharmony_ci .ops = &r8a7778_pfc_ops, 31668c2ecf20Sopenharmony_ci 31678c2ecf20Sopenharmony_ci .unlock_reg = 0xfffc0000, /* PMMR */ 31688c2ecf20Sopenharmony_ci 31698c2ecf20Sopenharmony_ci .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END }, 31708c2ecf20Sopenharmony_ci 31718c2ecf20Sopenharmony_ci .pins = pinmux_pins, 31728c2ecf20Sopenharmony_ci .nr_pins = ARRAY_SIZE(pinmux_pins), 31738c2ecf20Sopenharmony_ci 31748c2ecf20Sopenharmony_ci .groups = pinmux_groups, 31758c2ecf20Sopenharmony_ci .nr_groups = ARRAY_SIZE(pinmux_groups), 31768c2ecf20Sopenharmony_ci 31778c2ecf20Sopenharmony_ci .functions = pinmux_functions, 31788c2ecf20Sopenharmony_ci .nr_functions = ARRAY_SIZE(pinmux_functions), 31798c2ecf20Sopenharmony_ci 31808c2ecf20Sopenharmony_ci .cfg_regs = pinmux_config_regs, 31818c2ecf20Sopenharmony_ci .bias_regs = pinmux_bias_regs, 31828c2ecf20Sopenharmony_ci 31838c2ecf20Sopenharmony_ci .pinmux_data = pinmux_data, 31848c2ecf20Sopenharmony_ci .pinmux_data_size = ARRAY_SIZE(pinmux_data), 31858c2ecf20Sopenharmony_ci}; 3186