1077365a9SGeert Uytterhoeven // SPDX-License-Identifier: GPL-2.0 2077365a9SGeert Uytterhoeven /* 3077365a9SGeert Uytterhoeven * r8a7778 processor support - PFC hardware block 4077365a9SGeert Uytterhoeven * 5077365a9SGeert Uytterhoeven * Copyright (C) 2013 Renesas Solutions Corp. 6077365a9SGeert Uytterhoeven * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 7077365a9SGeert Uytterhoeven * Copyright (C) 2013 Cogent Embedded, Inc. 8077365a9SGeert Uytterhoeven * Copyright (C) 2015 Ulrich Hecht 9077365a9SGeert Uytterhoeven * 10077365a9SGeert Uytterhoeven * based on 11077365a9SGeert Uytterhoeven * Copyright (C) 2011 Renesas Solutions Corp. 12077365a9SGeert Uytterhoeven * Copyright (C) 2011 Magnus Damm 13077365a9SGeert Uytterhoeven */ 14077365a9SGeert Uytterhoeven 15077365a9SGeert Uytterhoeven #include <linux/io.h> 16077365a9SGeert Uytterhoeven #include <linux/kernel.h> 17077365a9SGeert Uytterhoeven #include <linux/pinctrl/pinconf-generic.h> 18077365a9SGeert Uytterhoeven 19077365a9SGeert Uytterhoeven #include "sh_pfc.h" 20077365a9SGeert Uytterhoeven 21077365a9SGeert Uytterhoeven #define CPU_ALL_GP(fn, sfx) \ 22077365a9SGeert Uytterhoeven PORT_GP_CFG_32(0, fn, sfx, SH_PFC_PIN_CFG_PULL_UP), \ 23077365a9SGeert Uytterhoeven PORT_GP_CFG_32(1, fn, sfx, SH_PFC_PIN_CFG_PULL_UP), \ 24077365a9SGeert Uytterhoeven PORT_GP_CFG_32(2, fn, sfx, SH_PFC_PIN_CFG_PULL_UP), \ 25077365a9SGeert Uytterhoeven PORT_GP_CFG_32(3, fn, sfx, SH_PFC_PIN_CFG_PULL_UP), \ 26077365a9SGeert Uytterhoeven PORT_GP_CFG_27(4, fn, sfx, SH_PFC_PIN_CFG_PULL_UP) 27077365a9SGeert Uytterhoeven 28077365a9SGeert Uytterhoeven #define CPU_ALL_NOGP(fn) \ 29077365a9SGeert Uytterhoeven PIN_NOGP(CLKOUT, "B25", fn), \ 30077365a9SGeert Uytterhoeven PIN_NOGP(CS0, "A20", fn), \ 31077365a9SGeert Uytterhoeven PIN_NOGP(CS1_A26, "C20", fn) 32077365a9SGeert Uytterhoeven 33077365a9SGeert Uytterhoeven enum { 34077365a9SGeert Uytterhoeven PINMUX_RESERVED = 0, 35077365a9SGeert Uytterhoeven 36077365a9SGeert Uytterhoeven PINMUX_DATA_BEGIN, 37077365a9SGeert Uytterhoeven GP_ALL(DATA), /* GP_0_0_DATA -> GP_4_26_DATA */ 38077365a9SGeert Uytterhoeven PINMUX_DATA_END, 39077365a9SGeert Uytterhoeven 40077365a9SGeert Uytterhoeven PINMUX_FUNCTION_BEGIN, 41077365a9SGeert Uytterhoeven GP_ALL(FN), /* GP_0_0_FN -> GP_4_26_FN */ 42077365a9SGeert Uytterhoeven 43077365a9SGeert Uytterhoeven /* GPSR0 */ 44077365a9SGeert Uytterhoeven FN_IP0_1_0, FN_PENC0, FN_PENC1, FN_IP0_4_2, 45077365a9SGeert Uytterhoeven FN_IP0_7_5, FN_IP0_11_8, FN_IP0_14_12, FN_A1, 46077365a9SGeert Uytterhoeven FN_A2, FN_A3, FN_IP0_15, FN_IP0_16, 47077365a9SGeert Uytterhoeven FN_IP0_17, FN_IP0_18, FN_IP0_19, FN_IP0_20, 48077365a9SGeert Uytterhoeven FN_IP0_21, FN_IP0_22, FN_IP0_23, FN_IP0_24, 49077365a9SGeert Uytterhoeven FN_IP0_25, FN_IP0_26, FN_IP0_27, FN_IP0_28, 50077365a9SGeert Uytterhoeven FN_IP0_29, FN_IP0_30, FN_IP1_0, FN_IP1_1, 51077365a9SGeert Uytterhoeven FN_IP1_4_2, FN_IP1_7_5, FN_IP1_10_8, FN_IP1_14_11, 52077365a9SGeert Uytterhoeven 53077365a9SGeert Uytterhoeven /* GPSR1 */ 54077365a9SGeert Uytterhoeven FN_IP1_23_21, FN_WE0, FN_IP1_24, FN_IP1_27_25, 55077365a9SGeert Uytterhoeven FN_IP1_29_28, FN_IP2_2_0, FN_IP2_5_3, FN_IP2_8_6, 56077365a9SGeert Uytterhoeven FN_IP2_11_9, FN_IP2_13_12, FN_IP2_16_14, FN_IP2_17, 57077365a9SGeert Uytterhoeven FN_IP2_30, FN_IP2_31, FN_IP3_1_0, FN_IP3_4_2, 58077365a9SGeert Uytterhoeven FN_IP3_7_5, FN_IP3_9_8, FN_IP3_12_10, FN_IP3_15_13, 59077365a9SGeert Uytterhoeven FN_IP3_18_16, FN_IP3_20_19, FN_IP3_23_21, FN_IP3_26_24, 60077365a9SGeert Uytterhoeven FN_IP3_27, FN_IP3_28, FN_IP3_29, FN_IP3_30, 61077365a9SGeert Uytterhoeven FN_IP3_31, FN_IP4_0, FN_IP4_3_1, FN_IP4_6_4, 62077365a9SGeert Uytterhoeven 63077365a9SGeert Uytterhoeven /* GPSR2 */ 64077365a9SGeert Uytterhoeven FN_IP4_7, FN_IP4_8, FN_IP4_10_9, FN_IP4_12_11, 65077365a9SGeert Uytterhoeven FN_IP4_14_13, FN_IP4_16_15, FN_IP4_20_17, FN_IP4_24_21, 66077365a9SGeert Uytterhoeven FN_IP4_26_25, FN_IP4_28_27, FN_IP4_30_29, FN_IP5_1_0, 67077365a9SGeert Uytterhoeven FN_IP5_3_2, FN_IP5_5_4, FN_IP5_6, FN_IP5_7, 68077365a9SGeert Uytterhoeven FN_IP5_9_8, FN_IP5_11_10, FN_IP5_12, FN_IP5_14_13, 69077365a9SGeert Uytterhoeven FN_IP5_17_15, FN_IP5_20_18, FN_AUDIO_CLKA, FN_AUDIO_CLKB, 70077365a9SGeert Uytterhoeven FN_IP5_22_21, FN_IP5_25_23, FN_IP5_28_26, FN_IP5_30_29, 71077365a9SGeert Uytterhoeven FN_IP6_1_0, FN_IP6_4_2, FN_IP6_6_5, FN_IP6_7, 72077365a9SGeert Uytterhoeven 73077365a9SGeert Uytterhoeven /* GPSR3 */ 74077365a9SGeert Uytterhoeven FN_IP6_8, FN_IP6_9, FN_SSI_SCK34, FN_IP6_10, 75077365a9SGeert Uytterhoeven FN_IP6_12_11, FN_IP6_13, FN_IP6_15_14, FN_IP6_16, 76077365a9SGeert Uytterhoeven FN_IP6_18_17, FN_IP6_20_19, FN_IP6_21, FN_IP6_23_22, 77077365a9SGeert Uytterhoeven FN_IP6_25_24, FN_IP6_27_26, FN_IP6_29_28, FN_IP6_31_30, 78077365a9SGeert Uytterhoeven FN_IP7_1_0, FN_IP7_3_2, FN_IP7_5_4, FN_IP7_8_6, 79077365a9SGeert Uytterhoeven FN_IP7_11_9, FN_IP7_14_12, FN_IP7_17_15, FN_IP7_20_18, 80077365a9SGeert Uytterhoeven FN_IP7_21, FN_IP7_24_22, FN_IP7_28_25, FN_IP7_31_29, 81077365a9SGeert Uytterhoeven FN_IP8_2_0, FN_IP8_5_3, FN_IP8_8_6, FN_IP8_10_9, 82077365a9SGeert Uytterhoeven 83077365a9SGeert Uytterhoeven /* GPSR4 */ 84077365a9SGeert Uytterhoeven FN_IP8_13_11, FN_IP8_15_14, FN_IP8_18_16, FN_IP8_21_19, 85077365a9SGeert Uytterhoeven FN_IP8_23_22, FN_IP8_26_24, FN_IP8_29_27, FN_IP9_2_0, 86077365a9SGeert Uytterhoeven FN_IP9_5_3, FN_IP9_8_6, FN_IP9_11_9, FN_IP9_14_12, 87077365a9SGeert Uytterhoeven FN_IP9_17_15, FN_IP9_20_18, FN_IP9_23_21, FN_IP9_26_24, 88077365a9SGeert Uytterhoeven FN_IP9_29_27, FN_IP10_2_0, FN_IP10_5_3, FN_IP10_8_6, 89077365a9SGeert Uytterhoeven FN_IP10_12_9, FN_IP10_15_13, FN_IP10_18_16, FN_IP10_21_19, 90077365a9SGeert Uytterhoeven FN_IP10_24_22, FN_AVS1, FN_AVS2, 91077365a9SGeert Uytterhoeven 92077365a9SGeert Uytterhoeven /* IPSR0 */ 93077365a9SGeert Uytterhoeven FN_PRESETOUT, FN_PWM1, FN_AUDATA0, FN_ARM_TRACEDATA_0, 94077365a9SGeert Uytterhoeven FN_GPSCLK_C, FN_USB_OVC0, FN_TX2_E, FN_SDA2_B, 95077365a9SGeert Uytterhoeven FN_AUDATA1, FN_ARM_TRACEDATA_1, FN_GPSIN_C, 96077365a9SGeert Uytterhoeven FN_USB_OVC1, FN_RX2_E, FN_SCL2_B, FN_SD1_DAT2_A, 97077365a9SGeert Uytterhoeven FN_MMC_D2, FN_BS, FN_ATADIR0_A, FN_SDSELF_A, 98077365a9SGeert Uytterhoeven FN_PWM4_B, FN_SD1_DAT3_A, FN_MMC_D3, FN_A0, 99077365a9SGeert Uytterhoeven FN_ATAG0_A, FN_REMOCON_B, FN_A4, FN_A5, 100077365a9SGeert Uytterhoeven FN_A6, FN_A7, FN_A8, FN_A9, 101077365a9SGeert Uytterhoeven FN_A10, FN_A11, FN_A12, FN_A13, 102077365a9SGeert Uytterhoeven FN_A14, FN_A15, FN_A16, FN_A17, 103077365a9SGeert Uytterhoeven FN_A18, FN_A19, 104077365a9SGeert Uytterhoeven 105077365a9SGeert Uytterhoeven /* IPSR1 */ 106077365a9SGeert Uytterhoeven FN_A20, FN_HSPI_CS1_B, FN_A21, FN_HSPI_CLK1_B, 107077365a9SGeert Uytterhoeven FN_A22, FN_HRTS0_B, FN_RX2_B, FN_DREQ2_A, 108077365a9SGeert Uytterhoeven FN_A23, FN_HTX0_B, FN_TX2_B, FN_DACK2_A, 109077365a9SGeert Uytterhoeven FN_TS_SDEN0_A, FN_SD1_CD_A, FN_MMC_D6, FN_A24, 110077365a9SGeert Uytterhoeven FN_DREQ1_A, FN_HRX0_B, FN_TS_SPSYNC0_A, 111077365a9SGeert Uytterhoeven FN_SD1_WP_A, FN_MMC_D7, FN_A25, FN_DACK1_A, 112077365a9SGeert Uytterhoeven FN_HCTS0_B, FN_RX3_C, FN_TS_SDAT0_A, FN_CLKOUT, 113077365a9SGeert Uytterhoeven FN_HSPI_TX1_B, FN_PWM0_B, FN_CS0, FN_HSPI_RX1_B, 114077365a9SGeert Uytterhoeven FN_SSI_SCK1_B, FN_ATAG0_B, FN_CS1_A26, FN_SDA2_A, 115077365a9SGeert Uytterhoeven FN_SCK2_B, FN_MMC_D5, FN_ATADIR0_B, FN_RD_WR, 116077365a9SGeert Uytterhoeven FN_WE1, FN_ATAWR0_B, FN_SSI_WS1_B, FN_EX_CS0, 117077365a9SGeert Uytterhoeven FN_SCL2_A, FN_TX3_C, FN_TS_SCK0_A, FN_EX_CS1, 118077365a9SGeert Uytterhoeven FN_MMC_D4, 119077365a9SGeert Uytterhoeven 120077365a9SGeert Uytterhoeven /* IPSR2 */ 121077365a9SGeert Uytterhoeven FN_SD1_CLK_A, FN_MMC_CLK, FN_ATACS00, FN_EX_CS2, 122077365a9SGeert Uytterhoeven FN_SD1_CMD_A, FN_MMC_CMD, FN_ATACS10, FN_EX_CS3, 123077365a9SGeert Uytterhoeven FN_SD1_DAT0_A, FN_MMC_D0, FN_ATARD0, FN_EX_CS4, 124077365a9SGeert Uytterhoeven FN_EX_WAIT1_A, FN_SD1_DAT1_A, FN_MMC_D1, FN_ATAWR0_A, 125077365a9SGeert Uytterhoeven FN_EX_CS5, FN_EX_WAIT2_A, FN_DREQ0_A, FN_RX3_A, 126077365a9SGeert Uytterhoeven FN_DACK0, FN_TX3_A, FN_DRACK0, FN_EX_WAIT0, 127077365a9SGeert Uytterhoeven FN_PWM0_C, FN_D0, FN_D1, FN_D2, 128077365a9SGeert Uytterhoeven FN_D3, FN_D4, FN_D5, FN_D6, 129077365a9SGeert Uytterhoeven FN_D7, FN_D8, FN_D9, FN_D10, 130077365a9SGeert Uytterhoeven FN_D11, FN_RD_WR_B, FN_IRQ0, FN_MLB_CLK, 131077365a9SGeert Uytterhoeven FN_IRQ1_A, 132077365a9SGeert Uytterhoeven 133077365a9SGeert Uytterhoeven /* IPSR3 */ 134077365a9SGeert Uytterhoeven FN_MLB_SIG, FN_RX5_B, FN_SDA3_A, FN_IRQ2_A, 135077365a9SGeert Uytterhoeven FN_MLB_DAT, FN_TX5_B, FN_SCL3_A, FN_IRQ3_A, 136077365a9SGeert Uytterhoeven FN_SDSELF_B, FN_SD1_CMD_B, FN_SCIF_CLK, FN_AUDIO_CLKOUT_B, 137077365a9SGeert Uytterhoeven FN_CAN_CLK_B, FN_SDA3_B, FN_SD1_CLK_B, FN_HTX0_A, 138077365a9SGeert Uytterhoeven FN_TX0_A, FN_SD1_DAT0_B, FN_HRX0_A, FN_RX0_A, 139077365a9SGeert Uytterhoeven FN_SD1_DAT1_B, FN_HSCK0, FN_SCK0, FN_SCL3_B, 140077365a9SGeert Uytterhoeven FN_SD1_DAT2_B, FN_HCTS0_A, FN_CTS0, FN_SD1_DAT3_B, 141077365a9SGeert Uytterhoeven FN_HRTS0_A, FN_RTS0, FN_SSI_SCK4, FN_DU0_DR0, 142077365a9SGeert Uytterhoeven FN_LCDOUT0, FN_AUDATA2, FN_ARM_TRACEDATA_2, 143077365a9SGeert Uytterhoeven FN_SDA3_C, FN_ADICHS1, FN_TS_SDEN0_B, FN_SSI_WS4, 144077365a9SGeert Uytterhoeven FN_DU0_DR1, FN_LCDOUT1, FN_AUDATA3, FN_ARM_TRACEDATA_3, 145077365a9SGeert Uytterhoeven FN_SCL3_C, FN_ADICHS2, FN_TS_SPSYNC0_B, 146077365a9SGeert Uytterhoeven FN_DU0_DR2, FN_LCDOUT2, FN_DU0_DR3, FN_LCDOUT3, 147077365a9SGeert Uytterhoeven FN_DU0_DR4, FN_LCDOUT4, FN_DU0_DR5, FN_LCDOUT5, 148077365a9SGeert Uytterhoeven FN_DU0_DR6, FN_LCDOUT6, 149077365a9SGeert Uytterhoeven 150077365a9SGeert Uytterhoeven /* IPSR4 */ 151077365a9SGeert Uytterhoeven FN_DU0_DR7, FN_LCDOUT7, FN_DU0_DG0, FN_LCDOUT8, 152077365a9SGeert Uytterhoeven FN_AUDATA4, FN_ARM_TRACEDATA_4, FN_TX1_D, 153077365a9SGeert Uytterhoeven FN_CAN0_TX_A, FN_ADICHS0, FN_DU0_DG1, FN_LCDOUT9, 154077365a9SGeert Uytterhoeven FN_AUDATA5, FN_ARM_TRACEDATA_5, FN_RX1_D, 155077365a9SGeert Uytterhoeven FN_CAN0_RX_A, FN_ADIDATA, FN_DU0_DG2, FN_LCDOUT10, 156077365a9SGeert Uytterhoeven FN_DU0_DG3, FN_LCDOUT11, FN_DU0_DG4, FN_LCDOUT12, 157077365a9SGeert Uytterhoeven FN_RX0_B, FN_DU0_DG5, FN_LCDOUT13, FN_TX0_B, 158077365a9SGeert Uytterhoeven FN_DU0_DG6, FN_LCDOUT14, FN_RX4_A, FN_DU0_DG7, 159077365a9SGeert Uytterhoeven FN_LCDOUT15, FN_TX4_A, FN_SSI_SCK2_B, FN_VI0_R0_B, 160077365a9SGeert Uytterhoeven FN_DU0_DB0, FN_LCDOUT16, FN_AUDATA6, FN_ARM_TRACEDATA_6, 161077365a9SGeert Uytterhoeven FN_GPSCLK_A, FN_PWM0_A, FN_ADICLK, FN_TS_SDAT0_B, 162077365a9SGeert Uytterhoeven FN_AUDIO_CLKC, FN_VI0_R1_B, FN_DU0_DB1, FN_LCDOUT17, 163077365a9SGeert Uytterhoeven FN_AUDATA7, FN_ARM_TRACEDATA_7, FN_GPSIN_A, 164077365a9SGeert Uytterhoeven FN_ADICS_SAMP, FN_TS_SCK0_B, FN_VI0_R2_B, FN_DU0_DB2, 165077365a9SGeert Uytterhoeven FN_LCDOUT18, FN_VI0_R3_B, FN_DU0_DB3, FN_LCDOUT19, 166077365a9SGeert Uytterhoeven FN_VI0_R4_B, FN_DU0_DB4, FN_LCDOUT20, 167077365a9SGeert Uytterhoeven 168077365a9SGeert Uytterhoeven /* IPSR5 */ 169077365a9SGeert Uytterhoeven FN_VI0_R5_B, FN_DU0_DB5, FN_LCDOUT21, FN_VI1_DATA10_B, 170077365a9SGeert Uytterhoeven FN_DU0_DB6, FN_LCDOUT22, FN_VI1_DATA11_B, 171077365a9SGeert Uytterhoeven FN_DU0_DB7, FN_LCDOUT23, FN_DU0_DOTCLKIN, 172077365a9SGeert Uytterhoeven FN_QSTVA_QVS, FN_DU0_DOTCLKO_UT0, FN_QCLK, 173077365a9SGeert Uytterhoeven FN_DU0_DOTCLKO_UT1, FN_QSTVB_QVE, FN_AUDIO_CLKOUT_A, 174077365a9SGeert Uytterhoeven FN_REMOCON_C, FN_SSI_WS2_B, FN_DU0_EXHSYNC_DU0_HSYNC, 175077365a9SGeert Uytterhoeven FN_QSTH_QHS, FN_DU0_EXVSYNC_DU0_VSYNC, FN_QSTB_QHE, 176077365a9SGeert Uytterhoeven FN_DU0_EXODDF_DU0_ODDF_DISP_CDE, 177077365a9SGeert Uytterhoeven FN_QCPV_QDE, FN_FMCLK_D, FN_SSI_SCK1_A, FN_DU0_DISP, 178077365a9SGeert Uytterhoeven FN_QPOLA, FN_AUDCK, FN_ARM_TRACECLK, 179077365a9SGeert Uytterhoeven FN_BPFCLK_D, FN_SSI_WS1_A, FN_DU0_CDE, FN_QPOLB, 180077365a9SGeert Uytterhoeven FN_AUDSYNC, FN_ARM_TRACECTL, FN_FMIN_D, 181077365a9SGeert Uytterhoeven FN_SD1_CD_B, FN_SSI_SCK78, FN_HSPI_RX0_B, FN_TX1_B, 182077365a9SGeert Uytterhoeven FN_SD1_WP_B, FN_SSI_WS78, FN_HSPI_CLK0_B, FN_RX1_B, 183077365a9SGeert Uytterhoeven FN_CAN_CLK_D, FN_SSI_SDATA8, FN_SSI_SCK2_A, FN_HSPI_CS0_B, 184077365a9SGeert Uytterhoeven FN_TX2_A, FN_CAN0_TX_B, FN_SSI_SDATA7, FN_HSPI_TX0_B, 185077365a9SGeert Uytterhoeven FN_RX2_A, FN_CAN0_RX_B, 186077365a9SGeert Uytterhoeven 187077365a9SGeert Uytterhoeven /* IPSR6 */ 188077365a9SGeert Uytterhoeven FN_SSI_SCK6, FN_HSPI_RX2_A, FN_FMCLK_B, FN_CAN1_TX_B, 189077365a9SGeert Uytterhoeven FN_SSI_WS6, FN_HSPI_CLK2_A, FN_BPFCLK_B, FN_CAN1_RX_B, 190077365a9SGeert Uytterhoeven FN_SSI_SDATA6, FN_HSPI_TX2_A, FN_FMIN_B, FN_SSI_SCK5, 191077365a9SGeert Uytterhoeven FN_RX4_C, FN_SSI_WS5, FN_TX4_C, FN_SSI_SDATA5, 192077365a9SGeert Uytterhoeven FN_RX0_D, FN_SSI_WS34, FN_ARM_TRACEDATA_8, 193077365a9SGeert Uytterhoeven FN_SSI_SDATA4, FN_SSI_WS2_A, FN_ARM_TRACEDATA_9, 194077365a9SGeert Uytterhoeven FN_SSI_SDATA3, FN_ARM_TRACEDATA_10, 195077365a9SGeert Uytterhoeven FN_SSI_SCK012, FN_ARM_TRACEDATA_11, 196077365a9SGeert Uytterhoeven FN_TX0_D, FN_SSI_WS012, FN_ARM_TRACEDATA_12, 197077365a9SGeert Uytterhoeven FN_SSI_SDATA2, FN_HSPI_CS2_A, FN_ARM_TRACEDATA_13, 198077365a9SGeert Uytterhoeven FN_SDA1_A, FN_SSI_SDATA1, FN_ARM_TRACEDATA_14, 199077365a9SGeert Uytterhoeven FN_SCL1_A, FN_SCK2_A, FN_SSI_SDATA0, 200077365a9SGeert Uytterhoeven FN_ARM_TRACEDATA_15, 201077365a9SGeert Uytterhoeven FN_SD0_CLK, FN_SUB_TDO, FN_SD0_CMD, FN_SUB_TRST, 202077365a9SGeert Uytterhoeven FN_SD0_DAT0, FN_SUB_TMS, FN_SD0_DAT1, FN_SUB_TCK, 203077365a9SGeert Uytterhoeven FN_SD0_DAT2, FN_SUB_TDI, 204077365a9SGeert Uytterhoeven 205077365a9SGeert Uytterhoeven /* IPSR7 */ 206077365a9SGeert Uytterhoeven FN_SD0_DAT3, FN_IRQ1_B, FN_SD0_CD, FN_TX5_A, 207077365a9SGeert Uytterhoeven FN_SD0_WP, FN_RX5_A, FN_VI1_CLKENB, FN_HSPI_CLK0_A, 208077365a9SGeert Uytterhoeven FN_HTX1_A, FN_RTS1_C, FN_VI1_FIELD, FN_HSPI_CS0_A, 209077365a9SGeert Uytterhoeven FN_HRX1_A, FN_SCK1_C, FN_VI1_HSYNC, FN_HSPI_RX0_A, 210077365a9SGeert Uytterhoeven FN_HRTS1_A, FN_FMCLK_A, FN_RX1_C, FN_VI1_VSYNC, 211077365a9SGeert Uytterhoeven FN_HSPI_TX0, FN_HCTS1_A, FN_BPFCLK_A, FN_TX1_C, 212077365a9SGeert Uytterhoeven FN_TCLK0, FN_HSCK1_A, FN_FMIN_A, FN_IRQ2_C, 213077365a9SGeert Uytterhoeven FN_CTS1_C, FN_SPEEDIN, FN_VI0_CLK, FN_CAN_CLK_A, 214077365a9SGeert Uytterhoeven FN_VI0_CLKENB, FN_SD2_DAT2_B, FN_VI1_DATA0, FN_DU1_DG6, 215077365a9SGeert Uytterhoeven FN_HSPI_RX1_A, FN_RX4_B, FN_VI0_FIELD, FN_SD2_DAT3_B, 216077365a9SGeert Uytterhoeven FN_VI0_R3_C, FN_VI1_DATA1, FN_DU1_DG7, FN_HSPI_CLK1_A, 217077365a9SGeert Uytterhoeven FN_TX4_B, FN_VI0_HSYNC, FN_SD2_CD_B, FN_VI1_DATA2, 218077365a9SGeert Uytterhoeven FN_DU1_DR2, FN_HSPI_CS1_A, FN_RX3_B, 219077365a9SGeert Uytterhoeven 220077365a9SGeert Uytterhoeven /* IPSR8 */ 221077365a9SGeert Uytterhoeven FN_VI0_VSYNC, FN_SD2_WP_B, FN_VI1_DATA3, FN_DU1_DR3, 222077365a9SGeert Uytterhoeven FN_HSPI_TX1_A, FN_TX3_B, FN_VI0_DATA0_VI0_B0, 223077365a9SGeert Uytterhoeven FN_DU1_DG2, FN_IRQ2_B, FN_RX3_D, FN_VI0_DATA1_VI0_B1, 224077365a9SGeert Uytterhoeven FN_DU1_DG3, FN_IRQ3_B, FN_TX3_D, FN_VI0_DATA2_VI0_B2, 225077365a9SGeert Uytterhoeven FN_DU1_DG4, FN_RX0_C, FN_VI0_DATA3_VI0_B3, 226077365a9SGeert Uytterhoeven FN_DU1_DG5, FN_TX1_A, FN_TX0_C, FN_VI0_DATA4_VI0_B4, 227077365a9SGeert Uytterhoeven FN_DU1_DB2, FN_RX1_A, FN_VI0_DATA5_VI0_B5, 228077365a9SGeert Uytterhoeven FN_DU1_DB3, FN_SCK1_A, FN_PWM4, FN_HSCK1_B, 229077365a9SGeert Uytterhoeven FN_VI0_DATA6_VI0_G0, FN_DU1_DB4, FN_CTS1_A, 230077365a9SGeert Uytterhoeven FN_PWM5, FN_VI0_DATA7_VI0_G1, FN_DU1_DB5, 231077365a9SGeert Uytterhoeven FN_RTS1_A, FN_VI0_G2, FN_SD2_CLK_B, FN_VI1_DATA4, 232077365a9SGeert Uytterhoeven FN_DU1_DR4, FN_HTX1_B, FN_VI0_G3, FN_SD2_CMD_B, 233077365a9SGeert Uytterhoeven FN_VI1_DATA5, FN_DU1_DR5, FN_HRX1_B, 234077365a9SGeert Uytterhoeven 235077365a9SGeert Uytterhoeven /* IPSR9 */ 236077365a9SGeert Uytterhoeven FN_VI0_G4, FN_SD2_DAT0_B, FN_VI1_DATA6, FN_DU1_DR6, 237077365a9SGeert Uytterhoeven FN_HRTS1_B, FN_VI0_G5, FN_SD2_DAT1_B, FN_VI1_DATA7, 238077365a9SGeert Uytterhoeven FN_DU1_DR7, FN_HCTS1_B, FN_VI0_R0_A, FN_VI1_CLK, 239077365a9SGeert Uytterhoeven FN_ETH_REF_CLK, FN_DU1_DOTCLKIN, FN_VI0_R1_A, 240077365a9SGeert Uytterhoeven FN_VI1_DATA8, FN_DU1_DB6, FN_ETH_TXD0, FN_PWM2, 241077365a9SGeert Uytterhoeven FN_TCLK1, FN_VI0_R2_A, FN_VI1_DATA9, FN_DU1_DB7, 242077365a9SGeert Uytterhoeven FN_ETH_TXD1, FN_PWM3, FN_VI0_R3_A, FN_ETH_CRS_DV, 243077365a9SGeert Uytterhoeven FN_IECLK, FN_SCK2_C, FN_VI0_R4_A, FN_ETH_TX_EN, 244077365a9SGeert Uytterhoeven FN_IETX, FN_TX2_C, FN_VI0_R5_A, FN_ETH_RX_ER, 245077365a9SGeert Uytterhoeven FN_FMCLK_C, FN_IERX, FN_RX2_C, FN_VI1_DATA10_A, 246077365a9SGeert Uytterhoeven FN_DU1_DOTCLKOUT, FN_ETH_RXD0, FN_BPFCLK_C, 247077365a9SGeert Uytterhoeven FN_TX2_D, FN_SDA2_C, FN_VI1_DATA11_A, 248077365a9SGeert Uytterhoeven FN_DU1_EXHSYNC_DU1_HSYNC, FN_ETH_RXD1, FN_FMIN_C, 249077365a9SGeert Uytterhoeven FN_RX2_D, FN_SCL2_C, 250077365a9SGeert Uytterhoeven 251077365a9SGeert Uytterhoeven /* IPSR10 */ 252077365a9SGeert Uytterhoeven FN_SD2_CLK_A, FN_DU1_EXVSYNC_DU1_VSYNC, FN_ATARD1, 253077365a9SGeert Uytterhoeven FN_ETH_MDC, FN_SDA1_B, FN_SD2_CMD_A, 254077365a9SGeert Uytterhoeven FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, FN_ATAWR1, 255077365a9SGeert Uytterhoeven FN_ETH_MDIO, FN_SCL1_B, FN_SD2_DAT0_A, FN_DU1_DISP, 256077365a9SGeert Uytterhoeven FN_ATACS01, FN_DREQ1_B, FN_ETH_LINK, FN_CAN1_RX_A, 257077365a9SGeert Uytterhoeven FN_SD2_DAT1_A, FN_DU1_CDE, FN_ATACS11, FN_DACK1_B, 258077365a9SGeert Uytterhoeven FN_ETH_MAGIC, FN_CAN1_TX_A, FN_PWM6, FN_SD2_DAT2_A, 259077365a9SGeert Uytterhoeven FN_VI1_DATA12, FN_DREQ2_B, FN_ATADIR1, FN_HSPI_CLK2_B, 260077365a9SGeert Uytterhoeven FN_GPSCLK_B, FN_SD2_DAT3_A, FN_VI1_DATA13, FN_DACK2_B, 261077365a9SGeert Uytterhoeven FN_ATAG1, FN_HSPI_CS2_B, FN_GPSIN_B, FN_SD2_CD_A, 262077365a9SGeert Uytterhoeven FN_VI1_DATA14, FN_EX_WAIT1_B, FN_DREQ0_B, FN_HSPI_RX2_B, 263077365a9SGeert Uytterhoeven FN_REMOCON_A, FN_SD2_WP_A, FN_VI1_DATA15, FN_EX_WAIT2_B, 264077365a9SGeert Uytterhoeven FN_DACK0_B, FN_HSPI_TX2_B, FN_CAN_CLK_C, 265077365a9SGeert Uytterhoeven 266077365a9SGeert Uytterhoeven /* SEL */ 267077365a9SGeert Uytterhoeven FN_SEL_SCIF5_A, FN_SEL_SCIF5_B, 268077365a9SGeert Uytterhoeven FN_SEL_SCIF4_A, FN_SEL_SCIF4_B, FN_SEL_SCIF4_C, 269077365a9SGeert Uytterhoeven FN_SEL_SCIF3_A, FN_SEL_SCIF3_B, FN_SEL_SCIF3_C, FN_SEL_SCIF3_D, 270077365a9SGeert Uytterhoeven FN_SEL_SCIF2_A, FN_SEL_SCIF2_B, FN_SEL_SCIF2_C, FN_SEL_SCIF2_D, FN_SEL_SCIF2_E, 271077365a9SGeert Uytterhoeven FN_SEL_SCIF1_A, FN_SEL_SCIF1_B, FN_SEL_SCIF1_C, FN_SEL_SCIF1_D, 272077365a9SGeert Uytterhoeven FN_SEL_SCIF0_A, FN_SEL_SCIF0_B, FN_SEL_SCIF0_C, FN_SEL_SCIF0_D, 273077365a9SGeert Uytterhoeven FN_SEL_SSI2_A, FN_SEL_SSI2_B, 274077365a9SGeert Uytterhoeven FN_SEL_SSI1_A, FN_SEL_SSI1_B, 275077365a9SGeert Uytterhoeven FN_SEL_VI1_A, FN_SEL_VI1_B, 276077365a9SGeert Uytterhoeven FN_SEL_VI0_A, FN_SEL_VI0_B, FN_SEL_VI0_C, FN_SEL_VI0_D, 277077365a9SGeert Uytterhoeven FN_SEL_SD2_A, FN_SEL_SD2_B, 278077365a9SGeert Uytterhoeven FN_SEL_SD1_A, FN_SEL_SD1_B, 279077365a9SGeert Uytterhoeven FN_SEL_IRQ3_A, FN_SEL_IRQ3_B, 280077365a9SGeert Uytterhoeven FN_SEL_IRQ2_A, FN_SEL_IRQ2_B, FN_SEL_IRQ2_C, 281077365a9SGeert Uytterhoeven FN_SEL_IRQ1_A, FN_SEL_IRQ1_B, 282077365a9SGeert Uytterhoeven FN_SEL_DREQ2_A, FN_SEL_DREQ2_B, 283077365a9SGeert Uytterhoeven FN_SEL_DREQ1_A, FN_SEL_DREQ1_B, 284077365a9SGeert Uytterhoeven FN_SEL_DREQ0_A, FN_SEL_DREQ0_B, 285077365a9SGeert Uytterhoeven FN_SEL_WAIT2_A, FN_SEL_WAIT2_B, 286077365a9SGeert Uytterhoeven FN_SEL_WAIT1_A, FN_SEL_WAIT1_B, 287077365a9SGeert Uytterhoeven FN_SEL_CAN1_A, FN_SEL_CAN1_B, 288077365a9SGeert Uytterhoeven FN_SEL_CAN0_A, FN_SEL_CAN0_B, 289077365a9SGeert Uytterhoeven FN_SEL_CANCLK_A, FN_SEL_CANCLK_B, 290077365a9SGeert Uytterhoeven FN_SEL_CANCLK_C, FN_SEL_CANCLK_D, 291077365a9SGeert Uytterhoeven FN_SEL_HSCIF1_A, FN_SEL_HSCIF1_B, 292077365a9SGeert Uytterhoeven FN_SEL_HSCIF0_A, FN_SEL_HSCIF0_B, 293077365a9SGeert Uytterhoeven FN_SEL_REMOCON_A, FN_SEL_REMOCON_B, FN_SEL_REMOCON_C, 294077365a9SGeert Uytterhoeven FN_SEL_FM_A, FN_SEL_FM_B, FN_SEL_FM_C, FN_SEL_FM_D, 295077365a9SGeert Uytterhoeven FN_SEL_GPS_A, FN_SEL_GPS_B, FN_SEL_GPS_C, 296077365a9SGeert Uytterhoeven FN_SEL_TSIF0_A, FN_SEL_TSIF0_B, 297077365a9SGeert Uytterhoeven FN_SEL_HSPI2_A, FN_SEL_HSPI2_B, 298077365a9SGeert Uytterhoeven FN_SEL_HSPI1_A, FN_SEL_HSPI1_B, 299077365a9SGeert Uytterhoeven FN_SEL_HSPI0_A, FN_SEL_HSPI0_B, 300077365a9SGeert Uytterhoeven FN_SEL_I2C3_A, FN_SEL_I2C3_B, FN_SEL_I2C3_C, 301077365a9SGeert Uytterhoeven FN_SEL_I2C2_A, FN_SEL_I2C2_B, FN_SEL_I2C2_C, 302077365a9SGeert Uytterhoeven FN_SEL_I2C1_A, FN_SEL_I2C1_B, 303077365a9SGeert Uytterhoeven PINMUX_FUNCTION_END, 304077365a9SGeert Uytterhoeven 305077365a9SGeert Uytterhoeven PINMUX_MARK_BEGIN, 306077365a9SGeert Uytterhoeven 307077365a9SGeert Uytterhoeven /* GPSR0 */ 308077365a9SGeert Uytterhoeven PENC0_MARK, PENC1_MARK, A1_MARK, A2_MARK, A3_MARK, 309077365a9SGeert Uytterhoeven 310077365a9SGeert Uytterhoeven /* GPSR1 */ 311077365a9SGeert Uytterhoeven WE0_MARK, 312077365a9SGeert Uytterhoeven 313077365a9SGeert Uytterhoeven /* GPSR2 */ 314077365a9SGeert Uytterhoeven AUDIO_CLKA_MARK, 315077365a9SGeert Uytterhoeven AUDIO_CLKB_MARK, 316077365a9SGeert Uytterhoeven 317077365a9SGeert Uytterhoeven /* GPSR3 */ 318077365a9SGeert Uytterhoeven SSI_SCK34_MARK, 319077365a9SGeert Uytterhoeven 320077365a9SGeert Uytterhoeven /* GPSR4 */ 321077365a9SGeert Uytterhoeven AVS1_MARK, 322077365a9SGeert Uytterhoeven AVS2_MARK, 323077365a9SGeert Uytterhoeven 324077365a9SGeert Uytterhoeven VI0_R0_C_MARK, /* see sel_vi0 */ 325077365a9SGeert Uytterhoeven VI0_R1_C_MARK, /* see sel_vi0 */ 326077365a9SGeert Uytterhoeven VI0_R2_C_MARK, /* see sel_vi0 */ 327077365a9SGeert Uytterhoeven /* VI0_R3_C_MARK, */ 328077365a9SGeert Uytterhoeven VI0_R4_C_MARK, /* see sel_vi0 */ 329077365a9SGeert Uytterhoeven VI0_R5_C_MARK, /* see sel_vi0 */ 330077365a9SGeert Uytterhoeven 331077365a9SGeert Uytterhoeven VI0_R0_D_MARK, /* see sel_vi0 */ 332077365a9SGeert Uytterhoeven VI0_R1_D_MARK, /* see sel_vi0 */ 333077365a9SGeert Uytterhoeven VI0_R2_D_MARK, /* see sel_vi0 */ 334077365a9SGeert Uytterhoeven VI0_R3_D_MARK, /* see sel_vi0 */ 335077365a9SGeert Uytterhoeven VI0_R4_D_MARK, /* see sel_vi0 */ 336077365a9SGeert Uytterhoeven VI0_R5_D_MARK, /* see sel_vi0 */ 337077365a9SGeert Uytterhoeven 338077365a9SGeert Uytterhoeven /* IPSR0 */ 339077365a9SGeert Uytterhoeven PRESETOUT_MARK, PWM1_MARK, AUDATA0_MARK, 340077365a9SGeert Uytterhoeven ARM_TRACEDATA_0_MARK, GPSCLK_C_MARK, USB_OVC0_MARK, 341077365a9SGeert Uytterhoeven TX2_E_MARK, SDA2_B_MARK, AUDATA1_MARK, ARM_TRACEDATA_1_MARK, 342077365a9SGeert Uytterhoeven GPSIN_C_MARK, USB_OVC1_MARK, RX2_E_MARK, SCL2_B_MARK, 343077365a9SGeert Uytterhoeven SD1_DAT2_A_MARK, MMC_D2_MARK, BS_MARK, 344077365a9SGeert Uytterhoeven ATADIR0_A_MARK, SDSELF_A_MARK, PWM4_B_MARK, SD1_DAT3_A_MARK, 345077365a9SGeert Uytterhoeven MMC_D3_MARK, A0_MARK, ATAG0_A_MARK, REMOCON_B_MARK, 346077365a9SGeert Uytterhoeven A4_MARK, A5_MARK, A6_MARK, A7_MARK, 347077365a9SGeert Uytterhoeven A8_MARK, A9_MARK, A10_MARK, A11_MARK, 348077365a9SGeert Uytterhoeven A12_MARK, A13_MARK, A14_MARK, A15_MARK, 349077365a9SGeert Uytterhoeven A16_MARK, A17_MARK, A18_MARK, A19_MARK, 350077365a9SGeert Uytterhoeven 351077365a9SGeert Uytterhoeven /* IPSR1 */ 352077365a9SGeert Uytterhoeven A20_MARK, HSPI_CS1_B_MARK, A21_MARK, 353077365a9SGeert Uytterhoeven HSPI_CLK1_B_MARK, A22_MARK, HRTS0_B_MARK, 354077365a9SGeert Uytterhoeven RX2_B_MARK, DREQ2_A_MARK, A23_MARK, HTX0_B_MARK, 355077365a9SGeert Uytterhoeven TX2_B_MARK, DACK2_A_MARK, TS_SDEN0_A_MARK, 356077365a9SGeert Uytterhoeven SD1_CD_A_MARK, MMC_D6_MARK, A24_MARK, DREQ1_A_MARK, 357077365a9SGeert Uytterhoeven HRX0_B_MARK, TS_SPSYNC0_A_MARK, SD1_WP_A_MARK, 358077365a9SGeert Uytterhoeven MMC_D7_MARK, A25_MARK, DACK1_A_MARK, HCTS0_B_MARK, 359077365a9SGeert Uytterhoeven RX3_C_MARK, TS_SDAT0_A_MARK, CLKOUT_MARK, 360077365a9SGeert Uytterhoeven HSPI_TX1_B_MARK, PWM0_B_MARK, CS0_MARK, 361077365a9SGeert Uytterhoeven HSPI_RX1_B_MARK, SSI_SCK1_B_MARK, 362077365a9SGeert Uytterhoeven ATAG0_B_MARK, CS1_A26_MARK, SDA2_A_MARK, SCK2_B_MARK, 363077365a9SGeert Uytterhoeven MMC_D5_MARK, ATADIR0_B_MARK, RD_WR_MARK, WE1_MARK, 364077365a9SGeert Uytterhoeven ATAWR0_B_MARK, SSI_WS1_B_MARK, EX_CS0_MARK, SCL2_A_MARK, 365077365a9SGeert Uytterhoeven TX3_C_MARK, TS_SCK0_A_MARK, EX_CS1_MARK, MMC_D4_MARK, 366077365a9SGeert Uytterhoeven 367077365a9SGeert Uytterhoeven /* IPSR2 */ 368077365a9SGeert Uytterhoeven SD1_CLK_A_MARK, MMC_CLK_MARK, ATACS00_MARK, EX_CS2_MARK, 369077365a9SGeert Uytterhoeven SD1_CMD_A_MARK, MMC_CMD_MARK, ATACS10_MARK, EX_CS3_MARK, 370077365a9SGeert Uytterhoeven SD1_DAT0_A_MARK, MMC_D0_MARK, ATARD0_MARK, 371077365a9SGeert Uytterhoeven EX_CS4_MARK, EX_WAIT1_A_MARK, SD1_DAT1_A_MARK, 372077365a9SGeert Uytterhoeven MMC_D1_MARK, ATAWR0_A_MARK, EX_CS5_MARK, EX_WAIT2_A_MARK, 373077365a9SGeert Uytterhoeven DREQ0_A_MARK, RX3_A_MARK, DACK0_MARK, TX3_A_MARK, 374077365a9SGeert Uytterhoeven DRACK0_MARK, EX_WAIT0_MARK, PWM0_C_MARK, D0_MARK, 375077365a9SGeert Uytterhoeven D1_MARK, D2_MARK, D3_MARK, D4_MARK, 376077365a9SGeert Uytterhoeven D5_MARK, D6_MARK, D7_MARK, D8_MARK, 377077365a9SGeert Uytterhoeven D9_MARK, D10_MARK, D11_MARK, RD_WR_B_MARK, 378077365a9SGeert Uytterhoeven IRQ0_MARK, MLB_CLK_MARK, IRQ1_A_MARK, 379077365a9SGeert Uytterhoeven 380077365a9SGeert Uytterhoeven /* IPSR3 */ 381077365a9SGeert Uytterhoeven MLB_SIG_MARK, RX5_B_MARK, SDA3_A_MARK, IRQ2_A_MARK, 382077365a9SGeert Uytterhoeven MLB_DAT_MARK, TX5_B_MARK, SCL3_A_MARK, IRQ3_A_MARK, 383077365a9SGeert Uytterhoeven SDSELF_B_MARK, SD1_CMD_B_MARK, SCIF_CLK_MARK, AUDIO_CLKOUT_B_MARK, 384077365a9SGeert Uytterhoeven CAN_CLK_B_MARK, SDA3_B_MARK, SD1_CLK_B_MARK, HTX0_A_MARK, 385077365a9SGeert Uytterhoeven TX0_A_MARK, SD1_DAT0_B_MARK, HRX0_A_MARK, 386077365a9SGeert Uytterhoeven RX0_A_MARK, SD1_DAT1_B_MARK, HSCK0_MARK, 387077365a9SGeert Uytterhoeven SCK0_MARK, SCL3_B_MARK, SD1_DAT2_B_MARK, 388077365a9SGeert Uytterhoeven HCTS0_A_MARK, CTS0_MARK, SD1_DAT3_B_MARK, 389077365a9SGeert Uytterhoeven HRTS0_A_MARK, RTS0_MARK, SSI_SCK4_MARK, 390077365a9SGeert Uytterhoeven DU0_DR0_MARK, LCDOUT0_MARK, AUDATA2_MARK, ARM_TRACEDATA_2_MARK, 391077365a9SGeert Uytterhoeven SDA3_C_MARK, ADICHS1_MARK, TS_SDEN0_B_MARK, 392077365a9SGeert Uytterhoeven SSI_WS4_MARK, DU0_DR1_MARK, LCDOUT1_MARK, AUDATA3_MARK, 393077365a9SGeert Uytterhoeven ARM_TRACEDATA_3_MARK, SCL3_C_MARK, ADICHS2_MARK, 394077365a9SGeert Uytterhoeven TS_SPSYNC0_B_MARK, DU0_DR2_MARK, LCDOUT2_MARK, 395077365a9SGeert Uytterhoeven DU0_DR3_MARK, LCDOUT3_MARK, DU0_DR4_MARK, LCDOUT4_MARK, 396077365a9SGeert Uytterhoeven DU0_DR5_MARK, LCDOUT5_MARK, DU0_DR6_MARK, LCDOUT6_MARK, 397077365a9SGeert Uytterhoeven 398077365a9SGeert Uytterhoeven /* IPSR4 */ 399077365a9SGeert Uytterhoeven DU0_DR7_MARK, LCDOUT7_MARK, DU0_DG0_MARK, LCDOUT8_MARK, 400077365a9SGeert Uytterhoeven AUDATA4_MARK, ARM_TRACEDATA_4_MARK, 401077365a9SGeert Uytterhoeven TX1_D_MARK, CAN0_TX_A_MARK, ADICHS0_MARK, DU0_DG1_MARK, 402077365a9SGeert Uytterhoeven LCDOUT9_MARK, AUDATA5_MARK, ARM_TRACEDATA_5_MARK, 403077365a9SGeert Uytterhoeven RX1_D_MARK, CAN0_RX_A_MARK, ADIDATA_MARK, DU0_DG2_MARK, 404077365a9SGeert Uytterhoeven LCDOUT10_MARK, DU0_DG3_MARK, LCDOUT11_MARK, DU0_DG4_MARK, 405077365a9SGeert Uytterhoeven LCDOUT12_MARK, RX0_B_MARK, DU0_DG5_MARK, LCDOUT13_MARK, 406077365a9SGeert Uytterhoeven TX0_B_MARK, DU0_DG6_MARK, LCDOUT14_MARK, RX4_A_MARK, 407077365a9SGeert Uytterhoeven DU0_DG7_MARK, LCDOUT15_MARK, TX4_A_MARK, SSI_SCK2_B_MARK, 408077365a9SGeert Uytterhoeven VI0_R0_B_MARK, DU0_DB0_MARK, LCDOUT16_MARK, AUDATA6_MARK, 409077365a9SGeert Uytterhoeven ARM_TRACEDATA_6_MARK, GPSCLK_A_MARK, PWM0_A_MARK, 410077365a9SGeert Uytterhoeven ADICLK_MARK, TS_SDAT0_B_MARK, AUDIO_CLKC_MARK, 411077365a9SGeert Uytterhoeven VI0_R1_B_MARK, DU0_DB1_MARK, LCDOUT17_MARK, AUDATA7_MARK, 412077365a9SGeert Uytterhoeven ARM_TRACEDATA_7_MARK, GPSIN_A_MARK, ADICS_SAMP_MARK, 413077365a9SGeert Uytterhoeven TS_SCK0_B_MARK, VI0_R2_B_MARK, DU0_DB2_MARK, LCDOUT18_MARK, 414077365a9SGeert Uytterhoeven VI0_R3_B_MARK, DU0_DB3_MARK, LCDOUT19_MARK, VI0_R4_B_MARK, 415077365a9SGeert Uytterhoeven DU0_DB4_MARK, LCDOUT20_MARK, 416077365a9SGeert Uytterhoeven 417077365a9SGeert Uytterhoeven /* IPSR5 */ 418077365a9SGeert Uytterhoeven VI0_R5_B_MARK, DU0_DB5_MARK, LCDOUT21_MARK, VI1_DATA10_B_MARK, 419077365a9SGeert Uytterhoeven DU0_DB6_MARK, LCDOUT22_MARK, VI1_DATA11_B_MARK, 420077365a9SGeert Uytterhoeven DU0_DB7_MARK, LCDOUT23_MARK, DU0_DOTCLKIN_MARK, 421077365a9SGeert Uytterhoeven QSTVA_QVS_MARK, DU0_DOTCLKO_UT0_MARK, 422077365a9SGeert Uytterhoeven QCLK_MARK, DU0_DOTCLKO_UT1_MARK, QSTVB_QVE_MARK, 423077365a9SGeert Uytterhoeven AUDIO_CLKOUT_A_MARK, REMOCON_C_MARK, SSI_WS2_B_MARK, 424077365a9SGeert Uytterhoeven DU0_EXHSYNC_DU0_HSYNC_MARK, QSTH_QHS_MARK, 425077365a9SGeert Uytterhoeven DU0_EXVSYNC_DU0_VSYNC_MARK, QSTB_QHE_MARK, 426077365a9SGeert Uytterhoeven DU0_EXODDF_DU0_ODDF_DISP_CDE_MARK, 427077365a9SGeert Uytterhoeven QCPV_QDE_MARK, FMCLK_D_MARK, SSI_SCK1_A_MARK, 428077365a9SGeert Uytterhoeven DU0_DISP_MARK, QPOLA_MARK, AUDCK_MARK, ARM_TRACECLK_MARK, 429077365a9SGeert Uytterhoeven BPFCLK_D_MARK, SSI_WS1_A_MARK, DU0_CDE_MARK, QPOLB_MARK, 430077365a9SGeert Uytterhoeven AUDSYNC_MARK, ARM_TRACECTL_MARK, FMIN_D_MARK, 431077365a9SGeert Uytterhoeven SD1_CD_B_MARK, SSI_SCK78_MARK, HSPI_RX0_B_MARK, 432077365a9SGeert Uytterhoeven TX1_B_MARK, SD1_WP_B_MARK, SSI_WS78_MARK, HSPI_CLK0_B_MARK, 433077365a9SGeert Uytterhoeven RX1_B_MARK, CAN_CLK_D_MARK, SSI_SDATA8_MARK, 434077365a9SGeert Uytterhoeven SSI_SCK2_A_MARK, HSPI_CS0_B_MARK, 435077365a9SGeert Uytterhoeven TX2_A_MARK, CAN0_TX_B_MARK, SSI_SDATA7_MARK, 436077365a9SGeert Uytterhoeven HSPI_TX0_B_MARK, RX2_A_MARK, CAN0_RX_B_MARK, 437077365a9SGeert Uytterhoeven 438077365a9SGeert Uytterhoeven /* IPSR6 */ 439077365a9SGeert Uytterhoeven SSI_SCK6_MARK, HSPI_RX2_A_MARK, FMCLK_B_MARK, 440077365a9SGeert Uytterhoeven CAN1_TX_B_MARK, SSI_WS6_MARK, HSPI_CLK2_A_MARK, 441077365a9SGeert Uytterhoeven BPFCLK_B_MARK, CAN1_RX_B_MARK, SSI_SDATA6_MARK, 442077365a9SGeert Uytterhoeven HSPI_TX2_A_MARK, FMIN_B_MARK, SSI_SCK5_MARK, 443077365a9SGeert Uytterhoeven RX4_C_MARK, SSI_WS5_MARK, TX4_C_MARK, SSI_SDATA5_MARK, 444077365a9SGeert Uytterhoeven RX0_D_MARK, SSI_WS34_MARK, ARM_TRACEDATA_8_MARK, 445077365a9SGeert Uytterhoeven SSI_SDATA4_MARK, SSI_WS2_A_MARK, ARM_TRACEDATA_9_MARK, 446077365a9SGeert Uytterhoeven SSI_SDATA3_MARK, ARM_TRACEDATA_10_MARK, 447077365a9SGeert Uytterhoeven SSI_SCK012_MARK, ARM_TRACEDATA_11_MARK, 448077365a9SGeert Uytterhoeven TX0_D_MARK, SSI_WS012_MARK, ARM_TRACEDATA_12_MARK, 449077365a9SGeert Uytterhoeven SSI_SDATA2_MARK, HSPI_CS2_A_MARK, 450077365a9SGeert Uytterhoeven ARM_TRACEDATA_13_MARK, SDA1_A_MARK, SSI_SDATA1_MARK, 451077365a9SGeert Uytterhoeven ARM_TRACEDATA_14_MARK, SCL1_A_MARK, SCK2_A_MARK, 452077365a9SGeert Uytterhoeven SSI_SDATA0_MARK, ARM_TRACEDATA_15_MARK, 453077365a9SGeert Uytterhoeven SD0_CLK_MARK, SUB_TDO_MARK, SD0_CMD_MARK, SUB_TRST_MARK, 454077365a9SGeert Uytterhoeven SD0_DAT0_MARK, SUB_TMS_MARK, SD0_DAT1_MARK, SUB_TCK_MARK, 455077365a9SGeert Uytterhoeven SD0_DAT2_MARK, SUB_TDI_MARK, 456077365a9SGeert Uytterhoeven 457077365a9SGeert Uytterhoeven /* IPSR7 */ 458077365a9SGeert Uytterhoeven SD0_DAT3_MARK, IRQ1_B_MARK, SD0_CD_MARK, TX5_A_MARK, 459077365a9SGeert Uytterhoeven SD0_WP_MARK, RX5_A_MARK, VI1_CLKENB_MARK, 460077365a9SGeert Uytterhoeven HSPI_CLK0_A_MARK, HTX1_A_MARK, RTS1_C_MARK, VI1_FIELD_MARK, 461077365a9SGeert Uytterhoeven HSPI_CS0_A_MARK, HRX1_A_MARK, SCK1_C_MARK, VI1_HSYNC_MARK, 462077365a9SGeert Uytterhoeven HSPI_RX0_A_MARK, HRTS1_A_MARK, FMCLK_A_MARK, RX1_C_MARK, 463077365a9SGeert Uytterhoeven VI1_VSYNC_MARK, HSPI_TX0_MARK, HCTS1_A_MARK, BPFCLK_A_MARK, 464077365a9SGeert Uytterhoeven TX1_C_MARK, TCLK0_MARK, HSCK1_A_MARK, FMIN_A_MARK, 465077365a9SGeert Uytterhoeven IRQ2_C_MARK, CTS1_C_MARK, SPEEDIN_MARK, VI0_CLK_MARK, 466077365a9SGeert Uytterhoeven CAN_CLK_A_MARK, VI0_CLKENB_MARK, SD2_DAT2_B_MARK, 467077365a9SGeert Uytterhoeven VI1_DATA0_MARK, DU1_DG6_MARK, HSPI_RX1_A_MARK, 468077365a9SGeert Uytterhoeven RX4_B_MARK, VI0_FIELD_MARK, SD2_DAT3_B_MARK, 469077365a9SGeert Uytterhoeven VI0_R3_C_MARK, VI1_DATA1_MARK, DU1_DG7_MARK, HSPI_CLK1_A_MARK, 470077365a9SGeert Uytterhoeven TX4_B_MARK, VI0_HSYNC_MARK, SD2_CD_B_MARK, VI1_DATA2_MARK, 471077365a9SGeert Uytterhoeven DU1_DR2_MARK, HSPI_CS1_A_MARK, RX3_B_MARK, 472077365a9SGeert Uytterhoeven 473077365a9SGeert Uytterhoeven /* IPSR8 */ 474077365a9SGeert Uytterhoeven VI0_VSYNC_MARK, SD2_WP_B_MARK, VI1_DATA3_MARK, DU1_DR3_MARK, 475077365a9SGeert Uytterhoeven HSPI_TX1_A_MARK, TX3_B_MARK, VI0_DATA0_VI0_B0_MARK, 476077365a9SGeert Uytterhoeven DU1_DG2_MARK, IRQ2_B_MARK, RX3_D_MARK, VI0_DATA1_VI0_B1_MARK, 477077365a9SGeert Uytterhoeven DU1_DG3_MARK, IRQ3_B_MARK, TX3_D_MARK, VI0_DATA2_VI0_B2_MARK, 478077365a9SGeert Uytterhoeven DU1_DG4_MARK, RX0_C_MARK, VI0_DATA3_VI0_B3_MARK, 479077365a9SGeert Uytterhoeven DU1_DG5_MARK, TX1_A_MARK, TX0_C_MARK, VI0_DATA4_VI0_B4_MARK, 480077365a9SGeert Uytterhoeven DU1_DB2_MARK, RX1_A_MARK, VI0_DATA5_VI0_B5_MARK, 481077365a9SGeert Uytterhoeven DU1_DB3_MARK, SCK1_A_MARK, PWM4_MARK, HSCK1_B_MARK, 482077365a9SGeert Uytterhoeven VI0_DATA6_VI0_G0_MARK, DU1_DB4_MARK, CTS1_A_MARK, 483077365a9SGeert Uytterhoeven PWM5_MARK, VI0_DATA7_VI0_G1_MARK, DU1_DB5_MARK, 484077365a9SGeert Uytterhoeven RTS1_A_MARK, VI0_G2_MARK, SD2_CLK_B_MARK, VI1_DATA4_MARK, 485077365a9SGeert Uytterhoeven DU1_DR4_MARK, HTX1_B_MARK, VI0_G3_MARK, SD2_CMD_B_MARK, 486077365a9SGeert Uytterhoeven VI1_DATA5_MARK, DU1_DR5_MARK, HRX1_B_MARK, 487077365a9SGeert Uytterhoeven 488077365a9SGeert Uytterhoeven /* IPSR9 */ 489077365a9SGeert Uytterhoeven VI0_G4_MARK, SD2_DAT0_B_MARK, VI1_DATA6_MARK, 490077365a9SGeert Uytterhoeven DU1_DR6_MARK, HRTS1_B_MARK, VI0_G5_MARK, SD2_DAT1_B_MARK, 491077365a9SGeert Uytterhoeven VI1_DATA7_MARK, DU1_DR7_MARK, HCTS1_B_MARK, VI0_R0_A_MARK, 492077365a9SGeert Uytterhoeven VI1_CLK_MARK, ETH_REF_CLK_MARK, DU1_DOTCLKIN_MARK, 493077365a9SGeert Uytterhoeven VI0_R1_A_MARK, VI1_DATA8_MARK, DU1_DB6_MARK, ETH_TXD0_MARK, 494077365a9SGeert Uytterhoeven PWM2_MARK, TCLK1_MARK, VI0_R2_A_MARK, VI1_DATA9_MARK, 495077365a9SGeert Uytterhoeven DU1_DB7_MARK, ETH_TXD1_MARK, PWM3_MARK, VI0_R3_A_MARK, 496077365a9SGeert Uytterhoeven ETH_CRS_DV_MARK, IECLK_MARK, SCK2_C_MARK, 497077365a9SGeert Uytterhoeven VI0_R4_A_MARK, ETH_TX_EN_MARK, IETX_MARK, 498077365a9SGeert Uytterhoeven TX2_C_MARK, VI0_R5_A_MARK, ETH_RX_ER_MARK, FMCLK_C_MARK, 499077365a9SGeert Uytterhoeven IERX_MARK, RX2_C_MARK, VI1_DATA10_A_MARK, 500077365a9SGeert Uytterhoeven DU1_DOTCLKOUT_MARK, ETH_RXD0_MARK, 501077365a9SGeert Uytterhoeven BPFCLK_C_MARK, TX2_D_MARK, SDA2_C_MARK, VI1_DATA11_A_MARK, 502077365a9SGeert Uytterhoeven DU1_EXHSYNC_DU1_HSYNC_MARK, ETH_RXD1_MARK, FMIN_C_MARK, 503077365a9SGeert Uytterhoeven RX2_D_MARK, SCL2_C_MARK, 504077365a9SGeert Uytterhoeven 505077365a9SGeert Uytterhoeven /* IPSR10 */ 506077365a9SGeert Uytterhoeven SD2_CLK_A_MARK, DU1_EXVSYNC_DU1_VSYNC_MARK, ATARD1_MARK, 507077365a9SGeert Uytterhoeven ETH_MDC_MARK, SDA1_B_MARK, SD2_CMD_A_MARK, 508077365a9SGeert Uytterhoeven DU1_EXODDF_DU1_ODDF_DISP_CDE_MARK, ATAWR1_MARK, 509077365a9SGeert Uytterhoeven ETH_MDIO_MARK, SCL1_B_MARK, SD2_DAT0_A_MARK, 510077365a9SGeert Uytterhoeven DU1_DISP_MARK, ATACS01_MARK, DREQ1_B_MARK, ETH_LINK_MARK, 511077365a9SGeert Uytterhoeven CAN1_RX_A_MARK, SD2_DAT1_A_MARK, DU1_CDE_MARK, 512077365a9SGeert Uytterhoeven ATACS11_MARK, DACK1_B_MARK, ETH_MAGIC_MARK, CAN1_TX_A_MARK, 513077365a9SGeert Uytterhoeven PWM6_MARK, SD2_DAT2_A_MARK, VI1_DATA12_MARK, 514077365a9SGeert Uytterhoeven DREQ2_B_MARK, ATADIR1_MARK, HSPI_CLK2_B_MARK, 515077365a9SGeert Uytterhoeven GPSCLK_B_MARK, SD2_DAT3_A_MARK, VI1_DATA13_MARK, 516077365a9SGeert Uytterhoeven DACK2_B_MARK, ATAG1_MARK, HSPI_CS2_B_MARK, 517077365a9SGeert Uytterhoeven GPSIN_B_MARK, SD2_CD_A_MARK, VI1_DATA14_MARK, 518077365a9SGeert Uytterhoeven EX_WAIT1_B_MARK, DREQ0_B_MARK, HSPI_RX2_B_MARK, 519077365a9SGeert Uytterhoeven REMOCON_A_MARK, SD2_WP_A_MARK, VI1_DATA15_MARK, 520077365a9SGeert Uytterhoeven EX_WAIT2_B_MARK, DACK0_B_MARK, 521077365a9SGeert Uytterhoeven HSPI_TX2_B_MARK, CAN_CLK_C_MARK, 522077365a9SGeert Uytterhoeven 523077365a9SGeert Uytterhoeven PINMUX_MARK_END, 524077365a9SGeert Uytterhoeven }; 525077365a9SGeert Uytterhoeven 526077365a9SGeert Uytterhoeven static const u16 pinmux_data[] = { 527077365a9SGeert Uytterhoeven PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */ 528077365a9SGeert Uytterhoeven 529077365a9SGeert Uytterhoeven PINMUX_SINGLE(PENC0), 530077365a9SGeert Uytterhoeven PINMUX_SINGLE(PENC1), 531077365a9SGeert Uytterhoeven PINMUX_SINGLE(A1), 532077365a9SGeert Uytterhoeven PINMUX_SINGLE(A2), 533077365a9SGeert Uytterhoeven PINMUX_SINGLE(A3), 534077365a9SGeert Uytterhoeven PINMUX_SINGLE(WE0), 535077365a9SGeert Uytterhoeven PINMUX_SINGLE(AUDIO_CLKA), 536077365a9SGeert Uytterhoeven PINMUX_SINGLE(AUDIO_CLKB), 537077365a9SGeert Uytterhoeven PINMUX_SINGLE(SSI_SCK34), 538077365a9SGeert Uytterhoeven PINMUX_SINGLE(AVS1), 539077365a9SGeert Uytterhoeven PINMUX_SINGLE(AVS2), 540077365a9SGeert Uytterhoeven 541077365a9SGeert Uytterhoeven /* IPSR0 */ 542077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_1_0, PRESETOUT), 543077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_1_0, PWM1), 544077365a9SGeert Uytterhoeven 545077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_4_2, AUDATA0), 546077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_4_2, ARM_TRACEDATA_0), 547077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP0_4_2, GPSCLK_C, SEL_GPS_C), 548077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_4_2, USB_OVC0), 549077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_4_2, TX2_E), 550077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP0_4_2, SDA2_B, SEL_I2C2_B), 551077365a9SGeert Uytterhoeven 552077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_7_5, AUDATA1), 553077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_7_5, ARM_TRACEDATA_1), 554077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP0_7_5, GPSIN_C, SEL_GPS_C), 555077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_7_5, USB_OVC1), 556077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP0_7_5, RX2_E, SEL_SCIF2_E), 557077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP0_7_5, SCL2_B, SEL_I2C2_B), 558077365a9SGeert Uytterhoeven 559077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP0_11_8, SD1_DAT2_A, SEL_SD1_A), 560077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_11_8, MMC_D2), 561077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_11_8, BS), 562077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_11_8, ATADIR0_A), 563077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_11_8, SDSELF_A), 564077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_11_8, PWM4_B), 565077365a9SGeert Uytterhoeven 566077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP0_14_12, SD1_DAT3_A, SEL_SD1_A), 567077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_14_12, MMC_D3), 568077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_14_12, A0), 569077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_14_12, ATAG0_A), 570077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP0_14_12, REMOCON_B, SEL_REMOCON_B), 571077365a9SGeert Uytterhoeven 572077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_15, A4), 573077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_16, A5), 574077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_17, A6), 575077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_18, A7), 576077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_19, A8), 577077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_20, A9), 578077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_21, A10), 579077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_22, A11), 580077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_23, A12), 581077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_24, A13), 582077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_25, A14), 583077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_26, A15), 584077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_27, A16), 585077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_28, A17), 586077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_29, A18), 587077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP0_30, A19), 588077365a9SGeert Uytterhoeven 589077365a9SGeert Uytterhoeven /* IPSR1 */ 590077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_0, A20), 591077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_0, HSPI_CS1_B, SEL_HSPI1_B), 592077365a9SGeert Uytterhoeven 593077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_1, A21), 594077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_1, HSPI_CLK1_B, SEL_HSPI1_B), 595077365a9SGeert Uytterhoeven 596077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_4_2, A22), 597077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_4_2, HRTS0_B, SEL_HSCIF0_B), 598077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_4_2, RX2_B, SEL_SCIF2_B), 599077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_4_2, DREQ2_A, SEL_DREQ2_A), 600077365a9SGeert Uytterhoeven 601077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_7_5, A23), 602077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_7_5, HTX0_B), 603077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_7_5, TX2_B), 604077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_7_5, DACK2_A), 605077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_7_5, TS_SDEN0_A, SEL_TSIF0_A), 606077365a9SGeert Uytterhoeven 607077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_10_8, SD1_CD_A, SEL_SD1_A), 608077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_10_8, MMC_D6), 609077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_10_8, A24), 610077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_10_8, DREQ1_A, SEL_DREQ1_A), 611077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_10_8, HRX0_B, SEL_HSCIF0_B), 612077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_10_8, TS_SPSYNC0_A, SEL_TSIF0_A), 613077365a9SGeert Uytterhoeven 614077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_14_11, SD1_WP_A, SEL_SD1_A), 615077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_14_11, MMC_D7), 616077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_14_11, A25), 617077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_14_11, DACK1_A), 618077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_14_11, HCTS0_B, SEL_HSCIF0_B), 619077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_14_11, RX3_C, SEL_SCIF3_C), 620077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_14_11, TS_SDAT0_A, SEL_TSIF0_A), 621077365a9SGeert Uytterhoeven 622077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP1_16_15, CLKOUT), 623077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP1_16_15, HSPI_TX1_B), 624077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP1_16_15, PWM0_B), 625077365a9SGeert Uytterhoeven 626077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP1_17, CS0), 627077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGM(IP1_17, HSPI_RX1_B, SEL_HSPI1_B), 628077365a9SGeert Uytterhoeven 629077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGM(IP1_20_18, SSI_SCK1_B, SEL_SSI1_B), 630077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP1_20_18, ATAG0_B), 631077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP1_20_18, CS1_A26), 632077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGM(IP1_20_18, SDA2_A, SEL_I2C2_A), 633077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGM(IP1_20_18, SCK2_B, SEL_SCIF2_B), 634077365a9SGeert Uytterhoeven 635077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_23_21, MMC_D5), 636077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_23_21, ATADIR0_B), 637077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_23_21, RD_WR), 638077365a9SGeert Uytterhoeven 639077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_24, WE1), 640077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_24, ATAWR0_B), 641077365a9SGeert Uytterhoeven 642077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_27_25, SSI_WS1_B, SEL_SSI1_B), 643077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_27_25, EX_CS0), 644077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_27_25, SCL2_A, SEL_I2C2_A), 645077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_27_25, TX3_C), 646077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP1_27_25, TS_SCK0_A, SEL_TSIF0_A), 647077365a9SGeert Uytterhoeven 648077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_29_28, EX_CS1), 649077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP1_29_28, MMC_D4), 650077365a9SGeert Uytterhoeven 651077365a9SGeert Uytterhoeven /* IPSR2 */ 652077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_2_0, SD1_CLK_A), 653077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_2_0, MMC_CLK), 654077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_2_0, ATACS00), 655077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_2_0, EX_CS2), 656077365a9SGeert Uytterhoeven 657077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP2_5_3, SD1_CMD_A, SEL_SD1_A), 658077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_5_3, MMC_CMD), 659077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_5_3, ATACS10), 660077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_5_3, EX_CS3), 661077365a9SGeert Uytterhoeven 662077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP2_8_6, SD1_DAT0_A, SEL_SD1_A), 663077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_8_6, MMC_D0), 664077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_8_6, ATARD0), 665077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_8_6, EX_CS4), 666077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP2_8_6, EX_WAIT1_A, SEL_WAIT1_A), 667077365a9SGeert Uytterhoeven 668077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP2_11_9, SD1_DAT1_A, SEL_SD1_A), 669077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_11_9, MMC_D1), 670077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_11_9, ATAWR0_A), 671077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_11_9, EX_CS5), 672077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP2_11_9, EX_WAIT2_A, SEL_WAIT2_A), 673077365a9SGeert Uytterhoeven 674077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP2_13_12, DREQ0_A, SEL_DREQ0_A), 675077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP2_13_12, RX3_A, SEL_SCIF3_A), 676077365a9SGeert Uytterhoeven 677077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_16_14, DACK0), 678077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_16_14, TX3_A), 679077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_16_14, DRACK0), 680077365a9SGeert Uytterhoeven 681077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_17, EX_WAIT0), 682077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_17, PWM0_C), 683077365a9SGeert Uytterhoeven 684077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP2_18, D0), 685077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP2_19, D1), 686077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP2_20, D2), 687077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP2_21, D3), 688077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP2_22, D4), 689077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP2_23, D5), 690077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP2_24, D6), 691077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP2_25, D7), 692077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP2_26, D8), 693077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP2_27, D9), 694077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP2_28, D10), 695077365a9SGeert Uytterhoeven PINMUX_IPSR_NOGP(IP2_29, D11), 696077365a9SGeert Uytterhoeven 697077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_30, RD_WR_B), 698077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_30, IRQ0), 699077365a9SGeert Uytterhoeven 700077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP2_31, MLB_CLK), 701077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP2_31, IRQ1_A, SEL_IRQ1_A), 702077365a9SGeert Uytterhoeven 703077365a9SGeert Uytterhoeven /* IPSR3 */ 704077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_1_0, MLB_SIG), 705077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_1_0, RX5_B, SEL_SCIF5_B), 706077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_1_0, SDA3_A, SEL_I2C3_A), 707077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_1_0, IRQ2_A, SEL_IRQ2_A), 708077365a9SGeert Uytterhoeven 709077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_4_2, MLB_DAT), 710077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_4_2, TX5_B), 711077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_4_2, SCL3_A, SEL_I2C3_A), 712077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_4_2, IRQ3_A, SEL_IRQ3_A), 713077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_4_2, SDSELF_B), 714077365a9SGeert Uytterhoeven 715077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_7_5, SD1_CMD_B, SEL_SD1_B), 716077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_7_5, SCIF_CLK), 717077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_7_5, AUDIO_CLKOUT_B), 718077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_7_5, CAN_CLK_B, SEL_CANCLK_B), 719077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_7_5, SDA3_B, SEL_I2C3_B), 720077365a9SGeert Uytterhoeven 721077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_9_8, SD1_CLK_B), 722077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_9_8, HTX0_A), 723077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_9_8, TX0_A), 724077365a9SGeert Uytterhoeven 725077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_12_10, SD1_DAT0_B, SEL_SD1_B), 726077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_12_10, HRX0_A, SEL_HSCIF0_A), 727077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_12_10, RX0_A, SEL_SCIF0_A), 728077365a9SGeert Uytterhoeven 729077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_15_13, SD1_DAT1_B, SEL_SD1_B), 730077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_15_13, HSCK0, SEL_HSCIF0_A), 731077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_15_13, SCK0), 732077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_15_13, SCL3_B, SEL_I2C3_B), 733077365a9SGeert Uytterhoeven 734077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_18_16, SD1_DAT2_B, SEL_SD1_B), 735077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_18_16, HCTS0_A, SEL_HSCIF0_A), 736077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_18_16, CTS0), 737077365a9SGeert Uytterhoeven 738077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_20_19, SD1_DAT3_B, SEL_SD1_B), 739077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_20_19, HRTS0_A, SEL_HSCIF0_A), 740077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_20_19, RTS0), 741077365a9SGeert Uytterhoeven 742077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_23_21, SSI_SCK4), 743077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_23_21, DU0_DR0), 744077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_23_21, LCDOUT0), 745077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_23_21, AUDATA2), 746077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_23_21, ARM_TRACEDATA_2), 747077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_23_21, SDA3_C, SEL_I2C3_C), 748077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_23_21, ADICHS1), 749077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_23_21, TS_SDEN0_B, SEL_TSIF0_B), 750077365a9SGeert Uytterhoeven 751077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_26_24, SSI_WS4), 752077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_26_24, DU0_DR1), 753077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_26_24, LCDOUT1), 754077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_26_24, AUDATA3), 755077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_26_24, ARM_TRACEDATA_3), 756077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_26_24, SCL3_C, SEL_I2C3_C), 757077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_26_24, ADICHS2), 758077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP3_26_24, TS_SPSYNC0_B, SEL_TSIF0_B), 759077365a9SGeert Uytterhoeven 760077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_27, DU0_DR2), 761077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_27, LCDOUT2), 762077365a9SGeert Uytterhoeven 763077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_28, DU0_DR3), 764077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_28, LCDOUT3), 765077365a9SGeert Uytterhoeven 766077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_29, DU0_DR4), 767077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_29, LCDOUT4), 768077365a9SGeert Uytterhoeven 769077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_30, DU0_DR5), 770077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_30, LCDOUT5), 771077365a9SGeert Uytterhoeven 772077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_31, DU0_DR6), 773077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP3_31, LCDOUT6), 774077365a9SGeert Uytterhoeven 775077365a9SGeert Uytterhoeven /* IPSR4 */ 776077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_0, DU0_DR7), 777077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_0, LCDOUT7), 778077365a9SGeert Uytterhoeven 779077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_3_1, DU0_DG0), 780077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_3_1, LCDOUT8), 781077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_3_1, AUDATA4), 782077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_3_1, ARM_TRACEDATA_4), 783077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_3_1, TX1_D), 784077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_3_1, CAN0_TX_A), 785077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_3_1, ADICHS0), 786077365a9SGeert Uytterhoeven 787077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_6_4, DU0_DG1), 788077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_6_4, LCDOUT9), 789077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_6_4, AUDATA5), 790077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_6_4, ARM_TRACEDATA_5), 791077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP4_6_4, RX1_D, SEL_SCIF1_D), 792077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP4_6_4, CAN0_RX_A, SEL_CAN0_A), 793077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_6_4, ADIDATA), 794077365a9SGeert Uytterhoeven 795077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_7, DU0_DG2), 796077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_7, LCDOUT10), 797077365a9SGeert Uytterhoeven 798077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_8, DU0_DG3), 799077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_8, LCDOUT11), 800077365a9SGeert Uytterhoeven 801077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_10_9, DU0_DG4), 802077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_10_9, LCDOUT12), 803077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP4_10_9, RX0_B, SEL_SCIF0_B), 804077365a9SGeert Uytterhoeven 805077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_12_11, DU0_DG5), 806077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_12_11, LCDOUT13), 807077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_12_11, TX0_B), 808077365a9SGeert Uytterhoeven 809077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_14_13, DU0_DG6), 810077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_14_13, LCDOUT14), 811077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP4_14_13, RX4_A, SEL_SCIF4_A), 812077365a9SGeert Uytterhoeven 813077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_16_15, DU0_DG7), 814077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_16_15, LCDOUT15), 815077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_16_15, TX4_A), 816077365a9SGeert Uytterhoeven 817077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP4_20_17, SSI_SCK2_B, SEL_SSI2_B), 818077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R0_B_MARK, FN_IP4_20_17, FN_VI0_R0_B, FN_SEL_VI0_B), /* see sel_vi0 */ 819077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R0_D_MARK, FN_IP4_20_17, FN_VI0_R0_B, FN_SEL_VI0_D), /* see sel_vi0 */ 820077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_20_17, DU0_DB0), 821077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_20_17, LCDOUT16), 822077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_20_17, AUDATA6), 823077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_20_17, ARM_TRACEDATA_6), 824077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP4_20_17, GPSCLK_A, SEL_GPS_A), 825077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_20_17, PWM0_A), 826077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_20_17, ADICLK), 827077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP4_20_17, TS_SDAT0_B, SEL_TSIF0_B), 828077365a9SGeert Uytterhoeven 829077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_24_21, AUDIO_CLKC), 830077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R1_B_MARK, FN_IP4_24_21, FN_VI0_R1_B, FN_SEL_VI0_B), /* see sel_vi0 */ 831077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R1_D_MARK, FN_IP4_24_21, FN_VI0_R1_B, FN_SEL_VI0_D), /* see sel_vi0 */ 832077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_24_21, DU0_DB1), 833077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_24_21, LCDOUT17), 834077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_24_21, AUDATA7), 835077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_24_21, ARM_TRACEDATA_7), 836077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP4_24_21, GPSIN_A, SEL_GPS_A), 837077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_24_21, ADICS_SAMP), 838077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP4_24_21, TS_SCK0_B, SEL_TSIF0_B), 839077365a9SGeert Uytterhoeven 840077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R2_B_MARK, FN_IP4_26_25, FN_VI0_R2_B, FN_SEL_VI0_B), /* see sel_vi0 */ 841077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R2_D_MARK, FN_IP4_26_25, FN_VI0_R2_B, FN_SEL_VI0_D), /* see sel_vi0 */ 842077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_26_25, DU0_DB2), 843077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_26_25, LCDOUT18), 844077365a9SGeert Uytterhoeven 845077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP4_28_27, VI0_R3_B, SEL_VI0_B), 846077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_28_27, DU0_DB3), 847077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_28_27, LCDOUT19), 848077365a9SGeert Uytterhoeven 849077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R4_B_MARK, FN_IP4_30_29, FN_VI0_R4_B, FN_SEL_VI0_B), /* see sel_vi0 */ 850077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R4_D_MARK, FN_IP4_30_29, FN_VI0_R4_B, FN_SEL_VI0_D), /* see sel_vi0 */ 851077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_30_29, DU0_DB4), 852077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP4_30_29, LCDOUT20), 853077365a9SGeert Uytterhoeven 854077365a9SGeert Uytterhoeven /* IPSR5 */ 855077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R5_B_MARK, FN_IP5_1_0, FN_VI0_R5_B, FN_SEL_VI0_B), /* see sel_vi0 */ 856077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R5_D_MARK, FN_IP5_1_0, FN_VI0_R5_B, FN_SEL_VI0_D), /* see sel_vi0 */ 857077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_1_0, DU0_DB5), 858077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_1_0, LCDOUT21), 859077365a9SGeert Uytterhoeven 860077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_3_2, VI1_DATA10_B, SEL_VI1_B), 861077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_3_2, DU0_DB6), 862077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_3_2, LCDOUT22), 863077365a9SGeert Uytterhoeven 864077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_5_4, VI1_DATA11_B, SEL_VI1_B), 865077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_5_4, DU0_DB7), 866077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_5_4, LCDOUT23), 867077365a9SGeert Uytterhoeven 868077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_6, DU0_DOTCLKIN), 869077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_6, QSTVA_QVS), 870077365a9SGeert Uytterhoeven 871077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_7, DU0_DOTCLKO_UT0), 872077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_7, QCLK), 873077365a9SGeert Uytterhoeven 874077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_9_8, DU0_DOTCLKO_UT1), 875077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_9_8, QSTVB_QVE), 876077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_9_8, AUDIO_CLKOUT_A), 877077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_9_8, REMOCON_C, SEL_REMOCON_C), 878077365a9SGeert Uytterhoeven 879077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_11_10, SSI_WS2_B, SEL_SSI2_B), 880077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_11_10, DU0_EXHSYNC_DU0_HSYNC), 881077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_11_10, QSTH_QHS), 882077365a9SGeert Uytterhoeven 883077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_12, DU0_EXVSYNC_DU0_VSYNC), 884077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_12, QSTB_QHE), 885077365a9SGeert Uytterhoeven 886077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_14_13, DU0_EXODDF_DU0_ODDF_DISP_CDE), 887077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_14_13, QCPV_QDE), 888077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_14_13, FMCLK_D, SEL_FM_D), 889077365a9SGeert Uytterhoeven 890077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_17_15, SSI_SCK1_A, SEL_SSI1_A), 891077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_17_15, DU0_DISP), 892077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_17_15, QPOLA), 893077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_17_15, AUDCK), 894077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_17_15, ARM_TRACECLK), 895077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_17_15, BPFCLK_D), 896077365a9SGeert Uytterhoeven 897077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_20_18, SSI_WS1_A, SEL_SSI1_A), 898077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_20_18, DU0_CDE), 899077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_20_18, QPOLB), 900077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_20_18, AUDSYNC), 901077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_20_18, ARM_TRACECTL), 902077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_20_18, FMIN_D, SEL_FM_D), 903077365a9SGeert Uytterhoeven 904077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_22_21, SD1_CD_B, SEL_SD1_B), 905077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_22_21, SSI_SCK78), 906077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_22_21, HSPI_RX0_B, SEL_HSPI0_B), 907077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_22_21, TX1_B), 908077365a9SGeert Uytterhoeven 909077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_25_23, SD1_WP_B, SEL_SD1_B), 910077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_25_23, SSI_WS78), 911077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_25_23, HSPI_CLK0_B, SEL_HSPI0_B), 912077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_25_23, RX1_B, SEL_SCIF1_B), 913077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_25_23, CAN_CLK_D, SEL_CANCLK_D), 914077365a9SGeert Uytterhoeven 915077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_28_26, SSI_SDATA8), 916077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_28_26, SSI_SCK2_A, SEL_SSI2_A), 917077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_28_26, HSPI_CS0_B, SEL_HSPI0_B), 918077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_28_26, TX2_A), 919077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_28_26, CAN0_TX_B), 920077365a9SGeert Uytterhoeven 921077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_30_29, SSI_SDATA7), 922077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP5_30_29, HSPI_TX0_B), 923077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_30_29, RX2_A, SEL_SCIF2_A), 924077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP5_30_29, CAN0_RX_B, SEL_CAN0_B), 925077365a9SGeert Uytterhoeven 926077365a9SGeert Uytterhoeven /* IPSR6 */ 927077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_1_0, SSI_SCK6), 928077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP6_1_0, HSPI_RX2_A, SEL_HSPI2_A), 929077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP6_1_0, FMCLK_B, SEL_FM_B), 930077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_1_0, CAN1_TX_B), 931077365a9SGeert Uytterhoeven 932077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_4_2, SSI_WS6), 933077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP6_4_2, HSPI_CLK2_A, SEL_HSPI2_A), 934077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_4_2, BPFCLK_B), 935077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP6_4_2, CAN1_RX_B, SEL_CAN1_B), 936077365a9SGeert Uytterhoeven 937077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_6_5, SSI_SDATA6), 938077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_6_5, HSPI_TX2_A), 939077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP6_6_5, FMIN_B, SEL_FM_B), 940077365a9SGeert Uytterhoeven 941077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_7, SSI_SCK5), 942077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP6_7, RX4_C, SEL_SCIF4_C), 943077365a9SGeert Uytterhoeven 944077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_8, SSI_WS5), 945077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_8, TX4_C), 946077365a9SGeert Uytterhoeven 947077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_9, SSI_SDATA5), 948077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP6_9, RX0_D, SEL_SCIF0_D), 949077365a9SGeert Uytterhoeven 950077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_10, SSI_WS34), 951077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_10, ARM_TRACEDATA_8), 952077365a9SGeert Uytterhoeven 953077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_12_11, SSI_SDATA4), 954077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP6_12_11, SSI_WS2_A, SEL_SSI2_A), 955077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_12_11, ARM_TRACEDATA_9), 956077365a9SGeert Uytterhoeven 957077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_13, SSI_SDATA3), 958077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_13, ARM_TRACEDATA_10), 959077365a9SGeert Uytterhoeven 960077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_15_14, SSI_SCK012), 961077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_15_14, ARM_TRACEDATA_11), 962077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_15_14, TX0_D), 963077365a9SGeert Uytterhoeven 964077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_16, SSI_WS012), 965077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_16, ARM_TRACEDATA_12), 966077365a9SGeert Uytterhoeven 967077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_18_17, SSI_SDATA2), 968077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP6_18_17, HSPI_CS2_A, SEL_HSPI2_A), 969077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_18_17, ARM_TRACEDATA_13), 970077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP6_18_17, SDA1_A, SEL_I2C1_A), 971077365a9SGeert Uytterhoeven 972077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_20_19, SSI_SDATA1), 973077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_20_19, ARM_TRACEDATA_14), 974077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP6_20_19, SCL1_A, SEL_I2C1_A), 975077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP6_20_19, SCK2_A, SEL_SCIF2_A), 976077365a9SGeert Uytterhoeven 977077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_21, SSI_SDATA0), 978077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_21, ARM_TRACEDATA_15), 979077365a9SGeert Uytterhoeven 980077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_23_22, SD0_CLK), 981077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_23_22, SUB_TDO), 982077365a9SGeert Uytterhoeven 983077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_25_24, SD0_CMD), 984077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_25_24, SUB_TRST), 985077365a9SGeert Uytterhoeven 986077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_27_26, SD0_DAT0), 987077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_27_26, SUB_TMS), 988077365a9SGeert Uytterhoeven 989077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_29_28, SD0_DAT1), 990077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_29_28, SUB_TCK), 991077365a9SGeert Uytterhoeven 992077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_31_30, SD0_DAT2), 993077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP6_31_30, SUB_TDI), 994077365a9SGeert Uytterhoeven 995077365a9SGeert Uytterhoeven /* IPSR7 */ 996077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_1_0, SD0_DAT3), 997077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_1_0, IRQ1_B, SEL_IRQ1_B), 998077365a9SGeert Uytterhoeven 999077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_3_2, SD0_CD), 1000077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_3_2, TX5_A), 1001077365a9SGeert Uytterhoeven 1002077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_5_4, SD0_WP), 1003077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_5_4, RX5_A, SEL_SCIF5_A), 1004077365a9SGeert Uytterhoeven 1005077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_8_6, VI1_CLKENB), 1006077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_8_6, HSPI_CLK0_A, SEL_HSPI0_A), 1007077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_8_6, HTX1_A), 1008077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_8_6, RTS1_C, SEL_SCIF1_C), 1009077365a9SGeert Uytterhoeven 1010077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_11_9, VI1_FIELD), 1011077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_11_9, HSPI_CS0_A, SEL_HSPI0_A), 1012077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_11_9, HRX1_A, SEL_HSCIF1_A), 1013077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_11_9, SCK1_C, SEL_SCIF1_C), 1014077365a9SGeert Uytterhoeven 1015077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_14_12, VI1_HSYNC), 1016077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_14_12, HSPI_RX0_A, SEL_HSPI0_A), 1017077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_14_12, HRTS1_A, SEL_HSCIF1_A), 1018077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_14_12, FMCLK_A, SEL_FM_A), 1019077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_14_12, RX1_C, SEL_SCIF1_C), 1020077365a9SGeert Uytterhoeven 1021077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_17_15, VI1_VSYNC), 1022077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_17_15, HSPI_TX0), 1023077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_17_15, HCTS1_A, SEL_HSCIF1_A), 1024077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_17_15, BPFCLK_A), 1025077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_17_15, TX1_C), 1026077365a9SGeert Uytterhoeven 1027077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_20_18, TCLK0), 1028077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_20_18, HSCK1_A, SEL_HSCIF1_A), 1029077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_20_18, FMIN_A, SEL_FM_A), 1030077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_20_18, IRQ2_C, SEL_IRQ2_C), 1031077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_20_18, CTS1_C, SEL_SCIF1_C), 1032077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_20_18, SPEEDIN), 1033077365a9SGeert Uytterhoeven 1034077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_21, VI0_CLK), 1035077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_21, CAN_CLK_A, SEL_CANCLK_A), 1036077365a9SGeert Uytterhoeven 1037077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_24_22, VI0_CLKENB), 1038077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_24_22, SD2_DAT2_B, SEL_SD2_B), 1039077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_24_22, VI1_DATA0), 1040077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_24_22, DU1_DG6), 1041077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_24_22, HSPI_RX1_A, SEL_HSPI1_A), 1042077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_24_22, RX4_B, SEL_SCIF4_B), 1043077365a9SGeert Uytterhoeven 1044077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_28_25, VI0_FIELD), 1045077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_28_25, SD2_DAT3_B, SEL_SD2_B), 1046077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R3_C_MARK, FN_IP7_28_25, FN_VI0_R3_C, FN_SEL_VI0_C), /* see sel_vi0 */ 1047077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R3_D_MARK, FN_IP7_28_25, FN_VI0_R3_C, FN_SEL_VI0_D), /* see sel_vi0 */ 1048077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_28_25, VI1_DATA1), 1049077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_28_25, DU1_DG7), 1050077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_28_25, HSPI_CLK1_A, SEL_HSPI1_A), 1051077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_28_25, TX4_B), 1052077365a9SGeert Uytterhoeven 1053077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_31_29, VI0_HSYNC), 1054077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_31_29, SD2_CD_B, SEL_SD2_B), 1055077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_31_29, VI1_DATA2), 1056077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP7_31_29, DU1_DR2), 1057077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_31_29, HSPI_CS1_A, SEL_HSPI1_A), 1058077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP7_31_29, RX3_B, SEL_SCIF3_B), 1059077365a9SGeert Uytterhoeven 1060077365a9SGeert Uytterhoeven /* IPSR8 */ 1061077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_2_0, VI0_VSYNC), 1062077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP8_2_0, SD2_WP_B, SEL_SD2_B), 1063077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_2_0, VI1_DATA3), 1064077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_2_0, DU1_DR3), 1065077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_2_0, HSPI_TX1_A), 1066077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_2_0, TX3_B), 1067077365a9SGeert Uytterhoeven 1068077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_5_3, VI0_DATA0_VI0_B0), 1069077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_5_3, DU1_DG2), 1070077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP8_5_3, IRQ2_B, SEL_IRQ2_B), 1071077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP8_5_3, RX3_D, SEL_SCIF3_D), 1072077365a9SGeert Uytterhoeven 1073077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_8_6, VI0_DATA1_VI0_B1), 1074077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_8_6, DU1_DG3), 1075077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP8_8_6, IRQ3_B, SEL_IRQ3_B), 1076077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_8_6, TX3_D), 1077077365a9SGeert Uytterhoeven 1078077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_10_9, VI0_DATA2_VI0_B2), 1079077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_10_9, DU1_DG4), 1080077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP8_10_9, RX0_C, SEL_SCIF0_C), 1081077365a9SGeert Uytterhoeven 1082077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_13_11, VI0_DATA3_VI0_B3), 1083077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_13_11, DU1_DG5), 1084077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_13_11, TX1_A), 1085077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_13_11, TX0_C), 1086077365a9SGeert Uytterhoeven 1087077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_15_14, VI0_DATA4_VI0_B4), 1088077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_15_14, DU1_DB2), 1089077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP8_15_14, RX1_A, SEL_SCIF1_A), 1090077365a9SGeert Uytterhoeven 1091077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_18_16, VI0_DATA5_VI0_B5), 1092077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_18_16, DU1_DB3), 1093077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP8_18_16, SCK1_A, SEL_SCIF1_A), 1094077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_18_16, PWM4), 1095077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP8_18_16, HSCK1_B, SEL_HSCIF1_B), 1096077365a9SGeert Uytterhoeven 1097077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_21_19, VI0_DATA6_VI0_G0), 1098077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_21_19, DU1_DB4), 1099077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP8_21_19, CTS1_A, SEL_SCIF1_A), 1100077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_21_19, PWM5), 1101077365a9SGeert Uytterhoeven 1102077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_23_22, VI0_DATA7_VI0_G1), 1103077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_23_22, DU1_DB5), 1104077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP8_23_22, RTS1_A, SEL_SCIF1_A), 1105077365a9SGeert Uytterhoeven 1106077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_26_24, VI0_G2), 1107077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_26_24, SD2_CLK_B), 1108077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_26_24, VI1_DATA4), 1109077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_26_24, DU1_DR4), 1110077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_26_24, HTX1_B), 1111077365a9SGeert Uytterhoeven 1112077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_29_27, VI0_G3), 1113077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP8_29_27, SD2_CMD_B, SEL_SD2_B), 1114077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_29_27, VI1_DATA5), 1115077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP8_29_27, DU1_DR5), 1116077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP8_29_27, HRX1_B, SEL_HSCIF1_B), 1117077365a9SGeert Uytterhoeven 1118077365a9SGeert Uytterhoeven /* IPSR9 */ 1119077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_2_0, VI0_G4), 1120077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP9_2_0, SD2_DAT0_B, SEL_SD2_B), 1121077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_2_0, VI1_DATA6), 1122077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_2_0, DU1_DR6), 1123077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP9_2_0, HRTS1_B, SEL_HSCIF1_B), 1124077365a9SGeert Uytterhoeven 1125077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_5_3, VI0_G5), 1126077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP9_5_3, SD2_DAT1_B, SEL_SD2_B), 1127077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_5_3, VI1_DATA7), 1128077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_5_3, DU1_DR7), 1129077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP9_5_3, HCTS1_B, SEL_HSCIF1_B), 1130077365a9SGeert Uytterhoeven 1131077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R0_A_MARK, FN_IP9_8_6, FN_VI0_R0_A, FN_SEL_VI0_A), /* see sel_vi0 */ 1132077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R0_C_MARK, FN_IP9_8_6, FN_VI0_R0_A, FN_SEL_VI0_C), /* see sel_vi0 */ 1133077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_8_6, VI1_CLK), 1134077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_8_6, ETH_REF_CLK), 1135077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_8_6, DU1_DOTCLKIN), 1136077365a9SGeert Uytterhoeven 1137077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R1_A_MARK, FN_IP9_11_9, FN_VI0_R1_A, FN_SEL_VI0_A), /* see sel_vi0 */ 1138077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R1_C_MARK, FN_IP9_11_9, FN_VI0_R1_A, FN_SEL_VI0_C), /* see sel_vi0 */ 1139077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_11_9, VI1_DATA8), 1140077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_11_9, DU1_DB6), 1141077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_11_9, ETH_TXD0), 1142077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_11_9, PWM2), 1143077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_11_9, TCLK1), 1144077365a9SGeert Uytterhoeven 1145077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R2_A_MARK, FN_IP9_14_12, FN_VI0_R2_A, FN_SEL_VI0_A), /* see sel_vi0 */ 1146077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R2_C_MARK, FN_IP9_14_12, FN_VI0_R2_A, FN_SEL_VI0_C), /* see sel_vi0 */ 1147077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_14_12, VI1_DATA9), 1148077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_14_12, DU1_DB7), 1149077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_14_12, ETH_TXD1), 1150077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_14_12, PWM3), 1151077365a9SGeert Uytterhoeven 1152077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP9_17_15, VI0_R3_A, SEL_VI0_A), 1153077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_17_15, ETH_CRS_DV), 1154077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_17_15, IECLK), 1155077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP9_17_15, SCK2_C, SEL_SCIF2_C), 1156077365a9SGeert Uytterhoeven 1157077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R4_A_MARK, FN_IP9_20_18, FN_VI0_R4_A, FN_SEL_VI0_A), /* see sel_vi0 */ 1158077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R3_C_MARK, FN_IP9_20_18, FN_VI0_R4_A, FN_SEL_VI0_C), /* see sel_vi0 */ 1159077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_20_18, ETH_TX_EN), 1160077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_20_18, IETX), 1161077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_20_18, TX2_C), 1162077365a9SGeert Uytterhoeven 1163077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R5_A_MARK, FN_IP9_23_21, FN_VI0_R5_A, FN_SEL_VI0_A), /* see sel_vi0 */ 1164077365a9SGeert Uytterhoeven PINMUX_DATA(VI0_R5_C_MARK, FN_IP9_23_21, FN_VI0_R5_A, FN_SEL_VI0_C), /* see sel_vi0 */ 1165077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_23_21, ETH_RX_ER), 1166077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP9_23_21, FMCLK_C, SEL_FM_C), 1167077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_23_21, IERX), 1168077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP9_23_21, RX2_C, SEL_SCIF2_C), 1169077365a9SGeert Uytterhoeven 1170077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP9_26_24, VI1_DATA10_A, SEL_VI1_A), 1171077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_26_24, DU1_DOTCLKOUT), 1172077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_26_24, ETH_RXD0), 1173077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_26_24, BPFCLK_C), 1174077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_26_24, TX2_D), 1175077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP9_26_24, SDA2_C, SEL_I2C2_C), 1176077365a9SGeert Uytterhoeven 1177077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP9_29_27, VI1_DATA11_A, SEL_VI1_A), 1178077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_29_27, DU1_EXHSYNC_DU1_HSYNC), 1179077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP9_29_27, ETH_RXD1), 1180077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP9_29_27, FMIN_C, SEL_FM_C), 1181077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP9_29_27, RX2_D, SEL_SCIF2_D), 1182077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP9_29_27, SCL2_C, SEL_I2C2_C), 1183077365a9SGeert Uytterhoeven 1184077365a9SGeert Uytterhoeven /* IPSR10 */ 1185077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_2_0, SD2_CLK_A), 1186077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_2_0, DU1_EXVSYNC_DU1_VSYNC), 1187077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_2_0, ATARD1), 1188077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_2_0, ETH_MDC), 1189077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_2_0, SDA1_B, SEL_I2C1_B), 1190077365a9SGeert Uytterhoeven 1191077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_5_3, SD2_CMD_A, SEL_SD2_A), 1192077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_5_3, DU1_EXODDF_DU1_ODDF_DISP_CDE), 1193077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_5_3, ATAWR1), 1194077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_5_3, ETH_MDIO), 1195077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_5_3, SCL1_B, SEL_I2C1_B), 1196077365a9SGeert Uytterhoeven 1197077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_8_6, SD2_DAT0_A, SEL_SD2_A), 1198077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_8_6, DU1_DISP), 1199077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_8_6, ATACS01), 1200077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_8_6, DREQ1_B, SEL_DREQ1_B), 1201077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_8_6, ETH_LINK), 1202077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_8_6, CAN1_RX_A, SEL_CAN1_A), 1203077365a9SGeert Uytterhoeven 1204077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_12_9, SD2_DAT1_A, SEL_SD2_A), 1205077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_12_9, DU1_CDE), 1206077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_12_9, ATACS11), 1207077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_12_9, DACK1_B), 1208077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_12_9, ETH_MAGIC), 1209077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_12_9, CAN1_TX_A), 1210077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_12_9, PWM6), 1211077365a9SGeert Uytterhoeven 1212077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_15_13, SD2_DAT2_A, SEL_SD2_A), 1213077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_15_13, VI1_DATA12), 1214077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_15_13, DREQ2_B, SEL_DREQ2_B), 1215077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_15_13, ATADIR1), 1216077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_15_13, HSPI_CLK2_B, SEL_HSPI2_B), 1217077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_15_13, GPSCLK_B, SEL_GPS_B), 1218077365a9SGeert Uytterhoeven 1219077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_18_16, SD2_DAT3_A, SEL_SD2_A), 1220077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_18_16, VI1_DATA13), 1221077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_18_16, DACK2_B), 1222077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_18_16, ATAG1), 1223077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_18_16, HSPI_CS2_B, SEL_HSPI2_B), 1224077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_18_16, GPSIN_B, SEL_GPS_B), 1225077365a9SGeert Uytterhoeven 1226077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_21_19, SD2_CD_A, SEL_SD2_A), 1227077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_21_19, VI1_DATA14), 1228077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_21_19, EX_WAIT1_B, SEL_WAIT1_B), 1229077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_21_19, DREQ0_B, SEL_DREQ0_B), 1230077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_21_19, HSPI_RX2_B, SEL_HSPI2_B), 1231077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_21_19, REMOCON_A, SEL_REMOCON_A), 1232077365a9SGeert Uytterhoeven 1233077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_24_22, SD2_WP_A, SEL_SD2_A), 1234077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_24_22, VI1_DATA15), 1235077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_24_22, EX_WAIT2_B, SEL_WAIT2_B), 1236077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_24_22, DACK0_B), 1237077365a9SGeert Uytterhoeven PINMUX_IPSR_GPSR(IP10_24_22, HSPI_TX2_B), 1238077365a9SGeert Uytterhoeven PINMUX_IPSR_MSEL(IP10_24_22, CAN_CLK_C, SEL_CANCLK_C), 1239077365a9SGeert Uytterhoeven }; 1240077365a9SGeert Uytterhoeven 1241077365a9SGeert Uytterhoeven /* 1242077365a9SGeert Uytterhoeven * Pins not associated with a GPIO port. 1243077365a9SGeert Uytterhoeven */ 1244077365a9SGeert Uytterhoeven enum { 1245077365a9SGeert Uytterhoeven GP_ASSIGN_LAST(), 1246077365a9SGeert Uytterhoeven NOGP_ALL(), 1247077365a9SGeert Uytterhoeven }; 1248077365a9SGeert Uytterhoeven 1249077365a9SGeert Uytterhoeven static const struct sh_pfc_pin pinmux_pins[] = { 1250077365a9SGeert Uytterhoeven PINMUX_GPIO_GP_ALL(), 1251077365a9SGeert Uytterhoeven PINMUX_NOGP_ALL(), 1252077365a9SGeert Uytterhoeven }; 1253077365a9SGeert Uytterhoeven 1254077365a9SGeert Uytterhoeven /* - macro */ 1255077365a9SGeert Uytterhoeven #define SH_PFC_PINS(name, args...) \ 1256077365a9SGeert Uytterhoeven static const unsigned int name ##_pins[] = { args } 1257077365a9SGeert Uytterhoeven #define SH_PFC_MUX1(name, arg1) \ 1258077365a9SGeert Uytterhoeven static const unsigned int name ##_mux[] = { arg1##_MARK } 1259077365a9SGeert Uytterhoeven #define SH_PFC_MUX2(name, arg1, arg2) \ 1260077365a9SGeert Uytterhoeven static const unsigned int name ##_mux[] = { arg1##_MARK, arg2##_MARK, } 1261077365a9SGeert Uytterhoeven #define SH_PFC_MUX3(name, arg1, arg2, arg3) \ 1262077365a9SGeert Uytterhoeven static const unsigned int name ##_mux[] = { arg1##_MARK, arg2##_MARK, \ 1263077365a9SGeert Uytterhoeven arg3##_MARK } 1264077365a9SGeert Uytterhoeven #define SH_PFC_MUX4(name, arg1, arg2, arg3, arg4) \ 1265077365a9SGeert Uytterhoeven static const unsigned int name ##_mux[] = { arg1##_MARK, arg2##_MARK, \ 1266077365a9SGeert Uytterhoeven arg3##_MARK, arg4##_MARK } 1267077365a9SGeert Uytterhoeven #define SH_PFC_MUX8(name, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \ 1268077365a9SGeert Uytterhoeven static const unsigned int name ##_mux[] = { arg1##_MARK, arg2##_MARK, \ 1269077365a9SGeert Uytterhoeven arg3##_MARK, arg4##_MARK, \ 1270077365a9SGeert Uytterhoeven arg5##_MARK, arg6##_MARK, \ 1271077365a9SGeert Uytterhoeven arg7##_MARK, arg8##_MARK, } 1272077365a9SGeert Uytterhoeven 1273077365a9SGeert Uytterhoeven /* - AUDIO macro -------------------------------------------------------------*/ 1274077365a9SGeert Uytterhoeven #define AUDIO_PFC_PIN(name, pin) SH_PFC_PINS(name, pin) 1275077365a9SGeert Uytterhoeven #define AUDIO_PFC_DAT(name, pin) SH_PFC_MUX1(name, pin) 1276077365a9SGeert Uytterhoeven 1277077365a9SGeert Uytterhoeven /* - AUDIO clock -------------------------------------------------------------*/ 1278077365a9SGeert Uytterhoeven AUDIO_PFC_PIN(audio_clk_a, RCAR_GP_PIN(2, 22)); 1279077365a9SGeert Uytterhoeven AUDIO_PFC_DAT(audio_clk_a, AUDIO_CLKA); 1280077365a9SGeert Uytterhoeven AUDIO_PFC_PIN(audio_clk_b, RCAR_GP_PIN(2, 23)); 1281077365a9SGeert Uytterhoeven AUDIO_PFC_DAT(audio_clk_b, AUDIO_CLKB); 1282077365a9SGeert Uytterhoeven AUDIO_PFC_PIN(audio_clk_c, RCAR_GP_PIN(2, 7)); 1283077365a9SGeert Uytterhoeven AUDIO_PFC_DAT(audio_clk_c, AUDIO_CLKC); 1284077365a9SGeert Uytterhoeven AUDIO_PFC_PIN(audio_clkout_a, RCAR_GP_PIN(2, 16)); 1285077365a9SGeert Uytterhoeven AUDIO_PFC_DAT(audio_clkout_a, AUDIO_CLKOUT_A); 1286077365a9SGeert Uytterhoeven AUDIO_PFC_PIN(audio_clkout_b, RCAR_GP_PIN(1, 16)); 1287077365a9SGeert Uytterhoeven AUDIO_PFC_DAT(audio_clkout_b, AUDIO_CLKOUT_B); 1288077365a9SGeert Uytterhoeven 1289077365a9SGeert Uytterhoeven /* - CAN macro --------_----------------------------------------------------- */ 1290077365a9SGeert Uytterhoeven #define CAN_PFC_PINS(name, args...) SH_PFC_PINS(name, args) 1291077365a9SGeert Uytterhoeven #define CAN_PFC_DATA(name, tx, rx) SH_PFC_MUX2(name, tx, rx) 1292077365a9SGeert Uytterhoeven #define CAN_PFC_CLK(name, clk) SH_PFC_MUX1(name, clk) 1293077365a9SGeert Uytterhoeven 1294077365a9SGeert Uytterhoeven /* - CAN0 ------------------------------------------------------------------- */ 1295077365a9SGeert Uytterhoeven CAN_PFC_PINS(can0_data_a, RCAR_GP_PIN(1, 30), RCAR_GP_PIN(1, 31)); 1296077365a9SGeert Uytterhoeven CAN_PFC_DATA(can0_data_a, CAN0_TX_A, CAN0_RX_A); 1297077365a9SGeert Uytterhoeven CAN_PFC_PINS(can0_data_b, RCAR_GP_PIN(2, 26), RCAR_GP_PIN(2, 27)); 1298077365a9SGeert Uytterhoeven CAN_PFC_DATA(can0_data_b, CAN0_TX_B, CAN0_RX_B); 1299077365a9SGeert Uytterhoeven 1300077365a9SGeert Uytterhoeven /* - CAN1 ------------------------------------------------------------------- */ 1301077365a9SGeert Uytterhoeven CAN_PFC_PINS(can1_data_a, RCAR_GP_PIN(4, 20), RCAR_GP_PIN(4, 19)); 1302077365a9SGeert Uytterhoeven CAN_PFC_DATA(can1_data_a, CAN1_TX_A, CAN1_RX_A); 1303077365a9SGeert Uytterhoeven CAN_PFC_PINS(can1_data_b, RCAR_GP_PIN(2, 28), RCAR_GP_PIN(2, 29)); 1304077365a9SGeert Uytterhoeven CAN_PFC_DATA(can1_data_b, CAN1_TX_B, CAN1_RX_B); 1305077365a9SGeert Uytterhoeven 1306077365a9SGeert Uytterhoeven /* - CAN_CLK --------------------------------------------------------------- */ 1307077365a9SGeert Uytterhoeven CAN_PFC_PINS(can_clk_a, RCAR_GP_PIN(3, 24)); 1308077365a9SGeert Uytterhoeven CAN_PFC_CLK(can_clk_a, CAN_CLK_A); 1309077365a9SGeert Uytterhoeven CAN_PFC_PINS(can_clk_b, RCAR_GP_PIN(1, 16)); 1310077365a9SGeert Uytterhoeven CAN_PFC_CLK(can_clk_b, CAN_CLK_B); 1311077365a9SGeert Uytterhoeven CAN_PFC_PINS(can_clk_c, RCAR_GP_PIN(4, 24)); 1312077365a9SGeert Uytterhoeven CAN_PFC_CLK(can_clk_c, CAN_CLK_C); 1313077365a9SGeert Uytterhoeven CAN_PFC_PINS(can_clk_d, RCAR_GP_PIN(2, 25)); 1314077365a9SGeert Uytterhoeven CAN_PFC_CLK(can_clk_d, CAN_CLK_D); 1315077365a9SGeert Uytterhoeven 1316077365a9SGeert Uytterhoeven /* - Ether ------------------------------------------------------------------ */ 1317077365a9SGeert Uytterhoeven SH_PFC_PINS(ether_rmii, RCAR_GP_PIN(4, 10), RCAR_GP_PIN(4, 11), 1318077365a9SGeert Uytterhoeven RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 9), 1319077365a9SGeert Uytterhoeven RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16), 1320077365a9SGeert Uytterhoeven RCAR_GP_PIN(4, 12), RCAR_GP_PIN(4, 14), 1321077365a9SGeert Uytterhoeven RCAR_GP_PIN(4, 18), RCAR_GP_PIN(4, 17)); 1322077365a9SGeert Uytterhoeven static const unsigned int ether_rmii_mux[] = { 1323077365a9SGeert Uytterhoeven ETH_TXD0_MARK, ETH_TXD1_MARK, ETH_TX_EN_MARK, ETH_REF_CLK_MARK, 1324077365a9SGeert Uytterhoeven ETH_RXD0_MARK, ETH_RXD1_MARK, ETH_CRS_DV_MARK, ETH_RX_ER_MARK, 1325077365a9SGeert Uytterhoeven ETH_MDIO_MARK, ETH_MDC_MARK, 1326077365a9SGeert Uytterhoeven }; 1327077365a9SGeert Uytterhoeven SH_PFC_PINS(ether_link, RCAR_GP_PIN(4, 19)); 1328077365a9SGeert Uytterhoeven SH_PFC_MUX1(ether_link, ETH_LINK); 1329077365a9SGeert Uytterhoeven SH_PFC_PINS(ether_magic, RCAR_GP_PIN(4, 20)); 1330077365a9SGeert Uytterhoeven SH_PFC_MUX1(ether_magic, ETH_MAGIC); 1331077365a9SGeert Uytterhoeven 1332077365a9SGeert Uytterhoeven /* - SCIF macro ------------------------------------------------------------- */ 1333077365a9SGeert Uytterhoeven #define SCIF_PFC_PIN(name, args...) SH_PFC_PINS(name, args) 1334077365a9SGeert Uytterhoeven #define SCIF_PFC_DAT(name, tx, rx) SH_PFC_MUX2(name, tx, rx) 1335077365a9SGeert Uytterhoeven #define SCIF_PFC_CTR(name, cts, rts) SH_PFC_MUX2(name, cts, rts) 1336077365a9SGeert Uytterhoeven #define SCIF_PFC_CLK(name, sck) SH_PFC_MUX1(name, sck) 1337077365a9SGeert Uytterhoeven 1338077365a9SGeert Uytterhoeven /* - HSCIF0 ----------------------------------------------------------------- */ 1339077365a9SGeert Uytterhoeven SCIF_PFC_PIN(hscif0_data_a, RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 18)); 1340077365a9SGeert Uytterhoeven SCIF_PFC_DAT(hscif0_data_a, HTX0_A, HRX0_A); 1341077365a9SGeert Uytterhoeven SCIF_PFC_PIN(hscif0_data_b, RCAR_GP_PIN(0, 29), RCAR_GP_PIN(0, 30)); 1342077365a9SGeert Uytterhoeven SCIF_PFC_DAT(hscif0_data_b, HTX0_B, HRX0_B); 1343077365a9SGeert Uytterhoeven SCIF_PFC_PIN(hscif0_ctrl_a, RCAR_GP_PIN(1, 20), RCAR_GP_PIN(1, 21)); 1344077365a9SGeert Uytterhoeven SCIF_PFC_CTR(hscif0_ctrl_a, HCTS0_A, HRTS0_A); 1345077365a9SGeert Uytterhoeven SCIF_PFC_PIN(hscif0_ctrl_b, RCAR_GP_PIN(0, 31), RCAR_GP_PIN(0, 28)); 1346077365a9SGeert Uytterhoeven SCIF_PFC_CTR(hscif0_ctrl_b, HCTS0_B, HRTS0_B); 1347077365a9SGeert Uytterhoeven SCIF_PFC_PIN(hscif0_clk, RCAR_GP_PIN(1, 19)); 1348077365a9SGeert Uytterhoeven SCIF_PFC_CLK(hscif0_clk, HSCK0); 1349077365a9SGeert Uytterhoeven 1350077365a9SGeert Uytterhoeven /* - HSCIF1 ----------------------------------------------------------------- */ 1351077365a9SGeert Uytterhoeven SCIF_PFC_PIN(hscif1_data_a, RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 20)); 1352077365a9SGeert Uytterhoeven SCIF_PFC_DAT(hscif1_data_a, HTX1_A, HRX1_A); 1353077365a9SGeert Uytterhoeven SCIF_PFC_PIN(hscif1_data_b, RCAR_GP_PIN(4, 5), RCAR_GP_PIN(4, 6)); 1354077365a9SGeert Uytterhoeven SCIF_PFC_DAT(hscif1_data_b, HTX1_B, HRX1_B); 1355077365a9SGeert Uytterhoeven SCIF_PFC_PIN(hscif1_ctrl_a, RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21)); 1356077365a9SGeert Uytterhoeven SCIF_PFC_CTR(hscif1_ctrl_a, HCTS1_A, HRTS1_A); 1357077365a9SGeert Uytterhoeven SCIF_PFC_PIN(hscif1_ctrl_b, RCAR_GP_PIN(4, 8), RCAR_GP_PIN(4, 7)); 1358077365a9SGeert Uytterhoeven SCIF_PFC_CTR(hscif1_ctrl_b, HCTS1_B, HRTS1_B); 1359077365a9SGeert Uytterhoeven SCIF_PFC_PIN(hscif1_clk_a, RCAR_GP_PIN(3, 23)); 1360077365a9SGeert Uytterhoeven SCIF_PFC_CLK(hscif1_clk_a, HSCK1_A); 1361077365a9SGeert Uytterhoeven SCIF_PFC_PIN(hscif1_clk_b, RCAR_GP_PIN(4, 2)); 1362077365a9SGeert Uytterhoeven SCIF_PFC_CLK(hscif1_clk_b, HSCK1_B); 1363077365a9SGeert Uytterhoeven 1364077365a9SGeert Uytterhoeven /* - HSPI macro --------------------------------------------------------------*/ 1365077365a9SGeert Uytterhoeven #define HSPI_PFC_PIN(name, args...) SH_PFC_PINS(name, args) 1366077365a9SGeert Uytterhoeven #define HSPI_PFC_DAT(name, clk, cs, rx, tx) SH_PFC_MUX4(name, clk, cs, rx, tx) 1367077365a9SGeert Uytterhoeven 1368077365a9SGeert Uytterhoeven /* - HSPI0 -------------------------------------------------------------------*/ 1369077365a9SGeert Uytterhoeven HSPI_PFC_PIN(hspi0_a, RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 20), 1370077365a9SGeert Uytterhoeven RCAR_GP_PIN(3, 21), RCAR_GP_PIN(3, 22)); 1371077365a9SGeert Uytterhoeven HSPI_PFC_DAT(hspi0_a, HSPI_CLK0_A, HSPI_CS0_A, 1372077365a9SGeert Uytterhoeven HSPI_RX0_A, HSPI_TX0); 1373077365a9SGeert Uytterhoeven 1374077365a9SGeert Uytterhoeven HSPI_PFC_PIN(hspi0_b, RCAR_GP_PIN(2, 25), RCAR_GP_PIN(2, 26), 1375077365a9SGeert Uytterhoeven RCAR_GP_PIN(2, 24), RCAR_GP_PIN(2, 27)); 1376077365a9SGeert Uytterhoeven HSPI_PFC_DAT(hspi0_b, HSPI_CLK0_B, HSPI_CS0_B, 1377077365a9SGeert Uytterhoeven HSPI_RX0_B, HSPI_TX0_B); 1378077365a9SGeert Uytterhoeven 1379077365a9SGeert Uytterhoeven /* - HSPI1 -------------------------------------------------------------------*/ 1380077365a9SGeert Uytterhoeven HSPI_PFC_PIN(hspi1_a, RCAR_GP_PIN(3, 26), RCAR_GP_PIN(3, 27), 1381077365a9SGeert Uytterhoeven RCAR_GP_PIN(3, 25), RCAR_GP_PIN(3, 28)); 1382077365a9SGeert Uytterhoeven HSPI_PFC_DAT(hspi1_a, HSPI_CLK1_A, HSPI_CS1_A, 1383077365a9SGeert Uytterhoeven HSPI_RX1_A, HSPI_TX1_A); 1384077365a9SGeert Uytterhoeven 1385077365a9SGeert Uytterhoeven HSPI_PFC_PIN(hspi1_b, RCAR_GP_PIN(0, 27), RCAR_GP_PIN(0, 26), 1386077365a9SGeert Uytterhoeven PIN_CS0, PIN_CLKOUT); 1387077365a9SGeert Uytterhoeven HSPI_PFC_DAT(hspi1_b, HSPI_CLK1_B, HSPI_CS1_B, 1388077365a9SGeert Uytterhoeven HSPI_RX1_B, HSPI_TX1_B); 1389077365a9SGeert Uytterhoeven 1390077365a9SGeert Uytterhoeven /* - HSPI2 -------------------------------------------------------------------*/ 1391077365a9SGeert Uytterhoeven HSPI_PFC_PIN(hspi2_a, RCAR_GP_PIN(2, 29), RCAR_GP_PIN(3, 8), 1392077365a9SGeert Uytterhoeven RCAR_GP_PIN(2, 28), RCAR_GP_PIN(2, 30)); 1393077365a9SGeert Uytterhoeven HSPI_PFC_DAT(hspi2_a, HSPI_CLK2_A, HSPI_CS2_A, 1394077365a9SGeert Uytterhoeven HSPI_RX2_A, HSPI_TX2_A); 1395077365a9SGeert Uytterhoeven 1396077365a9SGeert Uytterhoeven HSPI_PFC_PIN(hspi2_b, RCAR_GP_PIN(4, 21), RCAR_GP_PIN(4, 22), 1397077365a9SGeert Uytterhoeven RCAR_GP_PIN(4, 23), RCAR_GP_PIN(4, 24)); 1398077365a9SGeert Uytterhoeven HSPI_PFC_DAT(hspi2_b, HSPI_CLK2_B, HSPI_CS2_B, 1399077365a9SGeert Uytterhoeven HSPI_RX2_B, HSPI_TX2_B); 1400077365a9SGeert Uytterhoeven 1401077365a9SGeert Uytterhoeven /* - I2C macro ------------------------------------------------------------- */ 1402077365a9SGeert Uytterhoeven #define I2C_PFC_PIN(name, args...) SH_PFC_PINS(name, args) 1403077365a9SGeert Uytterhoeven #define I2C_PFC_MUX(name, sda, scl) SH_PFC_MUX2(name, sda, scl) 1404077365a9SGeert Uytterhoeven 1405077365a9SGeert Uytterhoeven /* - I2C1 ------------------------------------------------------------------ */ 1406077365a9SGeert Uytterhoeven I2C_PFC_PIN(i2c1_a, RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9)); 1407077365a9SGeert Uytterhoeven I2C_PFC_MUX(i2c1_a, SDA1_A, SCL1_A); 1408077365a9SGeert Uytterhoeven I2C_PFC_PIN(i2c1_b, RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 18)); 1409077365a9SGeert Uytterhoeven I2C_PFC_MUX(i2c1_b, SDA1_B, SCL1_B); 1410077365a9SGeert Uytterhoeven 1411077365a9SGeert Uytterhoeven /* - I2C2 ------------------------------------------------------------------ */ 1412077365a9SGeert Uytterhoeven I2C_PFC_PIN(i2c2_a, PIN_CS1_A26, RCAR_GP_PIN(1, 3)); 1413077365a9SGeert Uytterhoeven I2C_PFC_MUX(i2c2_a, SDA2_A, SCL2_A); 1414077365a9SGeert Uytterhoeven I2C_PFC_PIN(i2c2_b, RCAR_GP_PIN(0, 3), RCAR_GP_PIN(0, 4)); 1415077365a9SGeert Uytterhoeven I2C_PFC_MUX(i2c2_b, SDA2_B, SCL2_B); 1416077365a9SGeert Uytterhoeven I2C_PFC_PIN(i2c2_c, RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16)); 1417077365a9SGeert Uytterhoeven I2C_PFC_MUX(i2c2_c, SDA2_C, SCL2_C); 1418077365a9SGeert Uytterhoeven 1419077365a9SGeert Uytterhoeven /* - I2C3 ------------------------------------------------------------------ */ 1420077365a9SGeert Uytterhoeven I2C_PFC_PIN(i2c3_a, RCAR_GP_PIN(1, 14), RCAR_GP_PIN(1, 15)); 1421077365a9SGeert Uytterhoeven I2C_PFC_MUX(i2c3_a, SDA3_A, SCL3_A); 1422077365a9SGeert Uytterhoeven I2C_PFC_PIN(i2c3_b, RCAR_GP_PIN(1, 16), RCAR_GP_PIN(1, 19)); 1423077365a9SGeert Uytterhoeven I2C_PFC_MUX(i2c3_b, SDA3_B, SCL3_B); 1424077365a9SGeert Uytterhoeven I2C_PFC_PIN(i2c3_c, RCAR_GP_PIN(1, 22), RCAR_GP_PIN(1, 23)); 1425077365a9SGeert Uytterhoeven I2C_PFC_MUX(i2c3_c, SDA3_C, SCL3_C); 1426077365a9SGeert Uytterhoeven 1427077365a9SGeert Uytterhoeven /* - MMC macro -------------------------------------------------------------- */ 1428077365a9SGeert Uytterhoeven #define MMC_PFC_PINS(name, args...) SH_PFC_PINS(name, args) 1429077365a9SGeert Uytterhoeven #define MMC_PFC_CTRL(name, clk, cmd) SH_PFC_MUX2(name, clk, cmd) 1430077365a9SGeert Uytterhoeven #define MMC_PFC_DAT8(name, d0, d1, d2, d3, d4, d5, d6, d7) \ 1431077365a9SGeert Uytterhoeven SH_PFC_MUX8(name, d0, d1, d2, d3, d4, d5, d6, d7) 1432077365a9SGeert Uytterhoeven 1433077365a9SGeert Uytterhoeven /* - MMC -------------------------------------------------------------------- */ 1434077365a9SGeert Uytterhoeven MMC_PFC_PINS(mmc_ctrl, RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6)); 1435077365a9SGeert Uytterhoeven MMC_PFC_CTRL(mmc_ctrl, MMC_CLK, MMC_CMD); 1436e56ca224SGeert Uytterhoeven MMC_PFC_PINS(mmc_data, RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 8), 1437077365a9SGeert Uytterhoeven RCAR_GP_PIN(0, 5), RCAR_GP_PIN(0, 6), 1438077365a9SGeert Uytterhoeven RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 0), 1439077365a9SGeert Uytterhoeven RCAR_GP_PIN(0, 30), RCAR_GP_PIN(0, 31)); 1440e56ca224SGeert Uytterhoeven MMC_PFC_DAT8(mmc_data, MMC_D0, MMC_D1, 1441077365a9SGeert Uytterhoeven MMC_D2, MMC_D3, 1442077365a9SGeert Uytterhoeven MMC_D4, MMC_D5, 1443077365a9SGeert Uytterhoeven MMC_D6, MMC_D7); 1444077365a9SGeert Uytterhoeven 1445077365a9SGeert Uytterhoeven /* - SCIF CLOCK ------------------------------------------------------------- */ 1446077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif_clk, RCAR_GP_PIN(1, 16)); 1447077365a9SGeert Uytterhoeven SCIF_PFC_CLK(scif_clk, SCIF_CLK); 1448077365a9SGeert Uytterhoeven 1449077365a9SGeert Uytterhoeven /* - SCIF0 ------------------------------------------------------------------ */ 1450077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif0_data_a, RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 18)); 1451077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif0_data_a, TX0_A, RX0_A); 1452077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif0_data_b, RCAR_GP_PIN(2, 3), RCAR_GP_PIN(2, 2)); 1453077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif0_data_b, TX0_B, RX0_B); 1454077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif0_data_c, RCAR_GP_PIN(4, 0), RCAR_GP_PIN(3, 31)); 1455077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif0_data_c, TX0_C, RX0_C); 1456077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif0_data_d, RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 1)); 1457077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif0_data_d, TX0_D, RX0_D); 1458077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif0_ctrl, RCAR_GP_PIN(1, 20), RCAR_GP_PIN(1, 21)); 1459077365a9SGeert Uytterhoeven SCIF_PFC_CTR(scif0_ctrl, CTS0, RTS0); 1460077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif0_clk, RCAR_GP_PIN(1, 19)); 1461077365a9SGeert Uytterhoeven SCIF_PFC_CLK(scif0_clk, SCK0); 1462077365a9SGeert Uytterhoeven 1463077365a9SGeert Uytterhoeven /* - SCIF1 ------------------------------------------------------------------ */ 1464077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif1_data_a, RCAR_GP_PIN(4, 0), RCAR_GP_PIN(4, 1)); 1465077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif1_data_a, TX1_A, RX1_A); 1466077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif1_data_b, RCAR_GP_PIN(2, 24), RCAR_GP_PIN(2, 25)); 1467077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif1_data_b, TX1_B, RX1_B); 1468077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif1_data_c, RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21)); 1469077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif1_data_c, TX1_C, RX1_C); 1470077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif1_data_d, RCAR_GP_PIN(1, 30), RCAR_GP_PIN(1, 31)); 1471077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif1_data_d, TX1_D, RX1_D); 1472077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif1_ctrl_a, RCAR_GP_PIN(4, 3), RCAR_GP_PIN(4, 4)); 1473077365a9SGeert Uytterhoeven SCIF_PFC_CTR(scif1_ctrl_a, CTS1_A, RTS1_A); 1474077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif1_ctrl_c, RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 19)); 1475077365a9SGeert Uytterhoeven SCIF_PFC_CTR(scif1_ctrl_c, CTS1_C, RTS1_C); 1476077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif1_clk_a, RCAR_GP_PIN(4, 2)); 1477077365a9SGeert Uytterhoeven SCIF_PFC_CLK(scif1_clk_a, SCK1_A); 1478077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif1_clk_c, RCAR_GP_PIN(3, 20)); 1479077365a9SGeert Uytterhoeven SCIF_PFC_CLK(scif1_clk_c, SCK1_C); 1480077365a9SGeert Uytterhoeven 1481077365a9SGeert Uytterhoeven /* - SCIF2 ------------------------------------------------------------------ */ 1482077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif2_data_a, RCAR_GP_PIN(2, 26), RCAR_GP_PIN(2, 27)); 1483077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif2_data_a, TX2_A, RX2_A); 1484077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif2_data_b, RCAR_GP_PIN(0, 29), RCAR_GP_PIN(0, 28)); 1485077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif2_data_b, TX2_B, RX2_B); 1486077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif2_data_c, RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 14)); 1487077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif2_data_c, TX2_C, RX2_C); 1488077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif2_data_d, RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16)); 1489077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif2_data_d, TX2_D, RX2_D); 1490077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif2_data_e, RCAR_GP_PIN(0, 3), RCAR_GP_PIN(0, 4)); 1491077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif2_data_e, TX2_E, RX2_E); 1492077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif2_clk_a, RCAR_GP_PIN(3, 9)); 1493077365a9SGeert Uytterhoeven SCIF_PFC_CLK(scif2_clk_a, SCK2_A); 1494077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif2_clk_b, PIN_CS1_A26); 1495077365a9SGeert Uytterhoeven SCIF_PFC_CLK(scif2_clk_b, SCK2_B); 1496077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif2_clk_c, RCAR_GP_PIN(4, 12)); 1497077365a9SGeert Uytterhoeven SCIF_PFC_CLK(scif2_clk_c, SCK2_C); 1498077365a9SGeert Uytterhoeven 1499077365a9SGeert Uytterhoeven /* - SCIF3 ------------------------------------------------------------------ */ 1500077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif3_data_a, RCAR_GP_PIN(1, 10), RCAR_GP_PIN(1, 9)); 1501077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif3_data_a, TX3_A, RX3_A); 1502077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif3_data_b, RCAR_GP_PIN(3, 28), RCAR_GP_PIN(3, 27)); 1503077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif3_data_b, TX3_B, RX3_B); 1504077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif3_data_c, RCAR_GP_PIN(1, 3), RCAR_GP_PIN(0, 31)); 1505077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif3_data_c, TX3_C, RX3_C); 1506077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif3_data_d, RCAR_GP_PIN(3, 30), RCAR_GP_PIN(3, 29)); 1507077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif3_data_d, TX3_D, RX3_D); 1508077365a9SGeert Uytterhoeven 1509077365a9SGeert Uytterhoeven /* - SCIF4 ------------------------------------------------------------------ */ 1510077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif4_data_a, RCAR_GP_PIN(2, 5), RCAR_GP_PIN(2, 4)); 1511077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif4_data_a, TX4_A, RX4_A); 1512077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif4_data_b, RCAR_GP_PIN(3, 26), RCAR_GP_PIN(3, 25)); 1513077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif4_data_b, TX4_B, RX4_B); 1514077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif4_data_c, RCAR_GP_PIN(3, 0), RCAR_GP_PIN(2, 31)); 1515077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif4_data_c, TX4_C, RX4_C); 1516077365a9SGeert Uytterhoeven 1517077365a9SGeert Uytterhoeven /* - SCIF5 ------------------------------------------------------------------ */ 1518077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif5_data_a, RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 18)); 1519077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif5_data_a, TX5_A, RX5_A); 1520077365a9SGeert Uytterhoeven SCIF_PFC_PIN(scif5_data_b, RCAR_GP_PIN(1, 15), RCAR_GP_PIN(1, 14)); 1521077365a9SGeert Uytterhoeven SCIF_PFC_DAT(scif5_data_b, TX5_B, RX5_B); 1522077365a9SGeert Uytterhoeven 1523077365a9SGeert Uytterhoeven /* - SDHI macro ------------------------------------------------------------- */ 1524077365a9SGeert Uytterhoeven #define SDHI_PFC_PINS(name, args...) SH_PFC_PINS(name, args) 1525077365a9SGeert Uytterhoeven #define SDHI_PFC_DAT4(name, d0, d1, d2, d3) SH_PFC_MUX4(name, d0, d1, d2, d3) 1526077365a9SGeert Uytterhoeven #define SDHI_PFC_CTRL(name, clk, cmd) SH_PFC_MUX2(name, clk, cmd) 1527077365a9SGeert Uytterhoeven #define SDHI_PFC_CDPN(name, cd) SH_PFC_MUX1(name, cd) 1528077365a9SGeert Uytterhoeven #define SDHI_PFC_WPPN(name, wp) SH_PFC_MUX1(name, wp) 1529077365a9SGeert Uytterhoeven 1530077365a9SGeert Uytterhoeven /* - SDHI0 ------------------------------------------------------------------ */ 1531077365a9SGeert Uytterhoeven SDHI_PFC_PINS(sdhi0_cd, RCAR_GP_PIN(3, 17)); 1532077365a9SGeert Uytterhoeven SDHI_PFC_CDPN(sdhi0_cd, SD0_CD); 1533077365a9SGeert Uytterhoeven SDHI_PFC_PINS(sdhi0_ctrl, RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 12)); 1534077365a9SGeert Uytterhoeven SDHI_PFC_CTRL(sdhi0_ctrl, SD0_CLK, SD0_CMD); 1535*ef41ea37SGeert Uytterhoeven SDHI_PFC_PINS(sdhi0_data, RCAR_GP_PIN(3, 13), RCAR_GP_PIN(3, 14), 1536077365a9SGeert Uytterhoeven RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 16)); 1537*ef41ea37SGeert Uytterhoeven SDHI_PFC_DAT4(sdhi0_data, SD0_DAT0, SD0_DAT1, 1538077365a9SGeert Uytterhoeven SD0_DAT2, SD0_DAT3); 1539077365a9SGeert Uytterhoeven SDHI_PFC_PINS(sdhi0_wp, RCAR_GP_PIN(3, 18)); 1540077365a9SGeert Uytterhoeven SDHI_PFC_WPPN(sdhi0_wp, SD0_WP); 1541077365a9SGeert Uytterhoeven 1542077365a9SGeert Uytterhoeven /* - SDHI1 ------------------------------------------------------------------ */ 1543077365a9SGeert Uytterhoeven SDHI_PFC_PINS(sdhi1_cd_a, RCAR_GP_PIN(0, 30)); 1544077365a9SGeert Uytterhoeven SDHI_PFC_CDPN(sdhi1_cd_a, SD1_CD_A); 1545077365a9SGeert Uytterhoeven SDHI_PFC_PINS(sdhi1_cd_b, RCAR_GP_PIN(2, 24)); 1546077365a9SGeert Uytterhoeven SDHI_PFC_CDPN(sdhi1_cd_b, SD1_CD_B); 1547077365a9SGeert Uytterhoeven SDHI_PFC_PINS(sdhi1_ctrl_a, RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6)); 1548077365a9SGeert Uytterhoeven SDHI_PFC_CTRL(sdhi1_ctrl_a, SD1_CLK_A, SD1_CMD_A); 1549077365a9SGeert Uytterhoeven SDHI_PFC_PINS(sdhi1_ctrl_b, RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 16)); 1550077365a9SGeert Uytterhoeven SDHI_PFC_CTRL(sdhi1_ctrl_b, SD1_CLK_B, SD1_CMD_B); 1551*ef41ea37SGeert Uytterhoeven SDHI_PFC_PINS(sdhi1_data_a, RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 8), 1552077365a9SGeert Uytterhoeven RCAR_GP_PIN(0, 5), RCAR_GP_PIN(0, 6)); 1553*ef41ea37SGeert Uytterhoeven SDHI_PFC_DAT4(sdhi1_data_a, SD1_DAT0_A, SD1_DAT1_A, 1554077365a9SGeert Uytterhoeven SD1_DAT2_A, SD1_DAT3_A); 1555*ef41ea37SGeert Uytterhoeven SDHI_PFC_PINS(sdhi1_data_b, RCAR_GP_PIN(1, 18), RCAR_GP_PIN(1, 19), 1556077365a9SGeert Uytterhoeven RCAR_GP_PIN(1, 20), RCAR_GP_PIN(1, 21)); 1557*ef41ea37SGeert Uytterhoeven SDHI_PFC_DAT4(sdhi1_data_b, SD1_DAT0_B, SD1_DAT1_B, 1558077365a9SGeert Uytterhoeven SD1_DAT2_B, SD1_DAT3_B); 1559077365a9SGeert Uytterhoeven SDHI_PFC_PINS(sdhi1_wp_a, RCAR_GP_PIN(0, 31)); 1560077365a9SGeert Uytterhoeven SDHI_PFC_WPPN(sdhi1_wp_a, SD1_WP_A); 1561077365a9SGeert Uytterhoeven SDHI_PFC_PINS(sdhi1_wp_b, RCAR_GP_PIN(2, 25)); 1562077365a9SGeert Uytterhoeven SDHI_PFC_WPPN(sdhi1_wp_b, SD1_WP_B); 1563077365a9SGeert Uytterhoeven 1564077365a9SGeert Uytterhoeven /* - SDH2 ------------------------------------------------------------------- */ 1565077365a9SGeert Uytterhoeven SDHI_PFC_PINS(sdhi2_cd_a, RCAR_GP_PIN(4, 23)); 1566077365a9SGeert Uytterhoeven SDHI_PFC_CDPN(sdhi2_cd_a, SD2_CD_A); 1567077365a9SGeert Uytterhoeven SDHI_PFC_PINS(sdhi2_cd_b, RCAR_GP_PIN(3, 27)); 1568077365a9SGeert Uytterhoeven SDHI_PFC_CDPN(sdhi2_cd_b, SD2_CD_B); 1569077365a9SGeert Uytterhoeven SDHI_PFC_PINS(sdhi2_ctrl_a, RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 18)); 1570077365a9SGeert Uytterhoeven SDHI_PFC_CTRL(sdhi2_ctrl_a, SD2_CLK_A, SD2_CMD_A); 1571077365a9SGeert Uytterhoeven SDHI_PFC_PINS(sdhi2_ctrl_b, RCAR_GP_PIN(4, 5), RCAR_GP_PIN(4, 6)); 1572077365a9SGeert Uytterhoeven SDHI_PFC_CTRL(sdhi2_ctrl_b, SD2_CLK_B, SD2_CMD_B); 1573*ef41ea37SGeert Uytterhoeven SDHI_PFC_PINS(sdhi2_data_a, RCAR_GP_PIN(4, 19), RCAR_GP_PIN(4, 20), 1574077365a9SGeert Uytterhoeven RCAR_GP_PIN(4, 21), RCAR_GP_PIN(4, 22)); 1575*ef41ea37SGeert Uytterhoeven SDHI_PFC_DAT4(sdhi2_data_a, SD2_DAT0_A, SD2_DAT1_A, 1576077365a9SGeert Uytterhoeven SD2_DAT2_A, SD2_DAT3_A); 1577*ef41ea37SGeert Uytterhoeven SDHI_PFC_PINS(sdhi2_data_b, RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 8), 1578077365a9SGeert Uytterhoeven RCAR_GP_PIN(3, 25), RCAR_GP_PIN(3, 26)); 1579*ef41ea37SGeert Uytterhoeven SDHI_PFC_DAT4(sdhi2_data_b, SD2_DAT0_B, SD2_DAT1_B, 1580077365a9SGeert Uytterhoeven SD2_DAT2_B, SD2_DAT3_B); 1581077365a9SGeert Uytterhoeven SDHI_PFC_PINS(sdhi2_wp_a, RCAR_GP_PIN(4, 24)); 1582077365a9SGeert Uytterhoeven SDHI_PFC_WPPN(sdhi2_wp_a, SD2_WP_A); 1583077365a9SGeert Uytterhoeven SDHI_PFC_PINS(sdhi2_wp_b, RCAR_GP_PIN(3, 28)); 1584077365a9SGeert Uytterhoeven SDHI_PFC_WPPN(sdhi2_wp_b, SD2_WP_B); 1585077365a9SGeert Uytterhoeven 1586077365a9SGeert Uytterhoeven /* - SSI macro -------------------------------------------------------------- */ 1587077365a9SGeert Uytterhoeven #define SSI_PFC_PINS(name, args...) SH_PFC_PINS(name, args) 1588077365a9SGeert Uytterhoeven #define SSI_PFC_CTRL(name, sck, ws) SH_PFC_MUX2(name, sck, ws) 1589077365a9SGeert Uytterhoeven #define SSI_PFC_DATA(name, d) SH_PFC_MUX1(name, d) 1590077365a9SGeert Uytterhoeven 1591077365a9SGeert Uytterhoeven /* - SSI 0/1/2 -------------------------------------------------------------- */ 1592077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi012_ctrl, RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7)); 1593077365a9SGeert Uytterhoeven SSI_PFC_CTRL(ssi012_ctrl, SSI_SCK012, SSI_WS012); 1594077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi0_data, RCAR_GP_PIN(3, 10)); 1595077365a9SGeert Uytterhoeven SSI_PFC_DATA(ssi0_data, SSI_SDATA0); 1596077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi1_a_ctrl, RCAR_GP_PIN(2, 20), RCAR_GP_PIN(2, 21)); 1597077365a9SGeert Uytterhoeven SSI_PFC_CTRL(ssi1_a_ctrl, SSI_SCK1_A, SSI_WS1_A); 1598077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi1_b_ctrl, PIN_CS1_A26, RCAR_GP_PIN(1, 3)); 1599077365a9SGeert Uytterhoeven SSI_PFC_CTRL(ssi1_b_ctrl, SSI_SCK1_B, SSI_WS1_B); 1600077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi1_data, RCAR_GP_PIN(3, 9)); 1601077365a9SGeert Uytterhoeven SSI_PFC_DATA(ssi1_data, SSI_SDATA1); 1602077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi2_a_ctrl, RCAR_GP_PIN(2, 26), RCAR_GP_PIN(3, 4)); 1603077365a9SGeert Uytterhoeven SSI_PFC_CTRL(ssi2_a_ctrl, SSI_SCK2_A, SSI_WS2_A); 1604077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi2_b_ctrl, RCAR_GP_PIN(2, 6), RCAR_GP_PIN(2, 17)); 1605077365a9SGeert Uytterhoeven SSI_PFC_CTRL(ssi2_b_ctrl, SSI_SCK2_B, SSI_WS2_B); 1606077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi2_data, RCAR_GP_PIN(3, 8)); 1607077365a9SGeert Uytterhoeven SSI_PFC_DATA(ssi2_data, SSI_SDATA2); 1608077365a9SGeert Uytterhoeven 1609077365a9SGeert Uytterhoeven /* - SSI 3/4 ---------------------------------------------------------------- */ 1610077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi34_ctrl, RCAR_GP_PIN(3, 2), RCAR_GP_PIN(3, 3)); 1611077365a9SGeert Uytterhoeven SSI_PFC_CTRL(ssi34_ctrl, SSI_SCK34, SSI_WS34); 1612077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi3_data, RCAR_GP_PIN(3, 5)); 1613077365a9SGeert Uytterhoeven SSI_PFC_DATA(ssi3_data, SSI_SDATA3); 1614077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi4_ctrl, RCAR_GP_PIN(1, 22), RCAR_GP_PIN(1, 23)); 1615077365a9SGeert Uytterhoeven SSI_PFC_CTRL(ssi4_ctrl, SSI_SCK4, SSI_WS4); 1616077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi4_data, RCAR_GP_PIN(3, 4)); 1617077365a9SGeert Uytterhoeven SSI_PFC_DATA(ssi4_data, SSI_SDATA4); 1618077365a9SGeert Uytterhoeven 1619077365a9SGeert Uytterhoeven /* - SSI 5 ------------------------------------------------------------------ */ 1620077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi5_ctrl, RCAR_GP_PIN(2, 31), RCAR_GP_PIN(3, 0)); 1621077365a9SGeert Uytterhoeven SSI_PFC_CTRL(ssi5_ctrl, SSI_SCK5, SSI_WS5); 1622077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi5_data, RCAR_GP_PIN(3, 1)); 1623077365a9SGeert Uytterhoeven SSI_PFC_DATA(ssi5_data, SSI_SDATA5); 1624077365a9SGeert Uytterhoeven 1625077365a9SGeert Uytterhoeven /* - SSI 6 ------------------------------------------------------------------ */ 1626077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi6_ctrl, RCAR_GP_PIN(2, 28), RCAR_GP_PIN(2, 29)); 1627077365a9SGeert Uytterhoeven SSI_PFC_CTRL(ssi6_ctrl, SSI_SCK6, SSI_WS6); 1628077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi6_data, RCAR_GP_PIN(2, 30)); 1629077365a9SGeert Uytterhoeven SSI_PFC_DATA(ssi6_data, SSI_SDATA6); 1630077365a9SGeert Uytterhoeven 1631077365a9SGeert Uytterhoeven /* - SSI 7/8 --------------------------------------------------------------- */ 1632077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi78_ctrl, RCAR_GP_PIN(2, 24), RCAR_GP_PIN(2, 25)); 1633077365a9SGeert Uytterhoeven SSI_PFC_CTRL(ssi78_ctrl, SSI_SCK78, SSI_WS78); 1634077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi7_data, RCAR_GP_PIN(2, 27)); 1635077365a9SGeert Uytterhoeven SSI_PFC_DATA(ssi7_data, SSI_SDATA7); 1636077365a9SGeert Uytterhoeven SSI_PFC_PINS(ssi8_data, RCAR_GP_PIN(2, 26)); 1637077365a9SGeert Uytterhoeven SSI_PFC_DATA(ssi8_data, SSI_SDATA8); 1638077365a9SGeert Uytterhoeven 1639077365a9SGeert Uytterhoeven /* - USB0 ------------------------------------------------------------------- */ 1640077365a9SGeert Uytterhoeven SH_PFC_PINS(usb0, RCAR_GP_PIN(0, 1)); 1641077365a9SGeert Uytterhoeven SH_PFC_MUX1(usb0, PENC0); 1642077365a9SGeert Uytterhoeven SH_PFC_PINS(usb0_ovc, RCAR_GP_PIN(0, 3)); 1643077365a9SGeert Uytterhoeven SH_PFC_MUX1(usb0_ovc, USB_OVC0); 1644077365a9SGeert Uytterhoeven 1645077365a9SGeert Uytterhoeven /* - USB1 ------------------------------------------------------------------- */ 1646077365a9SGeert Uytterhoeven SH_PFC_PINS(usb1, RCAR_GP_PIN(0, 2)); 1647077365a9SGeert Uytterhoeven SH_PFC_MUX1(usb1, PENC1); 1648077365a9SGeert Uytterhoeven SH_PFC_PINS(usb1_ovc, RCAR_GP_PIN(0, 4)); 1649077365a9SGeert Uytterhoeven SH_PFC_MUX1(usb1_ovc, USB_OVC1); 1650077365a9SGeert Uytterhoeven 1651077365a9SGeert Uytterhoeven /* - VIN macros ------------------------------------------------------------- */ 1652077365a9SGeert Uytterhoeven #define VIN_PFC_PINS(name, args...) SH_PFC_PINS(name, args) 1653077365a9SGeert Uytterhoeven #define VIN_PFC_DAT8(name, d0, d1, d2, d3, d4, d5, d6, d7) \ 1654077365a9SGeert Uytterhoeven SH_PFC_MUX8(name, d0, d1, d2, d3, d4, d5, d6, d7) 1655077365a9SGeert Uytterhoeven #define VIN_PFC_CLK(name, clk) SH_PFC_MUX1(name, clk) 1656077365a9SGeert Uytterhoeven #define VIN_PFC_SYNC(name, hsync, vsync) SH_PFC_MUX2(name, hsync, vsync) 1657077365a9SGeert Uytterhoeven 1658077365a9SGeert Uytterhoeven /* - VIN0 ------------------------------------------------------------------- */ 1659077365a9SGeert Uytterhoeven VIN_PFC_PINS(vin0_data8, RCAR_GP_PIN(3, 29), RCAR_GP_PIN(3, 30), 1660077365a9SGeert Uytterhoeven RCAR_GP_PIN(3, 31), RCAR_GP_PIN(4, 0), 1661077365a9SGeert Uytterhoeven RCAR_GP_PIN(4, 1), RCAR_GP_PIN(4, 2), 1662077365a9SGeert Uytterhoeven RCAR_GP_PIN(4, 3), RCAR_GP_PIN(4, 4)); 1663077365a9SGeert Uytterhoeven VIN_PFC_DAT8(vin0_data8, VI0_DATA0_VI0_B0, VI0_DATA1_VI0_B1, 1664077365a9SGeert Uytterhoeven VI0_DATA2_VI0_B2, VI0_DATA3_VI0_B3, 1665077365a9SGeert Uytterhoeven VI0_DATA4_VI0_B4, VI0_DATA5_VI0_B5, 1666077365a9SGeert Uytterhoeven VI0_DATA6_VI0_G0, VI0_DATA7_VI0_G1); 1667077365a9SGeert Uytterhoeven VIN_PFC_PINS(vin0_clk, RCAR_GP_PIN(3, 24)); 1668077365a9SGeert Uytterhoeven VIN_PFC_CLK(vin0_clk, VI0_CLK); 1669077365a9SGeert Uytterhoeven VIN_PFC_PINS(vin0_sync, RCAR_GP_PIN(3, 27), RCAR_GP_PIN(3, 28)); 1670077365a9SGeert Uytterhoeven VIN_PFC_SYNC(vin0_sync, VI0_HSYNC, VI0_VSYNC); 1671077365a9SGeert Uytterhoeven /* - VIN1 ------------------------------------------------------------------- */ 1672077365a9SGeert Uytterhoeven VIN_PFC_PINS(vin1_data8, RCAR_GP_PIN(3, 25), RCAR_GP_PIN(3, 26), 1673077365a9SGeert Uytterhoeven RCAR_GP_PIN(3, 27), RCAR_GP_PIN(3, 28), 1674077365a9SGeert Uytterhoeven RCAR_GP_PIN(4, 5), RCAR_GP_PIN(4, 6), 1675077365a9SGeert Uytterhoeven RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 8)); 1676077365a9SGeert Uytterhoeven VIN_PFC_DAT8(vin1_data8, VI1_DATA0, VI1_DATA1, 1677077365a9SGeert Uytterhoeven VI1_DATA2, VI1_DATA3, 1678077365a9SGeert Uytterhoeven VI1_DATA4, VI1_DATA5, 1679077365a9SGeert Uytterhoeven VI1_DATA6, VI1_DATA7); 1680077365a9SGeert Uytterhoeven VIN_PFC_PINS(vin1_clk, RCAR_GP_PIN(4, 9)); 1681077365a9SGeert Uytterhoeven VIN_PFC_CLK(vin1_clk, VI1_CLK); 1682077365a9SGeert Uytterhoeven VIN_PFC_PINS(vin1_sync, RCAR_GP_PIN(3, 21), RCAR_GP_PIN(3, 22)); 1683077365a9SGeert Uytterhoeven VIN_PFC_SYNC(vin1_sync, VI1_HSYNC, VI1_VSYNC); 1684077365a9SGeert Uytterhoeven 1685077365a9SGeert Uytterhoeven static const struct sh_pfc_pin_group pinmux_groups[] = { 1686077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(audio_clk_a), 1687077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(audio_clk_b), 1688077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(audio_clk_c), 1689077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(audio_clkout_a), 1690077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(audio_clkout_b), 1691077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(can0_data_a), 1692077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(can0_data_b), 1693077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(can1_data_a), 1694077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(can1_data_b), 1695077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(can_clk_a), 1696077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(can_clk_b), 1697077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(can_clk_c), 1698077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(can_clk_d), 1699077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ether_rmii), 1700077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ether_link), 1701077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ether_magic), 1702077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hscif0_data_a), 1703077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hscif0_data_b), 1704077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hscif0_ctrl_a), 1705077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hscif0_ctrl_b), 1706077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hscif0_clk), 1707077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hscif1_data_a), 1708077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hscif1_data_b), 1709077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hscif1_ctrl_a), 1710077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hscif1_ctrl_b), 1711077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hscif1_clk_a), 1712077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hscif1_clk_b), 1713077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hspi0_a), 1714077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hspi0_b), 1715077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hspi1_a), 1716077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hspi1_b), 1717077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hspi2_a), 1718077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(hspi2_b), 1719077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(i2c1_a), 1720077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(i2c1_b), 1721077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(i2c2_a), 1722077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(i2c2_b), 1723077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(i2c2_c), 1724077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(i2c3_a), 1725077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(i2c3_b), 1726077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(i2c3_c), 1727077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(mmc_ctrl), 1728e56ca224SGeert Uytterhoeven BUS_DATA_PIN_GROUP(mmc_data, 1), 1729e56ca224SGeert Uytterhoeven BUS_DATA_PIN_GROUP(mmc_data, 4), 1730e56ca224SGeert Uytterhoeven BUS_DATA_PIN_GROUP(mmc_data, 8), 1731077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif_clk), 1732077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif0_data_a), 1733077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif0_data_b), 1734077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif0_data_c), 1735077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif0_data_d), 1736077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif0_ctrl), 1737077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif0_clk), 1738077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif1_data_a), 1739077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif1_data_b), 1740077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif1_data_c), 1741077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif1_data_d), 1742077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif1_ctrl_a), 1743077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif1_ctrl_c), 1744077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif1_clk_a), 1745077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif1_clk_c), 1746077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif2_data_a), 1747077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif2_data_b), 1748077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif2_data_c), 1749077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif2_data_d), 1750077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif2_data_e), 1751077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif2_clk_a), 1752077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif2_clk_b), 1753077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif2_clk_c), 1754077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif3_data_a), 1755077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif3_data_b), 1756077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif3_data_c), 1757077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif3_data_d), 1758077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif4_data_a), 1759077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif4_data_b), 1760077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif4_data_c), 1761077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif5_data_a), 1762077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(scif5_data_b), 1763077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(sdhi0_cd), 1764077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(sdhi0_ctrl), 1765*ef41ea37SGeert Uytterhoeven BUS_DATA_PIN_GROUP(sdhi0_data, 1), 1766*ef41ea37SGeert Uytterhoeven BUS_DATA_PIN_GROUP(sdhi0_data, 4), 1767077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(sdhi0_wp), 1768077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(sdhi1_cd_a), 1769077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(sdhi1_cd_b), 1770077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(sdhi1_ctrl_a), 1771077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(sdhi1_ctrl_b), 1772*ef41ea37SGeert Uytterhoeven BUS_DATA_PIN_GROUP(sdhi1_data, 1, _a), 1773*ef41ea37SGeert Uytterhoeven BUS_DATA_PIN_GROUP(sdhi1_data, 1, _b), 1774*ef41ea37SGeert Uytterhoeven BUS_DATA_PIN_GROUP(sdhi1_data, 4, _a), 1775*ef41ea37SGeert Uytterhoeven BUS_DATA_PIN_GROUP(sdhi1_data, 4, _b), 1776077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(sdhi1_wp_a), 1777077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(sdhi1_wp_b), 1778077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(sdhi2_cd_a), 1779077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(sdhi2_cd_b), 1780077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(sdhi2_ctrl_a), 1781077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(sdhi2_ctrl_b), 1782*ef41ea37SGeert Uytterhoeven BUS_DATA_PIN_GROUP(sdhi2_data, 1, _a), 1783*ef41ea37SGeert Uytterhoeven BUS_DATA_PIN_GROUP(sdhi2_data, 1, _b), 1784*ef41ea37SGeert Uytterhoeven BUS_DATA_PIN_GROUP(sdhi2_data, 4, _a), 1785*ef41ea37SGeert Uytterhoeven BUS_DATA_PIN_GROUP(sdhi2_data, 4, _b), 1786077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(sdhi2_wp_a), 1787077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(sdhi2_wp_b), 1788077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi012_ctrl), 1789077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi0_data), 1790077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi1_a_ctrl), 1791077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi1_b_ctrl), 1792077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi1_data), 1793077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi2_a_ctrl), 1794077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi2_b_ctrl), 1795077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi2_data), 1796077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi34_ctrl), 1797077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi3_data), 1798077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi4_ctrl), 1799077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi4_data), 1800077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi5_ctrl), 1801077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi5_data), 1802077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi6_ctrl), 1803077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi6_data), 1804077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi78_ctrl), 1805077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi7_data), 1806077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(ssi8_data), 1807077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(usb0), 1808077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(usb0_ovc), 1809077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(usb1), 1810077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(usb1_ovc), 1811077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(vin0_data8), 1812077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(vin0_clk), 1813077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(vin0_sync), 1814077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(vin1_data8), 1815077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(vin1_clk), 1816077365a9SGeert Uytterhoeven SH_PFC_PIN_GROUP(vin1_sync), 1817077365a9SGeert Uytterhoeven }; 1818077365a9SGeert Uytterhoeven 1819077365a9SGeert Uytterhoeven static const char * const audio_clk_groups[] = { 1820077365a9SGeert Uytterhoeven "audio_clk_a", 1821077365a9SGeert Uytterhoeven "audio_clk_b", 1822077365a9SGeert Uytterhoeven "audio_clk_c", 1823077365a9SGeert Uytterhoeven "audio_clkout_a", 1824077365a9SGeert Uytterhoeven "audio_clkout_b", 1825077365a9SGeert Uytterhoeven }; 1826077365a9SGeert Uytterhoeven 1827077365a9SGeert Uytterhoeven static const char * const can0_groups[] = { 1828077365a9SGeert Uytterhoeven "can0_data_a", 1829077365a9SGeert Uytterhoeven "can0_data_b", 1830077365a9SGeert Uytterhoeven "can_clk_a", 1831077365a9SGeert Uytterhoeven "can_clk_b", 1832077365a9SGeert Uytterhoeven "can_clk_c", 1833077365a9SGeert Uytterhoeven "can_clk_d", 1834077365a9SGeert Uytterhoeven }; 1835077365a9SGeert Uytterhoeven 1836077365a9SGeert Uytterhoeven static const char * const can1_groups[] = { 1837077365a9SGeert Uytterhoeven "can1_data_a", 1838077365a9SGeert Uytterhoeven "can1_data_b", 1839077365a9SGeert Uytterhoeven "can_clk_a", 1840077365a9SGeert Uytterhoeven "can_clk_b", 1841077365a9SGeert Uytterhoeven "can_clk_c", 1842077365a9SGeert Uytterhoeven "can_clk_d", 1843077365a9SGeert Uytterhoeven }; 1844077365a9SGeert Uytterhoeven 1845077365a9SGeert Uytterhoeven static const char * const ether_groups[] = { 1846077365a9SGeert Uytterhoeven "ether_rmii", 1847077365a9SGeert Uytterhoeven "ether_link", 1848077365a9SGeert Uytterhoeven "ether_magic", 1849077365a9SGeert Uytterhoeven }; 1850077365a9SGeert Uytterhoeven 1851077365a9SGeert Uytterhoeven static const char * const hscif0_groups[] = { 1852077365a9SGeert Uytterhoeven "hscif0_data_a", 1853077365a9SGeert Uytterhoeven "hscif0_data_b", 1854077365a9SGeert Uytterhoeven "hscif0_ctrl_a", 1855077365a9SGeert Uytterhoeven "hscif0_ctrl_b", 1856077365a9SGeert Uytterhoeven "hscif0_clk", 1857077365a9SGeert Uytterhoeven }; 1858077365a9SGeert Uytterhoeven 1859077365a9SGeert Uytterhoeven static const char * const hscif1_groups[] = { 1860077365a9SGeert Uytterhoeven "hscif1_data_a", 1861077365a9SGeert Uytterhoeven "hscif1_data_b", 1862077365a9SGeert Uytterhoeven "hscif1_ctrl_a", 1863077365a9SGeert Uytterhoeven "hscif1_ctrl_b", 1864077365a9SGeert Uytterhoeven "hscif1_clk_a", 1865077365a9SGeert Uytterhoeven "hscif1_clk_b", 1866077365a9SGeert Uytterhoeven }; 1867077365a9SGeert Uytterhoeven 1868077365a9SGeert Uytterhoeven static const char * const hspi0_groups[] = { 1869077365a9SGeert Uytterhoeven "hspi0_a", 1870077365a9SGeert Uytterhoeven "hspi0_b", 1871077365a9SGeert Uytterhoeven }; 1872077365a9SGeert Uytterhoeven 1873077365a9SGeert Uytterhoeven static const char * const hspi1_groups[] = { 1874077365a9SGeert Uytterhoeven "hspi1_a", 1875077365a9SGeert Uytterhoeven "hspi1_b", 1876077365a9SGeert Uytterhoeven }; 1877077365a9SGeert Uytterhoeven 1878077365a9SGeert Uytterhoeven static const char * const hspi2_groups[] = { 1879077365a9SGeert Uytterhoeven "hspi2_a", 1880077365a9SGeert Uytterhoeven "hspi2_b", 1881077365a9SGeert Uytterhoeven }; 1882077365a9SGeert Uytterhoeven 1883077365a9SGeert Uytterhoeven static const char * const i2c1_groups[] = { 1884077365a9SGeert Uytterhoeven "i2c1_a", 1885077365a9SGeert Uytterhoeven "i2c1_b", 1886077365a9SGeert Uytterhoeven }; 1887077365a9SGeert Uytterhoeven 1888077365a9SGeert Uytterhoeven static const char * const i2c2_groups[] = { 1889077365a9SGeert Uytterhoeven "i2c2_a", 1890077365a9SGeert Uytterhoeven "i2c2_b", 1891077365a9SGeert Uytterhoeven "i2c2_c", 1892077365a9SGeert Uytterhoeven }; 1893077365a9SGeert Uytterhoeven 1894077365a9SGeert Uytterhoeven static const char * const i2c3_groups[] = { 1895077365a9SGeert Uytterhoeven "i2c3_a", 1896077365a9SGeert Uytterhoeven "i2c3_b", 1897077365a9SGeert Uytterhoeven "i2c3_c", 1898077365a9SGeert Uytterhoeven }; 1899077365a9SGeert Uytterhoeven 1900077365a9SGeert Uytterhoeven static const char * const mmc_groups[] = { 1901077365a9SGeert Uytterhoeven "mmc_ctrl", 1902077365a9SGeert Uytterhoeven "mmc_data1", 1903077365a9SGeert Uytterhoeven "mmc_data4", 1904077365a9SGeert Uytterhoeven "mmc_data8", 1905077365a9SGeert Uytterhoeven }; 1906077365a9SGeert Uytterhoeven 1907077365a9SGeert Uytterhoeven static const char * const scif_clk_groups[] = { 1908077365a9SGeert Uytterhoeven "scif_clk", 1909077365a9SGeert Uytterhoeven }; 1910077365a9SGeert Uytterhoeven 1911077365a9SGeert Uytterhoeven static const char * const scif0_groups[] = { 1912077365a9SGeert Uytterhoeven "scif0_data_a", 1913077365a9SGeert Uytterhoeven "scif0_data_b", 1914077365a9SGeert Uytterhoeven "scif0_data_c", 1915077365a9SGeert Uytterhoeven "scif0_data_d", 1916077365a9SGeert Uytterhoeven "scif0_ctrl", 1917077365a9SGeert Uytterhoeven "scif0_clk", 1918077365a9SGeert Uytterhoeven }; 1919077365a9SGeert Uytterhoeven 1920077365a9SGeert Uytterhoeven static const char * const scif1_groups[] = { 1921077365a9SGeert Uytterhoeven "scif1_data_a", 1922077365a9SGeert Uytterhoeven "scif1_data_b", 1923077365a9SGeert Uytterhoeven "scif1_data_c", 1924077365a9SGeert Uytterhoeven "scif1_data_d", 1925077365a9SGeert Uytterhoeven "scif1_ctrl_a", 1926077365a9SGeert Uytterhoeven "scif1_ctrl_c", 1927077365a9SGeert Uytterhoeven "scif1_clk_a", 1928077365a9SGeert Uytterhoeven "scif1_clk_c", 1929077365a9SGeert Uytterhoeven }; 1930077365a9SGeert Uytterhoeven 1931077365a9SGeert Uytterhoeven static const char * const scif2_groups[] = { 1932077365a9SGeert Uytterhoeven "scif2_data_a", 1933077365a9SGeert Uytterhoeven "scif2_data_b", 1934077365a9SGeert Uytterhoeven "scif2_data_c", 1935077365a9SGeert Uytterhoeven "scif2_data_d", 1936077365a9SGeert Uytterhoeven "scif2_data_e", 1937077365a9SGeert Uytterhoeven "scif2_clk_a", 1938077365a9SGeert Uytterhoeven "scif2_clk_b", 1939077365a9SGeert Uytterhoeven "scif2_clk_c", 1940077365a9SGeert Uytterhoeven }; 1941077365a9SGeert Uytterhoeven 1942077365a9SGeert Uytterhoeven static const char * const scif3_groups[] = { 1943077365a9SGeert Uytterhoeven "scif3_data_a", 1944077365a9SGeert Uytterhoeven "scif3_data_b", 1945077365a9SGeert Uytterhoeven "scif3_data_c", 1946077365a9SGeert Uytterhoeven "scif3_data_d", 1947077365a9SGeert Uytterhoeven }; 1948077365a9SGeert Uytterhoeven 1949077365a9SGeert Uytterhoeven static const char * const scif4_groups[] = { 1950077365a9SGeert Uytterhoeven "scif4_data_a", 1951077365a9SGeert Uytterhoeven "scif4_data_b", 1952077365a9SGeert Uytterhoeven "scif4_data_c", 1953077365a9SGeert Uytterhoeven }; 1954077365a9SGeert Uytterhoeven 1955077365a9SGeert Uytterhoeven static const char * const scif5_groups[] = { 1956077365a9SGeert Uytterhoeven "scif5_data_a", 1957077365a9SGeert Uytterhoeven "scif5_data_b", 1958077365a9SGeert Uytterhoeven }; 1959077365a9SGeert Uytterhoeven 1960077365a9SGeert Uytterhoeven 1961077365a9SGeert Uytterhoeven static const char * const sdhi0_groups[] = { 1962077365a9SGeert Uytterhoeven "sdhi0_cd", 1963077365a9SGeert Uytterhoeven "sdhi0_ctrl", 1964077365a9SGeert Uytterhoeven "sdhi0_data1", 1965077365a9SGeert Uytterhoeven "sdhi0_data4", 1966077365a9SGeert Uytterhoeven "sdhi0_wp", 1967077365a9SGeert Uytterhoeven }; 1968077365a9SGeert Uytterhoeven 1969077365a9SGeert Uytterhoeven static const char * const sdhi1_groups[] = { 1970077365a9SGeert Uytterhoeven "sdhi1_cd_a", 1971077365a9SGeert Uytterhoeven "sdhi1_cd_b", 1972077365a9SGeert Uytterhoeven "sdhi1_ctrl_a", 1973077365a9SGeert Uytterhoeven "sdhi1_ctrl_b", 1974077365a9SGeert Uytterhoeven "sdhi1_data1_a", 1975077365a9SGeert Uytterhoeven "sdhi1_data1_b", 1976077365a9SGeert Uytterhoeven "sdhi1_data4_a", 1977077365a9SGeert Uytterhoeven "sdhi1_data4_b", 1978077365a9SGeert Uytterhoeven "sdhi1_wp_a", 1979077365a9SGeert Uytterhoeven "sdhi1_wp_b", 1980077365a9SGeert Uytterhoeven }; 1981077365a9SGeert Uytterhoeven 1982077365a9SGeert Uytterhoeven static const char * const sdhi2_groups[] = { 1983077365a9SGeert Uytterhoeven "sdhi2_cd_a", 1984077365a9SGeert Uytterhoeven "sdhi2_cd_b", 1985077365a9SGeert Uytterhoeven "sdhi2_ctrl_a", 1986077365a9SGeert Uytterhoeven "sdhi2_ctrl_b", 1987077365a9SGeert Uytterhoeven "sdhi2_data1_a", 1988077365a9SGeert Uytterhoeven "sdhi2_data1_b", 1989077365a9SGeert Uytterhoeven "sdhi2_data4_a", 1990077365a9SGeert Uytterhoeven "sdhi2_data4_b", 1991077365a9SGeert Uytterhoeven "sdhi2_wp_a", 1992077365a9SGeert Uytterhoeven "sdhi2_wp_b", 1993077365a9SGeert Uytterhoeven }; 1994077365a9SGeert Uytterhoeven 1995077365a9SGeert Uytterhoeven static const char * const ssi_groups[] = { 1996077365a9SGeert Uytterhoeven "ssi012_ctrl", 1997077365a9SGeert Uytterhoeven "ssi0_data", 1998077365a9SGeert Uytterhoeven "ssi1_a_ctrl", 1999077365a9SGeert Uytterhoeven "ssi1_b_ctrl", 2000077365a9SGeert Uytterhoeven "ssi1_data", 2001077365a9SGeert Uytterhoeven "ssi2_a_ctrl", 2002077365a9SGeert Uytterhoeven "ssi2_b_ctrl", 2003077365a9SGeert Uytterhoeven "ssi2_data", 2004077365a9SGeert Uytterhoeven "ssi34_ctrl", 2005077365a9SGeert Uytterhoeven "ssi3_data", 2006077365a9SGeert Uytterhoeven "ssi4_ctrl", 2007077365a9SGeert Uytterhoeven "ssi4_data", 2008077365a9SGeert Uytterhoeven "ssi5_ctrl", 2009077365a9SGeert Uytterhoeven "ssi5_data", 2010077365a9SGeert Uytterhoeven "ssi6_ctrl", 2011077365a9SGeert Uytterhoeven "ssi6_data", 2012077365a9SGeert Uytterhoeven "ssi78_ctrl", 2013077365a9SGeert Uytterhoeven "ssi7_data", 2014077365a9SGeert Uytterhoeven "ssi8_data", 2015077365a9SGeert Uytterhoeven }; 2016077365a9SGeert Uytterhoeven 2017077365a9SGeert Uytterhoeven static const char * const usb0_groups[] = { 2018077365a9SGeert Uytterhoeven "usb0", 2019077365a9SGeert Uytterhoeven "usb0_ovc", 2020077365a9SGeert Uytterhoeven }; 2021077365a9SGeert Uytterhoeven 2022077365a9SGeert Uytterhoeven static const char * const usb1_groups[] = { 2023077365a9SGeert Uytterhoeven "usb1", 2024077365a9SGeert Uytterhoeven "usb1_ovc", 2025077365a9SGeert Uytterhoeven }; 2026077365a9SGeert Uytterhoeven 2027077365a9SGeert Uytterhoeven static const char * const vin0_groups[] = { 2028077365a9SGeert Uytterhoeven "vin0_data8", 2029077365a9SGeert Uytterhoeven "vin0_clk", 2030077365a9SGeert Uytterhoeven "vin0_sync", 2031077365a9SGeert Uytterhoeven }; 2032077365a9SGeert Uytterhoeven 2033077365a9SGeert Uytterhoeven static const char * const vin1_groups[] = { 2034077365a9SGeert Uytterhoeven "vin1_data8", 2035077365a9SGeert Uytterhoeven "vin1_clk", 2036077365a9SGeert Uytterhoeven "vin1_sync", 2037077365a9SGeert Uytterhoeven }; 2038077365a9SGeert Uytterhoeven 2039077365a9SGeert Uytterhoeven static const struct sh_pfc_function pinmux_functions[] = { 2040077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(audio_clk), 2041077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(can0), 2042077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(can1), 2043077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(ether), 2044077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(hscif0), 2045077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(hscif1), 2046077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(hspi0), 2047077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(hspi1), 2048077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(hspi2), 2049077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(i2c1), 2050077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(i2c2), 2051077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(i2c3), 2052077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(mmc), 2053077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(scif_clk), 2054077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(scif0), 2055077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(scif1), 2056077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(scif2), 2057077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(scif3), 2058077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(scif4), 2059077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(scif5), 2060077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(sdhi0), 2061077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(sdhi1), 2062077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(sdhi2), 2063077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(ssi), 2064077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(usb0), 2065077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(usb1), 2066077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(vin0), 2067077365a9SGeert Uytterhoeven SH_PFC_FUNCTION(vin1), 2068077365a9SGeert Uytterhoeven }; 2069077365a9SGeert Uytterhoeven 2070077365a9SGeert Uytterhoeven static const struct pinmux_cfg_reg pinmux_config_regs[] = { 2071077365a9SGeert Uytterhoeven { PINMUX_CFG_REG("GPSR0", 0xfffc0004, 32, 1, GROUP( 2072077365a9SGeert Uytterhoeven GP_0_31_FN, FN_IP1_14_11, 2073077365a9SGeert Uytterhoeven GP_0_30_FN, FN_IP1_10_8, 2074077365a9SGeert Uytterhoeven GP_0_29_FN, FN_IP1_7_5, 2075077365a9SGeert Uytterhoeven GP_0_28_FN, FN_IP1_4_2, 2076077365a9SGeert Uytterhoeven GP_0_27_FN, FN_IP1_1, 2077077365a9SGeert Uytterhoeven GP_0_26_FN, FN_IP1_0, 2078077365a9SGeert Uytterhoeven GP_0_25_FN, FN_IP0_30, 2079077365a9SGeert Uytterhoeven GP_0_24_FN, FN_IP0_29, 2080077365a9SGeert Uytterhoeven GP_0_23_FN, FN_IP0_28, 2081077365a9SGeert Uytterhoeven GP_0_22_FN, FN_IP0_27, 2082077365a9SGeert Uytterhoeven GP_0_21_FN, FN_IP0_26, 2083077365a9SGeert Uytterhoeven GP_0_20_FN, FN_IP0_25, 2084077365a9SGeert Uytterhoeven GP_0_19_FN, FN_IP0_24, 2085077365a9SGeert Uytterhoeven GP_0_18_FN, FN_IP0_23, 2086077365a9SGeert Uytterhoeven GP_0_17_FN, FN_IP0_22, 2087077365a9SGeert Uytterhoeven GP_0_16_FN, FN_IP0_21, 2088077365a9SGeert Uytterhoeven GP_0_15_FN, FN_IP0_20, 2089077365a9SGeert Uytterhoeven GP_0_14_FN, FN_IP0_19, 2090077365a9SGeert Uytterhoeven GP_0_13_FN, FN_IP0_18, 2091077365a9SGeert Uytterhoeven GP_0_12_FN, FN_IP0_17, 2092077365a9SGeert Uytterhoeven GP_0_11_FN, FN_IP0_16, 2093077365a9SGeert Uytterhoeven GP_0_10_FN, FN_IP0_15, 2094077365a9SGeert Uytterhoeven GP_0_9_FN, FN_A3, 2095077365a9SGeert Uytterhoeven GP_0_8_FN, FN_A2, 2096077365a9SGeert Uytterhoeven GP_0_7_FN, FN_A1, 2097077365a9SGeert Uytterhoeven GP_0_6_FN, FN_IP0_14_12, 2098077365a9SGeert Uytterhoeven GP_0_5_FN, FN_IP0_11_8, 2099077365a9SGeert Uytterhoeven GP_0_4_FN, FN_IP0_7_5, 2100077365a9SGeert Uytterhoeven GP_0_3_FN, FN_IP0_4_2, 2101077365a9SGeert Uytterhoeven GP_0_2_FN, FN_PENC1, 2102077365a9SGeert Uytterhoeven GP_0_1_FN, FN_PENC0, 2103077365a9SGeert Uytterhoeven GP_0_0_FN, FN_IP0_1_0 )) 2104077365a9SGeert Uytterhoeven }, 2105077365a9SGeert Uytterhoeven { PINMUX_CFG_REG("GPSR1", 0xfffc0008, 32, 1, GROUP( 2106077365a9SGeert Uytterhoeven GP_1_31_FN, FN_IP4_6_4, 2107077365a9SGeert Uytterhoeven GP_1_30_FN, FN_IP4_3_1, 2108077365a9SGeert Uytterhoeven GP_1_29_FN, FN_IP4_0, 2109077365a9SGeert Uytterhoeven GP_1_28_FN, FN_IP3_31, 2110077365a9SGeert Uytterhoeven GP_1_27_FN, FN_IP3_30, 2111077365a9SGeert Uytterhoeven GP_1_26_FN, FN_IP3_29, 2112077365a9SGeert Uytterhoeven GP_1_25_FN, FN_IP3_28, 2113077365a9SGeert Uytterhoeven GP_1_24_FN, FN_IP3_27, 2114077365a9SGeert Uytterhoeven GP_1_23_FN, FN_IP3_26_24, 2115077365a9SGeert Uytterhoeven GP_1_22_FN, FN_IP3_23_21, 2116077365a9SGeert Uytterhoeven GP_1_21_FN, FN_IP3_20_19, 2117077365a9SGeert Uytterhoeven GP_1_20_FN, FN_IP3_18_16, 2118077365a9SGeert Uytterhoeven GP_1_19_FN, FN_IP3_15_13, 2119077365a9SGeert Uytterhoeven GP_1_18_FN, FN_IP3_12_10, 2120077365a9SGeert Uytterhoeven GP_1_17_FN, FN_IP3_9_8, 2121077365a9SGeert Uytterhoeven GP_1_16_FN, FN_IP3_7_5, 2122077365a9SGeert Uytterhoeven GP_1_15_FN, FN_IP3_4_2, 2123077365a9SGeert Uytterhoeven GP_1_14_FN, FN_IP3_1_0, 2124077365a9SGeert Uytterhoeven GP_1_13_FN, FN_IP2_31, 2125077365a9SGeert Uytterhoeven GP_1_12_FN, FN_IP2_30, 2126077365a9SGeert Uytterhoeven GP_1_11_FN, FN_IP2_17, 2127077365a9SGeert Uytterhoeven GP_1_10_FN, FN_IP2_16_14, 2128077365a9SGeert Uytterhoeven GP_1_9_FN, FN_IP2_13_12, 2129077365a9SGeert Uytterhoeven GP_1_8_FN, FN_IP2_11_9, 2130077365a9SGeert Uytterhoeven GP_1_7_FN, FN_IP2_8_6, 2131077365a9SGeert Uytterhoeven GP_1_6_FN, FN_IP2_5_3, 2132077365a9SGeert Uytterhoeven GP_1_5_FN, FN_IP2_2_0, 2133077365a9SGeert Uytterhoeven GP_1_4_FN, FN_IP1_29_28, 2134077365a9SGeert Uytterhoeven GP_1_3_FN, FN_IP1_27_25, 2135077365a9SGeert Uytterhoeven GP_1_2_FN, FN_IP1_24, 2136077365a9SGeert Uytterhoeven GP_1_1_FN, FN_WE0, 2137077365a9SGeert Uytterhoeven GP_1_0_FN, FN_IP1_23_21 )) 2138077365a9SGeert Uytterhoeven }, 2139077365a9SGeert Uytterhoeven { PINMUX_CFG_REG("GPSR2", 0xfffc000c, 32, 1, GROUP( 2140077365a9SGeert Uytterhoeven GP_2_31_FN, FN_IP6_7, 2141077365a9SGeert Uytterhoeven GP_2_30_FN, FN_IP6_6_5, 2142077365a9SGeert Uytterhoeven GP_2_29_FN, FN_IP6_4_2, 2143077365a9SGeert Uytterhoeven GP_2_28_FN, FN_IP6_1_0, 2144077365a9SGeert Uytterhoeven GP_2_27_FN, FN_IP5_30_29, 2145077365a9SGeert Uytterhoeven GP_2_26_FN, FN_IP5_28_26, 2146077365a9SGeert Uytterhoeven GP_2_25_FN, FN_IP5_25_23, 2147077365a9SGeert Uytterhoeven GP_2_24_FN, FN_IP5_22_21, 2148077365a9SGeert Uytterhoeven GP_2_23_FN, FN_AUDIO_CLKB, 2149077365a9SGeert Uytterhoeven GP_2_22_FN, FN_AUDIO_CLKA, 2150077365a9SGeert Uytterhoeven GP_2_21_FN, FN_IP5_20_18, 2151077365a9SGeert Uytterhoeven GP_2_20_FN, FN_IP5_17_15, 2152077365a9SGeert Uytterhoeven GP_2_19_FN, FN_IP5_14_13, 2153077365a9SGeert Uytterhoeven GP_2_18_FN, FN_IP5_12, 2154077365a9SGeert Uytterhoeven GP_2_17_FN, FN_IP5_11_10, 2155077365a9SGeert Uytterhoeven GP_2_16_FN, FN_IP5_9_8, 2156077365a9SGeert Uytterhoeven GP_2_15_FN, FN_IP5_7, 2157077365a9SGeert Uytterhoeven GP_2_14_FN, FN_IP5_6, 2158077365a9SGeert Uytterhoeven GP_2_13_FN, FN_IP5_5_4, 2159077365a9SGeert Uytterhoeven GP_2_12_FN, FN_IP5_3_2, 2160077365a9SGeert Uytterhoeven GP_2_11_FN, FN_IP5_1_0, 2161077365a9SGeert Uytterhoeven GP_2_10_FN, FN_IP4_30_29, 2162077365a9SGeert Uytterhoeven GP_2_9_FN, FN_IP4_28_27, 2163077365a9SGeert Uytterhoeven GP_2_8_FN, FN_IP4_26_25, 2164077365a9SGeert Uytterhoeven GP_2_7_FN, FN_IP4_24_21, 2165077365a9SGeert Uytterhoeven GP_2_6_FN, FN_IP4_20_17, 2166077365a9SGeert Uytterhoeven GP_2_5_FN, FN_IP4_16_15, 2167077365a9SGeert Uytterhoeven GP_2_4_FN, FN_IP4_14_13, 2168077365a9SGeert Uytterhoeven GP_2_3_FN, FN_IP4_12_11, 2169077365a9SGeert Uytterhoeven GP_2_2_FN, FN_IP4_10_9, 2170077365a9SGeert Uytterhoeven GP_2_1_FN, FN_IP4_8, 2171077365a9SGeert Uytterhoeven GP_2_0_FN, FN_IP4_7 )) 2172077365a9SGeert Uytterhoeven }, 2173077365a9SGeert Uytterhoeven { PINMUX_CFG_REG("GPSR3", 0xfffc0010, 32, 1, GROUP( 2174077365a9SGeert Uytterhoeven GP_3_31_FN, FN_IP8_10_9, 2175077365a9SGeert Uytterhoeven GP_3_30_FN, FN_IP8_8_6, 2176077365a9SGeert Uytterhoeven GP_3_29_FN, FN_IP8_5_3, 2177077365a9SGeert Uytterhoeven GP_3_28_FN, FN_IP8_2_0, 2178077365a9SGeert Uytterhoeven GP_3_27_FN, FN_IP7_31_29, 2179077365a9SGeert Uytterhoeven GP_3_26_FN, FN_IP7_28_25, 2180077365a9SGeert Uytterhoeven GP_3_25_FN, FN_IP7_24_22, 2181077365a9SGeert Uytterhoeven GP_3_24_FN, FN_IP7_21, 2182077365a9SGeert Uytterhoeven GP_3_23_FN, FN_IP7_20_18, 2183077365a9SGeert Uytterhoeven GP_3_22_FN, FN_IP7_17_15, 2184077365a9SGeert Uytterhoeven GP_3_21_FN, FN_IP7_14_12, 2185077365a9SGeert Uytterhoeven GP_3_20_FN, FN_IP7_11_9, 2186077365a9SGeert Uytterhoeven GP_3_19_FN, FN_IP7_8_6, 2187077365a9SGeert Uytterhoeven GP_3_18_FN, FN_IP7_5_4, 2188077365a9SGeert Uytterhoeven GP_3_17_FN, FN_IP7_3_2, 2189077365a9SGeert Uytterhoeven GP_3_16_FN, FN_IP7_1_0, 2190077365a9SGeert Uytterhoeven GP_3_15_FN, FN_IP6_31_30, 2191077365a9SGeert Uytterhoeven GP_3_14_FN, FN_IP6_29_28, 2192077365a9SGeert Uytterhoeven GP_3_13_FN, FN_IP6_27_26, 2193077365a9SGeert Uytterhoeven GP_3_12_FN, FN_IP6_25_24, 2194077365a9SGeert Uytterhoeven GP_3_11_FN, FN_IP6_23_22, 2195077365a9SGeert Uytterhoeven GP_3_10_FN, FN_IP6_21, 2196077365a9SGeert Uytterhoeven GP_3_9_FN, FN_IP6_20_19, 2197077365a9SGeert Uytterhoeven GP_3_8_FN, FN_IP6_18_17, 2198077365a9SGeert Uytterhoeven GP_3_7_FN, FN_IP6_16, 2199077365a9SGeert Uytterhoeven GP_3_6_FN, FN_IP6_15_14, 2200077365a9SGeert Uytterhoeven GP_3_5_FN, FN_IP6_13, 2201077365a9SGeert Uytterhoeven GP_3_4_FN, FN_IP6_12_11, 2202077365a9SGeert Uytterhoeven GP_3_3_FN, FN_IP6_10, 2203077365a9SGeert Uytterhoeven GP_3_2_FN, FN_SSI_SCK34, 2204077365a9SGeert Uytterhoeven GP_3_1_FN, FN_IP6_9, 2205077365a9SGeert Uytterhoeven GP_3_0_FN, FN_IP6_8 )) 2206077365a9SGeert Uytterhoeven }, 2207077365a9SGeert Uytterhoeven { PINMUX_CFG_REG("GPSR4", 0xfffc0014, 32, 1, GROUP( 2208077365a9SGeert Uytterhoeven 0, 0, 2209077365a9SGeert Uytterhoeven 0, 0, 2210077365a9SGeert Uytterhoeven 0, 0, 2211077365a9SGeert Uytterhoeven 0, 0, 2212077365a9SGeert Uytterhoeven 0, 0, 2213077365a9SGeert Uytterhoeven GP_4_26_FN, FN_AVS2, 2214077365a9SGeert Uytterhoeven GP_4_25_FN, FN_AVS1, 2215077365a9SGeert Uytterhoeven GP_4_24_FN, FN_IP10_24_22, 2216077365a9SGeert Uytterhoeven GP_4_23_FN, FN_IP10_21_19, 2217077365a9SGeert Uytterhoeven GP_4_22_FN, FN_IP10_18_16, 2218077365a9SGeert Uytterhoeven GP_4_21_FN, FN_IP10_15_13, 2219077365a9SGeert Uytterhoeven GP_4_20_FN, FN_IP10_12_9, 2220077365a9SGeert Uytterhoeven GP_4_19_FN, FN_IP10_8_6, 2221077365a9SGeert Uytterhoeven GP_4_18_FN, FN_IP10_5_3, 2222077365a9SGeert Uytterhoeven GP_4_17_FN, FN_IP10_2_0, 2223077365a9SGeert Uytterhoeven GP_4_16_FN, FN_IP9_29_27, 2224077365a9SGeert Uytterhoeven GP_4_15_FN, FN_IP9_26_24, 2225077365a9SGeert Uytterhoeven GP_4_14_FN, FN_IP9_23_21, 2226077365a9SGeert Uytterhoeven GP_4_13_FN, FN_IP9_20_18, 2227077365a9SGeert Uytterhoeven GP_4_12_FN, FN_IP9_17_15, 2228077365a9SGeert Uytterhoeven GP_4_11_FN, FN_IP9_14_12, 2229077365a9SGeert Uytterhoeven GP_4_10_FN, FN_IP9_11_9, 2230077365a9SGeert Uytterhoeven GP_4_9_FN, FN_IP9_8_6, 2231077365a9SGeert Uytterhoeven GP_4_8_FN, FN_IP9_5_3, 2232077365a9SGeert Uytterhoeven GP_4_7_FN, FN_IP9_2_0, 2233077365a9SGeert Uytterhoeven GP_4_6_FN, FN_IP8_29_27, 2234077365a9SGeert Uytterhoeven GP_4_5_FN, FN_IP8_26_24, 2235077365a9SGeert Uytterhoeven GP_4_4_FN, FN_IP8_23_22, 2236077365a9SGeert Uytterhoeven GP_4_3_FN, FN_IP8_21_19, 2237077365a9SGeert Uytterhoeven GP_4_2_FN, FN_IP8_18_16, 2238077365a9SGeert Uytterhoeven GP_4_1_FN, FN_IP8_15_14, 2239077365a9SGeert Uytterhoeven GP_4_0_FN, FN_IP8_13_11 )) 2240077365a9SGeert Uytterhoeven }, 2241077365a9SGeert Uytterhoeven 2242077365a9SGeert Uytterhoeven { PINMUX_CFG_REG_VAR("IPSR0", 0xfffc0020, 32, 2243077365a9SGeert Uytterhoeven GROUP(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2244077365a9SGeert Uytterhoeven 1, 1, 1, 1, 1, 3, 4, 3, 3, 2), 2245077365a9SGeert Uytterhoeven GROUP( 2246077365a9SGeert Uytterhoeven /* IP0_31 [1] */ 2247077365a9SGeert Uytterhoeven 0, 0, 2248077365a9SGeert Uytterhoeven /* IP0_30 [1] */ 2249077365a9SGeert Uytterhoeven FN_A19, 0, 2250077365a9SGeert Uytterhoeven /* IP0_29 [1] */ 2251077365a9SGeert Uytterhoeven FN_A18, 0, 2252077365a9SGeert Uytterhoeven /* IP0_28 [1] */ 2253077365a9SGeert Uytterhoeven FN_A17, 0, 2254077365a9SGeert Uytterhoeven /* IP0_27 [1] */ 2255077365a9SGeert Uytterhoeven FN_A16, 0, 2256077365a9SGeert Uytterhoeven /* IP0_26 [1] */ 2257077365a9SGeert Uytterhoeven FN_A15, 0, 2258077365a9SGeert Uytterhoeven /* IP0_25 [1] */ 2259077365a9SGeert Uytterhoeven FN_A14, 0, 2260077365a9SGeert Uytterhoeven /* IP0_24 [1] */ 2261077365a9SGeert Uytterhoeven FN_A13, 0, 2262077365a9SGeert Uytterhoeven /* IP0_23 [1] */ 2263077365a9SGeert Uytterhoeven FN_A12, 0, 2264077365a9SGeert Uytterhoeven /* IP0_22 [1] */ 2265077365a9SGeert Uytterhoeven FN_A11, 0, 2266077365a9SGeert Uytterhoeven /* IP0_21 [1] */ 2267077365a9SGeert Uytterhoeven FN_A10, 0, 2268077365a9SGeert Uytterhoeven /* IP0_20 [1] */ 2269077365a9SGeert Uytterhoeven FN_A9, 0, 2270077365a9SGeert Uytterhoeven /* IP0_19 [1] */ 2271077365a9SGeert Uytterhoeven FN_A8, 0, 2272077365a9SGeert Uytterhoeven /* IP0_18 [1] */ 2273077365a9SGeert Uytterhoeven FN_A7, 0, 2274077365a9SGeert Uytterhoeven /* IP0_17 [1] */ 2275077365a9SGeert Uytterhoeven FN_A6, 0, 2276077365a9SGeert Uytterhoeven /* IP0_16 [1] */ 2277077365a9SGeert Uytterhoeven FN_A5, 0, 2278077365a9SGeert Uytterhoeven /* IP0_15 [1] */ 2279077365a9SGeert Uytterhoeven FN_A4, 0, 2280077365a9SGeert Uytterhoeven /* IP0_14_12 [3] */ 2281077365a9SGeert Uytterhoeven FN_SD1_DAT3_A, FN_MMC_D3, 0, FN_A0, 2282077365a9SGeert Uytterhoeven FN_ATAG0_A, 0, FN_REMOCON_B, 0, 2283077365a9SGeert Uytterhoeven /* IP0_11_8 [4] */ 2284077365a9SGeert Uytterhoeven FN_SD1_DAT2_A, FN_MMC_D2, 0, FN_BS, 2285077365a9SGeert Uytterhoeven FN_ATADIR0_A, 0, FN_SDSELF_A, 0, 2286077365a9SGeert Uytterhoeven FN_PWM4_B, 0, 0, 0, 2287077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2288077365a9SGeert Uytterhoeven /* IP0_7_5 [3] */ 2289077365a9SGeert Uytterhoeven FN_AUDATA1, FN_ARM_TRACEDATA_1, FN_GPSIN_C, FN_USB_OVC1, 2290077365a9SGeert Uytterhoeven FN_RX2_E, FN_SCL2_B, 0, 0, 2291077365a9SGeert Uytterhoeven /* IP0_4_2 [3] */ 2292077365a9SGeert Uytterhoeven FN_AUDATA0, FN_ARM_TRACEDATA_0, FN_GPSCLK_C, FN_USB_OVC0, 2293077365a9SGeert Uytterhoeven FN_TX2_E, FN_SDA2_B, 0, 0, 2294077365a9SGeert Uytterhoeven /* IP0_1_0 [2] */ 2295077365a9SGeert Uytterhoeven FN_PRESETOUT, 0, FN_PWM1, 0, 2296077365a9SGeert Uytterhoeven )) 2297077365a9SGeert Uytterhoeven }, 2298077365a9SGeert Uytterhoeven { PINMUX_CFG_REG_VAR("IPSR1", 0xfffc0024, 32, 2299077365a9SGeert Uytterhoeven GROUP(1, 1, 2, 3, 1, 3, 3, 1, 2, 4, 3, 3, 2300077365a9SGeert Uytterhoeven 3, 1, 1), 2301077365a9SGeert Uytterhoeven GROUP( 2302077365a9SGeert Uytterhoeven /* IP1_31 [1] */ 2303077365a9SGeert Uytterhoeven 0, 0, 2304077365a9SGeert Uytterhoeven /* IP1_30 [1] */ 2305077365a9SGeert Uytterhoeven 0, 0, 2306077365a9SGeert Uytterhoeven /* IP1_29_28 [2] */ 2307077365a9SGeert Uytterhoeven FN_EX_CS1, FN_MMC_D4, 0, 0, 2308077365a9SGeert Uytterhoeven /* IP1_27_25 [3] */ 2309077365a9SGeert Uytterhoeven FN_SSI_WS1_B, FN_EX_CS0, FN_SCL2_A, FN_TX3_C, 2310077365a9SGeert Uytterhoeven FN_TS_SCK0_A, 0, 0, 0, 2311077365a9SGeert Uytterhoeven /* IP1_24 [1] */ 2312077365a9SGeert Uytterhoeven FN_WE1, FN_ATAWR0_B, 2313077365a9SGeert Uytterhoeven /* IP1_23_21 [3] */ 2314077365a9SGeert Uytterhoeven FN_MMC_D5, FN_ATADIR0_B, 0, FN_RD_WR, 2315077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2316077365a9SGeert Uytterhoeven /* IP1_20_18 [3] */ 2317077365a9SGeert Uytterhoeven FN_SSI_SCK1_B, FN_ATAG0_B, FN_CS1_A26, FN_SDA2_A, 2318077365a9SGeert Uytterhoeven FN_SCK2_B, 0, 0, 0, 2319077365a9SGeert Uytterhoeven /* IP1_17 [1] */ 2320077365a9SGeert Uytterhoeven FN_CS0, FN_HSPI_RX1_B, 2321077365a9SGeert Uytterhoeven /* IP1_16_15 [2] */ 2322077365a9SGeert Uytterhoeven FN_CLKOUT, FN_HSPI_TX1_B, FN_PWM0_B, 0, 2323077365a9SGeert Uytterhoeven /* IP1_14_11 [4] */ 2324077365a9SGeert Uytterhoeven FN_SD1_WP_A, FN_MMC_D7, 0, FN_A25, 2325077365a9SGeert Uytterhoeven FN_DACK1_A, 0, FN_HCTS0_B, FN_RX3_C, 2326077365a9SGeert Uytterhoeven FN_TS_SDAT0_A, 0, 0, 0, 2327077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2328077365a9SGeert Uytterhoeven /* IP1_10_8 [3] */ 2329077365a9SGeert Uytterhoeven FN_SD1_CD_A, FN_MMC_D6, 0, FN_A24, 2330077365a9SGeert Uytterhoeven FN_DREQ1_A, 0, FN_HRX0_B, FN_TS_SPSYNC0_A, 2331077365a9SGeert Uytterhoeven /* IP1_7_5 [3] */ 2332077365a9SGeert Uytterhoeven FN_A23, FN_HTX0_B, FN_TX2_B, FN_DACK2_A, 2333077365a9SGeert Uytterhoeven FN_TS_SDEN0_A, 0, 0, 0, 2334077365a9SGeert Uytterhoeven /* IP1_4_2 [3] */ 2335077365a9SGeert Uytterhoeven FN_A22, FN_HRTS0_B, FN_RX2_B, FN_DREQ2_A, 2336077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2337077365a9SGeert Uytterhoeven /* IP1_1 [1] */ 2338077365a9SGeert Uytterhoeven FN_A21, FN_HSPI_CLK1_B, 2339077365a9SGeert Uytterhoeven /* IP1_0 [1] */ 2340077365a9SGeert Uytterhoeven FN_A20, FN_HSPI_CS1_B, 2341077365a9SGeert Uytterhoeven )) 2342077365a9SGeert Uytterhoeven }, 2343077365a9SGeert Uytterhoeven { PINMUX_CFG_REG_VAR("IPSR2", 0xfffc0028, 32, 2344077365a9SGeert Uytterhoeven GROUP(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2345077365a9SGeert Uytterhoeven 1, 1, 1, 3, 2, 3, 3, 3, 3), 2346077365a9SGeert Uytterhoeven GROUP( 2347077365a9SGeert Uytterhoeven /* IP2_31 [1] */ 2348077365a9SGeert Uytterhoeven FN_MLB_CLK, FN_IRQ1_A, 2349077365a9SGeert Uytterhoeven /* IP2_30 [1] */ 2350077365a9SGeert Uytterhoeven FN_RD_WR_B, FN_IRQ0, 2351077365a9SGeert Uytterhoeven /* IP2_29 [1] */ 2352077365a9SGeert Uytterhoeven FN_D11, 0, 2353077365a9SGeert Uytterhoeven /* IP2_28 [1] */ 2354077365a9SGeert Uytterhoeven FN_D10, 0, 2355077365a9SGeert Uytterhoeven /* IP2_27 [1] */ 2356077365a9SGeert Uytterhoeven FN_D9, 0, 2357077365a9SGeert Uytterhoeven /* IP2_26 [1] */ 2358077365a9SGeert Uytterhoeven FN_D8, 0, 2359077365a9SGeert Uytterhoeven /* IP2_25 [1] */ 2360077365a9SGeert Uytterhoeven FN_D7, 0, 2361077365a9SGeert Uytterhoeven /* IP2_24 [1] */ 2362077365a9SGeert Uytterhoeven FN_D6, 0, 2363077365a9SGeert Uytterhoeven /* IP2_23 [1] */ 2364077365a9SGeert Uytterhoeven FN_D5, 0, 2365077365a9SGeert Uytterhoeven /* IP2_22 [1] */ 2366077365a9SGeert Uytterhoeven FN_D4, 0, 2367077365a9SGeert Uytterhoeven /* IP2_21 [1] */ 2368077365a9SGeert Uytterhoeven FN_D3, 0, 2369077365a9SGeert Uytterhoeven /* IP2_20 [1] */ 2370077365a9SGeert Uytterhoeven FN_D2, 0, 2371077365a9SGeert Uytterhoeven /* IP2_19 [1] */ 2372077365a9SGeert Uytterhoeven FN_D1, 0, 2373077365a9SGeert Uytterhoeven /* IP2_18 [1] */ 2374077365a9SGeert Uytterhoeven FN_D0, 0, 2375077365a9SGeert Uytterhoeven /* IP2_17 [1] */ 2376077365a9SGeert Uytterhoeven FN_EX_WAIT0, FN_PWM0_C, 2377077365a9SGeert Uytterhoeven /* IP2_16_14 [3] */ 2378077365a9SGeert Uytterhoeven FN_DACK0, 0, 0, FN_TX3_A, 2379077365a9SGeert Uytterhoeven FN_DRACK0, 0, 0, 0, 2380077365a9SGeert Uytterhoeven /* IP2_13_12 [2] */ 2381077365a9SGeert Uytterhoeven FN_DREQ0_A, 0, 0, FN_RX3_A, 2382077365a9SGeert Uytterhoeven /* IP2_11_9 [3] */ 2383077365a9SGeert Uytterhoeven FN_SD1_DAT1_A, FN_MMC_D1, 0, FN_ATAWR0_A, 2384077365a9SGeert Uytterhoeven FN_EX_CS5, FN_EX_WAIT2_A, 0, 0, 2385077365a9SGeert Uytterhoeven /* IP2_8_6 [3] */ 2386077365a9SGeert Uytterhoeven FN_SD1_DAT0_A, FN_MMC_D0, 0, FN_ATARD0, 2387077365a9SGeert Uytterhoeven FN_EX_CS4, FN_EX_WAIT1_A, 0, 0, 2388077365a9SGeert Uytterhoeven /* IP2_5_3 [3] */ 2389077365a9SGeert Uytterhoeven FN_SD1_CMD_A, FN_MMC_CMD, 0, FN_ATACS10, 2390077365a9SGeert Uytterhoeven FN_EX_CS3, 0, 0, 0, 2391077365a9SGeert Uytterhoeven /* IP2_2_0 [3] */ 2392077365a9SGeert Uytterhoeven FN_SD1_CLK_A, FN_MMC_CLK, 0, FN_ATACS00, 2393077365a9SGeert Uytterhoeven FN_EX_CS2, 0, 0, 0, 2394077365a9SGeert Uytterhoeven )) 2395077365a9SGeert Uytterhoeven }, 2396077365a9SGeert Uytterhoeven { PINMUX_CFG_REG_VAR("IPSR3", 0xfffc002c, 32, 2397077365a9SGeert Uytterhoeven GROUP(1, 1, 1, 1, 1, 3, 3, 2, 3, 3, 3, 2, 2398077365a9SGeert Uytterhoeven 3, 3, 2), 2399077365a9SGeert Uytterhoeven GROUP( 2400077365a9SGeert Uytterhoeven /* IP3_31 [1] */ 2401077365a9SGeert Uytterhoeven FN_DU0_DR6, FN_LCDOUT6, 2402077365a9SGeert Uytterhoeven /* IP3_30 [1] */ 2403077365a9SGeert Uytterhoeven FN_DU0_DR5, FN_LCDOUT5, 2404077365a9SGeert Uytterhoeven /* IP3_29 [1] */ 2405077365a9SGeert Uytterhoeven FN_DU0_DR4, FN_LCDOUT4, 2406077365a9SGeert Uytterhoeven /* IP3_28 [1] */ 2407077365a9SGeert Uytterhoeven FN_DU0_DR3, FN_LCDOUT3, 2408077365a9SGeert Uytterhoeven /* IP3_27 [1] */ 2409077365a9SGeert Uytterhoeven FN_DU0_DR2, FN_LCDOUT2, 2410077365a9SGeert Uytterhoeven /* IP3_26_24 [3] */ 2411077365a9SGeert Uytterhoeven FN_SSI_WS4, FN_DU0_DR1, FN_LCDOUT1, FN_AUDATA3, 2412077365a9SGeert Uytterhoeven FN_ARM_TRACEDATA_3, FN_SCL3_C, FN_ADICHS2, FN_TS_SPSYNC0_B, 2413077365a9SGeert Uytterhoeven /* IP3_23_21 [3] */ 2414077365a9SGeert Uytterhoeven FN_SSI_SCK4, FN_DU0_DR0, FN_LCDOUT0, FN_AUDATA2, 2415077365a9SGeert Uytterhoeven FN_ARM_TRACEDATA_2, FN_SDA3_C, FN_ADICHS1, FN_TS_SDEN0_B, 2416077365a9SGeert Uytterhoeven /* IP3_20_19 [2] */ 2417077365a9SGeert Uytterhoeven FN_SD1_DAT3_B, FN_HRTS0_A, FN_RTS0, 0, 2418077365a9SGeert Uytterhoeven /* IP3_18_16 [3] */ 2419077365a9SGeert Uytterhoeven FN_SD1_DAT2_B, FN_HCTS0_A, FN_CTS0, 0, 2420077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2421077365a9SGeert Uytterhoeven /* IP3_15_13 [3] */ 2422077365a9SGeert Uytterhoeven FN_SD1_DAT1_B, FN_HSCK0, FN_SCK0, FN_SCL3_B, 2423077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2424077365a9SGeert Uytterhoeven /* IP3_12_10 [3] */ 2425077365a9SGeert Uytterhoeven FN_SD1_DAT0_B, FN_HRX0_A, FN_RX0_A, 0, 2426077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2427077365a9SGeert Uytterhoeven /* IP3_9_8 [2] */ 2428077365a9SGeert Uytterhoeven FN_SD1_CLK_B, FN_HTX0_A, FN_TX0_A, 0, 2429077365a9SGeert Uytterhoeven /* IP3_7_5 [3] */ 2430077365a9SGeert Uytterhoeven FN_SD1_CMD_B, FN_SCIF_CLK, FN_AUDIO_CLKOUT_B, FN_CAN_CLK_B, 2431077365a9SGeert Uytterhoeven FN_SDA3_B, 0, 0, 0, 2432077365a9SGeert Uytterhoeven /* IP3_4_2 [3] */ 2433077365a9SGeert Uytterhoeven FN_MLB_DAT, FN_TX5_B, FN_SCL3_A, FN_IRQ3_A, 2434077365a9SGeert Uytterhoeven FN_SDSELF_B, 0, 0, 0, 2435077365a9SGeert Uytterhoeven /* IP3_1_0 [2] */ 2436077365a9SGeert Uytterhoeven FN_MLB_SIG, FN_RX5_B, FN_SDA3_A, FN_IRQ2_A, 2437077365a9SGeert Uytterhoeven )) 2438077365a9SGeert Uytterhoeven }, 2439077365a9SGeert Uytterhoeven { PINMUX_CFG_REG_VAR("IPSR4", 0xfffc0030, 32, 2440077365a9SGeert Uytterhoeven GROUP(1, 2, 2, 2, 4, 4, 2, 2, 2, 2, 1, 1, 2441077365a9SGeert Uytterhoeven 3, 3, 1), 2442077365a9SGeert Uytterhoeven GROUP( 2443077365a9SGeert Uytterhoeven /* IP4_31 [1] */ 2444077365a9SGeert Uytterhoeven 0, 0, 2445077365a9SGeert Uytterhoeven /* IP4_30_29 [2] */ 2446077365a9SGeert Uytterhoeven FN_VI0_R4_B, FN_DU0_DB4, FN_LCDOUT20, 0, 2447077365a9SGeert Uytterhoeven /* IP4_28_27 [2] */ 2448077365a9SGeert Uytterhoeven FN_VI0_R3_B, FN_DU0_DB3, FN_LCDOUT19, 0, 2449077365a9SGeert Uytterhoeven /* IP4_26_25 [2] */ 2450077365a9SGeert Uytterhoeven FN_VI0_R2_B, FN_DU0_DB2, FN_LCDOUT18, 0, 2451077365a9SGeert Uytterhoeven /* IP4_24_21 [4] */ 2452077365a9SGeert Uytterhoeven FN_AUDIO_CLKC, FN_VI0_R1_B, FN_DU0_DB1, FN_LCDOUT17, 2453077365a9SGeert Uytterhoeven FN_AUDATA7, FN_ARM_TRACEDATA_7, FN_GPSIN_A, 0, 2454077365a9SGeert Uytterhoeven FN_ADICS_SAMP, FN_TS_SCK0_B, 0, 0, 2455077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2456077365a9SGeert Uytterhoeven /* IP4_20_17 [4] */ 2457077365a9SGeert Uytterhoeven FN_SSI_SCK2_B, FN_VI0_R0_B, FN_DU0_DB0, FN_LCDOUT16, 2458077365a9SGeert Uytterhoeven FN_AUDATA6, FN_ARM_TRACEDATA_6, FN_GPSCLK_A, FN_PWM0_A, 2459077365a9SGeert Uytterhoeven FN_ADICLK, FN_TS_SDAT0_B, 0, 0, 2460077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2461077365a9SGeert Uytterhoeven /* IP4_16_15 [2] */ 2462077365a9SGeert Uytterhoeven FN_DU0_DG7, FN_LCDOUT15, FN_TX4_A, 0, 2463077365a9SGeert Uytterhoeven /* IP4_14_13 [2] */ 2464077365a9SGeert Uytterhoeven FN_DU0_DG6, FN_LCDOUT14, FN_RX4_A, 0, 2465077365a9SGeert Uytterhoeven /* IP4_12_11 [2] */ 2466077365a9SGeert Uytterhoeven FN_DU0_DG5, FN_LCDOUT13, FN_TX0_B, 0, 2467077365a9SGeert Uytterhoeven /* IP4_10_9 [2] */ 2468077365a9SGeert Uytterhoeven FN_DU0_DG4, FN_LCDOUT12, FN_RX0_B, 0, 2469077365a9SGeert Uytterhoeven /* IP4_8 [1] */ 2470077365a9SGeert Uytterhoeven FN_DU0_DG3, FN_LCDOUT11, 2471077365a9SGeert Uytterhoeven /* IP4_7 [1] */ 2472077365a9SGeert Uytterhoeven FN_DU0_DG2, FN_LCDOUT10, 2473077365a9SGeert Uytterhoeven /* IP4_6_4 [3] */ 2474077365a9SGeert Uytterhoeven FN_DU0_DG1, FN_LCDOUT9, FN_AUDATA5, FN_ARM_TRACEDATA_5, 2475077365a9SGeert Uytterhoeven FN_RX1_D, FN_CAN0_RX_A, FN_ADIDATA, 0, 2476077365a9SGeert Uytterhoeven /* IP4_3_1 [3] */ 2477077365a9SGeert Uytterhoeven FN_DU0_DG0, FN_LCDOUT8, FN_AUDATA4, FN_ARM_TRACEDATA_4, 2478077365a9SGeert Uytterhoeven FN_TX1_D, FN_CAN0_TX_A, FN_ADICHS0, 0, 2479077365a9SGeert Uytterhoeven /* IP4_0 [1] */ 2480077365a9SGeert Uytterhoeven FN_DU0_DR7, FN_LCDOUT7, 2481077365a9SGeert Uytterhoeven )) 2482077365a9SGeert Uytterhoeven }, 2483077365a9SGeert Uytterhoeven { PINMUX_CFG_REG_VAR("IPSR5", 0xfffc0034, 32, 2484077365a9SGeert Uytterhoeven GROUP(1, 2, 3, 3, 2, 3, 3, 2, 1, 2, 2, 1, 2485077365a9SGeert Uytterhoeven 1, 2, 2, 2), 2486077365a9SGeert Uytterhoeven GROUP( 2487077365a9SGeert Uytterhoeven 2488077365a9SGeert Uytterhoeven /* IP5_31 [1] */ 2489077365a9SGeert Uytterhoeven 0, 0, 2490077365a9SGeert Uytterhoeven /* IP5_30_29 [2] */ 2491077365a9SGeert Uytterhoeven FN_SSI_SDATA7, FN_HSPI_TX0_B, FN_RX2_A, FN_CAN0_RX_B, 2492077365a9SGeert Uytterhoeven /* IP5_28_26 [3] */ 2493077365a9SGeert Uytterhoeven FN_SSI_SDATA8, FN_SSI_SCK2_A, FN_HSPI_CS0_B, FN_TX2_A, 2494077365a9SGeert Uytterhoeven FN_CAN0_TX_B, 0, 0, 0, 2495077365a9SGeert Uytterhoeven /* IP5_25_23 [3] */ 2496077365a9SGeert Uytterhoeven FN_SD1_WP_B, FN_SSI_WS78, FN_HSPI_CLK0_B, FN_RX1_B, 2497077365a9SGeert Uytterhoeven FN_CAN_CLK_D, 0, 0, 0, 2498077365a9SGeert Uytterhoeven /* IP5_22_21 [2] */ 2499077365a9SGeert Uytterhoeven FN_SD1_CD_B, FN_SSI_SCK78, FN_HSPI_RX0_B, FN_TX1_B, 2500077365a9SGeert Uytterhoeven /* IP5_20_18 [3] */ 2501077365a9SGeert Uytterhoeven FN_SSI_WS1_A, FN_DU0_CDE, FN_QPOLB, FN_AUDSYNC, 2502077365a9SGeert Uytterhoeven FN_ARM_TRACECTL, FN_FMIN_D, 0, 0, 2503077365a9SGeert Uytterhoeven /* IP5_17_15 [3] */ 2504077365a9SGeert Uytterhoeven FN_SSI_SCK1_A, FN_DU0_DISP, FN_QPOLA, FN_AUDCK, 2505077365a9SGeert Uytterhoeven FN_ARM_TRACECLK, FN_BPFCLK_D, 0, 0, 2506077365a9SGeert Uytterhoeven /* IP5_14_13 [2] */ 2507077365a9SGeert Uytterhoeven FN_DU0_EXODDF_DU0_ODDF_DISP_CDE, FN_QCPV_QDE, 2508077365a9SGeert Uytterhoeven FN_FMCLK_D, 0, 2509077365a9SGeert Uytterhoeven /* IP5_12 [1] */ 2510077365a9SGeert Uytterhoeven FN_DU0_EXVSYNC_DU0_VSYNC, FN_QSTB_QHE, 2511077365a9SGeert Uytterhoeven /* IP5_11_10 [2] */ 2512077365a9SGeert Uytterhoeven FN_SSI_WS2_B, FN_DU0_EXHSYNC_DU0_HSYNC, 2513077365a9SGeert Uytterhoeven FN_QSTH_QHS, 0, 2514077365a9SGeert Uytterhoeven /* IP5_9_8 [2] */ 2515077365a9SGeert Uytterhoeven FN_DU0_DOTCLKO_UT1, FN_QSTVB_QVE, 2516077365a9SGeert Uytterhoeven FN_AUDIO_CLKOUT_A, FN_REMOCON_C, 2517077365a9SGeert Uytterhoeven /* IP5_7 [1] */ 2518077365a9SGeert Uytterhoeven FN_DU0_DOTCLKO_UT0, FN_QCLK, 2519077365a9SGeert Uytterhoeven /* IP5_6 [1] */ 2520077365a9SGeert Uytterhoeven FN_DU0_DOTCLKIN, FN_QSTVA_QVS, 2521077365a9SGeert Uytterhoeven /* IP5_5_4 [2] */ 2522077365a9SGeert Uytterhoeven FN_VI1_DATA11_B, FN_DU0_DB7, FN_LCDOUT23, 0, 2523077365a9SGeert Uytterhoeven /* IP5_3_2 [2] */ 2524077365a9SGeert Uytterhoeven FN_VI1_DATA10_B, FN_DU0_DB6, FN_LCDOUT22, 0, 2525077365a9SGeert Uytterhoeven /* IP5_1_0 [2] */ 2526077365a9SGeert Uytterhoeven FN_VI0_R5_B, FN_DU0_DB5, FN_LCDOUT21, 0, 2527077365a9SGeert Uytterhoeven )) 2528077365a9SGeert Uytterhoeven }, 2529077365a9SGeert Uytterhoeven { PINMUX_CFG_REG_VAR("IPSR6", 0xfffc0038, 32, 2530077365a9SGeert Uytterhoeven GROUP(2, 2, 2, 2, 2, 1, 2, 2, 1, 2, 1, 2, 2531077365a9SGeert Uytterhoeven 1, 1, 1, 1, 2, 3, 2), 2532077365a9SGeert Uytterhoeven GROUP( 2533077365a9SGeert Uytterhoeven /* IP6_31_30 [2] */ 2534077365a9SGeert Uytterhoeven FN_SD0_DAT2, 0, FN_SUB_TDI, 0, 2535077365a9SGeert Uytterhoeven /* IP6_29_28 [2] */ 2536077365a9SGeert Uytterhoeven FN_SD0_DAT1, 0, FN_SUB_TCK, 0, 2537077365a9SGeert Uytterhoeven /* IP6_27_26 [2] */ 2538077365a9SGeert Uytterhoeven FN_SD0_DAT0, 0, FN_SUB_TMS, 0, 2539077365a9SGeert Uytterhoeven /* IP6_25_24 [2] */ 2540077365a9SGeert Uytterhoeven FN_SD0_CMD, 0, FN_SUB_TRST, 0, 2541077365a9SGeert Uytterhoeven /* IP6_23_22 [2] */ 2542077365a9SGeert Uytterhoeven FN_SD0_CLK, 0, FN_SUB_TDO, 0, 2543077365a9SGeert Uytterhoeven /* IP6_21 [1] */ 2544077365a9SGeert Uytterhoeven FN_SSI_SDATA0, FN_ARM_TRACEDATA_15, 2545077365a9SGeert Uytterhoeven /* IP6_20_19 [2] */ 2546077365a9SGeert Uytterhoeven FN_SSI_SDATA1, FN_ARM_TRACEDATA_14, 2547077365a9SGeert Uytterhoeven FN_SCL1_A, FN_SCK2_A, 2548077365a9SGeert Uytterhoeven /* IP6_18_17 [2] */ 2549077365a9SGeert Uytterhoeven FN_SSI_SDATA2, FN_HSPI_CS2_A, 2550077365a9SGeert Uytterhoeven FN_ARM_TRACEDATA_13, FN_SDA1_A, 2551077365a9SGeert Uytterhoeven /* IP6_16 [1] */ 2552077365a9SGeert Uytterhoeven FN_SSI_WS012, FN_ARM_TRACEDATA_12, 2553077365a9SGeert Uytterhoeven /* IP6_15_14 [2] */ 2554077365a9SGeert Uytterhoeven FN_SSI_SCK012, FN_ARM_TRACEDATA_11, 2555077365a9SGeert Uytterhoeven FN_TX0_D, 0, 2556077365a9SGeert Uytterhoeven /* IP6_13 [1] */ 2557077365a9SGeert Uytterhoeven FN_SSI_SDATA3, FN_ARM_TRACEDATA_10, 2558077365a9SGeert Uytterhoeven /* IP6_12_11 [2] */ 2559077365a9SGeert Uytterhoeven FN_SSI_SDATA4, FN_SSI_WS2_A, 2560077365a9SGeert Uytterhoeven FN_ARM_TRACEDATA_9, 0, 2561077365a9SGeert Uytterhoeven /* IP6_10 [1] */ 2562077365a9SGeert Uytterhoeven FN_SSI_WS34, FN_ARM_TRACEDATA_8, 2563077365a9SGeert Uytterhoeven /* IP6_9 [1] */ 2564077365a9SGeert Uytterhoeven FN_SSI_SDATA5, FN_RX0_D, 2565077365a9SGeert Uytterhoeven /* IP6_8 [1] */ 2566077365a9SGeert Uytterhoeven FN_SSI_WS5, FN_TX4_C, 2567077365a9SGeert Uytterhoeven /* IP6_7 [1] */ 2568077365a9SGeert Uytterhoeven FN_SSI_SCK5, FN_RX4_C, 2569077365a9SGeert Uytterhoeven /* IP6_6_5 [2] */ 2570077365a9SGeert Uytterhoeven FN_SSI_SDATA6, FN_HSPI_TX2_A, 2571077365a9SGeert Uytterhoeven FN_FMIN_B, 0, 2572077365a9SGeert Uytterhoeven /* IP6_4_2 [3] */ 2573077365a9SGeert Uytterhoeven FN_SSI_WS6, FN_HSPI_CLK2_A, 2574077365a9SGeert Uytterhoeven FN_BPFCLK_B, FN_CAN1_RX_B, 2575077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2576077365a9SGeert Uytterhoeven /* IP6_1_0 [2] */ 2577077365a9SGeert Uytterhoeven FN_SSI_SCK6, FN_HSPI_RX2_A, 2578077365a9SGeert Uytterhoeven FN_FMCLK_B, FN_CAN1_TX_B, 2579077365a9SGeert Uytterhoeven )) 2580077365a9SGeert Uytterhoeven }, 2581077365a9SGeert Uytterhoeven { PINMUX_CFG_REG_VAR("IPSR7", 0xfffc003c, 32, 2582077365a9SGeert Uytterhoeven GROUP(3, 4, 3, 1, 3, 3, 3, 3, 3, 2, 2, 2), 2583077365a9SGeert Uytterhoeven GROUP( 2584077365a9SGeert Uytterhoeven 2585077365a9SGeert Uytterhoeven /* IP7_31_29 [3] */ 2586077365a9SGeert Uytterhoeven FN_VI0_HSYNC, FN_SD2_CD_B, FN_VI1_DATA2, FN_DU1_DR2, 2587077365a9SGeert Uytterhoeven 0, FN_HSPI_CS1_A, FN_RX3_B, 0, 2588077365a9SGeert Uytterhoeven /* IP7_28_25 [4] */ 2589077365a9SGeert Uytterhoeven FN_VI0_FIELD, FN_SD2_DAT3_B, FN_VI0_R3_C, FN_VI1_DATA1, 2590077365a9SGeert Uytterhoeven FN_DU1_DG7, 0, FN_HSPI_CLK1_A, FN_TX4_B, 2591077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2592077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2593077365a9SGeert Uytterhoeven /* IP7_24_22 [3] */ 2594077365a9SGeert Uytterhoeven FN_VI0_CLKENB, FN_SD2_DAT2_B, FN_VI1_DATA0, FN_DU1_DG6, 2595077365a9SGeert Uytterhoeven 0, FN_HSPI_RX1_A, FN_RX4_B, 0, 2596077365a9SGeert Uytterhoeven /* IP7_21 [1] */ 2597077365a9SGeert Uytterhoeven FN_VI0_CLK, FN_CAN_CLK_A, 2598077365a9SGeert Uytterhoeven /* IP7_20_18 [3] */ 2599077365a9SGeert Uytterhoeven FN_TCLK0, FN_HSCK1_A, FN_FMIN_A, 0, 2600077365a9SGeert Uytterhoeven FN_IRQ2_C, FN_CTS1_C, FN_SPEEDIN, 0, 2601077365a9SGeert Uytterhoeven /* IP7_17_15 [3] */ 2602077365a9SGeert Uytterhoeven FN_VI1_VSYNC, FN_HSPI_TX0, FN_HCTS1_A, FN_BPFCLK_A, 2603077365a9SGeert Uytterhoeven 0, FN_TX1_C, 0, 0, 2604077365a9SGeert Uytterhoeven /* IP7_14_12 [3] */ 2605077365a9SGeert Uytterhoeven FN_VI1_HSYNC, FN_HSPI_RX0_A, FN_HRTS1_A, FN_FMCLK_A, 2606077365a9SGeert Uytterhoeven 0, FN_RX1_C, 0, 0, 2607077365a9SGeert Uytterhoeven /* IP7_11_9 [3] */ 2608077365a9SGeert Uytterhoeven FN_VI1_FIELD, FN_HSPI_CS0_A, FN_HRX1_A, 0, 2609077365a9SGeert Uytterhoeven FN_SCK1_C, 0, 0, 0, 2610077365a9SGeert Uytterhoeven /* IP7_8_6 [3] */ 2611077365a9SGeert Uytterhoeven FN_VI1_CLKENB, FN_HSPI_CLK0_A, FN_HTX1_A, 0, 2612077365a9SGeert Uytterhoeven FN_RTS1_C, 0, 0, 0, 2613077365a9SGeert Uytterhoeven /* IP7_5_4 [2] */ 2614077365a9SGeert Uytterhoeven FN_SD0_WP, 0, FN_RX5_A, 0, 2615077365a9SGeert Uytterhoeven /* IP7_3_2 [2] */ 2616077365a9SGeert Uytterhoeven FN_SD0_CD, 0, FN_TX5_A, 0, 2617077365a9SGeert Uytterhoeven /* IP7_1_0 [2] */ 2618077365a9SGeert Uytterhoeven FN_SD0_DAT3, 0, FN_IRQ1_B, 0, 2619077365a9SGeert Uytterhoeven )) 2620077365a9SGeert Uytterhoeven }, 2621077365a9SGeert Uytterhoeven { PINMUX_CFG_REG_VAR("IPSR8", 0xfffc0040, 32, 2622077365a9SGeert Uytterhoeven GROUP(1, 1, 3, 3, 2, 3, 3, 2, 3, 2, 3, 3, 3), 2623077365a9SGeert Uytterhoeven GROUP( 2624077365a9SGeert Uytterhoeven /* IP8_31 [1] */ 2625077365a9SGeert Uytterhoeven 0, 0, 2626077365a9SGeert Uytterhoeven /* IP8_30 [1] */ 2627077365a9SGeert Uytterhoeven 0, 0, 2628077365a9SGeert Uytterhoeven /* IP8_29_27 [3] */ 2629077365a9SGeert Uytterhoeven FN_VI0_G3, FN_SD2_CMD_B, FN_VI1_DATA5, FN_DU1_DR5, 2630077365a9SGeert Uytterhoeven 0, FN_HRX1_B, 0, 0, 2631077365a9SGeert Uytterhoeven /* IP8_26_24 [3] */ 2632077365a9SGeert Uytterhoeven FN_VI0_G2, FN_SD2_CLK_B, FN_VI1_DATA4, FN_DU1_DR4, 2633077365a9SGeert Uytterhoeven 0, FN_HTX1_B, 0, 0, 2634077365a9SGeert Uytterhoeven /* IP8_23_22 [2] */ 2635077365a9SGeert Uytterhoeven FN_VI0_DATA7_VI0_G1, FN_DU1_DB5, 2636077365a9SGeert Uytterhoeven FN_RTS1_A, 0, 2637077365a9SGeert Uytterhoeven /* IP8_21_19 [3] */ 2638077365a9SGeert Uytterhoeven FN_VI0_DATA6_VI0_G0, FN_DU1_DB4, 2639077365a9SGeert Uytterhoeven FN_CTS1_A, FN_PWM5, 2640077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2641077365a9SGeert Uytterhoeven /* IP8_18_16 [3] */ 2642077365a9SGeert Uytterhoeven FN_VI0_DATA5_VI0_B5, FN_DU1_DB3, FN_SCK1_A, FN_PWM4, 2643077365a9SGeert Uytterhoeven 0, FN_HSCK1_B, 0, 0, 2644077365a9SGeert Uytterhoeven /* IP8_15_14 [2] */ 2645077365a9SGeert Uytterhoeven FN_VI0_DATA4_VI0_B4, FN_DU1_DB2, FN_RX1_A, 0, 2646077365a9SGeert Uytterhoeven /* IP8_13_11 [3] */ 2647077365a9SGeert Uytterhoeven FN_VI0_DATA3_VI0_B3, FN_DU1_DG5, FN_TX1_A, FN_TX0_C, 2648077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2649077365a9SGeert Uytterhoeven /* IP8_10_9 [2] */ 2650077365a9SGeert Uytterhoeven FN_VI0_DATA2_VI0_B2, FN_DU1_DG4, FN_RX0_C, 0, 2651077365a9SGeert Uytterhoeven /* IP8_8_6 [3] */ 2652077365a9SGeert Uytterhoeven FN_VI0_DATA1_VI0_B1, FN_DU1_DG3, FN_IRQ3_B, FN_TX3_D, 2653077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2654077365a9SGeert Uytterhoeven /* IP8_5_3 [3] */ 2655077365a9SGeert Uytterhoeven FN_VI0_DATA0_VI0_B0, FN_DU1_DG2, FN_IRQ2_B, FN_RX3_D, 2656077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2657077365a9SGeert Uytterhoeven /* IP8_2_0 [3] */ 2658077365a9SGeert Uytterhoeven FN_VI0_VSYNC, FN_SD2_WP_B, FN_VI1_DATA3, FN_DU1_DR3, 2659077365a9SGeert Uytterhoeven 0, FN_HSPI_TX1_A, FN_TX3_B, 0, 2660077365a9SGeert Uytterhoeven )) 2661077365a9SGeert Uytterhoeven }, 2662077365a9SGeert Uytterhoeven { PINMUX_CFG_REG_VAR("IPSR9", 0xfffc0044, 32, 2663077365a9SGeert Uytterhoeven GROUP(1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3), 2664077365a9SGeert Uytterhoeven GROUP( 2665077365a9SGeert Uytterhoeven /* IP9_31 [1] */ 2666077365a9SGeert Uytterhoeven 0, 0, 2667077365a9SGeert Uytterhoeven /* IP9_30 [1] */ 2668077365a9SGeert Uytterhoeven 0, 0, 2669077365a9SGeert Uytterhoeven /* IP9_29_27 [3] */ 2670077365a9SGeert Uytterhoeven FN_VI1_DATA11_A, FN_DU1_EXHSYNC_DU1_HSYNC, 2671077365a9SGeert Uytterhoeven FN_ETH_RXD1, FN_FMIN_C, 2672077365a9SGeert Uytterhoeven 0, FN_RX2_D, 2673077365a9SGeert Uytterhoeven FN_SCL2_C, 0, 2674077365a9SGeert Uytterhoeven /* IP9_26_24 [3] */ 2675077365a9SGeert Uytterhoeven FN_VI1_DATA10_A, FN_DU1_DOTCLKOUT, 2676077365a9SGeert Uytterhoeven FN_ETH_RXD0, FN_BPFCLK_C, 2677077365a9SGeert Uytterhoeven 0, FN_TX2_D, 2678077365a9SGeert Uytterhoeven FN_SDA2_C, 0, 2679077365a9SGeert Uytterhoeven /* IP9_23_21 [3] */ 2680077365a9SGeert Uytterhoeven FN_VI0_R5_A, 0, FN_ETH_RX_ER, FN_FMCLK_C, 2681077365a9SGeert Uytterhoeven FN_IERX, FN_RX2_C, 0, 0, 2682077365a9SGeert Uytterhoeven /* IP9_20_18 [3] */ 2683077365a9SGeert Uytterhoeven FN_VI0_R4_A, FN_ETH_TX_EN, 0, 0, 2684077365a9SGeert Uytterhoeven FN_IETX, FN_TX2_C, 0, 0, 2685077365a9SGeert Uytterhoeven /* IP9_17_15 [3] */ 2686077365a9SGeert Uytterhoeven FN_VI0_R3_A, FN_ETH_CRS_DV, 0, FN_IECLK, 2687077365a9SGeert Uytterhoeven FN_SCK2_C, 0, 0, 0, 2688077365a9SGeert Uytterhoeven /* IP9_14_12 [3] */ 2689077365a9SGeert Uytterhoeven FN_VI0_R2_A, FN_VI1_DATA9, FN_DU1_DB7, FN_ETH_TXD1, 2690077365a9SGeert Uytterhoeven 0, FN_PWM3, 0, 0, 2691077365a9SGeert Uytterhoeven /* IP9_11_9 [3] */ 2692077365a9SGeert Uytterhoeven FN_VI0_R1_A, FN_VI1_DATA8, FN_DU1_DB6, FN_ETH_TXD0, 2693077365a9SGeert Uytterhoeven 0, FN_PWM2, FN_TCLK1, 0, 2694077365a9SGeert Uytterhoeven /* IP9_8_6 [3] */ 2695077365a9SGeert Uytterhoeven FN_VI0_R0_A, FN_VI1_CLK, FN_ETH_REF_CLK, FN_DU1_DOTCLKIN, 2696077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2697077365a9SGeert Uytterhoeven /* IP9_5_3 [3] */ 2698077365a9SGeert Uytterhoeven FN_VI0_G5, FN_SD2_DAT1_B, FN_VI1_DATA7, FN_DU1_DR7, 2699077365a9SGeert Uytterhoeven 0, FN_HCTS1_B, 0, 0, 2700077365a9SGeert Uytterhoeven /* IP9_2_0 [3] */ 2701077365a9SGeert Uytterhoeven FN_VI0_G4, FN_SD2_DAT0_B, FN_VI1_DATA6, FN_DU1_DR6, 2702077365a9SGeert Uytterhoeven 0, FN_HRTS1_B, 0, 0, 2703077365a9SGeert Uytterhoeven )) 2704077365a9SGeert Uytterhoeven }, 2705077365a9SGeert Uytterhoeven { PINMUX_CFG_REG_VAR("IPSR10", 0xfffc0048, 32, 2706077365a9SGeert Uytterhoeven GROUP(1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 4, 2707077365a9SGeert Uytterhoeven 3, 3, 3), 2708077365a9SGeert Uytterhoeven GROUP( 2709077365a9SGeert Uytterhoeven 2710077365a9SGeert Uytterhoeven /* IP10_31 [1] */ 2711077365a9SGeert Uytterhoeven 0, 0, 2712077365a9SGeert Uytterhoeven /* IP10_30 [1] */ 2713077365a9SGeert Uytterhoeven 0, 0, 2714077365a9SGeert Uytterhoeven /* IP10_29 [1] */ 2715077365a9SGeert Uytterhoeven 0, 0, 2716077365a9SGeert Uytterhoeven /* IP10_28 [1] */ 2717077365a9SGeert Uytterhoeven 0, 0, 2718077365a9SGeert Uytterhoeven /* IP10_27 [1] */ 2719077365a9SGeert Uytterhoeven 0, 0, 2720077365a9SGeert Uytterhoeven /* IP10_26 [1] */ 2721077365a9SGeert Uytterhoeven 0, 0, 2722077365a9SGeert Uytterhoeven /* IP10_25 [1] */ 2723077365a9SGeert Uytterhoeven 0, 0, 2724077365a9SGeert Uytterhoeven /* IP10_24_22 [3] */ 2725077365a9SGeert Uytterhoeven FN_SD2_WP_A, FN_VI1_DATA15, FN_EX_WAIT2_B, FN_DACK0_B, 2726077365a9SGeert Uytterhoeven FN_HSPI_TX2_B, FN_CAN_CLK_C, 0, 0, 2727077365a9SGeert Uytterhoeven /* IP10_21_19 [3] */ 2728077365a9SGeert Uytterhoeven FN_SD2_CD_A, FN_VI1_DATA14, FN_EX_WAIT1_B, FN_DREQ0_B, 2729077365a9SGeert Uytterhoeven FN_HSPI_RX2_B, FN_REMOCON_A, 0, 0, 2730077365a9SGeert Uytterhoeven /* IP10_18_16 [3] */ 2731077365a9SGeert Uytterhoeven FN_SD2_DAT3_A, FN_VI1_DATA13, FN_DACK2_B, FN_ATAG1, 2732077365a9SGeert Uytterhoeven FN_HSPI_CS2_B, FN_GPSIN_B, 0, 0, 2733077365a9SGeert Uytterhoeven /* IP10_15_13 [3] */ 2734077365a9SGeert Uytterhoeven FN_SD2_DAT2_A, FN_VI1_DATA12, FN_DREQ2_B, FN_ATADIR1, 2735077365a9SGeert Uytterhoeven FN_HSPI_CLK2_B, FN_GPSCLK_B, 0, 0, 2736077365a9SGeert Uytterhoeven /* IP10_12_9 [4] */ 2737077365a9SGeert Uytterhoeven FN_SD2_DAT1_A, FN_DU1_CDE, FN_ATACS11, FN_DACK1_B, 2738077365a9SGeert Uytterhoeven FN_ETH_MAGIC, FN_CAN1_TX_A, 0, FN_PWM6, 2739077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2740077365a9SGeert Uytterhoeven 0, 0, 0, 0, 2741077365a9SGeert Uytterhoeven /* IP10_8_6 [3] */ 2742077365a9SGeert Uytterhoeven FN_SD2_DAT0_A, FN_DU1_DISP, FN_ATACS01, FN_DREQ1_B, 2743077365a9SGeert Uytterhoeven FN_ETH_LINK, FN_CAN1_RX_A, 0, 0, 2744077365a9SGeert Uytterhoeven /* IP10_5_3 [3] */ 2745077365a9SGeert Uytterhoeven FN_SD2_CMD_A, FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, 2746077365a9SGeert Uytterhoeven FN_ATAWR1, FN_ETH_MDIO, 2747077365a9SGeert Uytterhoeven FN_SCL1_B, 0, 2748077365a9SGeert Uytterhoeven 0, 0, 2749077365a9SGeert Uytterhoeven /* IP10_2_0 [3] */ 2750077365a9SGeert Uytterhoeven FN_SD2_CLK_A, FN_DU1_EXVSYNC_DU1_VSYNC, 2751077365a9SGeert Uytterhoeven FN_ATARD1, FN_ETH_MDC, 2752077365a9SGeert Uytterhoeven FN_SDA1_B, 0, 2753077365a9SGeert Uytterhoeven 0, 0, 2754077365a9SGeert Uytterhoeven )) 2755077365a9SGeert Uytterhoeven }, 2756077365a9SGeert Uytterhoeven { PINMUX_CFG_REG_VAR("MOD_SEL0", 0xfffc0050, 32, 2757077365a9SGeert Uytterhoeven GROUP(1, 1, 2, 2, 3, 2, 2, 1, 1, 1, 1, 2, 2758077365a9SGeert Uytterhoeven 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1), 2759077365a9SGeert Uytterhoeven GROUP( 2760077365a9SGeert Uytterhoeven 2761077365a9SGeert Uytterhoeven /* SEL 31 [1] */ 2762077365a9SGeert Uytterhoeven 0, 0, 2763077365a9SGeert Uytterhoeven /* SEL_30 (SCIF5) [1] */ 2764077365a9SGeert Uytterhoeven FN_SEL_SCIF5_A, FN_SEL_SCIF5_B, 2765077365a9SGeert Uytterhoeven /* SEL_29_28 (SCIF4) [2] */ 2766077365a9SGeert Uytterhoeven FN_SEL_SCIF4_A, FN_SEL_SCIF4_B, 2767077365a9SGeert Uytterhoeven FN_SEL_SCIF4_C, 0, 2768077365a9SGeert Uytterhoeven /* SEL_27_26 (SCIF3) [2] */ 2769077365a9SGeert Uytterhoeven FN_SEL_SCIF3_A, FN_SEL_SCIF3_B, 2770077365a9SGeert Uytterhoeven FN_SEL_SCIF3_C, FN_SEL_SCIF3_D, 2771077365a9SGeert Uytterhoeven /* SEL_25_23 (SCIF2) [3] */ 2772077365a9SGeert Uytterhoeven FN_SEL_SCIF2_A, FN_SEL_SCIF2_B, 2773077365a9SGeert Uytterhoeven FN_SEL_SCIF2_C, FN_SEL_SCIF2_D, 2774077365a9SGeert Uytterhoeven FN_SEL_SCIF2_E, 0, 2775077365a9SGeert Uytterhoeven 0, 0, 2776077365a9SGeert Uytterhoeven /* SEL_22_21 (SCIF1) [2] */ 2777077365a9SGeert Uytterhoeven FN_SEL_SCIF1_A, FN_SEL_SCIF1_B, 2778077365a9SGeert Uytterhoeven FN_SEL_SCIF1_C, FN_SEL_SCIF1_D, 2779077365a9SGeert Uytterhoeven /* SEL_20_19 (SCIF0) [2] */ 2780077365a9SGeert Uytterhoeven FN_SEL_SCIF0_A, FN_SEL_SCIF0_B, 2781077365a9SGeert Uytterhoeven FN_SEL_SCIF0_C, FN_SEL_SCIF0_D, 2782077365a9SGeert Uytterhoeven /* SEL_18 [1] */ 2783077365a9SGeert Uytterhoeven 0, 0, 2784077365a9SGeert Uytterhoeven /* SEL_17 (SSI2) [1] */ 2785077365a9SGeert Uytterhoeven FN_SEL_SSI2_A, FN_SEL_SSI2_B, 2786077365a9SGeert Uytterhoeven /* SEL_16 (SSI1) [1] */ 2787077365a9SGeert Uytterhoeven FN_SEL_SSI1_A, FN_SEL_SSI1_B, 2788077365a9SGeert Uytterhoeven /* SEL_15 (VI1) [1] */ 2789077365a9SGeert Uytterhoeven FN_SEL_VI1_A, FN_SEL_VI1_B, 2790077365a9SGeert Uytterhoeven /* SEL_14_13 (VI0) [2] */ 2791077365a9SGeert Uytterhoeven FN_SEL_VI0_A, FN_SEL_VI0_B, 2792077365a9SGeert Uytterhoeven FN_SEL_VI0_C, FN_SEL_VI0_D, 2793077365a9SGeert Uytterhoeven /* SEL_12 [1] */ 2794077365a9SGeert Uytterhoeven 0, 0, 2795077365a9SGeert Uytterhoeven /* SEL_11 (SD2) [1] */ 2796077365a9SGeert Uytterhoeven FN_SEL_SD2_A, FN_SEL_SD2_B, 2797077365a9SGeert Uytterhoeven /* SEL_10 (SD1) [1] */ 2798077365a9SGeert Uytterhoeven FN_SEL_SD1_A, FN_SEL_SD1_B, 2799077365a9SGeert Uytterhoeven /* SEL_9 (IRQ3) [1] */ 2800077365a9SGeert Uytterhoeven FN_SEL_IRQ3_A, FN_SEL_IRQ3_B, 2801077365a9SGeert Uytterhoeven /* SEL_8_7 (IRQ2) [2] */ 2802077365a9SGeert Uytterhoeven FN_SEL_IRQ2_A, FN_SEL_IRQ2_B, 2803077365a9SGeert Uytterhoeven FN_SEL_IRQ2_C, 0, 2804077365a9SGeert Uytterhoeven /* SEL_6 (IRQ1) [1] */ 2805077365a9SGeert Uytterhoeven FN_SEL_IRQ1_A, FN_SEL_IRQ1_B, 2806077365a9SGeert Uytterhoeven /* SEL_5 [1] */ 2807077365a9SGeert Uytterhoeven 0, 0, 2808077365a9SGeert Uytterhoeven /* SEL_4 (DREQ2) [1] */ 2809077365a9SGeert Uytterhoeven FN_SEL_DREQ2_A, FN_SEL_DREQ2_B, 2810077365a9SGeert Uytterhoeven /* SEL_3 (DREQ1) [1] */ 2811077365a9SGeert Uytterhoeven FN_SEL_DREQ1_A, FN_SEL_DREQ1_B, 2812077365a9SGeert Uytterhoeven /* SEL_2 (DREQ0) [1] */ 2813077365a9SGeert Uytterhoeven FN_SEL_DREQ0_A, FN_SEL_DREQ0_B, 2814077365a9SGeert Uytterhoeven /* SEL_1 (WAIT2) [1] */ 2815077365a9SGeert Uytterhoeven FN_SEL_WAIT2_A, FN_SEL_WAIT2_B, 2816077365a9SGeert Uytterhoeven /* SEL_0 (WAIT1) [1] */ 2817077365a9SGeert Uytterhoeven FN_SEL_WAIT1_A, FN_SEL_WAIT1_B, 2818077365a9SGeert Uytterhoeven )) 2819077365a9SGeert Uytterhoeven }, 2820077365a9SGeert Uytterhoeven { PINMUX_CFG_REG_VAR("MOD_SEL1", 0xfffc0054, 32, 2821077365a9SGeert Uytterhoeven GROUP(1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2822077365a9SGeert Uytterhoeven 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 2, 2, 1), 2823077365a9SGeert Uytterhoeven GROUP( 2824077365a9SGeert Uytterhoeven 2825077365a9SGeert Uytterhoeven /* SEL_31 [1] */ 2826077365a9SGeert Uytterhoeven 0, 0, 2827077365a9SGeert Uytterhoeven /* SEL_30 [1] */ 2828077365a9SGeert Uytterhoeven 0, 0, 2829077365a9SGeert Uytterhoeven /* SEL_29 [1] */ 2830077365a9SGeert Uytterhoeven 0, 0, 2831077365a9SGeert Uytterhoeven /* SEL_28 [1] */ 2832077365a9SGeert Uytterhoeven 0, 0, 2833077365a9SGeert Uytterhoeven /* SEL_27 (CAN1) [1] */ 2834077365a9SGeert Uytterhoeven FN_SEL_CAN1_A, FN_SEL_CAN1_B, 2835077365a9SGeert Uytterhoeven /* SEL_26 (CAN0) [1] */ 2836077365a9SGeert Uytterhoeven FN_SEL_CAN0_A, FN_SEL_CAN0_B, 2837077365a9SGeert Uytterhoeven /* SEL_25_24 (CANCLK) [2] */ 2838077365a9SGeert Uytterhoeven FN_SEL_CANCLK_A, FN_SEL_CANCLK_B, 2839077365a9SGeert Uytterhoeven FN_SEL_CANCLK_C, FN_SEL_CANCLK_D, 2840077365a9SGeert Uytterhoeven /* SEL_23 (HSCIF1) [1] */ 2841077365a9SGeert Uytterhoeven FN_SEL_HSCIF1_A, FN_SEL_HSCIF1_B, 2842077365a9SGeert Uytterhoeven /* SEL_22 (HSCIF0) [1] */ 2843077365a9SGeert Uytterhoeven FN_SEL_HSCIF0_A, FN_SEL_HSCIF0_B, 2844077365a9SGeert Uytterhoeven /* SEL_21 [1] */ 2845077365a9SGeert Uytterhoeven 0, 0, 2846077365a9SGeert Uytterhoeven /* SEL_20 [1] */ 2847077365a9SGeert Uytterhoeven 0, 0, 2848077365a9SGeert Uytterhoeven /* SEL_19 [1] */ 2849077365a9SGeert Uytterhoeven 0, 0, 2850077365a9SGeert Uytterhoeven /* SEL_18 [1] */ 2851077365a9SGeert Uytterhoeven 0, 0, 2852077365a9SGeert Uytterhoeven /* SEL_17 [1] */ 2853077365a9SGeert Uytterhoeven 0, 0, 2854077365a9SGeert Uytterhoeven /* SEL_16 [1] */ 2855077365a9SGeert Uytterhoeven 0, 0, 2856077365a9SGeert Uytterhoeven /* SEL_15 [1] */ 2857077365a9SGeert Uytterhoeven 0, 0, 2858077365a9SGeert Uytterhoeven /* SEL_14_13 (REMOCON) [2] */ 2859077365a9SGeert Uytterhoeven FN_SEL_REMOCON_A, FN_SEL_REMOCON_B, 2860077365a9SGeert Uytterhoeven FN_SEL_REMOCON_C, 0, 2861077365a9SGeert Uytterhoeven /* SEL_12_11 (FM) [2] */ 2862077365a9SGeert Uytterhoeven FN_SEL_FM_A, FN_SEL_FM_B, 2863077365a9SGeert Uytterhoeven FN_SEL_FM_C, FN_SEL_FM_D, 2864077365a9SGeert Uytterhoeven /* SEL_10_9 (GPS) [2] */ 2865077365a9SGeert Uytterhoeven FN_SEL_GPS_A, FN_SEL_GPS_B, 2866077365a9SGeert Uytterhoeven FN_SEL_GPS_C, 0, 2867077365a9SGeert Uytterhoeven /* SEL_8 (TSIF0) [1] */ 2868077365a9SGeert Uytterhoeven FN_SEL_TSIF0_A, FN_SEL_TSIF0_B, 2869077365a9SGeert Uytterhoeven /* SEL_7 (HSPI2) [1] */ 2870077365a9SGeert Uytterhoeven FN_SEL_HSPI2_A, FN_SEL_HSPI2_B, 2871077365a9SGeert Uytterhoeven /* SEL_6 (HSPI1) [1] */ 2872077365a9SGeert Uytterhoeven FN_SEL_HSPI1_A, FN_SEL_HSPI1_B, 2873077365a9SGeert Uytterhoeven /* SEL_5 (HSPI0) [1] */ 2874077365a9SGeert Uytterhoeven FN_SEL_HSPI0_A, FN_SEL_HSPI0_B, 2875077365a9SGeert Uytterhoeven /* SEL_4_3 (I2C3) [2] */ 2876077365a9SGeert Uytterhoeven FN_SEL_I2C3_A, FN_SEL_I2C3_B, 2877077365a9SGeert Uytterhoeven FN_SEL_I2C3_C, 0, 2878077365a9SGeert Uytterhoeven /* SEL_2_1 (I2C2) [2] */ 2879077365a9SGeert Uytterhoeven FN_SEL_I2C2_A, FN_SEL_I2C2_B, 2880077365a9SGeert Uytterhoeven FN_SEL_I2C2_C, 0, 2881077365a9SGeert Uytterhoeven /* SEL_0 (I2C1) [1] */ 2882077365a9SGeert Uytterhoeven FN_SEL_I2C1_A, FN_SEL_I2C1_B, 2883077365a9SGeert Uytterhoeven )) 2884077365a9SGeert Uytterhoeven }, 2885077365a9SGeert Uytterhoeven { }, 2886077365a9SGeert Uytterhoeven }; 2887077365a9SGeert Uytterhoeven 2888077365a9SGeert Uytterhoeven static const struct pinmux_bias_reg pinmux_bias_regs[] = { 28892d341cc3SGeert Uytterhoeven { PINMUX_BIAS_REG("PUPR0", 0xfffc0100, "N/A", 0) { 2890077365a9SGeert Uytterhoeven [ 0] = RCAR_GP_PIN(0, 6), /* A0 */ 2891077365a9SGeert Uytterhoeven [ 1] = RCAR_GP_PIN(0, 7), /* A1 */ 2892077365a9SGeert Uytterhoeven [ 2] = RCAR_GP_PIN(0, 8), /* A2 */ 2893077365a9SGeert Uytterhoeven [ 3] = RCAR_GP_PIN(0, 9), /* A3 */ 2894077365a9SGeert Uytterhoeven [ 4] = RCAR_GP_PIN(0, 10), /* A4 */ 2895077365a9SGeert Uytterhoeven [ 5] = RCAR_GP_PIN(0, 11), /* A5 */ 2896077365a9SGeert Uytterhoeven [ 6] = RCAR_GP_PIN(0, 12), /* A6 */ 2897077365a9SGeert Uytterhoeven [ 7] = RCAR_GP_PIN(0, 13), /* A7 */ 2898077365a9SGeert Uytterhoeven [ 8] = RCAR_GP_PIN(0, 14), /* A8 */ 2899077365a9SGeert Uytterhoeven [ 9] = RCAR_GP_PIN(0, 15), /* A9 */ 2900077365a9SGeert Uytterhoeven [10] = RCAR_GP_PIN(0, 16), /* A10 */ 2901077365a9SGeert Uytterhoeven [11] = RCAR_GP_PIN(0, 17), /* A11 */ 2902077365a9SGeert Uytterhoeven [12] = RCAR_GP_PIN(0, 18), /* A12 */ 2903077365a9SGeert Uytterhoeven [13] = RCAR_GP_PIN(0, 19), /* A13 */ 2904077365a9SGeert Uytterhoeven [14] = RCAR_GP_PIN(0, 20), /* A14 */ 2905077365a9SGeert Uytterhoeven [15] = RCAR_GP_PIN(0, 21), /* A15 */ 2906077365a9SGeert Uytterhoeven [16] = RCAR_GP_PIN(0, 22), /* A16 */ 2907077365a9SGeert Uytterhoeven [17] = RCAR_GP_PIN(0, 23), /* A17 */ 2908077365a9SGeert Uytterhoeven [18] = RCAR_GP_PIN(0, 24), /* A18 */ 2909077365a9SGeert Uytterhoeven [19] = RCAR_GP_PIN(0, 25), /* A19 */ 2910077365a9SGeert Uytterhoeven [20] = RCAR_GP_PIN(0, 26), /* A20 */ 2911077365a9SGeert Uytterhoeven [21] = RCAR_GP_PIN(0, 27), /* A21 */ 2912077365a9SGeert Uytterhoeven [22] = RCAR_GP_PIN(0, 28), /* A22 */ 2913077365a9SGeert Uytterhoeven [23] = RCAR_GP_PIN(0, 29), /* A23 */ 2914077365a9SGeert Uytterhoeven [24] = RCAR_GP_PIN(0, 30), /* A24 */ 2915077365a9SGeert Uytterhoeven [25] = RCAR_GP_PIN(0, 31), /* A25 */ 2916077365a9SGeert Uytterhoeven [26] = RCAR_GP_PIN(1, 3), /* /EX_CS0 */ 2917077365a9SGeert Uytterhoeven [27] = RCAR_GP_PIN(1, 4), /* /EX_CS1 */ 2918077365a9SGeert Uytterhoeven [28] = RCAR_GP_PIN(1, 5), /* /EX_CS2 */ 2919077365a9SGeert Uytterhoeven [29] = RCAR_GP_PIN(1, 6), /* /EX_CS3 */ 2920077365a9SGeert Uytterhoeven [30] = RCAR_GP_PIN(1, 7), /* /EX_CS4 */ 2921077365a9SGeert Uytterhoeven [31] = RCAR_GP_PIN(1, 8), /* /EX_CS5 */ 2922077365a9SGeert Uytterhoeven } }, 29232d341cc3SGeert Uytterhoeven { PINMUX_BIAS_REG("PUPR1", 0xfffc0104, "N/A", 0) { 2924077365a9SGeert Uytterhoeven [ 0] = RCAR_GP_PIN(0, 0), /* /PRESETOUT */ 2925077365a9SGeert Uytterhoeven [ 1] = RCAR_GP_PIN(0, 5), /* /BS */ 2926077365a9SGeert Uytterhoeven [ 2] = RCAR_GP_PIN(1, 0), /* RD//WR */ 2927077365a9SGeert Uytterhoeven [ 3] = RCAR_GP_PIN(1, 1), /* /WE0 */ 2928077365a9SGeert Uytterhoeven [ 4] = RCAR_GP_PIN(1, 2), /* /WE1 */ 2929077365a9SGeert Uytterhoeven [ 5] = RCAR_GP_PIN(1, 11), /* EX_WAIT0 */ 2930077365a9SGeert Uytterhoeven [ 6] = RCAR_GP_PIN(1, 9), /* DREQ0 */ 2931077365a9SGeert Uytterhoeven [ 7] = RCAR_GP_PIN(1, 10), /* DACK0 */ 2932077365a9SGeert Uytterhoeven [ 8] = RCAR_GP_PIN(1, 12), /* IRQ0 */ 2933077365a9SGeert Uytterhoeven [ 9] = RCAR_GP_PIN(1, 13), /* IRQ1 */ 2934077365a9SGeert Uytterhoeven [10] = SH_PFC_PIN_NONE, 2935077365a9SGeert Uytterhoeven [11] = SH_PFC_PIN_NONE, 2936077365a9SGeert Uytterhoeven [12] = SH_PFC_PIN_NONE, 2937077365a9SGeert Uytterhoeven [13] = SH_PFC_PIN_NONE, 2938077365a9SGeert Uytterhoeven [14] = SH_PFC_PIN_NONE, 2939077365a9SGeert Uytterhoeven [15] = SH_PFC_PIN_NONE, 2940077365a9SGeert Uytterhoeven [16] = SH_PFC_PIN_NONE, 2941077365a9SGeert Uytterhoeven [17] = SH_PFC_PIN_NONE, 2942077365a9SGeert Uytterhoeven [18] = SH_PFC_PIN_NONE, 2943077365a9SGeert Uytterhoeven [19] = SH_PFC_PIN_NONE, 2944077365a9SGeert Uytterhoeven [20] = SH_PFC_PIN_NONE, 2945077365a9SGeert Uytterhoeven [21] = SH_PFC_PIN_NONE, 2946077365a9SGeert Uytterhoeven [22] = SH_PFC_PIN_NONE, 2947077365a9SGeert Uytterhoeven [23] = SH_PFC_PIN_NONE, 2948077365a9SGeert Uytterhoeven [24] = SH_PFC_PIN_NONE, 2949077365a9SGeert Uytterhoeven [25] = SH_PFC_PIN_NONE, 2950077365a9SGeert Uytterhoeven [26] = SH_PFC_PIN_NONE, 2951077365a9SGeert Uytterhoeven [27] = SH_PFC_PIN_NONE, 2952077365a9SGeert Uytterhoeven [28] = SH_PFC_PIN_NONE, 2953077365a9SGeert Uytterhoeven [29] = SH_PFC_PIN_NONE, 2954077365a9SGeert Uytterhoeven [30] = SH_PFC_PIN_NONE, 2955077365a9SGeert Uytterhoeven [31] = SH_PFC_PIN_NONE, 2956077365a9SGeert Uytterhoeven } }, 29572d341cc3SGeert Uytterhoeven { PINMUX_BIAS_REG("PUPR2", 0xfffc0108, "N/A", 0) { 2958077365a9SGeert Uytterhoeven [ 0] = RCAR_GP_PIN(1, 22), /* DU0_DR0 */ 2959077365a9SGeert Uytterhoeven [ 1] = RCAR_GP_PIN(1, 23), /* DU0_DR1 */ 2960077365a9SGeert Uytterhoeven [ 2] = RCAR_GP_PIN(1, 24), /* DU0_DR2 */ 2961077365a9SGeert Uytterhoeven [ 3] = RCAR_GP_PIN(1, 25), /* DU0_DR3 */ 2962077365a9SGeert Uytterhoeven [ 4] = RCAR_GP_PIN(1, 26), /* DU0_DR4 */ 2963077365a9SGeert Uytterhoeven [ 5] = RCAR_GP_PIN(1, 27), /* DU0_DR5 */ 2964077365a9SGeert Uytterhoeven [ 6] = RCAR_GP_PIN(1, 28), /* DU0_DR6 */ 2965077365a9SGeert Uytterhoeven [ 7] = RCAR_GP_PIN(1, 29), /* DU0_DR7 */ 2966077365a9SGeert Uytterhoeven [ 8] = RCAR_GP_PIN(1, 30), /* DU0_DG0 */ 2967077365a9SGeert Uytterhoeven [ 9] = RCAR_GP_PIN(1, 31), /* DU0_DG1 */ 2968077365a9SGeert Uytterhoeven [10] = RCAR_GP_PIN(2, 0), /* DU0_DG2 */ 2969077365a9SGeert Uytterhoeven [11] = RCAR_GP_PIN(2, 1), /* DU0_DG3 */ 2970077365a9SGeert Uytterhoeven [12] = RCAR_GP_PIN(2, 2), /* DU0_DG4 */ 2971077365a9SGeert Uytterhoeven [13] = RCAR_GP_PIN(2, 3), /* DU0_DG5 */ 2972077365a9SGeert Uytterhoeven [14] = RCAR_GP_PIN(2, 4), /* DU0_DG6 */ 2973077365a9SGeert Uytterhoeven [15] = RCAR_GP_PIN(2, 5), /* DU0_DG7 */ 2974077365a9SGeert Uytterhoeven [16] = RCAR_GP_PIN(2, 6), /* DU0_DB0 */ 2975077365a9SGeert Uytterhoeven [17] = RCAR_GP_PIN(2, 7), /* DU0_DB1 */ 2976077365a9SGeert Uytterhoeven [18] = RCAR_GP_PIN(2, 8), /* DU0_DB2 */ 2977077365a9SGeert Uytterhoeven [19] = RCAR_GP_PIN(2, 9), /* DU0_DB3 */ 2978077365a9SGeert Uytterhoeven [20] = RCAR_GP_PIN(2, 10), /* DU0_DB4 */ 2979077365a9SGeert Uytterhoeven [21] = RCAR_GP_PIN(2, 11), /* DU0_DB5 */ 2980077365a9SGeert Uytterhoeven [22] = RCAR_GP_PIN(2, 12), /* DU0_DB6 */ 2981077365a9SGeert Uytterhoeven [23] = RCAR_GP_PIN(2, 13), /* DU0_DB7 */ 2982077365a9SGeert Uytterhoeven [24] = RCAR_GP_PIN(2, 14), /* DU0_DOTCLKIN */ 2983077365a9SGeert Uytterhoeven [25] = RCAR_GP_PIN(2, 15), /* DU0_DOTCLKOUT0 */ 2984077365a9SGeert Uytterhoeven [26] = RCAR_GP_PIN(2, 17), /* DU0_HSYNC */ 2985077365a9SGeert Uytterhoeven [27] = RCAR_GP_PIN(2, 18), /* DU0_VSYNC */ 2986077365a9SGeert Uytterhoeven [28] = RCAR_GP_PIN(2, 19), /* DU0_EXODDF */ 2987077365a9SGeert Uytterhoeven [29] = RCAR_GP_PIN(2, 20), /* DU0_DISP */ 2988077365a9SGeert Uytterhoeven [30] = RCAR_GP_PIN(2, 21), /* DU0_CDE */ 2989077365a9SGeert Uytterhoeven [31] = RCAR_GP_PIN(2, 16), /* DU0_DOTCLKOUT1 */ 2990077365a9SGeert Uytterhoeven } }, 29912d341cc3SGeert Uytterhoeven { PINMUX_BIAS_REG("PUPR3", 0xfffc010c, "N/A", 0) { 2992077365a9SGeert Uytterhoeven [ 0] = RCAR_GP_PIN(3, 24), /* VI0_CLK */ 2993077365a9SGeert Uytterhoeven [ 1] = RCAR_GP_PIN(3, 25), /* VI0_CLKENB */ 2994077365a9SGeert Uytterhoeven [ 2] = RCAR_GP_PIN(3, 26), /* VI0_FIELD */ 2995077365a9SGeert Uytterhoeven [ 3] = RCAR_GP_PIN(3, 27), /* /VI0_HSYNC */ 2996077365a9SGeert Uytterhoeven [ 4] = RCAR_GP_PIN(3, 28), /* /VI0_VSYNC */ 2997077365a9SGeert Uytterhoeven [ 5] = RCAR_GP_PIN(3, 29), /* VI0_DATA0 */ 2998077365a9SGeert Uytterhoeven [ 6] = RCAR_GP_PIN(3, 30), /* VI0_DATA1 */ 2999077365a9SGeert Uytterhoeven [ 7] = RCAR_GP_PIN(3, 31), /* VI0_DATA2 */ 3000077365a9SGeert Uytterhoeven [ 8] = RCAR_GP_PIN(4, 0), /* VI0_DATA3 */ 3001077365a9SGeert Uytterhoeven [ 9] = RCAR_GP_PIN(4, 1), /* VI0_DATA4 */ 3002077365a9SGeert Uytterhoeven [10] = RCAR_GP_PIN(4, 2), /* VI0_DATA5 */ 3003077365a9SGeert Uytterhoeven [11] = RCAR_GP_PIN(4, 3), /* VI0_DATA6 */ 3004077365a9SGeert Uytterhoeven [12] = RCAR_GP_PIN(4, 4), /* VI0_DATA7 */ 3005077365a9SGeert Uytterhoeven [13] = RCAR_GP_PIN(4, 5), /* VI0_G2 */ 3006077365a9SGeert Uytterhoeven [14] = RCAR_GP_PIN(4, 6), /* VI0_G3 */ 3007077365a9SGeert Uytterhoeven [15] = RCAR_GP_PIN(4, 7), /* VI0_G4 */ 3008077365a9SGeert Uytterhoeven [16] = RCAR_GP_PIN(4, 8), /* VI0_G5 */ 3009077365a9SGeert Uytterhoeven [17] = RCAR_GP_PIN(4, 21), /* VI1_DATA12 */ 3010077365a9SGeert Uytterhoeven [18] = RCAR_GP_PIN(4, 22), /* VI1_DATA13 */ 3011077365a9SGeert Uytterhoeven [19] = RCAR_GP_PIN(4, 23), /* VI1_DATA14 */ 3012077365a9SGeert Uytterhoeven [20] = RCAR_GP_PIN(4, 24), /* VI1_DATA15 */ 3013077365a9SGeert Uytterhoeven [21] = RCAR_GP_PIN(4, 9), /* ETH_REF_CLK */ 3014077365a9SGeert Uytterhoeven [22] = RCAR_GP_PIN(4, 10), /* ETH_TXD0 */ 3015077365a9SGeert Uytterhoeven [23] = RCAR_GP_PIN(4, 11), /* ETH_TXD1 */ 3016077365a9SGeert Uytterhoeven [24] = RCAR_GP_PIN(4, 12), /* ETH_CRS_DV */ 3017077365a9SGeert Uytterhoeven [25] = RCAR_GP_PIN(4, 13), /* ETH_TX_EN */ 3018077365a9SGeert Uytterhoeven [26] = RCAR_GP_PIN(4, 14), /* ETH_RX_ER */ 3019077365a9SGeert Uytterhoeven [27] = RCAR_GP_PIN(4, 15), /* ETH_RXD0 */ 3020077365a9SGeert Uytterhoeven [28] = RCAR_GP_PIN(4, 16), /* ETH_RXD1 */ 3021077365a9SGeert Uytterhoeven [29] = RCAR_GP_PIN(4, 17), /* ETH_MDC */ 3022077365a9SGeert Uytterhoeven [30] = RCAR_GP_PIN(4, 18), /* ETH_MDIO */ 3023077365a9SGeert Uytterhoeven [31] = RCAR_GP_PIN(4, 19), /* ETH_LINK */ 3024077365a9SGeert Uytterhoeven } }, 30252d341cc3SGeert Uytterhoeven { PINMUX_BIAS_REG("PUPR4", 0xfffc0110, "N/A", 0) { 3026077365a9SGeert Uytterhoeven [ 0] = RCAR_GP_PIN(3, 6), /* SSI_SCK012 */ 3027077365a9SGeert Uytterhoeven [ 1] = RCAR_GP_PIN(3, 7), /* SSI_WS012 */ 3028077365a9SGeert Uytterhoeven [ 2] = RCAR_GP_PIN(3, 10), /* SSI_SDATA0 */ 3029077365a9SGeert Uytterhoeven [ 3] = RCAR_GP_PIN(3, 9), /* SSI_SDATA1 */ 3030077365a9SGeert Uytterhoeven [ 4] = RCAR_GP_PIN(3, 8), /* SSI_SDATA2 */ 3031077365a9SGeert Uytterhoeven [ 5] = RCAR_GP_PIN(3, 2), /* SSI_SCK34 */ 3032077365a9SGeert Uytterhoeven [ 6] = RCAR_GP_PIN(3, 3), /* SSI_WS34 */ 3033077365a9SGeert Uytterhoeven [ 7] = RCAR_GP_PIN(3, 5), /* SSI_SDATA3 */ 3034077365a9SGeert Uytterhoeven [ 8] = RCAR_GP_PIN(3, 4), /* SSI_SDATA4 */ 3035077365a9SGeert Uytterhoeven [ 9] = RCAR_GP_PIN(2, 31), /* SSI_SCK5 */ 3036077365a9SGeert Uytterhoeven [10] = RCAR_GP_PIN(3, 0), /* SSI_WS5 */ 3037077365a9SGeert Uytterhoeven [11] = RCAR_GP_PIN(3, 1), /* SSI_SDATA5 */ 3038077365a9SGeert Uytterhoeven [12] = RCAR_GP_PIN(2, 28), /* SSI_SCK6 */ 3039077365a9SGeert Uytterhoeven [13] = RCAR_GP_PIN(2, 29), /* SSI_WS6 */ 3040077365a9SGeert Uytterhoeven [14] = RCAR_GP_PIN(2, 30), /* SSI_SDATA6 */ 3041077365a9SGeert Uytterhoeven [15] = RCAR_GP_PIN(2, 24), /* SSI_SCK78 */ 3042077365a9SGeert Uytterhoeven [16] = RCAR_GP_PIN(2, 25), /* SSI_WS78 */ 3043077365a9SGeert Uytterhoeven [17] = RCAR_GP_PIN(2, 27), /* SSI_SDATA7 */ 3044077365a9SGeert Uytterhoeven [18] = RCAR_GP_PIN(2, 26), /* SSI_SDATA8 */ 3045077365a9SGeert Uytterhoeven [19] = RCAR_GP_PIN(3, 23), /* TCLK0 */ 3046077365a9SGeert Uytterhoeven [20] = RCAR_GP_PIN(3, 11), /* SD0_CLK */ 3047077365a9SGeert Uytterhoeven [21] = RCAR_GP_PIN(3, 12), /* SD0_CMD */ 3048077365a9SGeert Uytterhoeven [22] = RCAR_GP_PIN(3, 13), /* SD0_DAT0 */ 3049077365a9SGeert Uytterhoeven [23] = RCAR_GP_PIN(3, 14), /* SD0_DAT1 */ 3050077365a9SGeert Uytterhoeven [24] = RCAR_GP_PIN(3, 15), /* SD0_DAT2 */ 3051077365a9SGeert Uytterhoeven [25] = RCAR_GP_PIN(3, 16), /* SD0_DAT3 */ 3052077365a9SGeert Uytterhoeven [26] = RCAR_GP_PIN(3, 17), /* SD0_CD */ 3053077365a9SGeert Uytterhoeven [27] = RCAR_GP_PIN(3, 18), /* SD0_WP */ 3054077365a9SGeert Uytterhoeven [28] = RCAR_GP_PIN(2, 22), /* AUDIO_CLKA */ 3055077365a9SGeert Uytterhoeven [29] = RCAR_GP_PIN(2, 23), /* AUDIO_CLKB */ 3056077365a9SGeert Uytterhoeven [30] = RCAR_GP_PIN(1, 14), /* IRQ2 */ 3057077365a9SGeert Uytterhoeven [31] = RCAR_GP_PIN(1, 15), /* IRQ3 */ 3058077365a9SGeert Uytterhoeven } }, 30592d341cc3SGeert Uytterhoeven { PINMUX_BIAS_REG("PUPR5", 0xfffc0114, "N/A", 0) { 3060077365a9SGeert Uytterhoeven [ 0] = RCAR_GP_PIN(0, 1), /* PENC0 */ 3061077365a9SGeert Uytterhoeven [ 1] = RCAR_GP_PIN(0, 2), /* PENC1 */ 3062077365a9SGeert Uytterhoeven [ 2] = RCAR_GP_PIN(0, 3), /* USB_OVC0 */ 3063077365a9SGeert Uytterhoeven [ 3] = RCAR_GP_PIN(0, 4), /* USB_OVC1 */ 3064077365a9SGeert Uytterhoeven [ 4] = RCAR_GP_PIN(1, 16), /* SCIF_CLK */ 3065077365a9SGeert Uytterhoeven [ 5] = RCAR_GP_PIN(1, 17), /* TX0 */ 3066077365a9SGeert Uytterhoeven [ 6] = RCAR_GP_PIN(1, 18), /* RX0 */ 3067077365a9SGeert Uytterhoeven [ 7] = RCAR_GP_PIN(1, 19), /* SCK0 */ 3068077365a9SGeert Uytterhoeven [ 8] = RCAR_GP_PIN(1, 20), /* /CTS0 */ 3069077365a9SGeert Uytterhoeven [ 9] = RCAR_GP_PIN(1, 21), /* /RTS0 */ 3070077365a9SGeert Uytterhoeven [10] = RCAR_GP_PIN(3, 19), /* HSPI_CLK0 */ 3071077365a9SGeert Uytterhoeven [11] = RCAR_GP_PIN(3, 20), /* /HSPI_CS0 */ 3072077365a9SGeert Uytterhoeven [12] = RCAR_GP_PIN(3, 21), /* HSPI_RX0 */ 3073077365a9SGeert Uytterhoeven [13] = RCAR_GP_PIN(3, 22), /* HSPI_TX0 */ 3074077365a9SGeert Uytterhoeven [14] = RCAR_GP_PIN(4, 20), /* ETH_MAGIC */ 3075077365a9SGeert Uytterhoeven [15] = RCAR_GP_PIN(4, 25), /* AVS1 */ 3076077365a9SGeert Uytterhoeven [16] = RCAR_GP_PIN(4, 26), /* AVS2 */ 3077077365a9SGeert Uytterhoeven [17] = SH_PFC_PIN_NONE, 3078077365a9SGeert Uytterhoeven [18] = SH_PFC_PIN_NONE, 3079077365a9SGeert Uytterhoeven [19] = SH_PFC_PIN_NONE, 3080077365a9SGeert Uytterhoeven [20] = SH_PFC_PIN_NONE, 3081077365a9SGeert Uytterhoeven [21] = SH_PFC_PIN_NONE, 3082077365a9SGeert Uytterhoeven [22] = SH_PFC_PIN_NONE, 3083077365a9SGeert Uytterhoeven [23] = SH_PFC_PIN_NONE, 3084077365a9SGeert Uytterhoeven [24] = SH_PFC_PIN_NONE, 3085077365a9SGeert Uytterhoeven [25] = SH_PFC_PIN_NONE, 3086077365a9SGeert Uytterhoeven [26] = SH_PFC_PIN_NONE, 3087077365a9SGeert Uytterhoeven [27] = SH_PFC_PIN_NONE, 3088077365a9SGeert Uytterhoeven [28] = SH_PFC_PIN_NONE, 3089077365a9SGeert Uytterhoeven [29] = SH_PFC_PIN_NONE, 3090077365a9SGeert Uytterhoeven [30] = SH_PFC_PIN_NONE, 3091077365a9SGeert Uytterhoeven [31] = SH_PFC_PIN_NONE, 3092077365a9SGeert Uytterhoeven } }, 3093077365a9SGeert Uytterhoeven { /* sentinel */ }, 3094077365a9SGeert Uytterhoeven }; 3095077365a9SGeert Uytterhoeven 3096077365a9SGeert Uytterhoeven static const struct sh_pfc_soc_operations r8a7778_pfc_ops = { 3097a3ee0a24SGeert Uytterhoeven .get_bias = rcar_pinmux_get_bias, 3098a3ee0a24SGeert Uytterhoeven .set_bias = rcar_pinmux_set_bias, 3099077365a9SGeert Uytterhoeven }; 3100077365a9SGeert Uytterhoeven 3101077365a9SGeert Uytterhoeven const struct sh_pfc_soc_info r8a7778_pinmux_info = { 3102077365a9SGeert Uytterhoeven .name = "r8a7778_pfc", 3103077365a9SGeert Uytterhoeven .ops = &r8a7778_pfc_ops, 3104077365a9SGeert Uytterhoeven 3105077365a9SGeert Uytterhoeven .unlock_reg = 0xfffc0000, /* PMMR */ 3106077365a9SGeert Uytterhoeven 3107077365a9SGeert Uytterhoeven .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END }, 3108077365a9SGeert Uytterhoeven 3109077365a9SGeert Uytterhoeven .pins = pinmux_pins, 3110077365a9SGeert Uytterhoeven .nr_pins = ARRAY_SIZE(pinmux_pins), 3111077365a9SGeert Uytterhoeven 3112077365a9SGeert Uytterhoeven .groups = pinmux_groups, 3113077365a9SGeert Uytterhoeven .nr_groups = ARRAY_SIZE(pinmux_groups), 3114077365a9SGeert Uytterhoeven 3115077365a9SGeert Uytterhoeven .functions = pinmux_functions, 3116077365a9SGeert Uytterhoeven .nr_functions = ARRAY_SIZE(pinmux_functions), 3117077365a9SGeert Uytterhoeven 3118077365a9SGeert Uytterhoeven .cfg_regs = pinmux_config_regs, 3119077365a9SGeert Uytterhoeven .bias_regs = pinmux_bias_regs, 3120077365a9SGeert Uytterhoeven 3121077365a9SGeert Uytterhoeven .pinmux_data = pinmux_data, 3122077365a9SGeert Uytterhoeven .pinmux_data_size = ARRAY_SIZE(pinmux_data), 3123077365a9SGeert Uytterhoeven }; 3124