Takeshi Kihara | 0b0ffc9 | 2015-09-03 02:51:49 +0000 | [diff] [blame] | 1 | /* |
| 2 | * R-Car Gen3 processor support - PFC hardware block. |
| 3 | * |
| 4 | * Copyright (C) 2015 Renesas Electronics Corporation |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | */ |
| 10 | |
| 11 | #include <linux/kernel.h> |
Takeshi Kihara | 0b0ffc9 | 2015-09-03 02:51:49 +0000 | [diff] [blame] | 12 | |
| 13 | #include "core.h" |
| 14 | #include "sh_pfc.h" |
| 15 | |
Takeshi Kihara | 0b0ffc9 | 2015-09-03 02:51:49 +0000 | [diff] [blame] | 16 | #define CPU_ALL_PORT(fn, sfx) \ |
Geert Uytterhoeven | b885608 | 2015-10-28 10:17:55 +0100 | [diff] [blame] | 17 | PORT_GP_16(0, fn, sfx), \ |
| 18 | PORT_GP_28(1, fn, sfx), \ |
| 19 | PORT_GP_15(2, fn, sfx), \ |
| 20 | PORT_GP_16(3, fn, sfx), \ |
| 21 | PORT_GP_18(4, fn, sfx), \ |
| 22 | PORT_GP_26(5, fn, sfx), \ |
Takeshi Kihara | 0b0ffc9 | 2015-09-03 02:51:49 +0000 | [diff] [blame] | 23 | PORT_GP_32(6, fn, sfx), \ |
Geert Uytterhoeven | b885608 | 2015-10-28 10:17:55 +0100 | [diff] [blame] | 24 | PORT_GP_4(7, fn, sfx) |
Takeshi Kihara | 0b0ffc9 | 2015-09-03 02:51:49 +0000 | [diff] [blame] | 25 | /* |
| 26 | * F_() : just information |
| 27 | * FM() : macro for FN_xxx / xxx_MARK |
| 28 | */ |
| 29 | |
| 30 | /* GPSR0 */ |
| 31 | #define GPSR0_15 F_(D15, IP7_11_8) |
| 32 | #define GPSR0_14 F_(D14, IP7_7_4) |
| 33 | #define GPSR0_13 F_(D13, IP7_3_0) |
| 34 | #define GPSR0_12 F_(D12, IP6_31_28) |
| 35 | #define GPSR0_11 F_(D11, IP6_27_24) |
| 36 | #define GPSR0_10 F_(D10, IP6_23_20) |
| 37 | #define GPSR0_9 F_(D9, IP6_19_16) |
| 38 | #define GPSR0_8 F_(D8, IP6_15_12) |
| 39 | #define GPSR0_7 F_(D7, IP6_11_8) |
| 40 | #define GPSR0_6 F_(D6, IP6_7_4) |
| 41 | #define GPSR0_5 F_(D5, IP6_3_0) |
| 42 | #define GPSR0_4 F_(D4, IP5_31_28) |
| 43 | #define GPSR0_3 F_(D3, IP5_27_24) |
| 44 | #define GPSR0_2 F_(D2, IP5_23_20) |
| 45 | #define GPSR0_1 F_(D1, IP5_19_16) |
| 46 | #define GPSR0_0 F_(D0, IP5_15_12) |
| 47 | |
| 48 | /* GPSR1 */ |
| 49 | #define GPSR1_27 F_(EX_WAIT0_A, IP5_11_8) |
| 50 | #define GPSR1_26 F_(WE1_N, IP5_7_4) |
| 51 | #define GPSR1_25 F_(WE0_N, IP5_3_0) |
| 52 | #define GPSR1_24 F_(RD_WR_N, IP4_31_28) |
| 53 | #define GPSR1_23 F_(RD_N, IP4_27_24) |
| 54 | #define GPSR1_22 F_(BS_N, IP4_23_20) |
| 55 | #define GPSR1_21 F_(CS1_N_A26, IP4_19_16) |
| 56 | #define GPSR1_20 F_(CS0_N, IP4_15_12) |
| 57 | #define GPSR1_19 F_(A19, IP4_11_8) |
| 58 | #define GPSR1_18 F_(A18, IP4_7_4) |
| 59 | #define GPSR1_17 F_(A17, IP4_3_0) |
| 60 | #define GPSR1_16 F_(A16, IP3_31_28) |
| 61 | #define GPSR1_15 F_(A15, IP3_27_24) |
| 62 | #define GPSR1_14 F_(A14, IP3_23_20) |
| 63 | #define GPSR1_13 F_(A13, IP3_19_16) |
| 64 | #define GPSR1_12 F_(A12, IP3_15_12) |
| 65 | #define GPSR1_11 F_(A11, IP3_11_8) |
| 66 | #define GPSR1_10 F_(A10, IP3_7_4) |
| 67 | #define GPSR1_9 F_(A9, IP3_3_0) |
| 68 | #define GPSR1_8 F_(A8, IP2_31_28) |
| 69 | #define GPSR1_7 F_(A7, IP2_27_24) |
| 70 | #define GPSR1_6 F_(A6, IP2_23_20) |
| 71 | #define GPSR1_5 F_(A5, IP2_19_16) |
| 72 | #define GPSR1_4 F_(A4, IP2_15_12) |
| 73 | #define GPSR1_3 F_(A3, IP2_11_8) |
| 74 | #define GPSR1_2 F_(A2, IP2_7_4) |
| 75 | #define GPSR1_1 F_(A1, IP2_3_0) |
| 76 | #define GPSR1_0 F_(A0, IP1_31_28) |
| 77 | |
| 78 | /* GPSR2 */ |
| 79 | #define GPSR2_14 F_(AVB_AVTP_CAPTURE_A, IP0_23_20) |
| 80 | #define GPSR2_13 F_(AVB_AVTP_MATCH_A, IP0_19_16) |
| 81 | #define GPSR2_12 F_(AVB_LINK, IP0_15_12) |
| 82 | #define GPSR2_11 F_(AVB_PHY_INT, IP0_11_8) |
| 83 | #define GPSR2_10 F_(AVB_MAGIC, IP0_7_4) |
| 84 | #define GPSR2_9 F_(AVB_MDC, IP0_3_0) |
| 85 | #define GPSR2_8 F_(PWM2_A, IP1_27_24) |
| 86 | #define GPSR2_7 F_(PWM1_A, IP1_23_20) |
| 87 | #define GPSR2_6 F_(PWM0, IP1_19_16) |
| 88 | #define GPSR2_5 F_(IRQ5, IP1_15_12) |
| 89 | #define GPSR2_4 F_(IRQ4, IP1_11_8) |
| 90 | #define GPSR2_3 F_(IRQ3, IP1_7_4) |
| 91 | #define GPSR2_2 F_(IRQ2, IP1_3_0) |
| 92 | #define GPSR2_1 F_(IRQ1, IP0_31_28) |
| 93 | #define GPSR2_0 F_(IRQ0, IP0_27_24) |
| 94 | |
| 95 | /* GPSR3 */ |
| 96 | #define GPSR3_15 F_(SD1_WP, IP10_23_20) |
| 97 | #define GPSR3_14 F_(SD1_CD, IP10_19_16) |
| 98 | #define GPSR3_13 F_(SD0_WP, IP10_15_12) |
| 99 | #define GPSR3_12 F_(SD0_CD, IP10_11_8) |
| 100 | #define GPSR3_11 F_(SD1_DAT3, IP8_31_28) |
| 101 | #define GPSR3_10 F_(SD1_DAT2, IP8_27_24) |
| 102 | #define GPSR3_9 F_(SD1_DAT1, IP8_23_20) |
| 103 | #define GPSR3_8 F_(SD1_DAT0, IP8_19_16) |
| 104 | #define GPSR3_7 F_(SD1_CMD, IP8_15_12) |
| 105 | #define GPSR3_6 F_(SD1_CLK, IP8_11_8) |
| 106 | #define GPSR3_5 F_(SD0_DAT3, IP8_7_4) |
| 107 | #define GPSR3_4 F_(SD0_DAT2, IP8_3_0) |
| 108 | #define GPSR3_3 F_(SD0_DAT1, IP7_31_28) |
| 109 | #define GPSR3_2 F_(SD0_DAT0, IP7_27_24) |
| 110 | #define GPSR3_1 F_(SD0_CMD, IP7_23_20) |
| 111 | #define GPSR3_0 F_(SD0_CLK, IP7_19_16) |
| 112 | |
| 113 | /* GPSR4 */ |
| 114 | #define GPSR4_17 FM(SD3_DS) |
| 115 | #define GPSR4_16 F_(SD3_DAT7, IP10_7_4) |
| 116 | #define GPSR4_15 F_(SD3_DAT6, IP10_3_0) |
| 117 | #define GPSR4_14 F_(SD3_DAT5, IP9_31_28) |
| 118 | #define GPSR4_13 F_(SD3_DAT4, IP9_27_24) |
| 119 | #define GPSR4_12 FM(SD3_DAT3) |
| 120 | #define GPSR4_11 FM(SD3_DAT2) |
| 121 | #define GPSR4_10 FM(SD3_DAT1) |
| 122 | #define GPSR4_9 FM(SD3_DAT0) |
| 123 | #define GPSR4_8 FM(SD3_CMD) |
| 124 | #define GPSR4_7 FM(SD3_CLK) |
| 125 | #define GPSR4_6 F_(SD2_DS, IP9_23_20) |
| 126 | #define GPSR4_5 F_(SD2_DAT3, IP9_19_16) |
| 127 | #define GPSR4_4 F_(SD2_DAT2, IP9_15_12) |
| 128 | #define GPSR4_3 F_(SD2_DAT1, IP9_11_8) |
| 129 | #define GPSR4_2 F_(SD2_DAT0, IP9_7_4) |
| 130 | #define GPSR4_1 FM(SD2_CMD) |
| 131 | #define GPSR4_0 F_(SD2_CLK, IP9_3_0) |
| 132 | |
| 133 | /* GPSR5 */ |
| 134 | #define GPSR5_25 F_(MLB_DAT, IP13_19_16) |
| 135 | #define GPSR5_24 F_(MLB_SIG, IP13_15_12) |
| 136 | #define GPSR5_23 F_(MLB_CLK, IP13_11_8) |
| 137 | #define GPSR5_22 FM(MSIOF0_RXD) |
| 138 | #define GPSR5_21 F_(MSIOF0_SS2, IP13_7_4) |
| 139 | #define GPSR5_20 FM(MSIOF0_TXD) |
| 140 | #define GPSR5_19 F_(MSIOF0_SS1, IP13_3_0) |
| 141 | #define GPSR5_18 F_(MSIOF0_SYNC, IP12_31_28) |
| 142 | #define GPSR5_17 FM(MSIOF0_SCK) |
| 143 | #define GPSR5_16 F_(HRTS0_N, IP12_27_24) |
| 144 | #define GPSR5_15 F_(HCTS0_N, IP12_23_20) |
| 145 | #define GPSR5_14 F_(HTX0, IP12_19_16) |
| 146 | #define GPSR5_13 F_(HRX0, IP12_15_12) |
| 147 | #define GPSR5_12 F_(HSCK0, IP12_11_8) |
| 148 | #define GPSR5_11 F_(RX2_A, IP12_7_4) |
| 149 | #define GPSR5_10 F_(TX2_A, IP12_3_0) |
| 150 | #define GPSR5_9 F_(SCK2, IP11_31_28) |
| 151 | #define GPSR5_8 F_(RTS1_N_TANS, IP11_27_24) |
| 152 | #define GPSR5_7 F_(CTS1_N, IP11_23_20) |
| 153 | #define GPSR5_6 F_(TX1_A, IP11_19_16) |
| 154 | #define GPSR5_5 F_(RX1_A, IP11_15_12) |
| 155 | #define GPSR5_4 F_(RTS0_N_TANS, IP11_11_8) |
| 156 | #define GPSR5_3 F_(CTS0_N, IP11_7_4) |
| 157 | #define GPSR5_2 F_(TX0, IP11_3_0) |
| 158 | #define GPSR5_1 F_(RX0, IP10_31_28) |
| 159 | #define GPSR5_0 F_(SCK0, IP10_27_24) |
| 160 | |
| 161 | /* GPSR6 */ |
| 162 | #define GPSR6_31 F_(USB31_OVC, IP17_7_4) |
| 163 | #define GPSR6_30 F_(USB31_PWEN, IP17_3_0) |
| 164 | #define GPSR6_29 F_(USB30_OVC, IP16_31_28) |
| 165 | #define GPSR6_28 F_(USB30_PWEN, IP16_27_24) |
| 166 | #define GPSR6_27 F_(USB1_OVC, IP16_23_20) |
| 167 | #define GPSR6_26 F_(USB1_PWEN, IP16_19_16) |
| 168 | #define GPSR6_25 F_(USB0_OVC, IP16_15_12) |
| 169 | #define GPSR6_24 F_(USB0_PWEN, IP16_11_8) |
| 170 | #define GPSR6_23 F_(AUDIO_CLKB_B, IP16_7_4) |
| 171 | #define GPSR6_22 F_(AUDIO_CLKA_A, IP16_3_0) |
| 172 | #define GPSR6_21 F_(SSI_SDATA9_A, IP15_31_28) |
| 173 | #define GPSR6_20 F_(SSI_SDATA8, IP15_27_24) |
| 174 | #define GPSR6_19 F_(SSI_SDATA7, IP15_23_20) |
| 175 | #define GPSR6_18 F_(SSI_WS78, IP15_19_16) |
| 176 | #define GPSR6_17 F_(SSI_SCK78, IP15_15_12) |
| 177 | #define GPSR6_16 F_(SSI_SDATA6, IP15_11_8) |
| 178 | #define GPSR6_15 F_(SSI_WS6, IP15_7_4) |
| 179 | #define GPSR6_14 F_(SSI_SCK6, IP15_3_0) |
| 180 | #define GPSR6_13 FM(SSI_SDATA5) |
| 181 | #define GPSR6_12 FM(SSI_WS5) |
| 182 | #define GPSR6_11 FM(SSI_SCK5) |
| 183 | #define GPSR6_10 F_(SSI_SDATA4, IP14_31_28) |
| 184 | #define GPSR6_9 F_(SSI_WS4, IP14_27_24) |
| 185 | #define GPSR6_8 F_(SSI_SCK4, IP14_23_20) |
| 186 | #define GPSR6_7 F_(SSI_SDATA3, IP14_19_16) |
| 187 | #define GPSR6_6 F_(SSI_WS34, IP14_15_12) |
| 188 | #define GPSR6_5 F_(SSI_SCK34, IP14_11_8) |
| 189 | #define GPSR6_4 F_(SSI_SDATA2_A, IP14_7_4) |
| 190 | #define GPSR6_3 F_(SSI_SDATA1_A, IP14_3_0) |
| 191 | #define GPSR6_2 F_(SSI_SDATA0, IP13_31_28) |
| 192 | #define GPSR6_1 F_(SSI_WS0129, IP13_27_24) |
| 193 | #define GPSR6_0 F_(SSI_SCK0129, IP13_23_20) |
| 194 | |
| 195 | /* GPSR7 */ |
| 196 | #define GPSR7_3 FM(HDMI1_CEC) |
| 197 | #define GPSR7_2 FM(HDMI0_CEC) |
| 198 | #define GPSR7_1 FM(AVS2) |
| 199 | #define GPSR7_0 FM(AVS1) |
| 200 | |
| 201 | |
| 202 | /* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 */ /* 7 */ /* 8 */ /* 9 */ /* A */ /* B */ /* C - F */ |
| 203 | #define IP0_3_0 FM(AVB_MDC) F_(0, 0) FM(MSIOF2_SS2_C) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 204 | #define IP0_7_4 FM(AVB_MAGIC) F_(0, 0) FM(MSIOF2_SS1_C) FM(SCK4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 205 | #define IP0_11_8 FM(AVB_PHY_INT) F_(0, 0) FM(MSIOF2_SYNC_C) FM(RX4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 206 | #define IP0_15_12 FM(AVB_LINK) F_(0, 0) FM(MSIOF2_SCK_C) FM(TX4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 207 | #define IP0_19_16 FM(AVB_AVTP_MATCH_A) F_(0, 0) FM(MSIOF2_RXD_C) FM(CTS4_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 208 | #define IP0_23_20 FM(AVB_AVTP_CAPTURE_A) F_(0, 0) FM(MSIOF2_TXD_C) FM(RTS4_N_TANS_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 209 | #define IP0_27_24 FM(IRQ0) FM(QPOLB) F_(0, 0) FM(DU_CDE) FM(VI4_DATA0_B) FM(CAN0_TX_B) FM(CANFD0_TX_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 210 | #define IP0_31_28 FM(IRQ1) FM(QPOLA) F_(0, 0) FM(DU_DISP) FM(VI4_DATA1_B) FM(CAN0_RX_B) FM(CANFD0_RX_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 211 | #define IP1_3_0 FM(IRQ2) FM(QCPV_QDE) F_(0, 0) FM(DU_EXODDF_DU_ODDF_DISP_CDE) FM(VI4_DATA2_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(PWM3_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 212 | #define IP1_7_4 FM(IRQ3) FM(QSTVB_QVE) FM(A25) FM(DU_DOTCLKOUT1) FM(VI4_DATA3_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(PWM4_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 213 | #define IP1_11_8 FM(IRQ4) FM(QSTH_QHS) FM(A24) FM(DU_EXHSYNC_DU_HSYNC) FM(VI4_DATA4_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(PWM5_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 214 | #define IP1_15_12 FM(IRQ5) FM(QSTB_QHE) FM(A23) FM(DU_EXVSYNC_DU_VSYNC) FM(VI4_DATA5_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(PWM6_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 215 | #define IP1_19_16 FM(PWM0) FM(AVB_AVTP_PPS)FM(A22) F_(0, 0) FM(VI4_DATA6_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(IECLK_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 216 | #define IP1_23_20 FM(PWM1_A) F_(0, 0) FM(A21) FM(HRX3_D) FM(VI4_DATA7_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(IERX_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 217 | #define IP1_27_24 FM(PWM2_A) F_(0, 0) FM(A20) FM(HTX3_D) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(IETX_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 218 | #define IP1_31_28 FM(A0) FM(LCDOUT16) FM(MSIOF3_SYNC_B) F_(0, 0) FM(VI4_DATA8) F_(0, 0) FM(DU_DB0) F_(0, 0) F_(0, 0) FM(PWM3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 219 | #define IP2_3_0 FM(A1) FM(LCDOUT17) FM(MSIOF3_TXD_B) F_(0, 0) FM(VI4_DATA9) F_(0, 0) FM(DU_DB1) F_(0, 0) F_(0, 0) FM(PWM4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 220 | #define IP2_7_4 FM(A2) FM(LCDOUT18) FM(MSIOF3_SCK_B) F_(0, 0) FM(VI4_DATA10) F_(0, 0) FM(DU_DB2) F_(0, 0) F_(0, 0) FM(PWM5_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 221 | #define IP2_11_8 FM(A3) FM(LCDOUT19) FM(MSIOF3_RXD_B) F_(0, 0) FM(VI4_DATA11) F_(0, 0) FM(DU_DB3) F_(0, 0) F_(0, 0) FM(PWM6_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 222 | |
| 223 | /* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 */ /* 7 */ /* 8 */ /* 9 */ /* A */ /* B */ /* C - F */ |
| 224 | #define IP2_15_12 FM(A4) FM(LCDOUT20) FM(MSIOF3_SS1_B) F_(0, 0) FM(VI4_DATA12) FM(VI5_DATA12) FM(DU_DB4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 225 | #define IP2_19_16 FM(A5) FM(LCDOUT21) FM(MSIOF3_SS2_B) FM(SCK4_B) FM(VI4_DATA13) FM(VI5_DATA13) FM(DU_DB5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 226 | #define IP2_23_20 FM(A6) FM(LCDOUT22) FM(MSIOF2_SS1_A) FM(RX4_B) FM(VI4_DATA14) FM(VI5_DATA14) FM(DU_DB6) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 227 | #define IP2_27_24 FM(A7) FM(LCDOUT23) FM(MSIOF2_SS2_A) FM(TX4_B) FM(VI4_DATA15) FM(VI5_DATA15) FM(DU_DB7) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 228 | #define IP2_31_28 FM(A8) FM(RX3_B) FM(MSIOF2_SYNC_A) FM(HRX4_B) F_(0, 0) F_(0, 0) F_(0, 0) FM(SDA6_A) FM(AVB_AVTP_MATCH_B) FM(PWM1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 229 | #define IP3_3_0 FM(A9) F_(0, 0) FM(MSIOF2_SCK_A) FM(CTS4_N_B) F_(0, 0) FM(VI5_VSYNC_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 230 | #define IP3_7_4 FM(A10) F_(0, 0) FM(MSIOF2_RXD_A) FM(RTS4_N_TANS_B) F_(0, 0) FM(VI5_HSYNC_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 231 | #define IP3_11_8 FM(A11) FM(TX3_B) FM(MSIOF2_TXD_A) FM(HTX4_B) FM(HSCK4) FM(VI5_FIELD) F_(0, 0) FM(SCL6_A) FM(AVB_AVTP_CAPTURE_B) FM(PWM2_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 232 | #define IP3_15_12 FM(A12) FM(LCDOUT12) FM(MSIOF3_SCK_C) F_(0, 0) FM(HRX4_A) FM(VI5_DATA8) FM(DU_DG4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 233 | #define IP3_19_16 FM(A13) FM(LCDOUT13) FM(MSIOF3_SYNC_C) F_(0, 0) FM(HTX4_A) FM(VI5_DATA9) FM(DU_DG5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 234 | #define IP3_23_20 FM(A14) FM(LCDOUT14) FM(MSIOF3_RXD_C) F_(0, 0) FM(HCTS4_N) FM(VI5_DATA10) FM(DU_DG6) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 235 | #define IP3_27_24 FM(A15) FM(LCDOUT15) FM(MSIOF3_TXD_C) F_(0, 0) FM(HRTS4_N) FM(VI5_DATA11) FM(DU_DG7) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 236 | #define IP3_31_28 FM(A16) FM(LCDOUT8) F_(0, 0) F_(0, 0) FM(VI4_FIELD) F_(0, 0) FM(DU_DG0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 237 | #define IP4_3_0 FM(A17) FM(LCDOUT9) F_(0, 0) F_(0, 0) FM(VI4_VSYNC_N) F_(0, 0) FM(DU_DG1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 238 | #define IP4_7_4 FM(A18) FM(LCDOUT10) F_(0, 0) F_(0, 0) FM(VI4_HSYNC_N) F_(0, 0) FM(DU_DG2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 239 | #define IP4_11_8 FM(A19) FM(LCDOUT11) F_(0, 0) F_(0, 0) FM(VI4_CLKENB) F_(0, 0) FM(DU_DG3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 240 | #define IP4_15_12 FM(CS0_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(VI5_CLKENB) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 241 | #define IP4_19_16 FM(CS1_N_A26) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(VI5_CLK) F_(0, 0) FM(EX_WAIT0_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 242 | #define IP4_23_20 FM(BS_N) FM(QSTVA_QVS) FM(MSIOF3_SCK_D) FM(SCK3) FM(HSCK3) F_(0, 0) F_(0, 0) F_(0, 0) FM(CAN1_TX) FM(CANFD1_TX) FM(IETX_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 243 | #define IP4_27_24 FM(RD_N) F_(0, 0) FM(MSIOF3_SYNC_D) FM(RX3_A) FM(HRX3_A) F_(0, 0) F_(0, 0) F_(0, 0) FM(CAN0_TX_A) FM(CANFD0_TX_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 244 | #define IP4_31_28 FM(RD_WR_N) F_(0, 0) FM(MSIOF3_RXD_D) FM(TX3_A) FM(HTX3_A) F_(0, 0) F_(0, 0) F_(0, 0) FM(CAN0_RX_A) FM(CANFD0_RX_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 245 | #define IP5_3_0 FM(WE0_N) F_(0, 0) FM(MSIOF3_TXD_D) FM(CTS3_N) FM(HCTS3_N) F_(0, 0) F_(0, 0) FM(SCL6_B) FM(CAN_CLK) F_(0, 0) FM(IECLK_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 246 | #define IP5_7_4 FM(WE1_N) F_(0, 0) FM(MSIOF3_SS1_D) FM(RTS3_N_TANS) FM(HRTS3_N) F_(0, 0) F_(0, 0) FM(SDA6_B) FM(CAN1_RX) FM(CANFD1_RX) FM(IERX_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 247 | #define IP5_11_8 FM(EX_WAIT0_A) FM(QCLK) F_(0, 0) F_(0, 0) FM(VI4_CLK) F_(0, 0) FM(DU_DOTCLKOUT0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 248 | #define IP5_15_12 FM(D0) FM(MSIOF2_SS1_B)FM(MSIOF3_SCK_A) F_(0, 0) FM(VI4_DATA16) FM(VI5_DATA0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 249 | #define IP5_19_16 FM(D1) FM(MSIOF2_SS2_B)FM(MSIOF3_SYNC_A) F_(0, 0) FM(VI4_DATA17) FM(VI5_DATA1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 250 | #define IP5_23_20 FM(D2) F_(0, 0) FM(MSIOF3_RXD_A) F_(0, 0) FM(VI4_DATA18) FM(VI5_DATA2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 251 | #define IP5_27_24 FM(D3) F_(0, 0) FM(MSIOF3_TXD_A) F_(0, 0) FM(VI4_DATA19) FM(VI5_DATA3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 252 | #define IP5_31_28 FM(D4) FM(MSIOF2_SCK_B)F_(0, 0) F_(0, 0) FM(VI4_DATA20) FM(VI5_DATA4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 253 | #define IP6_3_0 FM(D5) FM(MSIOF2_SYNC_B)F_(0, 0) F_(0, 0) FM(VI4_DATA21) FM(VI5_DATA5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 254 | #define IP6_7_4 FM(D6) FM(MSIOF2_RXD_B)F_(0, 0) F_(0, 0) FM(VI4_DATA22) FM(VI5_DATA6) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 255 | #define IP6_11_8 FM(D7) FM(MSIOF2_TXD_B)F_(0, 0) F_(0, 0) FM(VI4_DATA23) FM(VI5_DATA7) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 256 | #define IP6_15_12 FM(D8) FM(LCDOUT0) FM(MSIOF2_SCK_D) FM(SCK4_C) FM(VI4_DATA0_A) F_(0, 0) FM(DU_DR0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 257 | #define IP6_19_16 FM(D9) FM(LCDOUT1) FM(MSIOF2_SYNC_D) F_(0, 0) FM(VI4_DATA1_A) F_(0, 0) FM(DU_DR1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 258 | #define IP6_23_20 FM(D10) FM(LCDOUT2) FM(MSIOF2_RXD_D) FM(HRX3_B) FM(VI4_DATA2_A) FM(CTS4_N_C) FM(DU_DR2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 259 | #define IP6_27_24 FM(D11) FM(LCDOUT3) FM(MSIOF2_TXD_D) FM(HTX3_B) FM(VI4_DATA3_A) FM(RTS4_N_TANS_C)FM(DU_DR3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 260 | #define IP6_31_28 FM(D12) FM(LCDOUT4) FM(MSIOF2_SS1_D) FM(RX4_C) FM(VI4_DATA4_A) F_(0, 0) FM(DU_DR4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 261 | #define IP7_3_0 FM(D13) FM(LCDOUT5) FM(MSIOF2_SS2_D) FM(TX4_C) FM(VI4_DATA5_A) F_(0, 0) FM(DU_DR5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 262 | #define IP7_7_4 FM(D14) FM(LCDOUT6) FM(MSIOF3_SS1_A) FM(HRX3_C) FM(VI4_DATA6_A) F_(0, 0) FM(DU_DR6) FM(SCL6_C) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 263 | #define IP7_11_8 FM(D15) FM(LCDOUT7) FM(MSIOF3_SS2_A) FM(HTX3_C) FM(VI4_DATA7_A) F_(0, 0) FM(DU_DR7) FM(SDA6_C) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 264 | #define IP7_15_12 FM(FSCLKST) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 265 | #define IP7_19_16 FM(SD0_CLK) F_(0, 0) FM(MSIOF1_SCK_E) F_(0, 0) F_(0, 0) F_(0, 0) FM(STP_OPWM_0_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 266 | |
| 267 | /* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 */ /* 7 */ /* 8 */ /* 9 */ /* A */ /* B */ /* C - F */ |
| 268 | #define IP7_23_20 FM(SD0_CMD) F_(0, 0) FM(MSIOF1_SYNC_E) F_(0, 0) F_(0, 0) F_(0, 0) FM(STP_IVCXO27_0_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 269 | #define IP7_27_24 FM(SD0_DAT0) F_(0, 0) FM(MSIOF1_RXD_E) F_(0, 0) F_(0, 0) FM(TS_SCK0_B) FM(STP_ISCLK_0_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 270 | #define IP7_31_28 FM(SD0_DAT1) F_(0, 0) FM(MSIOF1_TXD_E) F_(0, 0) F_(0, 0) FM(TS_SPSYNC0_B)FM(STP_ISSYNC_0_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 271 | #define IP8_3_0 FM(SD0_DAT2) F_(0, 0) FM(MSIOF1_SS1_E) F_(0, 0) F_(0, 0) FM(TS_SDAT0_B) FM(STP_ISD_0_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 272 | #define IP8_7_4 FM(SD0_DAT3) F_(0, 0) FM(MSIOF1_SS2_E) F_(0, 0) F_(0, 0) FM(TS_SDEN0_B) FM(STP_ISEN_0_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 273 | #define IP8_11_8 FM(SD1_CLK) F_(0, 0) FM(MSIOF1_SCK_G) F_(0, 0) F_(0, 0) FM(SIM0_CLK_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 274 | #define IP8_15_12 FM(SD1_CMD) F_(0, 0) FM(MSIOF1_SYNC_G) F_(0, 0) F_(0, 0) FM(SIM0_D_A) FM(STP_IVCXO27_1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 275 | #define IP8_19_16 FM(SD1_DAT0) FM(SD2_DAT4) FM(MSIOF1_RXD_G) F_(0, 0) F_(0, 0) FM(TS_SCK1_B) FM(STP_ISCLK_1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 276 | #define IP8_23_20 FM(SD1_DAT1) FM(SD2_DAT5) FM(MSIOF1_TXD_G) F_(0, 0) F_(0, 0) FM(TS_SPSYNC1_B)FM(STP_ISSYNC_1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 277 | #define IP8_27_24 FM(SD1_DAT2) FM(SD2_DAT6) FM(MSIOF1_SS1_G) F_(0, 0) F_(0, 0) FM(TS_SDAT1_B) FM(STP_ISD_1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 278 | #define IP8_31_28 FM(SD1_DAT3) FM(SD2_DAT7) FM(MSIOF1_SS2_G) F_(0, 0) F_(0, 0) FM(TS_SDEN1_B) FM(STP_ISEN_1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 279 | #define IP9_3_0 FM(SD2_CLK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 280 | #define IP9_7_4 FM(SD2_DAT0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 281 | #define IP9_11_8 FM(SD2_DAT1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 282 | #define IP9_15_12 FM(SD2_DAT2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 283 | #define IP9_19_16 FM(SD2_DAT3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 284 | #define IP9_23_20 FM(SD2_DS) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(SATA_DEVSLP_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 285 | #define IP9_27_24 FM(SD3_DAT4) FM(SD2_CD_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 286 | #define IP9_31_28 FM(SD3_DAT5) FM(SD2_WP_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 287 | #define IP10_3_0 FM(SD3_DAT6) FM(SD3_CD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 288 | #define IP10_7_4 FM(SD3_DAT7) FM(SD3_WP) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 289 | #define IP10_11_8 FM(SD0_CD) F_(0, 0) F_(0, 0) F_(0, 0) FM(SCL2_B) FM(SIM0_RST_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 290 | #define IP10_15_12 FM(SD0_WP) F_(0, 0) F_(0, 0) F_(0, 0) FM(SDA2_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 291 | #define IP10_19_16 FM(SD1_CD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(SIM0_CLK_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 292 | #define IP10_23_20 FM(SD1_WP) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(SIM0_D_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 293 | #define IP10_27_24 FM(SCK0) FM(HSCK1_B) FM(MSIOF1_SS2_B) FM(AUDIO_CLKC_B) FM(SDA2_A) FM(SIM0_RST_B) FM(STP_OPWM_0_C) FM(RIF0_CLK_B) F_(0, 0) FM(ADICHS2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 294 | #define IP10_31_28 FM(RX0) FM(HRX1_B) F_(0, 0) F_(0, 0) F_(0, 0) FM(TS_SCK0_C) FM(STP_ISCLK_0_C) FM(RIF0_D0_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 295 | #define IP11_3_0 FM(TX0) FM(HTX1_B) F_(0, 0) F_(0, 0) F_(0, 0) FM(TS_SPSYNC0_C)FM(STP_ISSYNC_0_C) FM(RIF0_D1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 296 | #define IP11_7_4 FM(CTS0_N) FM(HCTS1_N_B) FM(MSIOF1_SYNC_B) F_(0, 0) F_(0, 0) FM(TS_SPSYNC1_C)FM(STP_ISSYNC_1_C) FM(RIF1_SYNC_B) FM(AUDIO_CLKOUT_C) FM(ADICS_SAMP) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 297 | #define IP11_11_8 FM(RTS0_N_TANS) FM(HRTS1_N_B) FM(MSIOF1_SS1_B) FM(AUDIO_CLKA_B) FM(SCL2_A) F_(0, 0) FM(STP_IVCXO27_1_C) FM(RIF0_SYNC_B) F_(0, 0) FM(ADICHS1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 298 | #define IP11_15_12 FM(RX1_A) FM(HRX1_A) F_(0, 0) F_(0, 0) F_(0, 0) FM(TS_SDAT0_C) FM(STP_ISD_0_C) FM(RIF1_CLK_C) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 299 | #define IP11_19_16 FM(TX1_A) FM(HTX1_A) F_(0, 0) F_(0, 0) F_(0, 0) FM(TS_SDEN0_C) FM(STP_ISEN_0_C) FM(RIF1_D0_C) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 300 | #define IP11_23_20 FM(CTS1_N) FM(HCTS1_N_A) FM(MSIOF1_RXD_B) F_(0, 0) F_(0, 0) FM(TS_SDEN1_C) FM(STP_ISEN_1_C) FM(RIF1_D0_B) F_(0, 0) FM(ADIDATA) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 301 | #define IP11_27_24 FM(RTS1_N_TANS) FM(HRTS1_N_A) FM(MSIOF1_TXD_B) F_(0, 0) F_(0, 0) FM(TS_SDAT1_C) FM(STP_ISD_1_C) FM(RIF1_D1_B) F_(0, 0) FM(ADICHS0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 302 | #define IP11_31_28 FM(SCK2) FM(SCIF_CLK_B) FM(MSIOF1_SCK_B) F_(0, 0) F_(0, 0) FM(TS_SCK1_C) FM(STP_ISCLK_1_C) FM(RIF1_CLK_B) F_(0, 0) FM(ADICLK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 303 | #define IP12_3_0 FM(TX2_A) F_(0, 0) F_(0, 0) FM(SD2_CD_B) FM(SCL1_A) F_(0, 0) FM(FMCLK_A) FM(RIF1_D1_C) F_(0, 0) FM(FSO_CFE_0_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 304 | #define IP12_7_4 FM(RX2_A) F_(0, 0) F_(0, 0) FM(SD2_WP_B) FM(SDA1_A) F_(0, 0) FM(FMIN_A) FM(RIF1_SYNC_C) F_(0, 0) FM(FSO_CFE_1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 305 | #define IP12_11_8 FM(HSCK0) F_(0, 0) FM(MSIOF1_SCK_D) FM(AUDIO_CLKB_A) FM(SSI_SDATA1_B)FM(TS_SCK0_D) FM(STP_ISCLK_0_D) FM(RIF0_CLK_C) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 306 | #define IP12_15_12 FM(HRX0) F_(0, 0) FM(MSIOF1_RXD_D) F_(0, 0) FM(SSI_SDATA2_B)FM(TS_SDEN0_D) FM(STP_ISEN_0_D) FM(RIF0_D0_C) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 307 | #define IP12_19_16 FM(HTX0) F_(0, 0) FM(MSIOF1_TXD_D) F_(0, 0) FM(SSI_SDATA9_B)FM(TS_SDAT0_D) FM(STP_ISD_0_D) FM(RIF0_D1_C) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 308 | #define IP12_23_20 FM(HCTS0_N) FM(RX2_B) FM(MSIOF1_SYNC_D) F_(0, 0) FM(SSI_SCK9_A) FM(TS_SPSYNC0_D)FM(STP_ISSYNC_0_D) FM(RIF0_SYNC_C) FM(AUDIO_CLKOUT1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 309 | #define IP12_27_24 FM(HRTS0_N) FM(TX2_B) FM(MSIOF1_SS1_D) F_(0, 0) FM(SSI_WS9_A) F_(0, 0) FM(STP_IVCXO27_0_D) FM(BPFCLK_A) FM(AUDIO_CLKOUT2_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 310 | |
| 311 | /* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 */ /* 7 */ /* 8 */ /* 9 */ /* A */ /* B */ /* C - F */ |
| 312 | #define IP12_31_28 FM(MSIOF0_SYNC) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(AUDIO_CLKOUT_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 313 | #define IP13_3_0 FM(MSIOF0_SS1) FM(RX5) F_(0, 0) FM(AUDIO_CLKA_C) FM(SSI_SCK2_A) F_(0, 0) FM(STP_IVCXO27_0_C) F_(0, 0) FM(AUDIO_CLKOUT3_A) F_(0, 0) FM(TCLK1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 314 | #define IP13_7_4 FM(MSIOF0_SS2) FM(TX5) FM(MSIOF1_SS2_D) FM(AUDIO_CLKC_A) FM(SSI_WS2_A) F_(0, 0) FM(STP_OPWM_0_D) F_(0, 0) FM(AUDIO_CLKOUT_D) F_(0, 0) FM(SPEEDIN_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 315 | #define IP13_11_8 FM(MLB_CLK) F_(0, 0) FM(MSIOF1_SCK_F) F_(0, 0) FM(SCL1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 316 | #define IP13_15_12 FM(MLB_SIG) FM(RX1_B) FM(MSIOF1_SYNC_F) F_(0, 0) FM(SDA1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 317 | #define IP13_19_16 FM(MLB_DAT) FM(TX1_B) FM(MSIOF1_RXD_F) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 318 | #define IP13_23_20 FM(SSI_SCK0129) F_(0, 0) FM(MSIOF1_TXD_F) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 319 | #define IP13_27_24 FM(SSI_WS0129) F_(0, 0) FM(MSIOF1_SS1_F) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 320 | #define IP13_31_28 FM(SSI_SDATA0) F_(0, 0) FM(MSIOF1_SS2_F) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 321 | #define IP14_3_0 FM(SSI_SDATA1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 322 | #define IP14_7_4 FM(SSI_SDATA2_A) F_(0, 0) F_(0, 0) F_(0, 0) FM(SSI_SCK1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 323 | #define IP14_11_8 FM(SSI_SCK34) F_(0, 0) FM(MSIOF1_SS1_A) F_(0, 0) F_(0, 0) F_(0, 0) FM(STP_OPWM_0_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 324 | #define IP14_15_12 FM(SSI_WS34) FM(HCTS2_N_A) FM(MSIOF1_SS2_A) F_(0, 0) F_(0, 0) F_(0, 0) FM(STP_IVCXO27_0_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 325 | #define IP14_19_16 FM(SSI_SDATA3) FM(HRTS2_N_A) FM(MSIOF1_TXD_A) F_(0, 0) F_(0, 0) FM(TS_SCK0_A) FM(STP_ISCLK_0_A) FM(RIF0_D1_A) FM(RIF2_D0_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 326 | #define IP14_23_20 FM(SSI_SCK4) FM(HRX2_A) FM(MSIOF1_SCK_A) F_(0, 0) F_(0, 0) FM(TS_SDAT0_A) FM(STP_ISD_0_A) FM(RIF0_CLK_A) FM(RIF2_CLK_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 327 | #define IP14_27_24 FM(SSI_WS4) FM(HTX2_A) FM(MSIOF1_SYNC_A) F_(0, 0) F_(0, 0) FM(TS_SDEN0_A) FM(STP_ISEN_0_A) FM(RIF0_SYNC_A) FM(RIF2_SYNC_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 328 | #define IP14_31_28 FM(SSI_SDATA4) FM(HSCK2_A) FM(MSIOF1_RXD_A) F_(0, 0) F_(0, 0) FM(TS_SPSYNC0_A)FM(STP_ISSYNC_0_A) FM(RIF0_D0_A) FM(RIF2_D1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 329 | #define IP15_3_0 FM(SSI_SCK6) FM(USB2_PWEN) F_(0, 0) FM(SIM0_RST_D) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 330 | #define IP15_7_4 FM(SSI_WS6) FM(USB2_OVC) F_(0, 0) FM(SIM0_D_D) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 331 | #define IP15_11_8 FM(SSI_SDATA6) F_(0, 0) F_(0, 0) FM(SIM0_CLK_D) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(SATA_DEVSLP_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 332 | #define IP15_15_12 FM(SSI_SCK78) FM(HRX2_B) FM(MSIOF1_SCK_C) F_(0, 0) F_(0, 0) FM(TS_SCK1_A) FM(STP_ISCLK_1_A) FM(RIF1_CLK_A) FM(RIF3_CLK_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 333 | #define IP15_19_16 FM(SSI_WS78) FM(HTX2_B) FM(MSIOF1_SYNC_C) F_(0, 0) F_(0, 0) FM(TS_SDAT1_A) FM(STP_ISD_1_A) FM(RIF1_SYNC_A) FM(RIF3_SYNC_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 334 | #define IP15_23_20 FM(SSI_SDATA7) FM(HCTS2_N_B) FM(MSIOF1_RXD_C) F_(0, 0) F_(0, 0) FM(TS_SDEN1_A) FM(STP_ISEN_1_A) FM(RIF1_D0_A) FM(RIF3_D0_A) F_(0, 0) FM(TCLK2_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 335 | #define IP15_27_24 FM(SSI_SDATA8) FM(HRTS2_N_B) FM(MSIOF1_TXD_C) F_(0, 0) F_(0, 0) FM(TS_SPSYNC1_A)FM(STP_ISSYNC_1_A) FM(RIF1_D1_A) FM(RIF3_D1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 336 | #define IP15_31_28 FM(SSI_SDATA9_A) FM(HSCK2_B) FM(MSIOF1_SS1_C) FM(HSCK1_A) FM(SSI_WS1_B) FM(SCK1) FM(STP_IVCXO27_1_A) FM(SCK5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 337 | #define IP16_3_0 FM(AUDIO_CLKA_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(CC5_OSCOUT) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 338 | #define IP16_7_4 FM(AUDIO_CLKB_B) FM(SCIF_CLK_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(STP_IVCXO27_1_D) FM(REMOCON_A) F_(0, 0) F_(0, 0) FM(TCLK1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 339 | #define IP16_11_8 FM(USB0_PWEN) F_(0, 0) F_(0, 0) FM(SIM0_RST_C) F_(0, 0) FM(TS_SCK1_D) FM(STP_ISCLK_1_D) FM(BPFCLK_B) FM(RIF3_CLK_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 340 | #define IP16_15_12 FM(USB0_OVC) F_(0, 0) F_(0, 0) FM(SIM0_D_C) F_(0, 0) FM(TS_SDAT1_D) FM(STP_ISD_1_D) F_(0, 0) FM(RIF3_SYNC_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 341 | #define IP16_19_16 FM(USB1_PWEN) F_(0, 0) F_(0, 0) FM(SIM0_CLK_C) FM(SSI_SCK1_A) FM(TS_SCK0_E) FM(STP_ISCLK_0_E) FM(FMCLK_B) FM(RIF2_CLK_B) F_(0, 0) FM(SPEEDIN_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 342 | #define IP16_23_20 FM(USB1_OVC) F_(0, 0) FM(MSIOF1_SS2_C) F_(0, 0) FM(SSI_WS1_A) FM(TS_SDAT0_E) FM(STP_ISD_0_E) FM(FMIN_B) FM(RIF2_SYNC_B) F_(0, 0) FM(REMOCON_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 343 | #define IP16_27_24 FM(USB30_PWEN) F_(0, 0) F_(0, 0) FM(AUDIO_CLKOUT_B) FM(SSI_SCK2_B) FM(TS_SDEN1_D) FM(STP_ISEN_1_D) FM(STP_OPWM_0_E)FM(RIF3_D0_B) F_(0, 0) FM(TCLK2_B) FM(TPU0TO0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 344 | #define IP16_31_28 FM(USB30_OVC) F_(0, 0) F_(0, 0) FM(AUDIO_CLKOUT1_B) FM(SSI_WS2_B) FM(TS_SPSYNC1_D)FM(STP_ISSYNC_1_D) FM(STP_IVCXO27_0_E)FM(RIF3_D1_B) F_(0, 0) FM(FSO_TOE_B) FM(TPU0TO1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 345 | #define IP17_3_0 FM(USB31_PWEN) F_(0, 0) F_(0, 0) FM(AUDIO_CLKOUT2_B) FM(SSI_SCK9_B) FM(TS_SDEN0_E) FM(STP_ISEN_0_E) F_(0, 0) FM(RIF2_D0_B) F_(0, 0) F_(0, 0) FM(TPU0TO2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 346 | #define IP17_7_4 FM(USB31_OVC) F_(0, 0) F_(0, 0) FM(AUDIO_CLKOUT3_B) FM(SSI_WS9_B) FM(TS_SPSYNC0_E)FM(STP_ISSYNC_0_E) F_(0, 0) FM(RIF2_D1_B) F_(0, 0) F_(0, 0) FM(TPU0TO3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) |
| 347 | |
| 348 | #define PINMUX_GPSR \ |
| 349 | \ |
| 350 | GPSR6_31 \ |
| 351 | GPSR6_30 \ |
| 352 | GPSR6_29 \ |
| 353 | GPSR6_28 \ |
| 354 | GPSR1_27 GPSR6_27 \ |
| 355 | GPSR1_26 GPSR6_26 \ |
| 356 | GPSR1_25 GPSR5_25 GPSR6_25 \ |
| 357 | GPSR1_24 GPSR5_24 GPSR6_24 \ |
| 358 | GPSR1_23 GPSR5_23 GPSR6_23 \ |
| 359 | GPSR1_22 GPSR5_22 GPSR6_22 \ |
| 360 | GPSR1_21 GPSR5_21 GPSR6_21 \ |
| 361 | GPSR1_20 GPSR5_20 GPSR6_20 \ |
| 362 | GPSR1_19 GPSR5_19 GPSR6_19 \ |
| 363 | GPSR1_18 GPSR5_18 GPSR6_18 \ |
| 364 | GPSR1_17 GPSR4_17 GPSR5_17 GPSR6_17 \ |
| 365 | GPSR1_16 GPSR4_16 GPSR5_16 GPSR6_16 \ |
| 366 | GPSR0_15 GPSR1_15 GPSR3_15 GPSR4_15 GPSR5_15 GPSR6_15 \ |
| 367 | GPSR0_14 GPSR1_14 GPSR2_14 GPSR3_14 GPSR4_14 GPSR5_14 GPSR6_14 \ |
| 368 | GPSR0_13 GPSR1_13 GPSR2_13 GPSR3_13 GPSR4_13 GPSR5_13 GPSR6_13 \ |
| 369 | GPSR0_12 GPSR1_12 GPSR2_12 GPSR3_12 GPSR4_12 GPSR5_12 GPSR6_12 \ |
| 370 | GPSR0_11 GPSR1_11 GPSR2_11 GPSR3_11 GPSR4_11 GPSR5_11 GPSR6_11 \ |
| 371 | GPSR0_10 GPSR1_10 GPSR2_10 GPSR3_10 GPSR4_10 GPSR5_10 GPSR6_10 \ |
| 372 | GPSR0_9 GPSR1_9 GPSR2_9 GPSR3_9 GPSR4_9 GPSR5_9 GPSR6_9 \ |
| 373 | GPSR0_8 GPSR1_8 GPSR2_8 GPSR3_8 GPSR4_8 GPSR5_8 GPSR6_8 \ |
| 374 | GPSR0_7 GPSR1_7 GPSR2_7 GPSR3_7 GPSR4_7 GPSR5_7 GPSR6_7 \ |
| 375 | GPSR0_6 GPSR1_6 GPSR2_6 GPSR3_6 GPSR4_6 GPSR5_6 GPSR6_6 \ |
| 376 | GPSR0_5 GPSR1_5 GPSR2_5 GPSR3_5 GPSR4_5 GPSR5_5 GPSR6_5 \ |
| 377 | GPSR0_4 GPSR1_4 GPSR2_4 GPSR3_4 GPSR4_4 GPSR5_4 GPSR6_4 \ |
| 378 | GPSR0_3 GPSR1_3 GPSR2_3 GPSR3_3 GPSR4_3 GPSR5_3 GPSR6_3 GPSR7_3 \ |
| 379 | GPSR0_2 GPSR1_2 GPSR2_2 GPSR3_2 GPSR4_2 GPSR5_2 GPSR6_2 GPSR7_2 \ |
| 380 | GPSR0_1 GPSR1_1 GPSR2_1 GPSR3_1 GPSR4_1 GPSR5_1 GPSR6_1 GPSR7_1 \ |
| 381 | GPSR0_0 GPSR1_0 GPSR2_0 GPSR3_0 GPSR4_0 GPSR5_0 GPSR6_0 GPSR7_0 |
| 382 | |
| 383 | #define PINMUX_IPSR \ |
| 384 | \ |
| 385 | FM(IP0_3_0) IP0_3_0 FM(IP1_3_0) IP1_3_0 FM(IP2_3_0) IP2_3_0 FM(IP3_3_0) IP3_3_0 \ |
| 386 | FM(IP0_7_4) IP0_7_4 FM(IP1_7_4) IP1_7_4 FM(IP2_7_4) IP2_7_4 FM(IP3_7_4) IP3_7_4 \ |
| 387 | FM(IP0_11_8) IP0_11_8 FM(IP1_11_8) IP1_11_8 FM(IP2_11_8) IP2_11_8 FM(IP3_11_8) IP3_11_8 \ |
| 388 | FM(IP0_15_12) IP0_15_12 FM(IP1_15_12) IP1_15_12 FM(IP2_15_12) IP2_15_12 FM(IP3_15_12) IP3_15_12 \ |
| 389 | FM(IP0_19_16) IP0_19_16 FM(IP1_19_16) IP1_19_16 FM(IP2_19_16) IP2_19_16 FM(IP3_19_16) IP3_19_16 \ |
| 390 | FM(IP0_23_20) IP0_23_20 FM(IP1_23_20) IP1_23_20 FM(IP2_23_20) IP2_23_20 FM(IP3_23_20) IP3_23_20 \ |
| 391 | FM(IP0_27_24) IP0_27_24 FM(IP1_27_24) IP1_27_24 FM(IP2_27_24) IP2_27_24 FM(IP3_27_24) IP3_27_24 \ |
| 392 | FM(IP0_31_28) IP0_31_28 FM(IP1_31_28) IP1_31_28 FM(IP2_31_28) IP2_31_28 FM(IP3_31_28) IP3_31_28 \ |
| 393 | \ |
| 394 | FM(IP4_3_0) IP4_3_0 FM(IP5_3_0) IP5_3_0 FM(IP6_3_0) IP6_3_0 FM(IP7_3_0) IP7_3_0 \ |
| 395 | FM(IP4_7_4) IP4_7_4 FM(IP5_7_4) IP5_7_4 FM(IP6_7_4) IP6_7_4 FM(IP7_7_4) IP7_7_4 \ |
| 396 | FM(IP4_11_8) IP4_11_8 FM(IP5_11_8) IP5_11_8 FM(IP6_11_8) IP6_11_8 FM(IP7_11_8) IP7_11_8 \ |
| 397 | FM(IP4_15_12) IP4_15_12 FM(IP5_15_12) IP5_15_12 FM(IP6_15_12) IP6_15_12 FM(IP7_15_12) IP7_15_12 \ |
| 398 | FM(IP4_19_16) IP4_19_16 FM(IP5_19_16) IP5_19_16 FM(IP6_19_16) IP6_19_16 FM(IP7_19_16) IP7_19_16 \ |
| 399 | FM(IP4_23_20) IP4_23_20 FM(IP5_23_20) IP5_23_20 FM(IP6_23_20) IP6_23_20 FM(IP7_23_20) IP7_23_20 \ |
| 400 | FM(IP4_27_24) IP4_27_24 FM(IP5_27_24) IP5_27_24 FM(IP6_27_24) IP6_27_24 FM(IP7_27_24) IP7_27_24 \ |
| 401 | FM(IP4_31_28) IP4_31_28 FM(IP5_31_28) IP5_31_28 FM(IP6_31_28) IP6_31_28 FM(IP7_31_28) IP7_31_28 \ |
| 402 | \ |
| 403 | FM(IP8_3_0) IP8_3_0 FM(IP9_3_0) IP9_3_0 FM(IP10_3_0) IP10_3_0 FM(IP11_3_0) IP11_3_0 \ |
| 404 | FM(IP8_7_4) IP8_7_4 FM(IP9_7_4) IP9_7_4 FM(IP10_7_4) IP10_7_4 FM(IP11_7_4) IP11_7_4 \ |
| 405 | FM(IP8_11_8) IP8_11_8 FM(IP9_11_8) IP9_11_8 FM(IP10_11_8) IP10_11_8 FM(IP11_11_8) IP11_11_8 \ |
| 406 | FM(IP8_15_12) IP8_15_12 FM(IP9_15_12) IP9_15_12 FM(IP10_15_12) IP10_15_12 FM(IP11_15_12) IP11_15_12 \ |
| 407 | FM(IP8_19_16) IP8_19_16 FM(IP9_19_16) IP9_19_16 FM(IP10_19_16) IP10_19_16 FM(IP11_19_16) IP11_19_16 \ |
| 408 | FM(IP8_23_20) IP8_23_20 FM(IP9_23_20) IP9_23_20 FM(IP10_23_20) IP10_23_20 FM(IP11_23_20) IP11_23_20 \ |
| 409 | FM(IP8_27_24) IP8_27_24 FM(IP9_27_24) IP9_27_24 FM(IP10_27_24) IP10_27_24 FM(IP11_27_24) IP11_27_24 \ |
| 410 | FM(IP8_31_28) IP8_31_28 FM(IP9_31_28) IP9_31_28 FM(IP10_31_28) IP10_31_28 FM(IP11_31_28) IP11_31_28 \ |
| 411 | \ |
| 412 | FM(IP12_3_0) IP12_3_0 FM(IP13_3_0) IP13_3_0 FM(IP14_3_0) IP14_3_0 FM(IP15_3_0) IP15_3_0 \ |
| 413 | FM(IP12_7_4) IP12_7_4 FM(IP13_7_4) IP13_7_4 FM(IP14_7_4) IP14_7_4 FM(IP15_7_4) IP15_7_4 \ |
| 414 | FM(IP12_11_8) IP12_11_8 FM(IP13_11_8) IP13_11_8 FM(IP14_11_8) IP14_11_8 FM(IP15_11_8) IP15_11_8 \ |
| 415 | FM(IP12_15_12) IP12_15_12 FM(IP13_15_12) IP13_15_12 FM(IP14_15_12) IP14_15_12 FM(IP15_15_12) IP15_15_12 \ |
| 416 | FM(IP12_19_16) IP12_19_16 FM(IP13_19_16) IP13_19_16 FM(IP14_19_16) IP14_19_16 FM(IP15_19_16) IP15_19_16 \ |
| 417 | FM(IP12_23_20) IP12_23_20 FM(IP13_23_20) IP13_23_20 FM(IP14_23_20) IP14_23_20 FM(IP15_23_20) IP15_23_20 \ |
| 418 | FM(IP12_27_24) IP12_27_24 FM(IP13_27_24) IP13_27_24 FM(IP14_27_24) IP14_27_24 FM(IP15_27_24) IP15_27_24 \ |
| 419 | FM(IP12_31_28) IP12_31_28 FM(IP13_31_28) IP13_31_28 FM(IP14_31_28) IP14_31_28 FM(IP15_31_28) IP15_31_28 \ |
| 420 | \ |
| 421 | FM(IP16_3_0) IP16_3_0 FM(IP17_3_0) IP17_3_0 \ |
| 422 | FM(IP16_7_4) IP16_7_4 FM(IP17_7_4) IP17_7_4 \ |
| 423 | FM(IP16_11_8) IP16_11_8 \ |
| 424 | FM(IP16_15_12) IP16_15_12 \ |
| 425 | FM(IP16_19_16) IP16_19_16 \ |
| 426 | FM(IP16_23_20) IP16_23_20 \ |
| 427 | FM(IP16_27_24) IP16_27_24 \ |
| 428 | FM(IP16_31_28) IP16_31_28 |
| 429 | |
| 430 | /* MOD_SEL0 */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 */ /* 7 */ |
| 431 | #define MOD_SEL0_30_29 FM(SEL_MSIOF3_0) FM(SEL_MSIOF3_1) FM(SEL_MSIOF3_2) FM(SEL_MSIOF3_3) |
| 432 | #define MOD_SEL0_28_27 FM(SEL_MSIOF2_0) FM(SEL_MSIOF2_1) FM(SEL_MSIOF2_2) FM(SEL_MSIOF2_3) |
| 433 | #define MOD_SEL0_26_25_24 FM(SEL_MSIOF1_0) FM(SEL_MSIOF1_1) FM(SEL_MSIOF1_2) FM(SEL_MSIOF1_3) FM(SEL_MSIOF1_4) FM(SEL_MSIOF1_5) FM(SEL_MSIOF1_6) F_(0, 0) |
| 434 | #define MOD_SEL0_23 FM(SEL_LBSC_0) FM(SEL_LBSC_1) |
| 435 | #define MOD_SEL0_22 FM(SEL_IEBUS_0) FM(SEL_IEBUS_1) |
| 436 | #define MOD_SEL0_21_20 FM(SEL_I2C6_0) FM(SEL_I2C6_1) FM(SEL_I2C6_2) F_(0, 0) |
| 437 | #define MOD_SEL0_19 FM(SEL_I2C2_0) FM(SEL_I2C2_1) |
| 438 | #define MOD_SEL0_18 FM(SEL_I2C1_0) FM(SEL_I2C1_1) |
| 439 | #define MOD_SEL0_17 FM(SEL_HSCIF4_0) FM(SEL_HSCIF4_1) |
| 440 | #define MOD_SEL0_16_15 FM(SEL_HSCIF3_0) FM(SEL_HSCIF3_1) FM(SEL_HSCIF3_2) FM(SEL_HSCIF3_3) |
| 441 | #define MOD_SEL0_14 FM(SEL_HSCIF2_0) FM(SEL_HSCIF2_1) |
| 442 | #define MOD_SEL0_13 FM(SEL_HSCIF1_0) FM(SEL_HSCIF1_1) |
| 443 | #define MOD_SEL0_12 FM(SEL_FSO_0) FM(SEL_FSO_1) |
| 444 | #define MOD_SEL0_11 FM(SEL_FM_0) FM(SEL_FM_1) |
| 445 | #define MOD_SEL0_10 FM(SEL_ETHERAVB_0) FM(SEL_ETHERAVB_1) |
| 446 | #define MOD_SEL0_9 FM(SEL_DRIF3_0) FM(SEL_DRIF3_1) |
| 447 | #define MOD_SEL0_8 FM(SEL_DRIF2_0) FM(SEL_DRIF2_1) |
| 448 | #define MOD_SEL0_7_6 FM(SEL_DRIF1_0) FM(SEL_DRIF1_1) FM(SEL_DRIF1_2) F_(0, 0) |
| 449 | #define MOD_SEL0_5_4 FM(SEL_DRIF0_0) FM(SEL_DRIF0_1) FM(SEL_DRIF0_2) F_(0, 0) |
| 450 | #define MOD_SEL0_3 FM(SEL_CANFD0_0) FM(SEL_CANFD0_1) |
| 451 | #define MOD_SEL0_2_1 FM(SEL_ADG_0) FM(SEL_ADG_1) FM(SEL_ADG_2) FM(SEL_ADG_3) |
| 452 | |
| 453 | /* MOD_SEL1 */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 */ /* 7 */ |
| 454 | #define MOD_SEL1_31_30 FM(SEL_TSIF1_0) FM(SEL_TSIF1_1) FM(SEL_TSIF1_2) FM(SEL_TSIF1_3) |
| 455 | #define MOD_SEL1_29_28_27 FM(SEL_TSIF0_0) FM(SEL_TSIF0_1) FM(SEL_TSIF0_2) FM(SEL_TSIF0_3) FM(SEL_TSIF0_4) F_(0, 0) F_(0, 0) F_(0, 0) |
| 456 | #define MOD_SEL1_26 FM(SEL_TIMER_TMU_0) FM(SEL_TIMER_TMU_1) |
| 457 | #define MOD_SEL1_25_24 FM(SEL_SSP1_1_0) FM(SEL_SSP1_1_1) FM(SEL_SSP1_1_2) FM(SEL_SSP1_1_3) |
| 458 | #define MOD_SEL1_23_22_21 FM(SEL_SSP1_0_0) FM(SEL_SSP1_0_1) FM(SEL_SSP1_0_2) FM(SEL_SSP1_0_3) FM(SEL_SSP1_0_4) F_(0, 0) F_(0, 0) F_(0, 0) |
| 459 | #define MOD_SEL1_20 FM(SEL_SSI_0) FM(SEL_SSI_1) |
| 460 | #define MOD_SEL1_19 FM(SEL_SPEED_PULSE_0) FM(SEL_SPEED_PULSE_1) |
| 461 | #define MOD_SEL1_18_17 FM(SEL_SIMCARD_0) FM(SEL_SIMCARD_1) FM(SEL_SIMCARD_2) FM(SEL_SIMCARD_3) |
| 462 | #define MOD_SEL1_16 FM(SEL_SDHI2_0) FM(SEL_SDHI2_1) |
| 463 | #define MOD_SEL1_15_14 FM(SEL_SCIF4_0) FM(SEL_SCIF4_1) FM(SEL_SCIF4_2) F_(0, 0) |
| 464 | #define MOD_SEL1_13 FM(SEL_SCIF3_0) FM(SEL_SCIF3_1) |
| 465 | #define MOD_SEL1_12 FM(SEL_SCIF2_0) FM(SEL_SCIF2_1) |
| 466 | #define MOD_SEL1_11 FM(SEL_SCIF1_0) FM(SEL_SCIF1_1) |
Geert Uytterhoeven | fd1aa74 | 2015-11-09 09:56:21 +0100 | [diff] [blame] | 467 | #define MOD_SEL1_10 FM(SEL_SATA_0) FM(SEL_SATA_1) |
Takeshi Kihara | 0b0ffc9 | 2015-09-03 02:51:49 +0000 | [diff] [blame] | 468 | #define MOD_SEL1_9 FM(SEL_REMOCON_0) FM(SEL_REMOCON_1) |
| 469 | #define MOD_SEL1_6 FM(SEL_RCAN0_0) FM(SEL_RCAN0_1) |
| 470 | #define MOD_SEL1_5 FM(SEL_PWM6_0) FM(SEL_PWM6_1) |
| 471 | #define MOD_SEL1_4 FM(SEL_PWM5_0) FM(SEL_PWM5_1) |
| 472 | #define MOD_SEL1_3 FM(SEL_PWM4_0) FM(SEL_PWM4_1) |
| 473 | #define MOD_SEL1_2 FM(SEL_PWM3_0) FM(SEL_PWM3_1) |
| 474 | #define MOD_SEL1_1 FM(SEL_PWM2_0) FM(SEL_PWM2_1) |
| 475 | #define MOD_SEL1_0 FM(SEL_PWM1_0) FM(SEL_PWM1_1) |
| 476 | |
| 477 | /* MOD_SEL2 */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ |
| 478 | #define MOD_SEL2_31 FM(I2C_SEL_5_0) FM(I2C_SEL_5_1) |
| 479 | #define MOD_SEL2_30 FM(I2C_SEL_3_0) FM(I2C_SEL_3_1) |
| 480 | #define MOD_SEL2_29 FM(I2C_SEL_0_0) FM(I2C_SEL_0_1) |
| 481 | #define MOD_SEL2_2_1 FM(SEL_VSP_0) FM(SEL_VSP_1) FM(SEL_VSP_2) FM(SEL_VSP_3) |
| 482 | #define MOD_SEL2_0 FM(SEL_VIN4_0) FM(SEL_VIN4_1) |
| 483 | |
| 484 | #define PINMUX_MOD_SELS\ |
| 485 | \ |
| 486 | MOD_SEL1_31_30 MOD_SEL2_31 \ |
| 487 | MOD_SEL0_30_29 MOD_SEL2_30 \ |
| 488 | MOD_SEL1_29_28_27 MOD_SEL2_29 \ |
| 489 | MOD_SEL0_28_27 \ |
| 490 | \ |
| 491 | MOD_SEL0_26_25_24 MOD_SEL1_26 \ |
| 492 | MOD_SEL1_25_24 \ |
| 493 | \ |
| 494 | MOD_SEL0_23 MOD_SEL1_23_22_21 \ |
| 495 | MOD_SEL0_22 \ |
| 496 | MOD_SEL0_21_20 \ |
| 497 | MOD_SEL1_20 \ |
| 498 | MOD_SEL0_19 MOD_SEL1_19 \ |
| 499 | MOD_SEL0_18 MOD_SEL1_18_17 \ |
| 500 | MOD_SEL0_17 \ |
| 501 | MOD_SEL0_16_15 MOD_SEL1_16 \ |
| 502 | MOD_SEL1_15_14 \ |
| 503 | MOD_SEL0_14 \ |
| 504 | MOD_SEL0_13 MOD_SEL1_13 \ |
| 505 | MOD_SEL0_12 MOD_SEL1_12 \ |
| 506 | MOD_SEL0_11 MOD_SEL1_11 \ |
| 507 | MOD_SEL0_10 MOD_SEL1_10 \ |
| 508 | MOD_SEL0_9 MOD_SEL1_9 \ |
| 509 | MOD_SEL0_8 \ |
| 510 | MOD_SEL0_7_6 \ |
| 511 | MOD_SEL1_6 \ |
| 512 | MOD_SEL0_5_4 MOD_SEL1_5 \ |
| 513 | MOD_SEL1_4 \ |
| 514 | MOD_SEL0_3 MOD_SEL1_3 \ |
| 515 | MOD_SEL0_2_1 MOD_SEL1_2 MOD_SEL2_2_1 \ |
| 516 | MOD_SEL1_1 \ |
| 517 | MOD_SEL1_0 MOD_SEL2_0 |
| 518 | |
| 519 | |
| 520 | enum { |
| 521 | PINMUX_RESERVED = 0, |
| 522 | |
| 523 | PINMUX_DATA_BEGIN, |
| 524 | GP_ALL(DATA), |
| 525 | PINMUX_DATA_END, |
| 526 | |
| 527 | #define F_(x, y) |
| 528 | #define FM(x) FN_##x, |
| 529 | PINMUX_FUNCTION_BEGIN, |
| 530 | GP_ALL(FN), |
| 531 | PINMUX_GPSR |
| 532 | PINMUX_IPSR |
| 533 | PINMUX_MOD_SELS |
| 534 | PINMUX_FUNCTION_END, |
| 535 | #undef F_ |
| 536 | #undef FM |
| 537 | |
| 538 | #define F_(x, y) |
| 539 | #define FM(x) x##_MARK, |
| 540 | PINMUX_MARK_BEGIN, |
| 541 | PINMUX_GPSR |
| 542 | PINMUX_IPSR |
| 543 | PINMUX_MOD_SELS |
| 544 | PINMUX_MARK_END, |
| 545 | #undef F_ |
| 546 | #undef FM |
| 547 | }; |
| 548 | |
| 549 | static const u16 pinmux_data[] = { |
| 550 | PINMUX_DATA_GP_ALL(), |
| 551 | |
Geert Uytterhoeven | 8d4df57 | 2015-09-02 20:37:55 +0200 | [diff] [blame] | 552 | PINMUX_SINGLE(AVS1), |
| 553 | PINMUX_SINGLE(AVS2), |
| 554 | PINMUX_SINGLE(HDMI0_CEC), |
| 555 | PINMUX_SINGLE(HDMI1_CEC), |
| 556 | PINMUX_SINGLE(MSIOF0_RXD), |
| 557 | PINMUX_SINGLE(MSIOF0_SCK), |
| 558 | PINMUX_SINGLE(MSIOF0_TXD), |
| 559 | PINMUX_SINGLE(SD2_CMD), |
| 560 | PINMUX_SINGLE(SD3_CLK), |
| 561 | PINMUX_SINGLE(SD3_CMD), |
| 562 | PINMUX_SINGLE(SD3_DAT0), |
| 563 | PINMUX_SINGLE(SD3_DAT1), |
| 564 | PINMUX_SINGLE(SD3_DAT2), |
| 565 | PINMUX_SINGLE(SD3_DAT3), |
| 566 | PINMUX_SINGLE(SD3_DS), |
| 567 | PINMUX_SINGLE(SSI_SCK5), |
| 568 | PINMUX_SINGLE(SSI_SDATA5), |
| 569 | PINMUX_SINGLE(SSI_WS5), |
| 570 | |
Takeshi Kihara | 0b0ffc9 | 2015-09-03 02:51:49 +0000 | [diff] [blame] | 571 | /* IPSR0 */ |
| 572 | PINMUX_IPSR_DATA(IP0_3_0, AVB_MDC), |
| 573 | PINMUX_IPSR_MSEL(IP0_3_0, MSIOF2_SS2_C, SEL_MSIOF2_2), |
| 574 | |
| 575 | PINMUX_IPSR_DATA(IP0_7_4, AVB_MAGIC), |
| 576 | PINMUX_IPSR_MSEL(IP0_7_4, MSIOF2_SS1_C, SEL_MSIOF2_2), |
| 577 | PINMUX_IPSR_MSEL(IP0_7_4, SCK4_A, SEL_SCIF4_0), |
| 578 | |
| 579 | PINMUX_IPSR_DATA(IP0_11_8, AVB_PHY_INT), |
| 580 | PINMUX_IPSR_MSEL(IP0_11_8, MSIOF2_SYNC_C, SEL_MSIOF2_2), |
| 581 | PINMUX_IPSR_MSEL(IP0_11_8, RX4_A, SEL_SCIF4_0), |
| 582 | |
| 583 | PINMUX_IPSR_DATA(IP0_15_12, AVB_LINK), |
| 584 | PINMUX_IPSR_MSEL(IP0_15_12, MSIOF2_SCK_C, SEL_MSIOF2_2), |
| 585 | PINMUX_IPSR_MSEL(IP0_15_12, TX4_A, SEL_SCIF4_0), |
| 586 | |
| 587 | PINMUX_IPSR_MSEL(IP0_19_16, AVB_AVTP_MATCH_A, SEL_ETHERAVB_0), |
| 588 | PINMUX_IPSR_MSEL(IP0_19_16, MSIOF2_RXD_C, SEL_MSIOF2_2), |
| 589 | PINMUX_IPSR_MSEL(IP0_19_16, CTS4_N_A, SEL_SCIF4_0), |
| 590 | |
| 591 | PINMUX_IPSR_MSEL(IP0_23_20, AVB_AVTP_CAPTURE_A, SEL_ETHERAVB_0), |
| 592 | PINMUX_IPSR_MSEL(IP0_23_20, MSIOF2_TXD_C, SEL_MSIOF2_2), |
| 593 | PINMUX_IPSR_MSEL(IP0_23_20, RTS4_N_TANS_A, SEL_SCIF4_0), |
| 594 | |
| 595 | PINMUX_IPSR_DATA(IP0_27_24, IRQ0), |
| 596 | PINMUX_IPSR_DATA(IP0_27_24, QPOLB), |
| 597 | PINMUX_IPSR_DATA(IP0_27_24, DU_CDE), |
| 598 | PINMUX_IPSR_MSEL(IP0_27_24, VI4_DATA0_B, SEL_VIN4_1), |
| 599 | PINMUX_IPSR_MSEL(IP0_27_24, CAN0_TX_B, SEL_RCAN0_1), |
| 600 | PINMUX_IPSR_MSEL(IP0_27_24, CANFD0_TX_B, SEL_CANFD0_1), |
| 601 | |
| 602 | PINMUX_IPSR_DATA(IP0_31_28, IRQ1), |
| 603 | PINMUX_IPSR_DATA(IP0_31_28, QPOLA), |
| 604 | PINMUX_IPSR_DATA(IP0_31_28, DU_DISP), |
| 605 | PINMUX_IPSR_MSEL(IP0_31_28, VI4_DATA1_B, SEL_VIN4_1), |
| 606 | PINMUX_IPSR_MSEL(IP0_31_28, CAN0_RX_B, SEL_RCAN0_1), |
| 607 | PINMUX_IPSR_MSEL(IP0_31_28, CANFD0_RX_B, SEL_CANFD0_1), |
| 608 | |
| 609 | /* IPSR1 */ |
| 610 | PINMUX_IPSR_DATA(IP1_3_0, IRQ2), |
| 611 | PINMUX_IPSR_DATA(IP1_3_0, QCPV_QDE), |
| 612 | PINMUX_IPSR_DATA(IP1_3_0, DU_EXODDF_DU_ODDF_DISP_CDE), |
| 613 | PINMUX_IPSR_MSEL(IP1_3_0, VI4_DATA2_B, SEL_VIN4_1), |
| 614 | PINMUX_IPSR_MSEL(IP1_3_0, PWM3_B, SEL_PWM3_1), |
| 615 | |
| 616 | PINMUX_IPSR_DATA(IP1_7_4, IRQ3), |
| 617 | PINMUX_IPSR_DATA(IP1_7_4, QSTVB_QVE), |
| 618 | PINMUX_IPSR_DATA(IP1_7_4, A25), |
| 619 | PINMUX_IPSR_DATA(IP1_7_4, DU_DOTCLKOUT1), |
| 620 | PINMUX_IPSR_MSEL(IP1_7_4, VI4_DATA3_B, SEL_VIN4_1), |
| 621 | PINMUX_IPSR_MSEL(IP1_7_4, PWM4_B, SEL_PWM4_1), |
| 622 | |
| 623 | PINMUX_IPSR_DATA(IP1_11_8, IRQ4), |
| 624 | PINMUX_IPSR_DATA(IP1_11_8, QSTH_QHS), |
| 625 | PINMUX_IPSR_DATA(IP1_11_8, A24), |
| 626 | PINMUX_IPSR_DATA(IP1_11_8, DU_EXHSYNC_DU_HSYNC), |
| 627 | PINMUX_IPSR_MSEL(IP1_11_8, VI4_DATA4_B, SEL_VIN4_1), |
| 628 | PINMUX_IPSR_MSEL(IP1_11_8, PWM5_B, SEL_PWM5_1), |
| 629 | |
| 630 | PINMUX_IPSR_DATA(IP1_15_12, IRQ5), |
| 631 | PINMUX_IPSR_DATA(IP1_15_12, QSTB_QHE), |
| 632 | PINMUX_IPSR_DATA(IP1_15_12, A23), |
| 633 | PINMUX_IPSR_DATA(IP1_15_12, DU_EXVSYNC_DU_VSYNC), |
| 634 | PINMUX_IPSR_MSEL(IP1_15_12, VI4_DATA5_B, SEL_VIN4_1), |
| 635 | PINMUX_IPSR_MSEL(IP1_15_12, PWM6_B, SEL_PWM6_1), |
| 636 | |
| 637 | PINMUX_IPSR_DATA(IP1_19_16, PWM0), |
| 638 | PINMUX_IPSR_DATA(IP1_19_16, AVB_AVTP_PPS), |
| 639 | PINMUX_IPSR_DATA(IP1_19_16, A22), |
| 640 | PINMUX_IPSR_MSEL(IP1_19_16, VI4_DATA6_B, SEL_VIN4_1), |
| 641 | PINMUX_IPSR_MSEL(IP1_19_16, IECLK_B, SEL_IEBUS_1), |
| 642 | |
| 643 | PINMUX_IPSR_MSEL(IP1_23_20, PWM1_A, SEL_PWM1_0), |
| 644 | PINMUX_IPSR_DATA(IP1_23_20, A21), |
| 645 | PINMUX_IPSR_MSEL(IP1_23_20, HRX3_D, SEL_HSCIF3_3), |
| 646 | PINMUX_IPSR_MSEL(IP1_23_20, VI4_DATA7_B, SEL_VIN4_1), |
| 647 | PINMUX_IPSR_MSEL(IP1_23_20, IERX_B, SEL_IEBUS_1), |
| 648 | |
| 649 | PINMUX_IPSR_MSEL(IP1_27_24, PWM2_A, SEL_PWM2_0), |
| 650 | PINMUX_IPSR_DATA(IP1_27_24, A20), |
| 651 | PINMUX_IPSR_MSEL(IP1_27_24, HTX3_D, SEL_HSCIF3_3), |
| 652 | PINMUX_IPSR_MSEL(IP1_27_24, IETX_B, SEL_IEBUS_1), |
| 653 | |
| 654 | PINMUX_IPSR_DATA(IP1_31_28, A0), |
| 655 | PINMUX_IPSR_DATA(IP1_31_28, LCDOUT16), |
| 656 | PINMUX_IPSR_MSEL(IP1_31_28, MSIOF3_SYNC_B, SEL_MSIOF3_1), |
| 657 | PINMUX_IPSR_DATA(IP1_31_28, VI4_DATA8), |
| 658 | PINMUX_IPSR_DATA(IP1_31_28, DU_DB0), |
| 659 | PINMUX_IPSR_MSEL(IP1_31_28, PWM3_A, SEL_PWM3_0), |
| 660 | |
| 661 | /* IPSR2 */ |
| 662 | PINMUX_IPSR_DATA(IP2_3_0, A1), |
| 663 | PINMUX_IPSR_DATA(IP2_3_0, LCDOUT17), |
| 664 | PINMUX_IPSR_MSEL(IP2_3_0, MSIOF3_TXD_B, SEL_MSIOF3_1), |
| 665 | PINMUX_IPSR_DATA(IP2_3_0, VI4_DATA9), |
| 666 | PINMUX_IPSR_DATA(IP2_3_0, DU_DB1), |
| 667 | PINMUX_IPSR_MSEL(IP2_3_0, PWM4_A, SEL_PWM4_0), |
| 668 | |
| 669 | PINMUX_IPSR_DATA(IP2_7_4, A2), |
| 670 | PINMUX_IPSR_DATA(IP2_7_4, LCDOUT18), |
| 671 | PINMUX_IPSR_MSEL(IP2_7_4, MSIOF3_SCK_B, SEL_MSIOF3_1), |
| 672 | PINMUX_IPSR_DATA(IP2_7_4, VI4_DATA10), |
| 673 | PINMUX_IPSR_DATA(IP2_7_4, DU_DB2), |
| 674 | PINMUX_IPSR_MSEL(IP2_7_4, PWM5_A, SEL_PWM5_0), |
| 675 | |
| 676 | PINMUX_IPSR_DATA(IP2_11_8, A3), |
| 677 | PINMUX_IPSR_DATA(IP2_11_8, LCDOUT19), |
| 678 | PINMUX_IPSR_MSEL(IP2_11_8, MSIOF3_RXD_B, SEL_MSIOF3_1), |
| 679 | PINMUX_IPSR_DATA(IP2_11_8, VI4_DATA11), |
| 680 | PINMUX_IPSR_DATA(IP2_11_8, DU_DB3), |
| 681 | PINMUX_IPSR_MSEL(IP2_11_8, PWM6_A, SEL_PWM6_0), |
| 682 | |
| 683 | PINMUX_IPSR_DATA(IP2_15_12, A4), |
| 684 | PINMUX_IPSR_DATA(IP2_15_12, LCDOUT20), |
| 685 | PINMUX_IPSR_MSEL(IP2_15_12, MSIOF3_SS1_B, SEL_MSIOF3_1), |
| 686 | PINMUX_IPSR_DATA(IP2_15_12, VI4_DATA12), |
| 687 | PINMUX_IPSR_DATA(IP2_15_12, VI5_DATA12), |
| 688 | PINMUX_IPSR_DATA(IP2_15_12, DU_DB4), |
| 689 | |
| 690 | PINMUX_IPSR_DATA(IP2_19_16, A5), |
| 691 | PINMUX_IPSR_DATA(IP2_19_16, LCDOUT21), |
| 692 | PINMUX_IPSR_MSEL(IP2_19_16, MSIOF3_SS2_B, SEL_MSIOF3_1), |
| 693 | PINMUX_IPSR_MSEL(IP2_19_16, SCK4_B, SEL_SCIF4_1), |
| 694 | PINMUX_IPSR_DATA(IP2_19_16, VI4_DATA13), |
| 695 | PINMUX_IPSR_DATA(IP2_19_16, VI5_DATA13), |
| 696 | PINMUX_IPSR_DATA(IP2_19_16, DU_DB5), |
| 697 | |
| 698 | PINMUX_IPSR_DATA(IP2_23_20, A6), |
| 699 | PINMUX_IPSR_DATA(IP2_23_20, LCDOUT22), |
| 700 | PINMUX_IPSR_MSEL(IP2_23_20, MSIOF2_SS1_A, SEL_MSIOF2_0), |
| 701 | PINMUX_IPSR_MSEL(IP2_23_20, RX4_B, SEL_SCIF4_1), |
| 702 | PINMUX_IPSR_DATA(IP2_23_20, VI4_DATA14), |
| 703 | PINMUX_IPSR_DATA(IP2_23_20, VI5_DATA14), |
| 704 | PINMUX_IPSR_DATA(IP2_23_20, DU_DB6), |
| 705 | |
| 706 | PINMUX_IPSR_DATA(IP2_27_24, A7), |
| 707 | PINMUX_IPSR_DATA(IP2_27_24, LCDOUT23), |
| 708 | PINMUX_IPSR_MSEL(IP2_27_24, MSIOF2_SS2_A, SEL_MSIOF2_0), |
| 709 | PINMUX_IPSR_MSEL(IP2_27_24, TX4_B, SEL_SCIF4_1), |
| 710 | PINMUX_IPSR_DATA(IP2_27_24, VI4_DATA15), |
| 711 | PINMUX_IPSR_DATA(IP2_27_24, VI5_DATA15), |
| 712 | PINMUX_IPSR_DATA(IP2_27_24, DU_DB7), |
| 713 | |
| 714 | PINMUX_IPSR_DATA(IP2_31_28, A8), |
| 715 | PINMUX_IPSR_MSEL(IP2_31_28, RX3_B, SEL_SCIF3_1), |
| 716 | PINMUX_IPSR_MSEL(IP2_31_28, MSIOF2_SYNC_A, SEL_MSIOF2_0), |
| 717 | PINMUX_IPSR_MSEL(IP2_31_28, HRX4_B, SEL_HSCIF4_1), |
| 718 | PINMUX_IPSR_MSEL(IP2_31_28, SDA6_A, SEL_I2C6_0), |
| 719 | PINMUX_IPSR_MSEL(IP2_31_28, AVB_AVTP_MATCH_B, SEL_ETHERAVB_1), |
| 720 | PINMUX_IPSR_MSEL(IP2_31_28, PWM1_B, SEL_PWM1_1), |
| 721 | |
| 722 | /* IPSR3 */ |
| 723 | PINMUX_IPSR_DATA(IP3_3_0, A9), |
| 724 | PINMUX_IPSR_MSEL(IP3_3_0, MSIOF2_SCK_A, SEL_MSIOF2_0), |
| 725 | PINMUX_IPSR_MSEL(IP3_3_0, CTS4_N_B, SEL_SCIF4_1), |
| 726 | PINMUX_IPSR_DATA(IP3_3_0, VI5_VSYNC_N), |
| 727 | |
| 728 | PINMUX_IPSR_DATA(IP3_7_4, A10), |
| 729 | PINMUX_IPSR_MSEL(IP3_7_4, MSIOF2_RXD_A, SEL_MSIOF2_0), |
| 730 | PINMUX_IPSR_MSEL(IP3_7_4, RTS4_N_TANS_B, SEL_SCIF4_1), |
| 731 | PINMUX_IPSR_DATA(IP3_7_4, VI5_HSYNC_N), |
| 732 | |
| 733 | PINMUX_IPSR_DATA(IP3_11_8, A11), |
| 734 | PINMUX_IPSR_MSEL(IP3_11_8, TX3_B, SEL_SCIF3_1), |
| 735 | PINMUX_IPSR_MSEL(IP3_11_8, MSIOF2_TXD_A, SEL_MSIOF2_0), |
| 736 | PINMUX_IPSR_MSEL(IP3_11_8, HTX4_B, SEL_HSCIF4_1), |
| 737 | PINMUX_IPSR_DATA(IP3_11_8, HSCK4), |
| 738 | PINMUX_IPSR_DATA(IP3_11_8, VI5_FIELD), |
| 739 | PINMUX_IPSR_MSEL(IP3_11_8, SCL6_A, SEL_I2C6_0), |
| 740 | PINMUX_IPSR_MSEL(IP3_11_8, AVB_AVTP_CAPTURE_B, SEL_ETHERAVB_1), |
| 741 | PINMUX_IPSR_MSEL(IP3_11_8, PWM2_B, SEL_PWM2_1), |
| 742 | |
| 743 | PINMUX_IPSR_DATA(IP3_15_12, A12), |
| 744 | PINMUX_IPSR_DATA(IP3_15_12, LCDOUT12), |
| 745 | PINMUX_IPSR_MSEL(IP3_15_12, MSIOF3_SCK_C, SEL_MSIOF3_2), |
| 746 | PINMUX_IPSR_MSEL(IP3_15_12, HRX4_A, SEL_HSCIF4_0), |
| 747 | PINMUX_IPSR_DATA(IP3_15_12, VI5_DATA8), |
| 748 | PINMUX_IPSR_DATA(IP3_15_12, DU_DG4), |
| 749 | |
| 750 | PINMUX_IPSR_DATA(IP3_19_16, A13), |
| 751 | PINMUX_IPSR_DATA(IP3_19_16, LCDOUT13), |
| 752 | PINMUX_IPSR_MSEL(IP3_19_16, MSIOF3_SYNC_C, SEL_MSIOF3_2), |
| 753 | PINMUX_IPSR_MSEL(IP3_19_16, HTX4_A, SEL_HSCIF4_0), |
| 754 | PINMUX_IPSR_DATA(IP3_19_16, VI5_DATA9), |
| 755 | PINMUX_IPSR_DATA(IP3_19_16, DU_DG5), |
| 756 | |
| 757 | PINMUX_IPSR_DATA(IP3_23_20, A14), |
| 758 | PINMUX_IPSR_DATA(IP3_23_20, LCDOUT14), |
| 759 | PINMUX_IPSR_MSEL(IP3_23_20, MSIOF3_RXD_C, SEL_MSIOF3_2), |
| 760 | PINMUX_IPSR_DATA(IP3_23_20, HCTS4_N), |
| 761 | PINMUX_IPSR_DATA(IP3_23_20, VI5_DATA10), |
| 762 | PINMUX_IPSR_DATA(IP3_23_20, DU_DG6), |
| 763 | |
| 764 | PINMUX_IPSR_DATA(IP3_27_24, A15), |
| 765 | PINMUX_IPSR_DATA(IP3_27_24, LCDOUT15), |
| 766 | PINMUX_IPSR_MSEL(IP3_27_24, MSIOF3_TXD_C, SEL_MSIOF3_2), |
| 767 | PINMUX_IPSR_DATA(IP3_27_24, HRTS4_N), |
| 768 | PINMUX_IPSR_DATA(IP3_27_24, VI5_DATA11), |
| 769 | PINMUX_IPSR_DATA(IP3_27_24, DU_DG7), |
| 770 | |
| 771 | PINMUX_IPSR_DATA(IP3_31_28, A16), |
| 772 | PINMUX_IPSR_DATA(IP3_31_28, LCDOUT8), |
| 773 | PINMUX_IPSR_DATA(IP3_31_28, VI4_FIELD), |
| 774 | PINMUX_IPSR_DATA(IP3_31_28, DU_DG0), |
| 775 | |
| 776 | /* IPSR4 */ |
| 777 | PINMUX_IPSR_DATA(IP4_3_0, A17), |
| 778 | PINMUX_IPSR_DATA(IP4_3_0, LCDOUT9), |
| 779 | PINMUX_IPSR_DATA(IP4_3_0, VI4_VSYNC_N), |
| 780 | PINMUX_IPSR_DATA(IP4_3_0, DU_DG1), |
| 781 | |
| 782 | PINMUX_IPSR_DATA(IP4_7_4, A18), |
| 783 | PINMUX_IPSR_DATA(IP4_7_4, LCDOUT10), |
| 784 | PINMUX_IPSR_DATA(IP4_7_4, VI4_HSYNC_N), |
| 785 | PINMUX_IPSR_DATA(IP4_7_4, DU_DG2), |
| 786 | |
| 787 | PINMUX_IPSR_DATA(IP4_11_8, A19), |
| 788 | PINMUX_IPSR_DATA(IP4_11_8, LCDOUT11), |
| 789 | PINMUX_IPSR_DATA(IP4_11_8, VI4_CLKENB), |
| 790 | PINMUX_IPSR_DATA(IP4_11_8, DU_DG3), |
| 791 | |
| 792 | PINMUX_IPSR_DATA(IP4_15_12, CS0_N), |
| 793 | PINMUX_IPSR_DATA(IP4_15_12, VI5_CLKENB), |
| 794 | |
| 795 | PINMUX_IPSR_DATA(IP4_19_16, CS1_N_A26), |
| 796 | PINMUX_IPSR_DATA(IP4_19_16, VI5_CLK), |
| 797 | PINMUX_IPSR_MSEL(IP4_19_16, EX_WAIT0_B, SEL_LBSC_1), |
| 798 | |
| 799 | PINMUX_IPSR_DATA(IP4_23_20, BS_N), |
| 800 | PINMUX_IPSR_DATA(IP4_23_20, QSTVA_QVS), |
| 801 | PINMUX_IPSR_MSEL(IP4_23_20, MSIOF3_SCK_D, SEL_MSIOF3_3), |
| 802 | PINMUX_IPSR_DATA(IP4_23_20, SCK3), |
| 803 | PINMUX_IPSR_DATA(IP4_23_20, HSCK3), |
| 804 | PINMUX_IPSR_DATA(IP4_23_20, CAN1_TX), |
| 805 | PINMUX_IPSR_DATA(IP4_23_20, CANFD1_TX), |
| 806 | PINMUX_IPSR_MSEL(IP4_23_20, IETX_A, SEL_IEBUS_0), |
| 807 | |
| 808 | PINMUX_IPSR_DATA(IP4_27_24, RD_N), |
| 809 | PINMUX_IPSR_MSEL(IP4_27_24, MSIOF3_SYNC_D, SEL_MSIOF3_3), |
| 810 | PINMUX_IPSR_MSEL(IP4_27_24, RX3_A, SEL_SCIF3_0), |
| 811 | PINMUX_IPSR_MSEL(IP4_27_24, HRX3_A, SEL_HSCIF3_0), |
| 812 | PINMUX_IPSR_MSEL(IP4_27_24, CAN0_TX_A, SEL_RCAN0_0), |
| 813 | PINMUX_IPSR_MSEL(IP4_27_24, CANFD0_TX_A, SEL_CANFD0_0), |
| 814 | |
| 815 | PINMUX_IPSR_DATA(IP4_31_28, RD_WR_N), |
| 816 | PINMUX_IPSR_MSEL(IP4_31_28, MSIOF3_RXD_D, SEL_MSIOF3_3), |
| 817 | PINMUX_IPSR_MSEL(IP4_31_28, TX3_A, SEL_SCIF3_0), |
| 818 | PINMUX_IPSR_MSEL(IP4_31_28, HTX3_A, SEL_HSCIF3_0), |
| 819 | PINMUX_IPSR_MSEL(IP4_31_28, CAN0_RX_A, SEL_RCAN0_0), |
| 820 | PINMUX_IPSR_MSEL(IP4_31_28, CANFD0_RX_A, SEL_CANFD0_0), |
| 821 | |
| 822 | /* IPSR5 */ |
| 823 | PINMUX_IPSR_DATA(IP5_3_0, WE0_N), |
| 824 | PINMUX_IPSR_MSEL(IP5_3_0, MSIOF3_TXD_D, SEL_MSIOF3_3), |
| 825 | PINMUX_IPSR_DATA(IP5_3_0, CTS3_N), |
| 826 | PINMUX_IPSR_DATA(IP5_3_0, HCTS3_N), |
| 827 | PINMUX_IPSR_MSEL(IP5_3_0, SCL6_B, SEL_I2C6_1), |
| 828 | PINMUX_IPSR_DATA(IP5_3_0, CAN_CLK), |
| 829 | PINMUX_IPSR_MSEL(IP5_3_0, IECLK_A, SEL_IEBUS_0), |
| 830 | |
| 831 | PINMUX_IPSR_DATA(IP5_7_4, WE1_N), |
| 832 | PINMUX_IPSR_MSEL(IP5_7_4, MSIOF3_SS1_D, SEL_MSIOF3_3), |
| 833 | PINMUX_IPSR_DATA(IP5_7_4, RTS3_N_TANS), |
| 834 | PINMUX_IPSR_DATA(IP5_7_4, HRTS3_N), |
| 835 | PINMUX_IPSR_MSEL(IP5_7_4, SDA6_B, SEL_I2C6_1), |
| 836 | PINMUX_IPSR_DATA(IP5_7_4, CAN1_RX), |
| 837 | PINMUX_IPSR_DATA(IP5_7_4, CANFD1_RX), |
| 838 | PINMUX_IPSR_MSEL(IP5_7_4, IERX_A, SEL_IEBUS_0), |
| 839 | |
| 840 | PINMUX_IPSR_MSEL(IP5_11_8, EX_WAIT0_A, SEL_LBSC_0), |
| 841 | PINMUX_IPSR_DATA(IP5_11_8, QCLK), |
| 842 | PINMUX_IPSR_DATA(IP5_11_8, VI4_CLK), |
| 843 | PINMUX_IPSR_DATA(IP5_11_8, DU_DOTCLKOUT0), |
| 844 | |
| 845 | PINMUX_IPSR_DATA(IP5_15_12, D0), |
| 846 | PINMUX_IPSR_MSEL(IP5_15_12, MSIOF2_SS1_B, SEL_MSIOF2_1), |
| 847 | PINMUX_IPSR_MSEL(IP5_15_12, MSIOF3_SCK_A, SEL_MSIOF3_0), |
| 848 | PINMUX_IPSR_DATA(IP5_15_12, VI4_DATA16), |
| 849 | PINMUX_IPSR_DATA(IP5_15_12, VI5_DATA0), |
| 850 | |
| 851 | PINMUX_IPSR_DATA(IP5_19_16, D1), |
| 852 | PINMUX_IPSR_MSEL(IP5_19_16, MSIOF2_SS2_B, SEL_MSIOF2_1), |
| 853 | PINMUX_IPSR_MSEL(IP5_19_16, MSIOF3_SYNC_A, SEL_MSIOF3_0), |
| 854 | PINMUX_IPSR_DATA(IP5_19_16, VI4_DATA17), |
| 855 | PINMUX_IPSR_DATA(IP5_19_16, VI5_DATA1), |
| 856 | |
| 857 | PINMUX_IPSR_DATA(IP5_23_20, D2), |
| 858 | PINMUX_IPSR_MSEL(IP5_23_20, MSIOF3_RXD_A, SEL_MSIOF3_0), |
| 859 | PINMUX_IPSR_DATA(IP5_23_20, VI4_DATA18), |
| 860 | PINMUX_IPSR_DATA(IP5_23_20, VI5_DATA2), |
| 861 | |
| 862 | PINMUX_IPSR_DATA(IP5_27_24, D3), |
| 863 | PINMUX_IPSR_MSEL(IP5_27_24, MSIOF3_TXD_A, SEL_MSIOF3_0), |
| 864 | PINMUX_IPSR_DATA(IP5_27_24, VI4_DATA19), |
| 865 | PINMUX_IPSR_DATA(IP5_27_24, VI5_DATA3), |
| 866 | |
| 867 | PINMUX_IPSR_DATA(IP5_31_28, D4), |
| 868 | PINMUX_IPSR_MSEL(IP5_31_28, MSIOF2_SCK_B, SEL_MSIOF2_1), |
| 869 | PINMUX_IPSR_DATA(IP5_31_28, VI4_DATA20), |
| 870 | PINMUX_IPSR_DATA(IP5_31_28, VI5_DATA4), |
| 871 | |
| 872 | /* IPSR6 */ |
| 873 | PINMUX_IPSR_DATA(IP6_3_0, D5), |
| 874 | PINMUX_IPSR_MSEL(IP6_3_0, MSIOF2_SYNC_B, SEL_MSIOF2_1), |
| 875 | PINMUX_IPSR_DATA(IP6_3_0, VI4_DATA21), |
| 876 | PINMUX_IPSR_DATA(IP6_3_0, VI5_DATA5), |
| 877 | |
| 878 | PINMUX_IPSR_DATA(IP6_7_4, D6), |
| 879 | PINMUX_IPSR_MSEL(IP6_7_4, MSIOF2_RXD_B, SEL_MSIOF2_1), |
| 880 | PINMUX_IPSR_DATA(IP6_7_4, VI4_DATA22), |
| 881 | PINMUX_IPSR_DATA(IP6_7_4, VI5_DATA6), |
| 882 | |
| 883 | PINMUX_IPSR_DATA(IP6_11_8, D7), |
| 884 | PINMUX_IPSR_MSEL(IP6_11_8, MSIOF2_TXD_B, SEL_MSIOF2_1), |
| 885 | PINMUX_IPSR_DATA(IP6_11_8, VI4_DATA23), |
| 886 | PINMUX_IPSR_DATA(IP6_11_8, VI5_DATA7), |
| 887 | |
| 888 | PINMUX_IPSR_DATA(IP6_15_12, D8), |
| 889 | PINMUX_IPSR_DATA(IP6_15_12, LCDOUT0), |
| 890 | PINMUX_IPSR_MSEL(IP6_15_12, MSIOF2_SCK_D, SEL_MSIOF2_3), |
| 891 | PINMUX_IPSR_MSEL(IP6_15_12, SCK4_C, SEL_SCIF4_2), |
| 892 | PINMUX_IPSR_MSEL(IP6_15_12, VI4_DATA0_A, SEL_VIN4_0), |
| 893 | PINMUX_IPSR_DATA(IP6_15_12, DU_DR0), |
| 894 | |
| 895 | PINMUX_IPSR_DATA(IP6_19_16, D9), |
| 896 | PINMUX_IPSR_DATA(IP6_19_16, LCDOUT1), |
| 897 | PINMUX_IPSR_MSEL(IP6_19_16, MSIOF2_SYNC_D, SEL_MSIOF2_3), |
| 898 | PINMUX_IPSR_MSEL(IP6_19_16, VI4_DATA1_A, SEL_VIN4_0), |
| 899 | PINMUX_IPSR_DATA(IP6_19_16, DU_DR1), |
| 900 | |
| 901 | PINMUX_IPSR_DATA(IP6_23_20, D10), |
| 902 | PINMUX_IPSR_DATA(IP6_23_20, LCDOUT2), |
| 903 | PINMUX_IPSR_MSEL(IP6_23_20, MSIOF2_RXD_D, SEL_MSIOF2_3), |
| 904 | PINMUX_IPSR_MSEL(IP6_23_20, HRX3_B, SEL_HSCIF3_1), |
| 905 | PINMUX_IPSR_MSEL(IP6_23_20, VI4_DATA2_A, SEL_VIN4_0), |
| 906 | PINMUX_IPSR_MSEL(IP6_23_20, CTS4_N_C, SEL_SCIF4_2), |
| 907 | PINMUX_IPSR_DATA(IP6_23_20, DU_DR2), |
| 908 | |
| 909 | PINMUX_IPSR_DATA(IP6_27_24, D11), |
| 910 | PINMUX_IPSR_DATA(IP6_27_24, LCDOUT3), |
| 911 | PINMUX_IPSR_MSEL(IP6_27_24, MSIOF2_TXD_D, SEL_MSIOF2_3), |
| 912 | PINMUX_IPSR_MSEL(IP6_27_24, HTX3_B, SEL_HSCIF3_1), |
| 913 | PINMUX_IPSR_MSEL(IP6_27_24, VI4_DATA3_A, SEL_VIN4_0), |
| 914 | PINMUX_IPSR_MSEL(IP6_27_24, RTS4_N_TANS_C, SEL_SCIF4_2), |
| 915 | PINMUX_IPSR_DATA(IP6_27_24, DU_DR3), |
| 916 | |
| 917 | PINMUX_IPSR_DATA(IP6_31_28, D12), |
| 918 | PINMUX_IPSR_DATA(IP6_31_28, LCDOUT4), |
| 919 | PINMUX_IPSR_MSEL(IP6_31_28, MSIOF2_SS1_D, SEL_MSIOF2_3), |
| 920 | PINMUX_IPSR_MSEL(IP6_31_28, RX4_C, SEL_SCIF4_2), |
| 921 | PINMUX_IPSR_MSEL(IP6_31_28, VI4_DATA4_A, SEL_VIN4_0), |
| 922 | PINMUX_IPSR_DATA(IP6_31_28, DU_DR4), |
| 923 | |
| 924 | /* IPSR7 */ |
| 925 | PINMUX_IPSR_DATA(IP7_3_0, D13), |
| 926 | PINMUX_IPSR_DATA(IP7_3_0, LCDOUT5), |
| 927 | PINMUX_IPSR_MSEL(IP7_3_0, MSIOF2_SS2_D, SEL_MSIOF2_3), |
| 928 | PINMUX_IPSR_MSEL(IP7_3_0, TX4_C, SEL_SCIF4_2), |
| 929 | PINMUX_IPSR_MSEL(IP7_3_0, VI4_DATA5_A, SEL_VIN4_0), |
| 930 | PINMUX_IPSR_DATA(IP7_3_0, DU_DR5), |
| 931 | |
| 932 | PINMUX_IPSR_DATA(IP7_7_4, D14), |
| 933 | PINMUX_IPSR_DATA(IP7_7_4, LCDOUT6), |
| 934 | PINMUX_IPSR_MSEL(IP7_7_4, MSIOF3_SS1_A, SEL_MSIOF3_0), |
| 935 | PINMUX_IPSR_MSEL(IP7_7_4, HRX3_C, SEL_HSCIF3_2), |
| 936 | PINMUX_IPSR_MSEL(IP7_7_4, VI4_DATA6_A, SEL_VIN4_0), |
| 937 | PINMUX_IPSR_DATA(IP7_7_4, DU_DR6), |
| 938 | PINMUX_IPSR_MSEL(IP7_7_4, SCL6_C, SEL_I2C6_2), |
| 939 | |
| 940 | PINMUX_IPSR_DATA(IP7_11_8, D15), |
| 941 | PINMUX_IPSR_DATA(IP7_11_8, LCDOUT7), |
| 942 | PINMUX_IPSR_MSEL(IP7_11_8, MSIOF3_SS2_A, SEL_MSIOF3_0), |
| 943 | PINMUX_IPSR_MSEL(IP7_11_8, HTX3_C, SEL_HSCIF3_2), |
| 944 | PINMUX_IPSR_MSEL(IP7_11_8, VI4_DATA7_A, SEL_VIN4_0), |
| 945 | PINMUX_IPSR_DATA(IP7_11_8, DU_DR7), |
| 946 | PINMUX_IPSR_MSEL(IP7_11_8, SDA6_C, SEL_I2C6_2), |
| 947 | |
| 948 | PINMUX_IPSR_DATA(IP7_15_12, FSCLKST), |
| 949 | |
| 950 | PINMUX_IPSR_DATA(IP7_19_16, SD0_CLK), |
| 951 | PINMUX_IPSR_MSEL(IP7_19_16, MSIOF1_SCK_E, SEL_MSIOF1_4), |
| 952 | PINMUX_IPSR_MSEL(IP7_19_16, STP_OPWM_0_B, SEL_SSP1_0_1), |
| 953 | |
| 954 | PINMUX_IPSR_DATA(IP7_23_20, SD0_CMD), |
| 955 | PINMUX_IPSR_MSEL(IP7_23_20, MSIOF1_SYNC_E, SEL_MSIOF1_4), |
| 956 | PINMUX_IPSR_MSEL(IP7_23_20, STP_IVCXO27_0_B, SEL_SSP1_0_1), |
| 957 | |
| 958 | PINMUX_IPSR_DATA(IP7_27_24, SD0_DAT0), |
| 959 | PINMUX_IPSR_MSEL(IP7_27_24, MSIOF1_RXD_E, SEL_MSIOF1_4), |
| 960 | PINMUX_IPSR_MSEL(IP7_27_24, TS_SCK0_B, SEL_TSIF0_1), |
| 961 | PINMUX_IPSR_MSEL(IP7_27_24, STP_ISCLK_0_B, SEL_SSP1_0_1), |
| 962 | |
| 963 | PINMUX_IPSR_DATA(IP7_31_28, SD0_DAT1), |
| 964 | PINMUX_IPSR_MSEL(IP7_31_28, MSIOF1_TXD_E, SEL_MSIOF1_4), |
| 965 | PINMUX_IPSR_MSEL(IP7_31_28, TS_SPSYNC0_B, SEL_TSIF0_1), |
| 966 | PINMUX_IPSR_MSEL(IP7_31_28, STP_ISSYNC_0_B, SEL_SSP1_0_1), |
| 967 | |
| 968 | /* IPSR8 */ |
| 969 | PINMUX_IPSR_DATA(IP8_3_0, SD0_DAT2), |
| 970 | PINMUX_IPSR_MSEL(IP8_3_0, MSIOF1_SS1_E, SEL_MSIOF1_4), |
| 971 | PINMUX_IPSR_MSEL(IP8_3_0, TS_SDAT0_B, SEL_TSIF0_1), |
| 972 | PINMUX_IPSR_MSEL(IP8_3_0, STP_ISD_0_B, SEL_SSP1_0_1), |
| 973 | |
| 974 | PINMUX_IPSR_DATA(IP8_7_4, SD0_DAT3), |
| 975 | PINMUX_IPSR_MSEL(IP8_7_4, MSIOF1_SS2_E, SEL_MSIOF1_4), |
| 976 | PINMUX_IPSR_MSEL(IP8_7_4, TS_SDEN0_B, SEL_TSIF0_1), |
| 977 | PINMUX_IPSR_MSEL(IP8_7_4, STP_ISEN_0_B, SEL_SSP1_0_1), |
| 978 | |
| 979 | PINMUX_IPSR_DATA(IP8_11_8, SD1_CLK), |
| 980 | PINMUX_IPSR_MSEL(IP8_11_8, MSIOF1_SCK_G, SEL_MSIOF1_6), |
| 981 | PINMUX_IPSR_MSEL(IP8_11_8, SIM0_CLK_A, SEL_SIMCARD_0), |
| 982 | |
| 983 | PINMUX_IPSR_DATA(IP8_15_12, SD1_CMD), |
| 984 | PINMUX_IPSR_MSEL(IP8_15_12, MSIOF1_SYNC_G, SEL_MSIOF1_6), |
| 985 | PINMUX_IPSR_MSEL(IP8_15_12, SIM0_D_A, SEL_SIMCARD_0), |
| 986 | PINMUX_IPSR_MSEL(IP8_15_12, STP_IVCXO27_1_B, SEL_SSP1_1_1), |
| 987 | |
| 988 | PINMUX_IPSR_DATA(IP8_19_16, SD1_DAT0), |
| 989 | PINMUX_IPSR_DATA(IP8_19_16, SD2_DAT4), |
| 990 | PINMUX_IPSR_MSEL(IP8_19_16, MSIOF1_RXD_G, SEL_MSIOF1_6), |
| 991 | PINMUX_IPSR_MSEL(IP8_19_16, TS_SCK1_B, SEL_TSIF1_1), |
| 992 | PINMUX_IPSR_MSEL(IP8_19_16, STP_ISCLK_1_B, SEL_SSP1_1_1), |
| 993 | |
| 994 | PINMUX_IPSR_DATA(IP8_23_20, SD1_DAT1), |
| 995 | PINMUX_IPSR_DATA(IP8_23_20, SD2_DAT5), |
| 996 | PINMUX_IPSR_MSEL(IP8_23_20, MSIOF1_TXD_G, SEL_MSIOF1_6), |
| 997 | PINMUX_IPSR_MSEL(IP8_23_20, TS_SPSYNC1_B, SEL_TSIF1_1), |
| 998 | PINMUX_IPSR_MSEL(IP8_23_20, STP_ISSYNC_1_B, SEL_SSP1_1_1), |
| 999 | |
| 1000 | PINMUX_IPSR_DATA(IP8_27_24, SD1_DAT2), |
| 1001 | PINMUX_IPSR_DATA(IP8_27_24, SD2_DAT6), |
| 1002 | PINMUX_IPSR_MSEL(IP8_27_24, MSIOF1_SS1_G, SEL_MSIOF1_6), |
| 1003 | PINMUX_IPSR_MSEL(IP8_27_24, TS_SDAT1_B, SEL_TSIF1_1), |
| 1004 | PINMUX_IPSR_MSEL(IP8_27_24, STP_ISD_1_B, SEL_SSP1_1_1), |
| 1005 | |
| 1006 | PINMUX_IPSR_DATA(IP8_31_28, SD1_DAT3), |
| 1007 | PINMUX_IPSR_DATA(IP8_31_28, SD2_DAT7), |
| 1008 | PINMUX_IPSR_MSEL(IP8_31_28, MSIOF1_SS2_G, SEL_MSIOF1_6), |
| 1009 | PINMUX_IPSR_MSEL(IP8_31_28, TS_SDEN1_B, SEL_TSIF1_1), |
| 1010 | PINMUX_IPSR_MSEL(IP8_31_28, STP_ISEN_1_B, SEL_SSP1_1_1), |
| 1011 | |
| 1012 | /* IPSR9 */ |
| 1013 | PINMUX_IPSR_DATA(IP9_3_0, SD2_CLK), |
| 1014 | |
| 1015 | PINMUX_IPSR_DATA(IP9_7_4, SD2_DAT0), |
| 1016 | |
| 1017 | PINMUX_IPSR_DATA(IP9_11_8, SD2_DAT1), |
| 1018 | |
| 1019 | PINMUX_IPSR_DATA(IP9_15_12, SD2_DAT2), |
| 1020 | |
| 1021 | PINMUX_IPSR_DATA(IP9_19_16, SD2_DAT3), |
| 1022 | |
| 1023 | PINMUX_IPSR_DATA(IP9_23_20, SD2_DS), |
Geert Uytterhoeven | fd1aa74 | 2015-11-09 09:56:21 +0100 | [diff] [blame] | 1024 | PINMUX_IPSR_MSEL(IP9_23_20, SATA_DEVSLP_B, SEL_SATA_1), |
Takeshi Kihara | 0b0ffc9 | 2015-09-03 02:51:49 +0000 | [diff] [blame] | 1025 | |
| 1026 | PINMUX_IPSR_DATA(IP9_27_24, SD3_DAT4), |
| 1027 | PINMUX_IPSR_MSEL(IP9_27_24, SD2_CD_A, SEL_SDHI2_0), |
| 1028 | |
| 1029 | PINMUX_IPSR_DATA(IP9_31_28, SD3_DAT5), |
| 1030 | PINMUX_IPSR_MSEL(IP9_31_28, SD2_WP_A, SEL_SDHI2_0), |
| 1031 | |
| 1032 | /* IPSR10 */ |
| 1033 | PINMUX_IPSR_DATA(IP10_3_0, SD3_DAT6), |
| 1034 | PINMUX_IPSR_DATA(IP10_3_0, SD3_CD), |
| 1035 | |
| 1036 | PINMUX_IPSR_DATA(IP10_7_4, SD3_DAT7), |
| 1037 | PINMUX_IPSR_DATA(IP10_7_4, SD3_WP), |
| 1038 | |
| 1039 | PINMUX_IPSR_DATA(IP10_11_8, SD0_CD), |
| 1040 | PINMUX_IPSR_MSEL(IP10_11_8, SCL2_B, SEL_I2C2_1), |
| 1041 | PINMUX_IPSR_MSEL(IP10_11_8, SIM0_RST_A, SEL_SIMCARD_0), |
| 1042 | |
| 1043 | PINMUX_IPSR_DATA(IP10_15_12, SD0_WP), |
| 1044 | PINMUX_IPSR_MSEL(IP10_15_12, SDA2_B, SEL_I2C2_1), |
| 1045 | |
| 1046 | PINMUX_IPSR_DATA(IP10_19_16, SD1_CD), |
| 1047 | PINMUX_IPSR_MSEL(IP10_19_16, SIM0_CLK_B, SEL_SIMCARD_1), |
| 1048 | |
| 1049 | PINMUX_IPSR_DATA(IP10_23_20, SD1_WP), |
| 1050 | PINMUX_IPSR_MSEL(IP10_23_20, SIM0_D_B, SEL_SIMCARD_1), |
| 1051 | |
| 1052 | PINMUX_IPSR_DATA(IP10_27_24, SCK0), |
| 1053 | PINMUX_IPSR_MSEL(IP10_27_24, HSCK1_B, SEL_HSCIF1_1), |
| 1054 | PINMUX_IPSR_MSEL(IP10_27_24, MSIOF1_SS2_B, SEL_MSIOF1_1), |
| 1055 | PINMUX_IPSR_MSEL(IP10_27_24, AUDIO_CLKC_B, SEL_ADG_1), |
| 1056 | PINMUX_IPSR_MSEL(IP10_27_24, SDA2_A, SEL_I2C2_0), |
| 1057 | PINMUX_IPSR_MSEL(IP10_27_24, SIM0_RST_B, SEL_SIMCARD_1), |
| 1058 | PINMUX_IPSR_MSEL(IP10_27_24, STP_OPWM_0_C, SEL_SSP1_0_2), |
| 1059 | PINMUX_IPSR_MSEL(IP10_27_24, RIF0_CLK_B, SEL_DRIF0_1), |
| 1060 | PINMUX_IPSR_DATA(IP10_27_24, ADICHS2), |
| 1061 | |
| 1062 | PINMUX_IPSR_DATA(IP10_31_28, RX0), |
| 1063 | PINMUX_IPSR_MSEL(IP10_31_28, HRX1_B, SEL_HSCIF1_1), |
| 1064 | PINMUX_IPSR_MSEL(IP10_31_28, TS_SCK0_C, SEL_TSIF0_2), |
| 1065 | PINMUX_IPSR_MSEL(IP10_31_28, STP_ISCLK_0_C, SEL_SSP1_0_2), |
| 1066 | PINMUX_IPSR_MSEL(IP10_31_28, RIF0_D0_B, SEL_DRIF0_1), |
| 1067 | |
| 1068 | /* IPSR11 */ |
| 1069 | PINMUX_IPSR_DATA(IP11_3_0, TX0), |
| 1070 | PINMUX_IPSR_MSEL(IP11_3_0, HTX1_B, SEL_HSCIF1_1), |
| 1071 | PINMUX_IPSR_MSEL(IP11_3_0, TS_SPSYNC0_C, SEL_TSIF0_2), |
| 1072 | PINMUX_IPSR_MSEL(IP11_3_0, STP_ISSYNC_0_C, SEL_SSP1_0_2), |
| 1073 | PINMUX_IPSR_MSEL(IP11_3_0, RIF0_D1_B, SEL_DRIF0_1), |
| 1074 | |
| 1075 | PINMUX_IPSR_DATA(IP11_7_4, CTS0_N), |
| 1076 | PINMUX_IPSR_MSEL(IP11_7_4, HCTS1_N_B, SEL_HSCIF1_1), |
| 1077 | PINMUX_IPSR_MSEL(IP11_7_4, MSIOF1_SYNC_B, SEL_MSIOF1_1), |
| 1078 | PINMUX_IPSR_MSEL(IP11_7_4, TS_SPSYNC1_C, SEL_TSIF1_2), |
| 1079 | PINMUX_IPSR_MSEL(IP11_7_4, STP_ISSYNC_1_C, SEL_SSP1_1_2), |
| 1080 | PINMUX_IPSR_MSEL(IP11_7_4, RIF1_SYNC_B, SEL_DRIF1_1), |
| 1081 | PINMUX_IPSR_MSEL(IP11_7_4, AUDIO_CLKOUT_C, SEL_ADG_2), |
| 1082 | PINMUX_IPSR_DATA(IP11_7_4, ADICS_SAMP), |
| 1083 | |
| 1084 | PINMUX_IPSR_DATA(IP11_11_8, RTS0_N_TANS), |
| 1085 | PINMUX_IPSR_MSEL(IP11_11_8, HRTS1_N_B, SEL_HSCIF1_1), |
| 1086 | PINMUX_IPSR_MSEL(IP11_11_8, MSIOF1_SS1_B, SEL_MSIOF1_1), |
| 1087 | PINMUX_IPSR_MSEL(IP11_11_8, AUDIO_CLKA_B, SEL_ADG_1), |
| 1088 | PINMUX_IPSR_MSEL(IP11_11_8, SCL2_A, SEL_I2C2_0), |
| 1089 | PINMUX_IPSR_MSEL(IP11_11_8, STP_IVCXO27_1_C, SEL_SSP1_1_2), |
| 1090 | PINMUX_IPSR_MSEL(IP11_11_8, RIF0_SYNC_B, SEL_DRIF0_1), |
| 1091 | PINMUX_IPSR_DATA(IP11_11_8, ADICHS1), |
| 1092 | |
| 1093 | PINMUX_IPSR_MSEL(IP11_15_12, RX1_A, SEL_SCIF1_0), |
| 1094 | PINMUX_IPSR_MSEL(IP11_15_12, HRX1_A, SEL_HSCIF1_0), |
| 1095 | PINMUX_IPSR_MSEL(IP11_15_12, TS_SDAT0_C, SEL_TSIF0_2), |
| 1096 | PINMUX_IPSR_MSEL(IP11_15_12, STP_ISD_0_C, SEL_SSP1_0_2), |
| 1097 | PINMUX_IPSR_MSEL(IP11_15_12, RIF1_CLK_C, SEL_DRIF1_2), |
| 1098 | |
| 1099 | PINMUX_IPSR_MSEL(IP11_19_16, TX1_A, SEL_SCIF1_0), |
| 1100 | PINMUX_IPSR_MSEL(IP11_19_16, HTX1_A, SEL_HSCIF1_0), |
| 1101 | PINMUX_IPSR_MSEL(IP11_19_16, TS_SDEN0_C, SEL_TSIF0_2), |
| 1102 | PINMUX_IPSR_MSEL(IP11_19_16, STP_ISEN_0_C, SEL_SSP1_0_2), |
| 1103 | PINMUX_IPSR_MSEL(IP11_19_16, RIF1_D0_C, SEL_DRIF1_2), |
| 1104 | |
| 1105 | PINMUX_IPSR_DATA(IP11_23_20, CTS1_N), |
| 1106 | PINMUX_IPSR_MSEL(IP11_23_20, HCTS1_N_A, SEL_HSCIF1_0), |
| 1107 | PINMUX_IPSR_MSEL(IP11_23_20, MSIOF1_RXD_B, SEL_MSIOF1_1), |
| 1108 | PINMUX_IPSR_MSEL(IP11_23_20, TS_SDEN1_C, SEL_TSIF1_2), |
| 1109 | PINMUX_IPSR_MSEL(IP11_23_20, STP_ISEN_1_C, SEL_SSP1_1_2), |
| 1110 | PINMUX_IPSR_MSEL(IP11_23_20, RIF1_D0_B, SEL_DRIF1_1), |
| 1111 | PINMUX_IPSR_DATA(IP11_23_20, ADIDATA), |
| 1112 | |
| 1113 | PINMUX_IPSR_DATA(IP11_27_24, RTS1_N_TANS), |
| 1114 | PINMUX_IPSR_MSEL(IP11_27_24, HRTS1_N_A, SEL_HSCIF1_0), |
| 1115 | PINMUX_IPSR_MSEL(IP11_27_24, MSIOF1_TXD_B, SEL_MSIOF1_1), |
| 1116 | PINMUX_IPSR_MSEL(IP11_27_24, TS_SDAT1_C, SEL_TSIF1_2), |
| 1117 | PINMUX_IPSR_MSEL(IP11_27_24, STP_ISD_1_C, SEL_SSP1_1_2), |
| 1118 | PINMUX_IPSR_MSEL(IP11_27_24, RIF1_D1_B, SEL_DRIF1_1), |
| 1119 | PINMUX_IPSR_DATA(IP11_27_24, ADICHS0), |
| 1120 | |
| 1121 | PINMUX_IPSR_DATA(IP11_31_28, SCK2), |
| 1122 | PINMUX_IPSR_MSEL(IP11_31_28, SCIF_CLK_B, SEL_SCIF1_1), |
| 1123 | PINMUX_IPSR_MSEL(IP11_31_28, MSIOF1_SCK_B, SEL_MSIOF1_1), |
| 1124 | PINMUX_IPSR_MSEL(IP11_31_28, TS_SCK1_C, SEL_TSIF1_2), |
| 1125 | PINMUX_IPSR_MSEL(IP11_31_28, STP_ISCLK_1_C, SEL_SSP1_1_2), |
| 1126 | PINMUX_IPSR_MSEL(IP11_31_28, RIF1_CLK_B, SEL_DRIF1_1), |
| 1127 | PINMUX_IPSR_DATA(IP11_31_28, ADICLK), |
| 1128 | |
| 1129 | /* IPSR12 */ |
| 1130 | PINMUX_IPSR_MSEL(IP12_3_0, TX2_A, SEL_SCIF2_0), |
| 1131 | PINMUX_IPSR_MSEL(IP12_3_0, SD2_CD_B, SEL_SDHI2_1), |
| 1132 | PINMUX_IPSR_MSEL(IP12_3_0, SCL1_A, SEL_I2C1_0), |
| 1133 | PINMUX_IPSR_MSEL(IP12_3_0, FMCLK_A, SEL_FM_0), |
| 1134 | PINMUX_IPSR_MSEL(IP12_3_0, RIF1_D1_C, SEL_DRIF1_2), |
| 1135 | PINMUX_IPSR_MSEL(IP12_3_0, FSO_CFE_0_B, SEL_FSO_1), |
| 1136 | |
| 1137 | PINMUX_IPSR_MSEL(IP12_7_4, RX2_A, SEL_SCIF2_0), |
| 1138 | PINMUX_IPSR_MSEL(IP12_7_4, SD2_WP_B, SEL_SDHI2_1), |
| 1139 | PINMUX_IPSR_MSEL(IP12_7_4, SDA1_A, SEL_I2C1_0), |
| 1140 | PINMUX_IPSR_MSEL(IP12_7_4, FMIN_A, SEL_FM_0), |
| 1141 | PINMUX_IPSR_MSEL(IP12_7_4, RIF1_SYNC_C, SEL_DRIF1_2), |
| 1142 | PINMUX_IPSR_MSEL(IP12_7_4, FSO_CFE_1_B, SEL_FSO_1), |
| 1143 | |
| 1144 | PINMUX_IPSR_DATA(IP12_11_8, HSCK0), |
| 1145 | PINMUX_IPSR_MSEL(IP12_11_8, MSIOF1_SCK_D, SEL_MSIOF1_3), |
| 1146 | PINMUX_IPSR_MSEL(IP12_11_8, AUDIO_CLKB_A, SEL_ADG_0), |
| 1147 | PINMUX_IPSR_MSEL(IP12_11_8, SSI_SDATA1_B, SEL_SSI_1), |
| 1148 | PINMUX_IPSR_MSEL(IP12_11_8, TS_SCK0_D, SEL_TSIF0_3), |
| 1149 | PINMUX_IPSR_MSEL(IP12_11_8, STP_ISCLK_0_D, SEL_SSP1_0_3), |
| 1150 | PINMUX_IPSR_MSEL(IP12_11_8, RIF0_CLK_C, SEL_DRIF0_2), |
| 1151 | |
| 1152 | PINMUX_IPSR_DATA(IP12_15_12, HRX0), |
| 1153 | PINMUX_IPSR_MSEL(IP12_15_12, MSIOF1_RXD_D, SEL_MSIOF1_3), |
| 1154 | PINMUX_IPSR_MSEL(IP12_15_12, SSI_SDATA2_B, SEL_SSI_1), |
| 1155 | PINMUX_IPSR_MSEL(IP12_15_12, TS_SDEN0_D, SEL_TSIF0_3), |
| 1156 | PINMUX_IPSR_MSEL(IP12_15_12, STP_ISEN_0_D, SEL_SSP1_0_3), |
| 1157 | PINMUX_IPSR_MSEL(IP12_15_12, RIF0_D0_C, SEL_DRIF0_2), |
| 1158 | |
| 1159 | PINMUX_IPSR_DATA(IP12_19_16, HTX0), |
| 1160 | PINMUX_IPSR_MSEL(IP12_19_16, MSIOF1_TXD_D, SEL_MSIOF1_3), |
| 1161 | PINMUX_IPSR_MSEL(IP12_19_16, SSI_SDATA9_B, SEL_SSI_1), |
| 1162 | PINMUX_IPSR_MSEL(IP12_19_16, TS_SDAT0_D, SEL_TSIF0_3), |
| 1163 | PINMUX_IPSR_MSEL(IP12_19_16, STP_ISD_0_D, SEL_SSP1_0_3), |
| 1164 | PINMUX_IPSR_MSEL(IP12_19_16, RIF0_D1_C, SEL_DRIF0_2), |
| 1165 | |
| 1166 | PINMUX_IPSR_DATA(IP12_23_20, HCTS0_N), |
| 1167 | PINMUX_IPSR_MSEL(IP12_23_20, RX2_B, SEL_SCIF2_1), |
| 1168 | PINMUX_IPSR_MSEL(IP12_23_20, MSIOF1_SYNC_D, SEL_MSIOF1_3), |
| 1169 | PINMUX_IPSR_MSEL(IP12_23_20, SSI_SCK9_A, SEL_SSI_0), |
| 1170 | PINMUX_IPSR_MSEL(IP12_23_20, TS_SPSYNC0_D, SEL_TSIF0_3), |
| 1171 | PINMUX_IPSR_MSEL(IP12_23_20, STP_ISSYNC_0_D, SEL_SSP1_0_3), |
| 1172 | PINMUX_IPSR_MSEL(IP12_23_20, RIF0_SYNC_C, SEL_DRIF0_2), |
| 1173 | PINMUX_IPSR_MSEL(IP12_23_20, AUDIO_CLKOUT1_A, SEL_ADG_0), |
| 1174 | |
| 1175 | PINMUX_IPSR_DATA(IP12_27_24, HRTS0_N), |
| 1176 | PINMUX_IPSR_MSEL(IP12_27_24, TX2_B, SEL_SCIF2_1), |
| 1177 | PINMUX_IPSR_MSEL(IP12_27_24, MSIOF1_SS1_D, SEL_MSIOF1_3), |
| 1178 | PINMUX_IPSR_MSEL(IP12_27_24, SSI_WS9_A, SEL_SSI_0), |
| 1179 | PINMUX_IPSR_MSEL(IP12_27_24, STP_IVCXO27_0_D, SEL_SSP1_0_3), |
| 1180 | PINMUX_IPSR_MSEL(IP12_27_24, BPFCLK_A, SEL_FM_0), |
| 1181 | PINMUX_IPSR_MSEL(IP12_27_24, AUDIO_CLKOUT2_A, SEL_ADG_0), |
| 1182 | |
| 1183 | PINMUX_IPSR_DATA(IP12_31_28, MSIOF0_SYNC), |
| 1184 | PINMUX_IPSR_MSEL(IP12_31_28, AUDIO_CLKOUT_A, SEL_ADG_0), |
| 1185 | |
| 1186 | /* IPSR13 */ |
| 1187 | PINMUX_IPSR_DATA(IP13_3_0, MSIOF0_SS1), |
| 1188 | PINMUX_IPSR_DATA(IP13_3_0, RX5), |
| 1189 | PINMUX_IPSR_MSEL(IP13_3_0, AUDIO_CLKA_C, SEL_ADG_2), |
| 1190 | PINMUX_IPSR_MSEL(IP13_3_0, SSI_SCK2_A, SEL_SSI_0), |
| 1191 | PINMUX_IPSR_MSEL(IP13_3_0, STP_IVCXO27_0_C, SEL_SSP1_0_2), |
| 1192 | PINMUX_IPSR_MSEL(IP13_3_0, AUDIO_CLKOUT3_A, SEL_ADG_0), |
| 1193 | PINMUX_IPSR_MSEL(IP13_3_0, TCLK1_B, SEL_TIMER_TMU_1), |
| 1194 | |
| 1195 | PINMUX_IPSR_DATA(IP13_7_4, MSIOF0_SS2), |
| 1196 | PINMUX_IPSR_DATA(IP13_7_4, TX5), |
| 1197 | PINMUX_IPSR_MSEL(IP13_7_4, MSIOF1_SS2_D, SEL_MSIOF1_3), |
| 1198 | PINMUX_IPSR_MSEL(IP13_7_4, AUDIO_CLKC_A, SEL_ADG_0), |
| 1199 | PINMUX_IPSR_MSEL(IP13_7_4, SSI_WS2_A, SEL_SSI_0), |
| 1200 | PINMUX_IPSR_MSEL(IP13_7_4, STP_OPWM_0_D, SEL_SSP1_0_3), |
| 1201 | PINMUX_IPSR_MSEL(IP13_7_4, AUDIO_CLKOUT_D, SEL_ADG_3), |
| 1202 | PINMUX_IPSR_MSEL(IP13_7_4, SPEEDIN_B, SEL_SPEED_PULSE_1), |
| 1203 | |
| 1204 | PINMUX_IPSR_DATA(IP13_11_8, MLB_CLK), |
| 1205 | PINMUX_IPSR_MSEL(IP13_11_8, MSIOF1_SCK_F, SEL_MSIOF1_5), |
| 1206 | PINMUX_IPSR_MSEL(IP13_11_8, SCL1_B, SEL_I2C1_1), |
| 1207 | |
| 1208 | PINMUX_IPSR_DATA(IP13_15_12, MLB_SIG), |
| 1209 | PINMUX_IPSR_MSEL(IP13_15_12, RX1_B, SEL_SCIF1_1), |
| 1210 | PINMUX_IPSR_MSEL(IP13_15_12, MSIOF1_SYNC_F, SEL_MSIOF1_5), |
| 1211 | PINMUX_IPSR_MSEL(IP13_15_12, SDA1_B, SEL_I2C1_1), |
| 1212 | |
| 1213 | PINMUX_IPSR_DATA(IP13_19_16, MLB_DAT), |
| 1214 | PINMUX_IPSR_MSEL(IP13_19_16, TX1_B, SEL_SCIF1_1), |
| 1215 | PINMUX_IPSR_MSEL(IP13_19_16, MSIOF1_RXD_F, SEL_MSIOF1_5), |
| 1216 | |
| 1217 | PINMUX_IPSR_DATA(IP13_23_20, SSI_SCK0129), |
| 1218 | PINMUX_IPSR_MSEL(IP13_23_20, MSIOF1_TXD_F, SEL_MSIOF1_5), |
| 1219 | |
| 1220 | PINMUX_IPSR_DATA(IP13_27_24, SSI_WS0129), |
| 1221 | PINMUX_IPSR_MSEL(IP13_27_24, MSIOF1_SS1_F, SEL_MSIOF1_5), |
| 1222 | |
| 1223 | PINMUX_IPSR_DATA(IP13_31_28, SSI_SDATA0), |
| 1224 | PINMUX_IPSR_MSEL(IP13_31_28, MSIOF1_SS2_F, SEL_MSIOF1_5), |
| 1225 | |
| 1226 | /* IPSR14 */ |
| 1227 | PINMUX_IPSR_MSEL(IP14_3_0, SSI_SDATA1_A, SEL_SSI_0), |
| 1228 | |
| 1229 | PINMUX_IPSR_MSEL(IP14_7_4, SSI_SDATA2_A, SEL_SSI_0), |
| 1230 | PINMUX_IPSR_MSEL(IP14_7_4, SSI_SCK1_B, SEL_SSI_1), |
| 1231 | |
| 1232 | PINMUX_IPSR_DATA(IP14_11_8, SSI_SCK34), |
| 1233 | PINMUX_IPSR_MSEL(IP14_11_8, MSIOF1_SS1_A, SEL_MSIOF1_0), |
| 1234 | PINMUX_IPSR_MSEL(IP14_11_8, STP_OPWM_0_A, SEL_SSP1_0_0), |
| 1235 | |
| 1236 | PINMUX_IPSR_DATA(IP14_15_12, SSI_WS34), |
| 1237 | PINMUX_IPSR_MSEL(IP14_15_12, HCTS2_N_A, SEL_HSCIF2_0), |
| 1238 | PINMUX_IPSR_MSEL(IP14_15_12, MSIOF1_SS2_A, SEL_MSIOF1_0), |
| 1239 | PINMUX_IPSR_MSEL(IP14_15_12, STP_IVCXO27_0_A, SEL_SSP1_0_0), |
| 1240 | |
| 1241 | PINMUX_IPSR_DATA(IP14_19_16, SSI_SDATA3), |
| 1242 | PINMUX_IPSR_MSEL(IP14_19_16, HRTS2_N_A, SEL_HSCIF2_0), |
| 1243 | PINMUX_IPSR_MSEL(IP14_19_16, MSIOF1_TXD_A, SEL_MSIOF1_0), |
| 1244 | PINMUX_IPSR_MSEL(IP14_19_16, TS_SCK0_A, SEL_TSIF0_0), |
| 1245 | PINMUX_IPSR_MSEL(IP14_19_16, STP_ISCLK_0_A, SEL_SSP1_0_0), |
| 1246 | PINMUX_IPSR_MSEL(IP14_19_16, RIF0_D1_A, SEL_DRIF0_0), |
| 1247 | PINMUX_IPSR_MSEL(IP14_19_16, RIF2_D0_A, SEL_DRIF2_0), |
| 1248 | |
| 1249 | PINMUX_IPSR_DATA(IP14_23_20, SSI_SCK4), |
| 1250 | PINMUX_IPSR_MSEL(IP14_23_20, HRX2_A, SEL_HSCIF2_0), |
| 1251 | PINMUX_IPSR_MSEL(IP14_23_20, MSIOF1_SCK_A, SEL_MSIOF1_0), |
| 1252 | PINMUX_IPSR_MSEL(IP14_23_20, TS_SDAT0_A, SEL_TSIF0_0), |
| 1253 | PINMUX_IPSR_MSEL(IP14_23_20, STP_ISD_0_A, SEL_SSP1_0_0), |
| 1254 | PINMUX_IPSR_MSEL(IP14_23_20, RIF0_CLK_A, SEL_DRIF0_0), |
| 1255 | PINMUX_IPSR_MSEL(IP14_23_20, RIF2_CLK_A, SEL_DRIF2_0), |
| 1256 | |
| 1257 | PINMUX_IPSR_DATA(IP14_27_24, SSI_WS4), |
| 1258 | PINMUX_IPSR_MSEL(IP14_27_24, HTX2_A, SEL_HSCIF2_0), |
| 1259 | PINMUX_IPSR_MSEL(IP14_27_24, MSIOF1_SYNC_A, SEL_MSIOF1_0), |
| 1260 | PINMUX_IPSR_MSEL(IP14_27_24, TS_SDEN0_A, SEL_TSIF0_0), |
| 1261 | PINMUX_IPSR_MSEL(IP14_27_24, STP_ISEN_0_A, SEL_SSP1_0_0), |
| 1262 | PINMUX_IPSR_MSEL(IP14_27_24, RIF0_SYNC_A, SEL_DRIF0_0), |
| 1263 | PINMUX_IPSR_MSEL(IP14_27_24, RIF2_SYNC_A, SEL_DRIF2_0), |
| 1264 | |
| 1265 | PINMUX_IPSR_DATA(IP14_31_28, SSI_SDATA4), |
| 1266 | PINMUX_IPSR_MSEL(IP14_31_28, HSCK2_A, SEL_HSCIF2_0), |
| 1267 | PINMUX_IPSR_MSEL(IP14_31_28, MSIOF1_RXD_A, SEL_MSIOF1_0), |
| 1268 | PINMUX_IPSR_MSEL(IP14_31_28, TS_SPSYNC0_A, SEL_TSIF0_0), |
| 1269 | PINMUX_IPSR_MSEL(IP14_31_28, STP_ISSYNC_0_A, SEL_SSP1_0_0), |
| 1270 | PINMUX_IPSR_MSEL(IP14_31_28, RIF0_D0_A, SEL_DRIF0_0), |
| 1271 | PINMUX_IPSR_MSEL(IP14_31_28, RIF2_D1_A, SEL_DRIF2_0), |
| 1272 | |
| 1273 | /* IPSR15 */ |
| 1274 | PINMUX_IPSR_DATA(IP15_3_0, SSI_SCK6), |
| 1275 | PINMUX_IPSR_DATA(IP15_3_0, USB2_PWEN), |
| 1276 | PINMUX_IPSR_MSEL(IP15_3_0, SIM0_RST_D, SEL_SIMCARD_3), |
| 1277 | |
| 1278 | PINMUX_IPSR_DATA(IP15_7_4, SSI_WS6), |
| 1279 | PINMUX_IPSR_DATA(IP15_7_4, USB2_OVC), |
| 1280 | PINMUX_IPSR_MSEL(IP15_7_4, SIM0_D_D, SEL_SIMCARD_3), |
| 1281 | |
| 1282 | PINMUX_IPSR_DATA(IP15_11_8, SSI_SDATA6), |
| 1283 | PINMUX_IPSR_MSEL(IP15_11_8, SIM0_CLK_D, SEL_SIMCARD_3), |
Geert Uytterhoeven | fd1aa74 | 2015-11-09 09:56:21 +0100 | [diff] [blame] | 1284 | PINMUX_IPSR_MSEL(IP15_11_8, SATA_DEVSLP_A, SEL_SATA_0), |
Takeshi Kihara | 0b0ffc9 | 2015-09-03 02:51:49 +0000 | [diff] [blame] | 1285 | |
| 1286 | PINMUX_IPSR_DATA(IP15_15_12, SSI_SCK78), |
| 1287 | PINMUX_IPSR_MSEL(IP15_15_12, HRX2_B, SEL_HSCIF2_1), |
| 1288 | PINMUX_IPSR_MSEL(IP15_15_12, MSIOF1_SCK_C, SEL_MSIOF1_2), |
| 1289 | PINMUX_IPSR_MSEL(IP15_15_12, TS_SCK1_A, SEL_TSIF1_0), |
| 1290 | PINMUX_IPSR_MSEL(IP15_15_12, STP_ISCLK_1_A, SEL_SSP1_1_0), |
| 1291 | PINMUX_IPSR_MSEL(IP15_15_12, RIF1_CLK_A, SEL_DRIF1_0), |
| 1292 | PINMUX_IPSR_MSEL(IP15_15_12, RIF3_CLK_A, SEL_DRIF3_0), |
| 1293 | |
| 1294 | PINMUX_IPSR_DATA(IP15_19_16, SSI_WS78), |
| 1295 | PINMUX_IPSR_MSEL(IP15_19_16, HTX2_B, SEL_HSCIF2_1), |
| 1296 | PINMUX_IPSR_MSEL(IP15_19_16, MSIOF1_SYNC_C, SEL_MSIOF1_2), |
| 1297 | PINMUX_IPSR_MSEL(IP15_19_16, TS_SDAT1_A, SEL_TSIF1_0), |
| 1298 | PINMUX_IPSR_MSEL(IP15_19_16, STP_ISD_1_A, SEL_SSP1_1_0), |
| 1299 | PINMUX_IPSR_MSEL(IP15_19_16, RIF1_SYNC_A, SEL_DRIF1_0), |
| 1300 | PINMUX_IPSR_MSEL(IP15_19_16, RIF3_SYNC_A, SEL_DRIF3_0), |
| 1301 | |
| 1302 | PINMUX_IPSR_DATA(IP15_23_20, SSI_SDATA7), |
| 1303 | PINMUX_IPSR_MSEL(IP15_23_20, HCTS2_N_B, SEL_HSCIF2_1), |
| 1304 | PINMUX_IPSR_MSEL(IP15_23_20, MSIOF1_RXD_C, SEL_MSIOF1_2), |
| 1305 | PINMUX_IPSR_MSEL(IP15_23_20, TS_SDEN1_A, SEL_TSIF1_0), |
| 1306 | PINMUX_IPSR_MSEL(IP15_23_20, STP_ISEN_1_A, SEL_SSP1_1_0), |
| 1307 | PINMUX_IPSR_MSEL(IP15_23_20, RIF1_D0_A, SEL_DRIF1_0), |
| 1308 | PINMUX_IPSR_MSEL(IP15_23_20, RIF3_D0_A, SEL_DRIF3_0), |
| 1309 | PINMUX_IPSR_MSEL(IP15_23_20, TCLK2_A, SEL_TIMER_TMU_0), |
| 1310 | |
| 1311 | PINMUX_IPSR_DATA(IP15_27_24, SSI_SDATA8), |
| 1312 | PINMUX_IPSR_MSEL(IP15_27_24, HRTS2_N_B, SEL_HSCIF2_1), |
| 1313 | PINMUX_IPSR_MSEL(IP15_27_24, MSIOF1_TXD_C, SEL_MSIOF1_2), |
| 1314 | PINMUX_IPSR_MSEL(IP15_27_24, TS_SPSYNC1_A, SEL_TSIF1_0), |
| 1315 | PINMUX_IPSR_MSEL(IP15_27_24, STP_ISSYNC_1_A, SEL_SSP1_1_0), |
| 1316 | PINMUX_IPSR_MSEL(IP15_27_24, RIF1_D1_A, SEL_DRIF1_0), |
| 1317 | PINMUX_IPSR_MSEL(IP15_27_24, RIF3_D1_A, SEL_DRIF3_0), |
| 1318 | |
| 1319 | PINMUX_IPSR_MSEL(IP15_31_28, SSI_SDATA9_A, SEL_SSI_0), |
| 1320 | PINMUX_IPSR_MSEL(IP15_31_28, HSCK2_B, SEL_HSCIF2_1), |
| 1321 | PINMUX_IPSR_MSEL(IP15_31_28, MSIOF1_SS1_C, SEL_MSIOF1_2), |
| 1322 | PINMUX_IPSR_MSEL(IP15_31_28, HSCK1_A, SEL_HSCIF1_0), |
| 1323 | PINMUX_IPSR_MSEL(IP15_31_28, SSI_WS1_B, SEL_SSI_1), |
| 1324 | PINMUX_IPSR_DATA(IP15_31_28, SCK1), |
| 1325 | PINMUX_IPSR_MSEL(IP15_31_28, STP_IVCXO27_1_A, SEL_SSP1_1_0), |
| 1326 | PINMUX_IPSR_DATA(IP15_31_28, SCK5), |
| 1327 | |
| 1328 | /* IPSR16 */ |
| 1329 | PINMUX_IPSR_MSEL(IP16_3_0, AUDIO_CLKA_A, SEL_ADG_0), |
| 1330 | PINMUX_IPSR_DATA(IP16_3_0, CC5_OSCOUT), |
| 1331 | |
| 1332 | PINMUX_IPSR_MSEL(IP16_7_4, AUDIO_CLKB_B, SEL_ADG_1), |
| 1333 | PINMUX_IPSR_MSEL(IP16_7_4, SCIF_CLK_A, SEL_SCIF1_0), |
| 1334 | PINMUX_IPSR_MSEL(IP16_7_4, STP_IVCXO27_1_D, SEL_SSP1_1_3), |
| 1335 | PINMUX_IPSR_MSEL(IP16_7_4, REMOCON_A, SEL_REMOCON_0), |
| 1336 | PINMUX_IPSR_MSEL(IP16_7_4, TCLK1_A, SEL_TIMER_TMU_0), |
| 1337 | |
| 1338 | PINMUX_IPSR_DATA(IP16_11_8, USB0_PWEN), |
| 1339 | PINMUX_IPSR_MSEL(IP16_11_8, SIM0_RST_C, SEL_SIMCARD_2), |
| 1340 | PINMUX_IPSR_MSEL(IP16_11_8, TS_SCK1_D, SEL_TSIF1_3), |
| 1341 | PINMUX_IPSR_MSEL(IP16_11_8, STP_ISCLK_1_D, SEL_SSP1_1_3), |
| 1342 | PINMUX_IPSR_MSEL(IP16_11_8, BPFCLK_B, SEL_FM_1), |
| 1343 | PINMUX_IPSR_MSEL(IP16_11_8, RIF3_CLK_B, SEL_DRIF3_1), |
| 1344 | |
| 1345 | PINMUX_IPSR_DATA(IP16_15_12, USB0_OVC), |
| 1346 | PINMUX_IPSR_MSEL(IP16_11_8, SIM0_D_C, SEL_SIMCARD_2), |
| 1347 | PINMUX_IPSR_MSEL(IP16_11_8, TS_SDAT1_D, SEL_TSIF1_3), |
| 1348 | PINMUX_IPSR_MSEL(IP16_11_8, STP_ISD_1_D, SEL_SSP1_1_3), |
| 1349 | PINMUX_IPSR_MSEL(IP16_11_8, RIF3_SYNC_B, SEL_DRIF3_1), |
| 1350 | |
| 1351 | PINMUX_IPSR_DATA(IP16_19_16, USB1_PWEN), |
| 1352 | PINMUX_IPSR_MSEL(IP16_19_16, SIM0_CLK_C, SEL_SIMCARD_2), |
| 1353 | PINMUX_IPSR_MSEL(IP16_19_16, SSI_SCK1_A, SEL_SSI_0), |
| 1354 | PINMUX_IPSR_MSEL(IP16_19_16, TS_SCK0_E, SEL_TSIF0_4), |
| 1355 | PINMUX_IPSR_MSEL(IP16_19_16, STP_ISCLK_0_E, SEL_SSP1_0_4), |
| 1356 | PINMUX_IPSR_MSEL(IP16_19_16, FMCLK_B, SEL_FM_1), |
| 1357 | PINMUX_IPSR_MSEL(IP16_19_16, RIF2_CLK_B, SEL_DRIF2_1), |
| 1358 | PINMUX_IPSR_MSEL(IP16_19_16, SPEEDIN_A, SEL_SPEED_PULSE_0), |
| 1359 | |
| 1360 | PINMUX_IPSR_DATA(IP16_23_20, USB1_OVC), |
| 1361 | PINMUX_IPSR_MSEL(IP16_23_20, MSIOF1_SS2_C, SEL_MSIOF1_2), |
| 1362 | PINMUX_IPSR_MSEL(IP16_23_20, SSI_WS1_A, SEL_SSI_0), |
| 1363 | PINMUX_IPSR_MSEL(IP16_23_20, TS_SDAT0_E, SEL_TSIF0_4), |
| 1364 | PINMUX_IPSR_MSEL(IP16_23_20, STP_ISD_0_E, SEL_SSP1_0_4), |
| 1365 | PINMUX_IPSR_MSEL(IP16_23_20, FMIN_B, SEL_FM_1), |
| 1366 | PINMUX_IPSR_MSEL(IP16_23_20, RIF2_SYNC_B, SEL_DRIF2_1), |
| 1367 | PINMUX_IPSR_MSEL(IP16_23_20, REMOCON_B, SEL_REMOCON_1), |
| 1368 | |
| 1369 | PINMUX_IPSR_DATA(IP16_27_24, USB30_PWEN), |
| 1370 | PINMUX_IPSR_MSEL(IP16_27_24, AUDIO_CLKOUT_B, SEL_ADG_1), |
| 1371 | PINMUX_IPSR_MSEL(IP16_27_24, SSI_SCK2_B, SEL_SSI_1), |
| 1372 | PINMUX_IPSR_MSEL(IP16_27_24, TS_SDEN1_D, SEL_TSIF1_3), |
| 1373 | PINMUX_IPSR_MSEL(IP16_27_24, STP_ISEN_1_D, SEL_SSP1_1_2), |
| 1374 | PINMUX_IPSR_MSEL(IP16_27_24, STP_OPWM_0_E, SEL_SSP1_0_4), |
| 1375 | PINMUX_IPSR_MSEL(IP16_27_24, RIF3_D0_B, SEL_DRIF3_1), |
| 1376 | PINMUX_IPSR_MSEL(IP16_27_24, TCLK2_B, SEL_TIMER_TMU_1), |
| 1377 | PINMUX_IPSR_DATA(IP16_27_24, TPU0TO0), |
| 1378 | |
| 1379 | PINMUX_IPSR_DATA(IP16_31_28, USB30_OVC), |
| 1380 | PINMUX_IPSR_MSEL(IP16_31_28, AUDIO_CLKOUT1_B, SEL_ADG_1), |
| 1381 | PINMUX_IPSR_MSEL(IP16_31_28, SSI_WS2_B, SEL_SSI_1), |
| 1382 | PINMUX_IPSR_MSEL(IP16_31_28, TS_SPSYNC1_D, SEL_TSIF1_3), |
| 1383 | PINMUX_IPSR_MSEL(IP16_31_28, STP_ISSYNC_1_D, SEL_SSP1_1_3), |
| 1384 | PINMUX_IPSR_MSEL(IP16_31_28, STP_IVCXO27_0_E, SEL_SSP1_0_4), |
| 1385 | PINMUX_IPSR_MSEL(IP16_31_28, RIF3_D1_B, SEL_DRIF3_1), |
| 1386 | PINMUX_IPSR_MSEL(IP16_31_28, FSO_TOE_B, SEL_FSO_1), |
| 1387 | PINMUX_IPSR_DATA(IP16_31_28, TPU0TO1), |
| 1388 | |
| 1389 | /* IPSR17 */ |
| 1390 | PINMUX_IPSR_DATA(IP17_3_0, USB31_PWEN), |
| 1391 | PINMUX_IPSR_MSEL(IP17_3_0, AUDIO_CLKOUT2_B, SEL_ADG_1), |
| 1392 | PINMUX_IPSR_MSEL(IP17_3_0, SSI_SCK9_B, SEL_SSI_1), |
| 1393 | PINMUX_IPSR_MSEL(IP17_3_0, TS_SDEN0_E, SEL_TSIF0_4), |
| 1394 | PINMUX_IPSR_MSEL(IP17_3_0, STP_ISEN_0_E, SEL_SSP1_0_4), |
| 1395 | PINMUX_IPSR_MSEL(IP17_3_0, RIF2_D0_B, SEL_DRIF2_1), |
| 1396 | PINMUX_IPSR_DATA(IP17_3_0, TPU0TO2), |
| 1397 | |
| 1398 | PINMUX_IPSR_DATA(IP17_7_4, USB31_OVC), |
| 1399 | PINMUX_IPSR_MSEL(IP17_7_4, AUDIO_CLKOUT3_B, SEL_ADG_1), |
| 1400 | PINMUX_IPSR_MSEL(IP17_7_4, SSI_WS9_B, SEL_SSI_1), |
| 1401 | PINMUX_IPSR_MSEL(IP17_7_4, TS_SPSYNC0_E, SEL_TSIF0_4), |
| 1402 | PINMUX_IPSR_MSEL(IP17_7_4, STP_ISSYNC_0_E, SEL_SSP1_0_4), |
| 1403 | PINMUX_IPSR_MSEL(IP17_7_4, RIF2_D1_B, SEL_DRIF2_1), |
| 1404 | PINMUX_IPSR_DATA(IP17_7_4, TPU0TO3), |
| 1405 | |
| 1406 | /* I2C */ |
| 1407 | PINMUX_IPSR_NOGP(0, I2C_SEL_0_1), |
| 1408 | PINMUX_IPSR_NOGP(0, I2C_SEL_3_1), |
| 1409 | PINMUX_IPSR_NOGP(0, I2C_SEL_5_1), |
| 1410 | }; |
| 1411 | |
| 1412 | static const struct sh_pfc_pin pinmux_pins[] = { |
| 1413 | PINMUX_GPIO_GP_ALL(), |
| 1414 | }; |
| 1415 | |
Kuninori Morimoto | c33a7fe | 2015-09-18 01:54:02 +0000 | [diff] [blame] | 1416 | /* - AUDIO CLOCK ------------------------------------------------------------ */ |
| 1417 | static const unsigned int audio_clk_a_a_pins[] = { |
| 1418 | /* CLK A */ |
| 1419 | RCAR_GP_PIN(6, 22), |
| 1420 | }; |
| 1421 | static const unsigned int audio_clk_a_a_mux[] = { |
| 1422 | AUDIO_CLKA_A_MARK, |
| 1423 | }; |
| 1424 | static const unsigned int audio_clk_a_b_pins[] = { |
| 1425 | /* CLK A */ |
| 1426 | RCAR_GP_PIN(5, 4), |
| 1427 | }; |
| 1428 | static const unsigned int audio_clk_a_b_mux[] = { |
| 1429 | AUDIO_CLKA_B_MARK, |
| 1430 | }; |
| 1431 | static const unsigned int audio_clk_a_c_pins[] = { |
| 1432 | /* CLK A */ |
| 1433 | RCAR_GP_PIN(5, 19), |
| 1434 | }; |
| 1435 | static const unsigned int audio_clk_a_c_mux[] = { |
| 1436 | AUDIO_CLKA_C_MARK, |
| 1437 | }; |
| 1438 | static const unsigned int audio_clk_b_a_pins[] = { |
| 1439 | /* CLK B */ |
| 1440 | RCAR_GP_PIN(5, 12), |
| 1441 | }; |
| 1442 | static const unsigned int audio_clk_b_a_mux[] = { |
| 1443 | AUDIO_CLKB_A_MARK, |
| 1444 | }; |
| 1445 | static const unsigned int audio_clk_b_b_pins[] = { |
| 1446 | /* CLK B */ |
| 1447 | RCAR_GP_PIN(6, 23), |
| 1448 | }; |
| 1449 | static const unsigned int audio_clk_b_b_mux[] = { |
| 1450 | AUDIO_CLKB_B_MARK, |
| 1451 | }; |
| 1452 | static const unsigned int audio_clk_c_a_pins[] = { |
| 1453 | /* CLK C */ |
| 1454 | RCAR_GP_PIN(5, 21), |
| 1455 | }; |
| 1456 | static const unsigned int audio_clk_c_a_mux[] = { |
| 1457 | AUDIO_CLKC_A_MARK, |
| 1458 | }; |
| 1459 | static const unsigned int audio_clk_c_b_pins[] = { |
| 1460 | /* CLK C */ |
| 1461 | RCAR_GP_PIN(5, 0), |
| 1462 | }; |
| 1463 | static const unsigned int audio_clk_c_b_mux[] = { |
| 1464 | AUDIO_CLKC_B_MARK, |
| 1465 | }; |
| 1466 | static const unsigned int audio_clkout_a_pins[] = { |
| 1467 | /* CLKOUT */ |
| 1468 | RCAR_GP_PIN(5, 18), |
| 1469 | }; |
| 1470 | static const unsigned int audio_clkout_a_mux[] = { |
| 1471 | AUDIO_CLKOUT_A_MARK, |
| 1472 | }; |
| 1473 | static const unsigned int audio_clkout_b_pins[] = { |
| 1474 | /* CLKOUT */ |
| 1475 | RCAR_GP_PIN(6, 28), |
| 1476 | }; |
| 1477 | static const unsigned int audio_clkout_b_mux[] = { |
| 1478 | AUDIO_CLKOUT_B_MARK, |
| 1479 | }; |
| 1480 | static const unsigned int audio_clkout_c_pins[] = { |
| 1481 | /* CLKOUT */ |
| 1482 | RCAR_GP_PIN(5, 3), |
| 1483 | }; |
| 1484 | static const unsigned int audio_clkout_c_mux[] = { |
| 1485 | AUDIO_CLKOUT_C_MARK, |
| 1486 | }; |
| 1487 | static const unsigned int audio_clkout_d_pins[] = { |
| 1488 | /* CLKOUT */ |
| 1489 | RCAR_GP_PIN(5, 21), |
| 1490 | }; |
| 1491 | static const unsigned int audio_clkout_d_mux[] = { |
| 1492 | AUDIO_CLKOUT_D_MARK, |
| 1493 | }; |
| 1494 | static const unsigned int audio_clkout1_a_pins[] = { |
| 1495 | /* CLKOUT1 */ |
| 1496 | RCAR_GP_PIN(5, 15), |
| 1497 | }; |
| 1498 | static const unsigned int audio_clkout1_a_mux[] = { |
| 1499 | AUDIO_CLKOUT1_A_MARK, |
| 1500 | }; |
| 1501 | static const unsigned int audio_clkout1_b_pins[] = { |
| 1502 | /* CLKOUT1 */ |
| 1503 | RCAR_GP_PIN(6, 29), |
| 1504 | }; |
| 1505 | static const unsigned int audio_clkout1_b_mux[] = { |
| 1506 | AUDIO_CLKOUT1_B_MARK, |
| 1507 | }; |
| 1508 | static const unsigned int audio_clkout2_a_pins[] = { |
| 1509 | /* CLKOUT2 */ |
| 1510 | RCAR_GP_PIN(5, 16), |
| 1511 | }; |
| 1512 | static const unsigned int audio_clkout2_a_mux[] = { |
| 1513 | AUDIO_CLKOUT2_A_MARK, |
| 1514 | }; |
| 1515 | static const unsigned int audio_clkout2_b_pins[] = { |
| 1516 | /* CLKOUT2 */ |
| 1517 | RCAR_GP_PIN(6, 30), |
| 1518 | }; |
| 1519 | static const unsigned int audio_clkout2_b_mux[] = { |
| 1520 | AUDIO_CLKOUT2_B_MARK, |
| 1521 | }; |
| 1522 | |
| 1523 | static const unsigned int audio_clkout3_a_pins[] = { |
| 1524 | /* CLKOUT3 */ |
| 1525 | RCAR_GP_PIN(5, 19), |
| 1526 | }; |
| 1527 | static const unsigned int audio_clkout3_a_mux[] = { |
| 1528 | AUDIO_CLKOUT3_A_MARK, |
| 1529 | }; |
| 1530 | static const unsigned int audio_clkout3_b_pins[] = { |
| 1531 | /* CLKOUT3 */ |
| 1532 | RCAR_GP_PIN(6, 31), |
| 1533 | }; |
| 1534 | static const unsigned int audio_clkout3_b_mux[] = { |
| 1535 | AUDIO_CLKOUT3_B_MARK, |
| 1536 | }; |
| 1537 | |
Takeshi Kihara | 819fd4b | 2015-09-15 14:49:15 +0900 | [diff] [blame] | 1538 | /* - EtherAVB --------------------------------------------------------------- */ |
| 1539 | static const unsigned int avb_link_pins[] = { |
| 1540 | /* AVB_LINK */ |
| 1541 | RCAR_GP_PIN(2, 12), |
| 1542 | }; |
| 1543 | static const unsigned int avb_link_mux[] = { |
| 1544 | AVB_LINK_MARK, |
| 1545 | }; |
| 1546 | static const unsigned int avb_magic_pins[] = { |
| 1547 | /* AVB_MAGIC_ */ |
| 1548 | RCAR_GP_PIN(2, 10), |
| 1549 | }; |
| 1550 | static const unsigned int avb_magic_mux[] = { |
| 1551 | AVB_MAGIC_MARK, |
| 1552 | }; |
| 1553 | static const unsigned int avb_phy_int_pins[] = { |
| 1554 | /* AVB_PHY_INT */ |
| 1555 | RCAR_GP_PIN(2, 11), |
| 1556 | }; |
| 1557 | static const unsigned int avb_phy_int_mux[] = { |
| 1558 | AVB_PHY_INT_MARK, |
| 1559 | }; |
| 1560 | static const unsigned int avb_mdc_pins[] = { |
| 1561 | /* AVB_MDC */ |
| 1562 | RCAR_GP_PIN(2, 9), |
| 1563 | }; |
| 1564 | static const unsigned int avb_mdc_mux[] = { |
| 1565 | AVB_MDC_MARK, |
| 1566 | }; |
| 1567 | static const unsigned int avb_avtp_pps_pins[] = { |
| 1568 | /* AVB_AVTP_PPS */ |
| 1569 | RCAR_GP_PIN(2, 6), |
| 1570 | }; |
| 1571 | static const unsigned int avb_avtp_pps_mux[] = { |
| 1572 | AVB_AVTP_PPS_MARK, |
| 1573 | }; |
| 1574 | static const unsigned int avb_avtp_match_a_pins[] = { |
| 1575 | /* AVB_AVTP_MATCH_A */ |
| 1576 | RCAR_GP_PIN(2, 13), |
| 1577 | }; |
| 1578 | static const unsigned int avb_avtp_match_a_mux[] = { |
| 1579 | AVB_AVTP_MATCH_A_MARK, |
| 1580 | }; |
| 1581 | static const unsigned int avb_avtp_capture_a_pins[] = { |
| 1582 | /* AVB_AVTP_CAPTURE_A */ |
| 1583 | RCAR_GP_PIN(2, 14), |
| 1584 | }; |
| 1585 | static const unsigned int avb_avtp_capture_a_mux[] = { |
| 1586 | AVB_AVTP_CAPTURE_A_MARK, |
| 1587 | }; |
| 1588 | static const unsigned int avb_avtp_match_b_pins[] = { |
| 1589 | /* AVB_AVTP_MATCH_B */ |
| 1590 | RCAR_GP_PIN(1, 8), |
| 1591 | }; |
| 1592 | static const unsigned int avb_avtp_match_b_mux[] = { |
| 1593 | AVB_AVTP_MATCH_B_MARK, |
| 1594 | }; |
| 1595 | static const unsigned int avb_avtp_capture_b_pins[] = { |
| 1596 | /* AVB_AVTP_CAPTURE_B */ |
| 1597 | RCAR_GP_PIN(1, 11), |
| 1598 | }; |
| 1599 | static const unsigned int avb_avtp_capture_b_mux[] = { |
| 1600 | AVB_AVTP_CAPTURE_B_MARK, |
| 1601 | }; |
| 1602 | |
Geert Uytterhoeven | a56069c4 | 2015-08-26 19:35:58 +0200 | [diff] [blame] | 1603 | /* - HSCIF0 ----------------------------------------------------------------- */ |
| 1604 | static const unsigned int hscif0_data_pins[] = { |
| 1605 | /* RX, TX */ |
| 1606 | RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 14), |
| 1607 | }; |
| 1608 | static const unsigned int hscif0_data_mux[] = { |
| 1609 | HRX0_MARK, HTX0_MARK, |
| 1610 | }; |
| 1611 | static const unsigned int hscif0_clk_pins[] = { |
| 1612 | /* SCK */ |
| 1613 | RCAR_GP_PIN(5, 12), |
| 1614 | }; |
| 1615 | static const unsigned int hscif0_clk_mux[] = { |
| 1616 | HSCK0_MARK, |
| 1617 | }; |
| 1618 | static const unsigned int hscif0_ctrl_pins[] = { |
| 1619 | /* RTS, CTS */ |
| 1620 | RCAR_GP_PIN(5, 16), RCAR_GP_PIN(5, 15), |
| 1621 | }; |
| 1622 | static const unsigned int hscif0_ctrl_mux[] = { |
| 1623 | HRTS0_N_MARK, HCTS0_N_MARK, |
| 1624 | }; |
| 1625 | /* - HSCIF1 ----------------------------------------------------------------- */ |
| 1626 | static const unsigned int hscif1_data_a_pins[] = { |
| 1627 | /* RX, TX */ |
| 1628 | RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 6), |
| 1629 | }; |
| 1630 | static const unsigned int hscif1_data_a_mux[] = { |
| 1631 | HRX1_A_MARK, HTX1_A_MARK, |
| 1632 | }; |
| 1633 | static const unsigned int hscif1_clk_a_pins[] = { |
| 1634 | /* SCK */ |
| 1635 | RCAR_GP_PIN(6, 21), |
| 1636 | }; |
| 1637 | static const unsigned int hscif1_clk_a_mux[] = { |
| 1638 | HSCK1_A_MARK, |
| 1639 | }; |
| 1640 | static const unsigned int hscif1_ctrl_a_pins[] = { |
| 1641 | /* RTS, CTS */ |
| 1642 | RCAR_GP_PIN(5, 8), RCAR_GP_PIN(5, 7), |
| 1643 | }; |
| 1644 | static const unsigned int hscif1_ctrl_a_mux[] = { |
| 1645 | HRTS1_N_A_MARK, HCTS1_N_A_MARK, |
| 1646 | }; |
| 1647 | |
| 1648 | static const unsigned int hscif1_data_b_pins[] = { |
| 1649 | /* RX, TX */ |
| 1650 | RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 2), |
| 1651 | }; |
| 1652 | static const unsigned int hscif1_data_b_mux[] = { |
| 1653 | HRX1_B_MARK, HTX1_B_MARK, |
| 1654 | }; |
| 1655 | static const unsigned int hscif1_clk_b_pins[] = { |
| 1656 | /* SCK */ |
| 1657 | RCAR_GP_PIN(5, 0), |
| 1658 | }; |
| 1659 | static const unsigned int hscif1_clk_b_mux[] = { |
| 1660 | HSCK1_B_MARK, |
| 1661 | }; |
| 1662 | static const unsigned int hscif1_ctrl_b_pins[] = { |
| 1663 | /* RTS, CTS */ |
| 1664 | RCAR_GP_PIN(5, 4), RCAR_GP_PIN(5, 3), |
| 1665 | }; |
| 1666 | static const unsigned int hscif1_ctrl_b_mux[] = { |
| 1667 | HRTS1_N_B_MARK, HCTS1_N_B_MARK, |
| 1668 | }; |
| 1669 | /* - HSCIF2 ----------------------------------------------------------------- */ |
| 1670 | static const unsigned int hscif2_data_a_pins[] = { |
| 1671 | /* RX, TX */ |
| 1672 | RCAR_GP_PIN(6, 8), RCAR_GP_PIN(6, 9), |
| 1673 | }; |
| 1674 | static const unsigned int hscif2_data_a_mux[] = { |
| 1675 | HRX2_A_MARK, HTX2_A_MARK, |
| 1676 | }; |
| 1677 | static const unsigned int hscif2_clk_a_pins[] = { |
| 1678 | /* SCK */ |
| 1679 | RCAR_GP_PIN(6, 10), |
| 1680 | }; |
| 1681 | static const unsigned int hscif2_clk_a_mux[] = { |
| 1682 | HSCK2_A_MARK, |
| 1683 | }; |
| 1684 | static const unsigned int hscif2_ctrl_a_pins[] = { |
| 1685 | /* RTS, CTS */ |
| 1686 | RCAR_GP_PIN(6, 7), RCAR_GP_PIN(6, 6), |
| 1687 | }; |
| 1688 | static const unsigned int hscif2_ctrl_a_mux[] = { |
| 1689 | HRTS2_N_A_MARK, HCTS2_N_A_MARK, |
| 1690 | }; |
| 1691 | |
| 1692 | static const unsigned int hscif2_data_b_pins[] = { |
| 1693 | /* RX, TX */ |
| 1694 | RCAR_GP_PIN(6, 17), RCAR_GP_PIN(6, 18), |
| 1695 | }; |
| 1696 | static const unsigned int hscif2_data_b_mux[] = { |
| 1697 | HRX2_B_MARK, HTX2_B_MARK, |
| 1698 | }; |
| 1699 | static const unsigned int hscif2_clk_b_pins[] = { |
| 1700 | /* SCK */ |
| 1701 | RCAR_GP_PIN(6, 21), |
| 1702 | }; |
| 1703 | static const unsigned int hscif2_clk_b_mux[] = { |
| 1704 | HSCK1_B_MARK, |
| 1705 | }; |
| 1706 | static const unsigned int hscif2_ctrl_b_pins[] = { |
| 1707 | /* RTS, CTS */ |
| 1708 | RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 19), |
| 1709 | }; |
| 1710 | static const unsigned int hscif2_ctrl_b_mux[] = { |
| 1711 | HRTS2_N_B_MARK, HCTS2_N_B_MARK, |
| 1712 | }; |
| 1713 | /* - HSCIF3 ----------------------------------------------------------------- */ |
| 1714 | static const unsigned int hscif3_data_a_pins[] = { |
| 1715 | /* RX, TX */ |
| 1716 | RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 24), |
| 1717 | }; |
| 1718 | static const unsigned int hscif3_data_a_mux[] = { |
| 1719 | HRX3_A_MARK, HTX3_A_MARK, |
| 1720 | }; |
| 1721 | static const unsigned int hscif3_clk_pins[] = { |
| 1722 | /* SCK */ |
| 1723 | RCAR_GP_PIN(1, 22), |
| 1724 | }; |
| 1725 | static const unsigned int hscif3_clk_mux[] = { |
| 1726 | HSCK3_MARK, |
| 1727 | }; |
| 1728 | static const unsigned int hscif3_ctrl_pins[] = { |
| 1729 | /* RTS, CTS */ |
| 1730 | RCAR_GP_PIN(1, 26), RCAR_GP_PIN(1, 25), |
| 1731 | }; |
| 1732 | static const unsigned int hscif3_ctrl_mux[] = { |
| 1733 | HRTS3_N_MARK, HCTS3_N_MARK, |
| 1734 | }; |
| 1735 | |
| 1736 | static const unsigned int hscif3_data_b_pins[] = { |
| 1737 | /* RX, TX */ |
| 1738 | RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 11), |
| 1739 | }; |
| 1740 | static const unsigned int hscif3_data_b_mux[] = { |
| 1741 | HRX3_B_MARK, HTX3_B_MARK, |
| 1742 | }; |
| 1743 | static const unsigned int hscif3_data_c_pins[] = { |
| 1744 | /* RX, TX */ |
| 1745 | RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15), |
| 1746 | }; |
| 1747 | static const unsigned int hscif3_data_c_mux[] = { |
| 1748 | HRX3_C_MARK, HTX3_C_MARK, |
| 1749 | }; |
| 1750 | static const unsigned int hscif3_data_d_pins[] = { |
| 1751 | /* RX, TX */ |
| 1752 | RCAR_GP_PIN(2, 7), RCAR_GP_PIN(2, 8), |
| 1753 | }; |
| 1754 | static const unsigned int hscif3_data_d_mux[] = { |
| 1755 | HRX3_D_MARK, HTX3_D_MARK, |
| 1756 | }; |
| 1757 | /* - HSCIF4 ----------------------------------------------------------------- */ |
| 1758 | static const unsigned int hscif4_data_a_pins[] = { |
| 1759 | /* RX, TX */ |
| 1760 | RCAR_GP_PIN(1, 12), RCAR_GP_PIN(1, 13), |
| 1761 | }; |
| 1762 | static const unsigned int hscif4_data_a_mux[] = { |
| 1763 | HRX4_A_MARK, HTX4_A_MARK, |
| 1764 | }; |
| 1765 | static const unsigned int hscif4_clk_pins[] = { |
| 1766 | /* SCK */ |
| 1767 | RCAR_GP_PIN(1, 11), |
| 1768 | }; |
| 1769 | static const unsigned int hscif4_clk_mux[] = { |
| 1770 | HSCK4_MARK, |
| 1771 | }; |
| 1772 | static const unsigned int hscif4_ctrl_pins[] = { |
| 1773 | /* RTS, CTS */ |
| 1774 | RCAR_GP_PIN(1, 15), RCAR_GP_PIN(1, 14), |
| 1775 | }; |
| 1776 | static const unsigned int hscif4_ctrl_mux[] = { |
| 1777 | HRTS4_N_MARK, HCTS3_N_MARK, |
| 1778 | }; |
| 1779 | |
| 1780 | static const unsigned int hscif4_data_b_pins[] = { |
| 1781 | /* RX, TX */ |
| 1782 | RCAR_GP_PIN(1, 8), RCAR_GP_PIN(1, 11), |
| 1783 | }; |
| 1784 | static const unsigned int hscif4_data_b_mux[] = { |
| 1785 | HRX4_B_MARK, HTX4_B_MARK, |
| 1786 | }; |
| 1787 | |
Kuninori Morimoto | 2544ef7 | 2015-09-18 01:53:33 +0000 | [diff] [blame] | 1788 | /* - I2C -------------------------------------------------------------------- */ |
| 1789 | static const unsigned int i2c1_a_pins[] = { |
| 1790 | /* SDA, SCL */ |
| 1791 | RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 10), |
| 1792 | }; |
| 1793 | static const unsigned int i2c1_a_mux[] = { |
| 1794 | SDA1_A_MARK, SCL1_A_MARK, |
| 1795 | }; |
| 1796 | static const unsigned int i2c1_b_pins[] = { |
| 1797 | /* SDA, SCL */ |
| 1798 | RCAR_GP_PIN(5, 24), RCAR_GP_PIN(5, 23), |
| 1799 | }; |
| 1800 | static const unsigned int i2c1_b_mux[] = { |
| 1801 | SDA1_B_MARK, SCL1_B_MARK, |
| 1802 | }; |
| 1803 | static const unsigned int i2c2_a_pins[] = { |
| 1804 | /* SDA, SCL */ |
| 1805 | RCAR_GP_PIN(5, 0), RCAR_GP_PIN(5, 4), |
| 1806 | }; |
| 1807 | static const unsigned int i2c2_a_mux[] = { |
| 1808 | SDA2_A_MARK, SCL2_A_MARK, |
| 1809 | }; |
| 1810 | static const unsigned int i2c2_b_pins[] = { |
| 1811 | /* SDA, SCL */ |
| 1812 | RCAR_GP_PIN(3, 13), RCAR_GP_PIN(3, 12), |
| 1813 | }; |
| 1814 | static const unsigned int i2c2_b_mux[] = { |
| 1815 | SDA2_B_MARK, SCL2_B_MARK, |
| 1816 | }; |
| 1817 | static const unsigned int i2c6_a_pins[] = { |
| 1818 | /* SDA, SCL */ |
| 1819 | RCAR_GP_PIN(1, 8), RCAR_GP_PIN(1, 11), |
| 1820 | }; |
| 1821 | static const unsigned int i2c6_a_mux[] = { |
| 1822 | SDA6_A_MARK, SCL6_A_MARK, |
| 1823 | }; |
| 1824 | static const unsigned int i2c6_b_pins[] = { |
| 1825 | /* SDA, SCL */ |
| 1826 | RCAR_GP_PIN(1, 26), RCAR_GP_PIN(1, 25), |
| 1827 | }; |
| 1828 | static const unsigned int i2c6_b_mux[] = { |
| 1829 | SDA6_B_MARK, SCL6_B_MARK, |
| 1830 | }; |
| 1831 | static const unsigned int i2c6_c_pins[] = { |
| 1832 | /* SDA, SCL */ |
| 1833 | RCAR_GP_PIN(0, 15), RCAR_GP_PIN(0, 14), |
| 1834 | }; |
| 1835 | static const unsigned int i2c6_c_mux[] = { |
| 1836 | SDA6_C_MARK, SCL6_C_MARK, |
| 1837 | }; |
| 1838 | |
Geert Uytterhoeven | e7419b8 | 2015-09-02 16:51:54 +0200 | [diff] [blame] | 1839 | /* - MSIOF0 ----------------------------------------------------------------- */ |
| 1840 | static const unsigned int msiof0_clk_pins[] = { |
| 1841 | /* SCK */ |
| 1842 | RCAR_GP_PIN(5, 17), |
| 1843 | }; |
| 1844 | static const unsigned int msiof0_clk_mux[] = { |
| 1845 | MSIOF0_SCK_MARK, |
| 1846 | }; |
| 1847 | static const unsigned int msiof0_sync_pins[] = { |
| 1848 | /* SYNC */ |
| 1849 | RCAR_GP_PIN(5, 18), |
| 1850 | }; |
| 1851 | static const unsigned int msiof0_sync_mux[] = { |
| 1852 | MSIOF0_SYNC_MARK, |
| 1853 | }; |
| 1854 | static const unsigned int msiof0_ss1_pins[] = { |
| 1855 | /* SS1 */ |
| 1856 | RCAR_GP_PIN(5, 19), |
| 1857 | }; |
| 1858 | static const unsigned int msiof0_ss1_mux[] = { |
| 1859 | MSIOF0_SS1_MARK, |
| 1860 | }; |
| 1861 | static const unsigned int msiof0_ss2_pins[] = { |
| 1862 | /* SS2 */ |
| 1863 | RCAR_GP_PIN(5, 21), |
| 1864 | }; |
| 1865 | static const unsigned int msiof0_ss2_mux[] = { |
| 1866 | MSIOF0_SS2_MARK, |
| 1867 | }; |
| 1868 | static const unsigned int msiof0_txd_pins[] = { |
| 1869 | /* TXD */ |
| 1870 | RCAR_GP_PIN(5, 20), |
| 1871 | }; |
| 1872 | static const unsigned int msiof0_txd_mux[] = { |
| 1873 | MSIOF0_TXD_MARK, |
| 1874 | }; |
| 1875 | static const unsigned int msiof0_rxd_pins[] = { |
| 1876 | /* RXD */ |
| 1877 | RCAR_GP_PIN(5, 22), |
| 1878 | }; |
| 1879 | static const unsigned int msiof0_rxd_mux[] = { |
| 1880 | MSIOF0_RXD_MARK, |
| 1881 | }; |
| 1882 | /* - MSIOF1 ----------------------------------------------------------------- */ |
| 1883 | static const unsigned int msiof1_clk_a_pins[] = { |
| 1884 | /* SCK */ |
| 1885 | RCAR_GP_PIN(6, 8), |
| 1886 | }; |
| 1887 | static const unsigned int msiof1_clk_a_mux[] = { |
| 1888 | MSIOF1_SCK_A_MARK, |
| 1889 | }; |
| 1890 | static const unsigned int msiof1_sync_a_pins[] = { |
| 1891 | /* SYNC */ |
| 1892 | RCAR_GP_PIN(6, 9), |
| 1893 | }; |
| 1894 | static const unsigned int msiof1_sync_a_mux[] = { |
| 1895 | MSIOF1_SYNC_A_MARK, |
| 1896 | }; |
| 1897 | static const unsigned int msiof1_ss1_a_pins[] = { |
| 1898 | /* SS1 */ |
| 1899 | RCAR_GP_PIN(6, 5), |
| 1900 | }; |
| 1901 | static const unsigned int msiof1_ss1_a_mux[] = { |
| 1902 | MSIOF1_SS1_A_MARK, |
| 1903 | }; |
| 1904 | static const unsigned int msiof1_ss2_a_pins[] = { |
| 1905 | /* SS2 */ |
| 1906 | RCAR_GP_PIN(6, 6), |
| 1907 | }; |
| 1908 | static const unsigned int msiof1_ss2_a_mux[] = { |
| 1909 | MSIOF1_SS2_A_MARK, |
| 1910 | }; |
| 1911 | static const unsigned int msiof1_txd_a_pins[] = { |
| 1912 | /* TXD */ |
| 1913 | RCAR_GP_PIN(6, 7), |
| 1914 | }; |
| 1915 | static const unsigned int msiof1_txd_a_mux[] = { |
| 1916 | MSIOF1_TXD_A_MARK, |
| 1917 | }; |
| 1918 | static const unsigned int msiof1_rxd_a_pins[] = { |
| 1919 | /* RXD */ |
| 1920 | RCAR_GP_PIN(6, 10), |
| 1921 | }; |
| 1922 | static const unsigned int msiof1_rxd_a_mux[] = { |
| 1923 | MSIOF1_RXD_A_MARK, |
| 1924 | }; |
| 1925 | static const unsigned int msiof1_clk_b_pins[] = { |
| 1926 | /* SCK */ |
| 1927 | RCAR_GP_PIN(5, 9), |
| 1928 | }; |
| 1929 | static const unsigned int msiof1_clk_b_mux[] = { |
| 1930 | MSIOF1_SCK_B_MARK, |
| 1931 | }; |
| 1932 | static const unsigned int msiof1_sync_b_pins[] = { |
| 1933 | /* SYNC */ |
| 1934 | RCAR_GP_PIN(5, 3), |
| 1935 | }; |
| 1936 | static const unsigned int msiof1_sync_b_mux[] = { |
| 1937 | MSIOF1_SYNC_B_MARK, |
| 1938 | }; |
| 1939 | static const unsigned int msiof1_ss1_b_pins[] = { |
| 1940 | /* SS1 */ |
| 1941 | RCAR_GP_PIN(5, 4), |
| 1942 | }; |
| 1943 | static const unsigned int msiof1_ss1_b_mux[] = { |
| 1944 | MSIOF1_SS1_B_MARK, |
| 1945 | }; |
| 1946 | static const unsigned int msiof1_ss2_b_pins[] = { |
| 1947 | /* SS2 */ |
| 1948 | RCAR_GP_PIN(5, 0), |
| 1949 | }; |
| 1950 | static const unsigned int msiof1_ss2_b_mux[] = { |
| 1951 | MSIOF1_SS2_B_MARK, |
| 1952 | }; |
| 1953 | static const unsigned int msiof1_txd_b_pins[] = { |
| 1954 | /* TXD */ |
| 1955 | RCAR_GP_PIN(5, 8), |
| 1956 | }; |
| 1957 | static const unsigned int msiof1_txd_b_mux[] = { |
| 1958 | MSIOF1_TXD_B_MARK, |
| 1959 | }; |
| 1960 | static const unsigned int msiof1_rxd_b_pins[] = { |
| 1961 | /* RXD */ |
| 1962 | RCAR_GP_PIN(5, 7), |
| 1963 | }; |
| 1964 | static const unsigned int msiof1_rxd_b_mux[] = { |
| 1965 | MSIOF1_RXD_B_MARK, |
| 1966 | }; |
| 1967 | static const unsigned int msiof1_clk_c_pins[] = { |
| 1968 | /* SCK */ |
| 1969 | RCAR_GP_PIN(6, 17), |
| 1970 | }; |
| 1971 | static const unsigned int msiof1_clk_c_mux[] = { |
| 1972 | MSIOF1_SCK_C_MARK, |
| 1973 | }; |
| 1974 | static const unsigned int msiof1_sync_c_pins[] = { |
| 1975 | /* SYNC */ |
| 1976 | RCAR_GP_PIN(6, 18), |
| 1977 | }; |
| 1978 | static const unsigned int msiof1_sync_c_mux[] = { |
| 1979 | MSIOF1_SYNC_C_MARK, |
| 1980 | }; |
| 1981 | static const unsigned int msiof1_ss1_c_pins[] = { |
| 1982 | /* SS1 */ |
| 1983 | RCAR_GP_PIN(6, 21), |
| 1984 | }; |
| 1985 | static const unsigned int msiof1_ss1_c_mux[] = { |
| 1986 | MSIOF1_SS1_C_MARK, |
| 1987 | }; |
| 1988 | static const unsigned int msiof1_ss2_c_pins[] = { |
| 1989 | /* SS2 */ |
| 1990 | RCAR_GP_PIN(6, 27), |
| 1991 | }; |
| 1992 | static const unsigned int msiof1_ss2_c_mux[] = { |
| 1993 | MSIOF1_SS2_C_MARK, |
| 1994 | }; |
| 1995 | static const unsigned int msiof1_txd_c_pins[] = { |
| 1996 | /* TXD */ |
| 1997 | RCAR_GP_PIN(6, 20), |
| 1998 | }; |
| 1999 | static const unsigned int msiof1_txd_c_mux[] = { |
| 2000 | MSIOF1_TXD_C_MARK, |
| 2001 | }; |
| 2002 | static const unsigned int msiof1_rxd_c_pins[] = { |
| 2003 | /* RXD */ |
| 2004 | RCAR_GP_PIN(6, 19), |
| 2005 | }; |
| 2006 | static const unsigned int msiof1_rxd_c_mux[] = { |
| 2007 | MSIOF1_RXD_C_MARK, |
| 2008 | }; |
| 2009 | static const unsigned int msiof1_clk_d_pins[] = { |
| 2010 | /* SCK */ |
| 2011 | RCAR_GP_PIN(5, 12), |
| 2012 | }; |
| 2013 | static const unsigned int msiof1_clk_d_mux[] = { |
| 2014 | MSIOF1_SCK_D_MARK, |
| 2015 | }; |
| 2016 | static const unsigned int msiof1_sync_d_pins[] = { |
| 2017 | /* SYNC */ |
| 2018 | RCAR_GP_PIN(5, 15), |
| 2019 | }; |
| 2020 | static const unsigned int msiof1_sync_d_mux[] = { |
| 2021 | MSIOF1_SYNC_D_MARK, |
| 2022 | }; |
| 2023 | static const unsigned int msiof1_ss1_d_pins[] = { |
| 2024 | /* SS1 */ |
| 2025 | RCAR_GP_PIN(5, 16), |
| 2026 | }; |
| 2027 | static const unsigned int msiof1_ss1_d_mux[] = { |
| 2028 | MSIOF1_SS1_D_MARK, |
| 2029 | }; |
| 2030 | static const unsigned int msiof1_ss2_d_pins[] = { |
| 2031 | /* SS2 */ |
| 2032 | RCAR_GP_PIN(5, 21), |
| 2033 | }; |
| 2034 | static const unsigned int msiof1_ss2_d_mux[] = { |
| 2035 | MSIOF1_SS2_D_MARK, |
| 2036 | }; |
| 2037 | static const unsigned int msiof1_txd_d_pins[] = { |
| 2038 | /* TXD */ |
| 2039 | RCAR_GP_PIN(5, 14), |
| 2040 | }; |
| 2041 | static const unsigned int msiof1_txd_d_mux[] = { |
| 2042 | MSIOF1_TXD_D_MARK, |
| 2043 | }; |
| 2044 | static const unsigned int msiof1_rxd_d_pins[] = { |
| 2045 | /* RXD */ |
| 2046 | RCAR_GP_PIN(5, 13), |
| 2047 | }; |
| 2048 | static const unsigned int msiof1_rxd_d_mux[] = { |
| 2049 | MSIOF1_RXD_D_MARK, |
| 2050 | }; |
| 2051 | static const unsigned int msiof1_clk_e_pins[] = { |
| 2052 | /* SCK */ |
| 2053 | RCAR_GP_PIN(3, 0), |
| 2054 | }; |
| 2055 | static const unsigned int msiof1_clk_e_mux[] = { |
| 2056 | MSIOF1_SCK_E_MARK, |
| 2057 | }; |
| 2058 | static const unsigned int msiof1_sync_e_pins[] = { |
| 2059 | /* SYNC */ |
| 2060 | RCAR_GP_PIN(3, 1), |
| 2061 | }; |
| 2062 | static const unsigned int msiof1_sync_e_mux[] = { |
| 2063 | MSIOF1_SYNC_E_MARK, |
| 2064 | }; |
| 2065 | static const unsigned int msiof1_ss1_e_pins[] = { |
| 2066 | /* SS1 */ |
| 2067 | RCAR_GP_PIN(3, 4), |
| 2068 | }; |
| 2069 | static const unsigned int msiof1_ss1_e_mux[] = { |
| 2070 | MSIOF1_SS1_E_MARK, |
| 2071 | }; |
| 2072 | static const unsigned int msiof1_ss2_e_pins[] = { |
| 2073 | /* SS2 */ |
| 2074 | RCAR_GP_PIN(3, 5), |
| 2075 | }; |
| 2076 | static const unsigned int msiof1_ss2_e_mux[] = { |
| 2077 | MSIOF1_SS2_E_MARK, |
| 2078 | }; |
| 2079 | static const unsigned int msiof1_txd_e_pins[] = { |
| 2080 | /* TXD */ |
| 2081 | RCAR_GP_PIN(3, 3), |
| 2082 | }; |
| 2083 | static const unsigned int msiof1_txd_e_mux[] = { |
| 2084 | MSIOF1_TXD_E_MARK, |
| 2085 | }; |
| 2086 | static const unsigned int msiof1_rxd_e_pins[] = { |
| 2087 | /* RXD */ |
| 2088 | RCAR_GP_PIN(3, 2), |
| 2089 | }; |
| 2090 | static const unsigned int msiof1_rxd_e_mux[] = { |
| 2091 | MSIOF1_RXD_E_MARK, |
| 2092 | }; |
| 2093 | static const unsigned int msiof1_clk_f_pins[] = { |
| 2094 | /* SCK */ |
| 2095 | RCAR_GP_PIN(5, 23), |
| 2096 | }; |
| 2097 | static const unsigned int msiof1_clk_f_mux[] = { |
| 2098 | MSIOF1_SCK_F_MARK, |
| 2099 | }; |
| 2100 | static const unsigned int msiof1_sync_f_pins[] = { |
| 2101 | /* SYNC */ |
| 2102 | RCAR_GP_PIN(5, 24), |
| 2103 | }; |
| 2104 | static const unsigned int msiof1_sync_f_mux[] = { |
| 2105 | MSIOF1_SYNC_F_MARK, |
| 2106 | }; |
| 2107 | static const unsigned int msiof1_ss1_f_pins[] = { |
| 2108 | /* SS1 */ |
| 2109 | RCAR_GP_PIN(6, 1), |
| 2110 | }; |
| 2111 | static const unsigned int msiof1_ss1_f_mux[] = { |
| 2112 | MSIOF1_SS1_F_MARK, |
| 2113 | }; |
| 2114 | static const unsigned int msiof1_ss2_f_pins[] = { |
| 2115 | /* SS2 */ |
| 2116 | RCAR_GP_PIN(6, 2), |
| 2117 | }; |
| 2118 | static const unsigned int msiof1_ss2_f_mux[] = { |
| 2119 | MSIOF1_SS2_F_MARK, |
| 2120 | }; |
| 2121 | static const unsigned int msiof1_txd_f_pins[] = { |
| 2122 | /* TXD */ |
| 2123 | RCAR_GP_PIN(6, 0), |
| 2124 | }; |
| 2125 | static const unsigned int msiof1_txd_f_mux[] = { |
| 2126 | MSIOF1_TXD_F_MARK, |
| 2127 | }; |
| 2128 | static const unsigned int msiof1_rxd_f_pins[] = { |
| 2129 | /* RXD */ |
| 2130 | RCAR_GP_PIN(5, 25), |
| 2131 | }; |
| 2132 | static const unsigned int msiof1_rxd_f_mux[] = { |
| 2133 | MSIOF1_RXD_F_MARK, |
| 2134 | }; |
| 2135 | static const unsigned int msiof1_clk_g_pins[] = { |
| 2136 | /* SCK */ |
| 2137 | RCAR_GP_PIN(3, 6), |
| 2138 | }; |
| 2139 | static const unsigned int msiof1_clk_g_mux[] = { |
| 2140 | MSIOF1_SCK_G_MARK, |
| 2141 | }; |
| 2142 | static const unsigned int msiof1_sync_g_pins[] = { |
| 2143 | /* SYNC */ |
| 2144 | RCAR_GP_PIN(3, 7), |
| 2145 | }; |
| 2146 | static const unsigned int msiof1_sync_g_mux[] = { |
| 2147 | MSIOF1_SYNC_G_MARK, |
| 2148 | }; |
| 2149 | static const unsigned int msiof1_ss1_g_pins[] = { |
| 2150 | /* SS1 */ |
| 2151 | RCAR_GP_PIN(3, 10), |
| 2152 | }; |
| 2153 | static const unsigned int msiof1_ss1_g_mux[] = { |
| 2154 | MSIOF1_SS1_G_MARK, |
| 2155 | }; |
| 2156 | static const unsigned int msiof1_ss2_g_pins[] = { |
| 2157 | /* SS2 */ |
| 2158 | RCAR_GP_PIN(3, 11), |
| 2159 | }; |
| 2160 | static const unsigned int msiof1_ss2_g_mux[] = { |
| 2161 | MSIOF1_SS2_G_MARK, |
| 2162 | }; |
| 2163 | static const unsigned int msiof1_txd_g_pins[] = { |
| 2164 | /* TXD */ |
| 2165 | RCAR_GP_PIN(3, 9), |
| 2166 | }; |
| 2167 | static const unsigned int msiof1_txd_g_mux[] = { |
| 2168 | MSIOF1_TXD_G_MARK, |
| 2169 | }; |
| 2170 | static const unsigned int msiof1_rxd_g_pins[] = { |
| 2171 | /* RXD */ |
| 2172 | RCAR_GP_PIN(3, 8), |
| 2173 | }; |
| 2174 | static const unsigned int msiof1_rxd_g_mux[] = { |
| 2175 | MSIOF1_RXD_G_MARK, |
| 2176 | }; |
| 2177 | /* - MSIOF2 ----------------------------------------------------------------- */ |
| 2178 | static const unsigned int msiof2_clk_a_pins[] = { |
| 2179 | /* SCK */ |
| 2180 | RCAR_GP_PIN(1, 9), |
| 2181 | }; |
| 2182 | static const unsigned int msiof2_clk_a_mux[] = { |
| 2183 | MSIOF2_SCK_A_MARK, |
| 2184 | }; |
| 2185 | static const unsigned int msiof2_sync_a_pins[] = { |
| 2186 | /* SYNC */ |
| 2187 | RCAR_GP_PIN(1, 8), |
| 2188 | }; |
| 2189 | static const unsigned int msiof2_sync_a_mux[] = { |
| 2190 | MSIOF2_SYNC_A_MARK, |
| 2191 | }; |
| 2192 | static const unsigned int msiof2_ss1_a_pins[] = { |
| 2193 | /* SS1 */ |
| 2194 | RCAR_GP_PIN(1, 6), |
| 2195 | }; |
| 2196 | static const unsigned int msiof2_ss1_a_mux[] = { |
| 2197 | MSIOF2_SS1_A_MARK, |
| 2198 | }; |
| 2199 | static const unsigned int msiof2_ss2_a_pins[] = { |
| 2200 | /* SS2 */ |
| 2201 | RCAR_GP_PIN(1, 7), |
| 2202 | }; |
| 2203 | static const unsigned int msiof2_ss2_a_mux[] = { |
| 2204 | MSIOF2_SS2_A_MARK, |
| 2205 | }; |
| 2206 | static const unsigned int msiof2_txd_a_pins[] = { |
| 2207 | /* TXD */ |
| 2208 | RCAR_GP_PIN(1, 11), |
| 2209 | }; |
| 2210 | static const unsigned int msiof2_txd_a_mux[] = { |
| 2211 | MSIOF2_TXD_A_MARK, |
| 2212 | }; |
| 2213 | static const unsigned int msiof2_rxd_a_pins[] = { |
| 2214 | /* RXD */ |
| 2215 | RCAR_GP_PIN(1, 10), |
| 2216 | }; |
| 2217 | static const unsigned int msiof2_rxd_a_mux[] = { |
| 2218 | MSIOF2_RXD_A_MARK, |
| 2219 | }; |
| 2220 | static const unsigned int msiof2_clk_b_pins[] = { |
| 2221 | /* SCK */ |
| 2222 | RCAR_GP_PIN(0, 4), |
| 2223 | }; |
| 2224 | static const unsigned int msiof2_clk_b_mux[] = { |
| 2225 | MSIOF2_SCK_B_MARK, |
| 2226 | }; |
| 2227 | static const unsigned int msiof2_sync_b_pins[] = { |
| 2228 | /* SYNC */ |
| 2229 | RCAR_GP_PIN(0, 5), |
| 2230 | }; |
| 2231 | static const unsigned int msiof2_sync_b_mux[] = { |
| 2232 | MSIOF2_SYNC_B_MARK, |
| 2233 | }; |
| 2234 | static const unsigned int msiof2_ss1_b_pins[] = { |
| 2235 | /* SS1 */ |
| 2236 | RCAR_GP_PIN(0, 0), |
| 2237 | }; |
| 2238 | static const unsigned int msiof2_ss1_b_mux[] = { |
| 2239 | MSIOF2_SS1_B_MARK, |
| 2240 | }; |
| 2241 | static const unsigned int msiof2_ss2_b_pins[] = { |
| 2242 | /* SS2 */ |
| 2243 | RCAR_GP_PIN(0, 1), |
| 2244 | }; |
| 2245 | static const unsigned int msiof2_ss2_b_mux[] = { |
| 2246 | MSIOF2_SS2_B_MARK, |
| 2247 | }; |
| 2248 | static const unsigned int msiof2_txd_b_pins[] = { |
| 2249 | /* TXD */ |
| 2250 | RCAR_GP_PIN(0, 7), |
| 2251 | }; |
| 2252 | static const unsigned int msiof2_txd_b_mux[] = { |
| 2253 | MSIOF2_TXD_B_MARK, |
| 2254 | }; |
| 2255 | static const unsigned int msiof2_rxd_b_pins[] = { |
| 2256 | /* RXD */ |
| 2257 | RCAR_GP_PIN(0, 6), |
| 2258 | }; |
| 2259 | static const unsigned int msiof2_rxd_b_mux[] = { |
| 2260 | MSIOF2_RXD_B_MARK, |
| 2261 | }; |
| 2262 | static const unsigned int msiof2_clk_c_pins[] = { |
| 2263 | /* SCK */ |
| 2264 | RCAR_GP_PIN(2, 12), |
| 2265 | }; |
| 2266 | static const unsigned int msiof2_clk_c_mux[] = { |
| 2267 | MSIOF2_SCK_C_MARK, |
| 2268 | }; |
| 2269 | static const unsigned int msiof2_sync_c_pins[] = { |
| 2270 | /* SYNC */ |
| 2271 | RCAR_GP_PIN(2, 11), |
| 2272 | }; |
| 2273 | static const unsigned int msiof2_sync_c_mux[] = { |
| 2274 | MSIOF2_SYNC_C_MARK, |
| 2275 | }; |
| 2276 | static const unsigned int msiof2_ss1_c_pins[] = { |
| 2277 | /* SS1 */ |
| 2278 | RCAR_GP_PIN(2, 10), |
| 2279 | }; |
| 2280 | static const unsigned int msiof2_ss1_c_mux[] = { |
| 2281 | MSIOF2_SS1_C_MARK, |
| 2282 | }; |
| 2283 | static const unsigned int msiof2_ss2_c_pins[] = { |
| 2284 | /* SS2 */ |
| 2285 | RCAR_GP_PIN(2, 9), |
| 2286 | }; |
| 2287 | static const unsigned int msiof2_ss2_c_mux[] = { |
| 2288 | MSIOF2_SS2_C_MARK, |
| 2289 | }; |
| 2290 | static const unsigned int msiof2_txd_c_pins[] = { |
| 2291 | /* TXD */ |
| 2292 | RCAR_GP_PIN(2, 14), |
| 2293 | }; |
| 2294 | static const unsigned int msiof2_txd_c_mux[] = { |
| 2295 | MSIOF2_TXD_C_MARK, |
| 2296 | }; |
| 2297 | static const unsigned int msiof2_rxd_c_pins[] = { |
| 2298 | /* RXD */ |
| 2299 | RCAR_GP_PIN(2, 13), |
| 2300 | }; |
| 2301 | static const unsigned int msiof2_rxd_c_mux[] = { |
| 2302 | MSIOF2_RXD_C_MARK, |
| 2303 | }; |
| 2304 | static const unsigned int msiof2_clk_d_pins[] = { |
| 2305 | /* SCK */ |
| 2306 | RCAR_GP_PIN(0, 8), |
| 2307 | }; |
| 2308 | static const unsigned int msiof2_clk_d_mux[] = { |
| 2309 | MSIOF2_SCK_D_MARK, |
| 2310 | }; |
| 2311 | static const unsigned int msiof2_sync_d_pins[] = { |
| 2312 | /* SYNC */ |
| 2313 | RCAR_GP_PIN(0, 9), |
| 2314 | }; |
| 2315 | static const unsigned int msiof2_sync_d_mux[] = { |
| 2316 | MSIOF2_SYNC_D_MARK, |
| 2317 | }; |
| 2318 | static const unsigned int msiof2_ss1_d_pins[] = { |
| 2319 | /* SS1 */ |
| 2320 | RCAR_GP_PIN(0, 12), |
| 2321 | }; |
| 2322 | static const unsigned int msiof2_ss1_d_mux[] = { |
| 2323 | MSIOF2_SS1_D_MARK, |
| 2324 | }; |
| 2325 | static const unsigned int msiof2_ss2_d_pins[] = { |
| 2326 | /* SS2 */ |
| 2327 | RCAR_GP_PIN(0, 13), |
| 2328 | }; |
| 2329 | static const unsigned int msiof2_ss2_d_mux[] = { |
| 2330 | MSIOF2_SS2_D_MARK, |
| 2331 | }; |
| 2332 | static const unsigned int msiof2_txd_d_pins[] = { |
| 2333 | /* TXD */ |
| 2334 | RCAR_GP_PIN(0, 11), |
| 2335 | }; |
| 2336 | static const unsigned int msiof2_txd_d_mux[] = { |
| 2337 | MSIOF2_TXD_D_MARK, |
| 2338 | }; |
| 2339 | static const unsigned int msiof2_rxd_d_pins[] = { |
| 2340 | /* RXD */ |
| 2341 | RCAR_GP_PIN(0, 10), |
| 2342 | }; |
| 2343 | static const unsigned int msiof2_rxd_d_mux[] = { |
| 2344 | MSIOF2_RXD_D_MARK, |
| 2345 | }; |
| 2346 | /* - MSIOF3 ----------------------------------------------------------------- */ |
| 2347 | static const unsigned int msiof3_clk_a_pins[] = { |
| 2348 | /* SCK */ |
| 2349 | RCAR_GP_PIN(0, 0), |
| 2350 | }; |
| 2351 | static const unsigned int msiof3_clk_a_mux[] = { |
| 2352 | MSIOF3_SCK_A_MARK, |
| 2353 | }; |
| 2354 | static const unsigned int msiof3_sync_a_pins[] = { |
| 2355 | /* SYNC */ |
| 2356 | RCAR_GP_PIN(0, 1), |
| 2357 | }; |
| 2358 | static const unsigned int msiof3_sync_a_mux[] = { |
| 2359 | MSIOF3_SYNC_A_MARK, |
| 2360 | }; |
| 2361 | static const unsigned int msiof3_ss1_a_pins[] = { |
| 2362 | /* SS1 */ |
| 2363 | RCAR_GP_PIN(0, 14), |
| 2364 | }; |
| 2365 | static const unsigned int msiof3_ss1_a_mux[] = { |
| 2366 | MSIOF3_SS1_A_MARK, |
| 2367 | }; |
| 2368 | static const unsigned int msiof3_ss2_a_pins[] = { |
| 2369 | /* SS2 */ |
| 2370 | RCAR_GP_PIN(0, 15), |
| 2371 | }; |
| 2372 | static const unsigned int msiof3_ss2_a_mux[] = { |
| 2373 | MSIOF3_SS2_A_MARK, |
| 2374 | }; |
| 2375 | static const unsigned int msiof3_txd_a_pins[] = { |
| 2376 | /* TXD */ |
| 2377 | RCAR_GP_PIN(0, 3), |
| 2378 | }; |
| 2379 | static const unsigned int msiof3_txd_a_mux[] = { |
| 2380 | MSIOF3_TXD_A_MARK, |
| 2381 | }; |
| 2382 | static const unsigned int msiof3_rxd_a_pins[] = { |
| 2383 | /* RXD */ |
| 2384 | RCAR_GP_PIN(0, 2), |
| 2385 | }; |
| 2386 | static const unsigned int msiof3_rxd_a_mux[] = { |
| 2387 | MSIOF3_RXD_A_MARK, |
| 2388 | }; |
| 2389 | static const unsigned int msiof3_clk_b_pins[] = { |
| 2390 | /* SCK */ |
| 2391 | RCAR_GP_PIN(1, 2), |
| 2392 | }; |
| 2393 | static const unsigned int msiof3_clk_b_mux[] = { |
| 2394 | MSIOF3_SCK_B_MARK, |
| 2395 | }; |
| 2396 | static const unsigned int msiof3_sync_b_pins[] = { |
| 2397 | /* SYNC */ |
| 2398 | RCAR_GP_PIN(1, 0), |
| 2399 | }; |
| 2400 | static const unsigned int msiof3_sync_b_mux[] = { |
| 2401 | MSIOF3_SYNC_B_MARK, |
| 2402 | }; |
| 2403 | static const unsigned int msiof3_ss1_b_pins[] = { |
| 2404 | /* SS1 */ |
| 2405 | RCAR_GP_PIN(1, 4), |
| 2406 | }; |
| 2407 | static const unsigned int msiof3_ss1_b_mux[] = { |
| 2408 | MSIOF3_SS1_B_MARK, |
| 2409 | }; |
| 2410 | static const unsigned int msiof3_ss2_b_pins[] = { |
| 2411 | /* SS2 */ |
| 2412 | RCAR_GP_PIN(1, 5), |
| 2413 | }; |
| 2414 | static const unsigned int msiof3_ss2_b_mux[] = { |
| 2415 | MSIOF3_SS2_B_MARK, |
| 2416 | }; |
| 2417 | static const unsigned int msiof3_txd_b_pins[] = { |
| 2418 | /* TXD */ |
| 2419 | RCAR_GP_PIN(1, 1), |
| 2420 | }; |
| 2421 | static const unsigned int msiof3_txd_b_mux[] = { |
| 2422 | MSIOF3_TXD_B_MARK, |
| 2423 | }; |
| 2424 | static const unsigned int msiof3_rxd_b_pins[] = { |
| 2425 | /* RXD */ |
| 2426 | RCAR_GP_PIN(1, 3), |
| 2427 | }; |
| 2428 | static const unsigned int msiof3_rxd_b_mux[] = { |
| 2429 | MSIOF3_RXD_B_MARK, |
| 2430 | }; |
| 2431 | static const unsigned int msiof3_clk_c_pins[] = { |
| 2432 | /* SCK */ |
| 2433 | RCAR_GP_PIN(1, 12), |
| 2434 | }; |
| 2435 | static const unsigned int msiof3_clk_c_mux[] = { |
| 2436 | MSIOF3_SCK_C_MARK, |
| 2437 | }; |
| 2438 | static const unsigned int msiof3_sync_c_pins[] = { |
| 2439 | /* SYNC */ |
| 2440 | RCAR_GP_PIN(1, 13), |
| 2441 | }; |
| 2442 | static const unsigned int msiof3_sync_c_mux[] = { |
| 2443 | MSIOF3_SYNC_C_MARK, |
| 2444 | }; |
| 2445 | static const unsigned int msiof3_txd_c_pins[] = { |
| 2446 | /* TXD */ |
| 2447 | RCAR_GP_PIN(1, 15), |
| 2448 | }; |
| 2449 | static const unsigned int msiof3_txd_c_mux[] = { |
| 2450 | MSIOF3_TXD_C_MARK, |
| 2451 | }; |
| 2452 | static const unsigned int msiof3_rxd_c_pins[] = { |
| 2453 | /* RXD */ |
| 2454 | RCAR_GP_PIN(1, 14), |
| 2455 | }; |
| 2456 | static const unsigned int msiof3_rxd_c_mux[] = { |
| 2457 | MSIOF3_RXD_C_MARK, |
| 2458 | }; |
| 2459 | static const unsigned int msiof3_clk_d_pins[] = { |
| 2460 | /* SCK */ |
| 2461 | RCAR_GP_PIN(1, 22), |
| 2462 | }; |
| 2463 | static const unsigned int msiof3_clk_d_mux[] = { |
| 2464 | MSIOF3_SCK_D_MARK, |
| 2465 | }; |
| 2466 | static const unsigned int msiof3_sync_d_pins[] = { |
| 2467 | /* SYNC */ |
| 2468 | RCAR_GP_PIN(1, 23), |
| 2469 | }; |
| 2470 | static const unsigned int msiof3_sync_d_mux[] = { |
| 2471 | MSIOF3_SYNC_D_MARK, |
| 2472 | }; |
| 2473 | static const unsigned int msiof3_ss1_d_pins[] = { |
| 2474 | /* SS1 */ |
| 2475 | RCAR_GP_PIN(1, 26), |
| 2476 | }; |
| 2477 | static const unsigned int msiof3_ss1_d_mux[] = { |
| 2478 | MSIOF3_SS1_D_MARK, |
| 2479 | }; |
| 2480 | static const unsigned int msiof3_txd_d_pins[] = { |
| 2481 | /* TXD */ |
| 2482 | RCAR_GP_PIN(1, 25), |
| 2483 | }; |
| 2484 | static const unsigned int msiof3_txd_d_mux[] = { |
| 2485 | MSIOF3_TXD_D_MARK, |
| 2486 | }; |
| 2487 | static const unsigned int msiof3_rxd_d_pins[] = { |
| 2488 | /* RXD */ |
| 2489 | RCAR_GP_PIN(1, 24), |
| 2490 | }; |
| 2491 | static const unsigned int msiof3_rxd_d_mux[] = { |
| 2492 | MSIOF3_RXD_D_MARK, |
| 2493 | }; |
| 2494 | |
Geert Uytterhoeven | ff8459a | 2015-09-03 02:52:07 +0000 | [diff] [blame] | 2495 | /* - SCIF0 ------------------------------------------------------------------ */ |
| 2496 | static const unsigned int scif0_data_pins[] = { |
| 2497 | /* RX, TX */ |
| 2498 | RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 2), |
| 2499 | }; |
| 2500 | static const unsigned int scif0_data_mux[] = { |
| 2501 | RX0_MARK, TX0_MARK, |
| 2502 | }; |
| 2503 | static const unsigned int scif0_clk_pins[] = { |
| 2504 | /* SCK */ |
| 2505 | RCAR_GP_PIN(5, 0), |
| 2506 | }; |
| 2507 | static const unsigned int scif0_clk_mux[] = { |
| 2508 | SCK0_MARK, |
| 2509 | }; |
| 2510 | static const unsigned int scif0_ctrl_pins[] = { |
| 2511 | /* RTS, CTS */ |
| 2512 | RCAR_GP_PIN(5, 4), RCAR_GP_PIN(5, 3), |
| 2513 | }; |
| 2514 | static const unsigned int scif0_ctrl_mux[] = { |
| 2515 | RTS0_N_TANS_MARK, CTS0_N_MARK, |
| 2516 | }; |
| 2517 | /* - SCIF1 ------------------------------------------------------------------ */ |
| 2518 | static const unsigned int scif1_data_a_pins[] = { |
| 2519 | /* RX, TX */ |
| 2520 | RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 6), |
| 2521 | }; |
| 2522 | static const unsigned int scif1_data_a_mux[] = { |
| 2523 | RX1_A_MARK, TX1_A_MARK, |
| 2524 | }; |
| 2525 | static const unsigned int scif1_clk_pins[] = { |
| 2526 | /* SCK */ |
| 2527 | RCAR_GP_PIN(6, 21), |
| 2528 | }; |
| 2529 | static const unsigned int scif1_clk_mux[] = { |
| 2530 | SCK1_MARK, |
| 2531 | }; |
| 2532 | static const unsigned int scif1_ctrl_pins[] = { |
| 2533 | /* RTS, CTS */ |
| 2534 | RCAR_GP_PIN(5, 8), RCAR_GP_PIN(5, 7), |
| 2535 | }; |
| 2536 | static const unsigned int scif1_ctrl_mux[] = { |
| 2537 | RTS1_N_TANS_MARK, CTS1_N_MARK, |
| 2538 | }; |
| 2539 | |
| 2540 | static const unsigned int scif1_data_b_pins[] = { |
| 2541 | /* RX, TX */ |
| 2542 | RCAR_GP_PIN(5, 24), RCAR_GP_PIN(5, 25), |
| 2543 | }; |
| 2544 | static const unsigned int scif1_data_b_mux[] = { |
| 2545 | RX1_B_MARK, TX1_B_MARK, |
| 2546 | }; |
| 2547 | /* - SCIF2 ------------------------------------------------------------------ */ |
| 2548 | static const unsigned int scif2_data_a_pins[] = { |
| 2549 | /* RX, TX */ |
| 2550 | RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 10), |
| 2551 | }; |
| 2552 | static const unsigned int scif2_data_a_mux[] = { |
| 2553 | RX2_A_MARK, TX2_A_MARK, |
| 2554 | }; |
| 2555 | static const unsigned int scif2_clk_pins[] = { |
| 2556 | /* SCK */ |
| 2557 | RCAR_GP_PIN(5, 9), |
| 2558 | }; |
| 2559 | static const unsigned int scif2_clk_mux[] = { |
| 2560 | SCK2_MARK, |
| 2561 | }; |
| 2562 | static const unsigned int scif2_data_b_pins[] = { |
| 2563 | /* RX, TX */ |
| 2564 | RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 16), |
| 2565 | }; |
| 2566 | static const unsigned int scif2_data_b_mux[] = { |
| 2567 | RX2_B_MARK, TX2_B_MARK, |
| 2568 | }; |
| 2569 | /* - SCIF3 ------------------------------------------------------------------ */ |
| 2570 | static const unsigned int scif3_data_a_pins[] = { |
| 2571 | /* RX, TX */ |
| 2572 | RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 24), |
| 2573 | }; |
| 2574 | static const unsigned int scif3_data_a_mux[] = { |
| 2575 | RX3_A_MARK, TX3_A_MARK, |
| 2576 | }; |
| 2577 | static const unsigned int scif3_clk_pins[] = { |
| 2578 | /* SCK */ |
| 2579 | RCAR_GP_PIN(1, 22), |
| 2580 | }; |
| 2581 | static const unsigned int scif3_clk_mux[] = { |
| 2582 | SCK3_MARK, |
| 2583 | }; |
| 2584 | static const unsigned int scif3_ctrl_pins[] = { |
| 2585 | /* RTS, CTS */ |
| 2586 | RCAR_GP_PIN(1, 26), RCAR_GP_PIN(1, 25), |
| 2587 | }; |
| 2588 | static const unsigned int scif3_ctrl_mux[] = { |
| 2589 | RTS3_N_TANS_MARK, CTS3_N_MARK, |
| 2590 | }; |
| 2591 | static const unsigned int scif3_data_b_pins[] = { |
| 2592 | /* RX, TX */ |
| 2593 | RCAR_GP_PIN(1, 8), RCAR_GP_PIN(1, 11), |
| 2594 | }; |
| 2595 | static const unsigned int scif3_data_b_mux[] = { |
| 2596 | RX3_B_MARK, TX3_B_MARK, |
| 2597 | }; |
| 2598 | /* - SCIF4 ------------------------------------------------------------------ */ |
| 2599 | static const unsigned int scif4_data_a_pins[] = { |
| 2600 | /* RX, TX */ |
| 2601 | RCAR_GP_PIN(2, 11), RCAR_GP_PIN(2, 12), |
| 2602 | }; |
| 2603 | static const unsigned int scif4_data_a_mux[] = { |
| 2604 | RX4_A_MARK, TX4_A_MARK, |
| 2605 | }; |
| 2606 | static const unsigned int scif4_clk_a_pins[] = { |
| 2607 | /* SCK */ |
| 2608 | RCAR_GP_PIN(2, 10), |
| 2609 | }; |
| 2610 | static const unsigned int scif4_clk_a_mux[] = { |
| 2611 | SCK4_A_MARK, |
| 2612 | }; |
| 2613 | static const unsigned int scif4_ctrl_a_pins[] = { |
| 2614 | /* RTS, CTS */ |
| 2615 | RCAR_GP_PIN(2, 14), RCAR_GP_PIN(2, 13), |
| 2616 | }; |
| 2617 | static const unsigned int scif4_ctrl_a_mux[] = { |
| 2618 | RTS4_N_TANS_A_MARK, CTS4_N_A_MARK, |
| 2619 | }; |
| 2620 | static const unsigned int scif4_data_b_pins[] = { |
| 2621 | /* RX, TX */ |
| 2622 | RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7), |
| 2623 | }; |
| 2624 | static const unsigned int scif4_data_b_mux[] = { |
| 2625 | RX4_B_MARK, TX4_B_MARK, |
| 2626 | }; |
| 2627 | static const unsigned int scif4_clk_b_pins[] = { |
| 2628 | /* SCK */ |
| 2629 | RCAR_GP_PIN(1, 5), |
| 2630 | }; |
| 2631 | static const unsigned int scif4_clk_b_mux[] = { |
| 2632 | SCK4_B_MARK, |
| 2633 | }; |
| 2634 | static const unsigned int scif4_ctrl_b_pins[] = { |
| 2635 | /* RTS, CTS */ |
| 2636 | RCAR_GP_PIN(1, 10), RCAR_GP_PIN(1, 9), |
| 2637 | }; |
| 2638 | static const unsigned int scif4_ctrl_b_mux[] = { |
| 2639 | RTS4_N_TANS_B_MARK, CTS4_N_B_MARK, |
| 2640 | }; |
| 2641 | static const unsigned int scif4_data_c_pins[] = { |
| 2642 | /* RX, TX */ |
| 2643 | RCAR_GP_PIN(0, 12), RCAR_GP_PIN(0, 13), |
| 2644 | }; |
| 2645 | static const unsigned int scif4_data_c_mux[] = { |
| 2646 | RX4_C_MARK, TX4_C_MARK, |
| 2647 | }; |
| 2648 | static const unsigned int scif4_clk_c_pins[] = { |
| 2649 | /* SCK */ |
| 2650 | RCAR_GP_PIN(0, 8), |
| 2651 | }; |
| 2652 | static const unsigned int scif4_clk_c_mux[] = { |
| 2653 | SCK4_C_MARK, |
| 2654 | }; |
| 2655 | static const unsigned int scif4_ctrl_c_pins[] = { |
| 2656 | /* RTS, CTS */ |
| 2657 | RCAR_GP_PIN(0, 11), RCAR_GP_PIN(0, 10), |
| 2658 | }; |
| 2659 | static const unsigned int scif4_ctrl_c_mux[] = { |
| 2660 | RTS4_N_TANS_C_MARK, CTS4_N_C_MARK, |
| 2661 | }; |
| 2662 | /* - SCIF5 ------------------------------------------------------------------ */ |
| 2663 | static const unsigned int scif5_data_pins[] = { |
| 2664 | /* RX, TX */ |
| 2665 | RCAR_GP_PIN(5, 19), RCAR_GP_PIN(5, 21), |
| 2666 | }; |
| 2667 | static const unsigned int scif5_data_mux[] = { |
| 2668 | RX5_MARK, TX5_MARK, |
| 2669 | }; |
| 2670 | static const unsigned int scif5_clk_pins[] = { |
| 2671 | /* SCK */ |
| 2672 | RCAR_GP_PIN(6, 21), |
| 2673 | }; |
| 2674 | static const unsigned int scif5_clk_mux[] = { |
| 2675 | SCK5_MARK, |
| 2676 | }; |
| 2677 | |
Geert Uytterhoeven | f27200f | 2015-11-16 21:53:37 +0100 | [diff] [blame^] | 2678 | /* - SCIF Clock ------------------------------------------------------------- */ |
| 2679 | static const unsigned int scif_clk_a_pins[] = { |
| 2680 | /* SCIF_CLK */ |
| 2681 | RCAR_GP_PIN(6, 23), |
| 2682 | }; |
| 2683 | static const unsigned int scif_clk_a_mux[] = { |
| 2684 | SCIF_CLK_A_MARK, |
| 2685 | }; |
| 2686 | static const unsigned int scif_clk_b_pins[] = { |
| 2687 | /* SCIF_CLK */ |
| 2688 | RCAR_GP_PIN(5, 9), |
| 2689 | }; |
| 2690 | static const unsigned int scif_clk_b_mux[] = { |
| 2691 | SCIF_CLK_B_MARK, |
| 2692 | }; |
| 2693 | |
Kuninori Morimoto | 9b132ba | 2015-09-18 01:54:25 +0000 | [diff] [blame] | 2694 | /* - SSI -------------------------------------------------------------------- */ |
| 2695 | static const unsigned int ssi0_data_pins[] = { |
| 2696 | /* SDATA */ |
| 2697 | RCAR_GP_PIN(6, 2), |
| 2698 | }; |
| 2699 | static const unsigned int ssi0_data_mux[] = { |
| 2700 | SSI_SDATA0_MARK, |
| 2701 | }; |
| 2702 | static const unsigned int ssi01239_ctrl_pins[] = { |
| 2703 | /* SCK, WS */ |
| 2704 | RCAR_GP_PIN(6, 0), RCAR_GP_PIN(6, 1), |
| 2705 | }; |
| 2706 | static const unsigned int ssi01239_ctrl_mux[] = { |
| 2707 | SSI_SCK0129_MARK, SSI_WS0129_MARK, |
| 2708 | }; |
| 2709 | static const unsigned int ssi1_data_a_pins[] = { |
| 2710 | /* SDATA */ |
| 2711 | RCAR_GP_PIN(6, 3), |
| 2712 | }; |
| 2713 | static const unsigned int ssi1_data_a_mux[] = { |
| 2714 | SSI_SDATA1_A_MARK, |
| 2715 | }; |
| 2716 | static const unsigned int ssi1_data_b_pins[] = { |
| 2717 | /* SDATA */ |
| 2718 | RCAR_GP_PIN(5, 12), |
| 2719 | }; |
| 2720 | static const unsigned int ssi1_data_b_mux[] = { |
| 2721 | SSI_SDATA1_B_MARK, |
| 2722 | }; |
| 2723 | static const unsigned int ssi1_ctrl_a_pins[] = { |
| 2724 | /* SCK, WS */ |
| 2725 | RCAR_GP_PIN(6, 26), RCAR_GP_PIN(6, 27), |
| 2726 | }; |
| 2727 | static const unsigned int ssi1_ctrl_a_mux[] = { |
| 2728 | SSI_SCK1_A_MARK, SSI_WS1_A_MARK, |
| 2729 | }; |
| 2730 | static const unsigned int ssi1_ctrl_b_pins[] = { |
| 2731 | /* SCK, WS */ |
| 2732 | RCAR_GP_PIN(6, 4), RCAR_GP_PIN(6, 21), |
| 2733 | }; |
| 2734 | static const unsigned int ssi1_ctrl_b_mux[] = { |
| 2735 | SSI_SCK1_B_MARK, SSI_WS1_B_MARK, |
| 2736 | }; |
| 2737 | static const unsigned int ssi2_data_a_pins[] = { |
| 2738 | /* SDATA */ |
| 2739 | RCAR_GP_PIN(6, 4), |
| 2740 | }; |
| 2741 | static const unsigned int ssi2_data_a_mux[] = { |
| 2742 | SSI_SDATA2_A_MARK, |
| 2743 | }; |
| 2744 | static const unsigned int ssi2_data_b_pins[] = { |
| 2745 | /* SDATA */ |
| 2746 | RCAR_GP_PIN(5, 13), |
| 2747 | }; |
| 2748 | static const unsigned int ssi2_data_b_mux[] = { |
| 2749 | SSI_SDATA2_B_MARK, |
| 2750 | }; |
| 2751 | static const unsigned int ssi2_ctrl_a_pins[] = { |
| 2752 | /* SCK, WS */ |
| 2753 | RCAR_GP_PIN(5, 19), RCAR_GP_PIN(5, 21), |
| 2754 | }; |
| 2755 | static const unsigned int ssi2_ctrl_a_mux[] = { |
| 2756 | SSI_SCK2_A_MARK, SSI_WS2_A_MARK, |
| 2757 | }; |
| 2758 | static const unsigned int ssi2_ctrl_b_pins[] = { |
| 2759 | /* SCK, WS */ |
| 2760 | RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29), |
| 2761 | }; |
| 2762 | static const unsigned int ssi2_ctrl_b_mux[] = { |
| 2763 | SSI_SCK2_B_MARK, SSI_WS2_B_MARK, |
| 2764 | }; |
| 2765 | static const unsigned int ssi3_data_pins[] = { |
| 2766 | /* SDATA */ |
| 2767 | RCAR_GP_PIN(6, 7), |
| 2768 | }; |
| 2769 | static const unsigned int ssi3_data_mux[] = { |
| 2770 | SSI_SDATA3_MARK, |
| 2771 | }; |
| 2772 | static const unsigned int ssi34_ctrl_pins[] = { |
| 2773 | /* SCK, WS */ |
| 2774 | RCAR_GP_PIN(6, 5), RCAR_GP_PIN(6, 6), |
| 2775 | }; |
| 2776 | static const unsigned int ssi34_ctrl_mux[] = { |
| 2777 | SSI_SCK34_MARK, SSI_WS34_MARK, |
| 2778 | }; |
| 2779 | static const unsigned int ssi4_data_pins[] = { |
| 2780 | /* SDATA */ |
| 2781 | RCAR_GP_PIN(6, 10), |
| 2782 | }; |
| 2783 | static const unsigned int ssi4_data_mux[] = { |
| 2784 | SSI_SDATA4_MARK, |
| 2785 | }; |
| 2786 | static const unsigned int ssi4_ctrl_pins[] = { |
| 2787 | /* SCK, WS */ |
| 2788 | RCAR_GP_PIN(6, 8), RCAR_GP_PIN(6, 9), |
| 2789 | }; |
| 2790 | static const unsigned int ssi4_ctrl_mux[] = { |
| 2791 | SSI_SCK4_MARK, SSI_WS4_MARK, |
| 2792 | }; |
| 2793 | static const unsigned int ssi5_data_pins[] = { |
| 2794 | /* SDATA */ |
| 2795 | RCAR_GP_PIN(6, 13), |
| 2796 | }; |
| 2797 | static const unsigned int ssi5_data_mux[] = { |
| 2798 | SSI_SDATA5_MARK, |
| 2799 | }; |
| 2800 | static const unsigned int ssi5_ctrl_pins[] = { |
| 2801 | /* SCK, WS */ |
| 2802 | RCAR_GP_PIN(6, 11), RCAR_GP_PIN(6, 12), |
| 2803 | }; |
| 2804 | static const unsigned int ssi5_ctrl_mux[] = { |
| 2805 | SSI_SCK5_MARK, SSI_WS5_MARK, |
| 2806 | }; |
| 2807 | static const unsigned int ssi6_data_pins[] = { |
| 2808 | /* SDATA */ |
| 2809 | RCAR_GP_PIN(6, 16), |
| 2810 | }; |
| 2811 | static const unsigned int ssi6_data_mux[] = { |
| 2812 | SSI_SDATA6_MARK, |
| 2813 | }; |
| 2814 | static const unsigned int ssi6_ctrl_pins[] = { |
| 2815 | /* SCK, WS */ |
| 2816 | RCAR_GP_PIN(6, 14), RCAR_GP_PIN(6, 15), |
| 2817 | }; |
| 2818 | static const unsigned int ssi6_ctrl_mux[] = { |
| 2819 | SSI_SCK6_MARK, SSI_WS6_MARK, |
| 2820 | }; |
| 2821 | static const unsigned int ssi7_data_pins[] = { |
| 2822 | /* SDATA */ |
| 2823 | RCAR_GP_PIN(6, 19), |
| 2824 | }; |
| 2825 | static const unsigned int ssi7_data_mux[] = { |
| 2826 | SSI_SDATA7_MARK, |
| 2827 | }; |
| 2828 | static const unsigned int ssi78_ctrl_pins[] = { |
| 2829 | /* SCK, WS */ |
| 2830 | RCAR_GP_PIN(6, 17), RCAR_GP_PIN(6, 18), |
| 2831 | }; |
| 2832 | static const unsigned int ssi78_ctrl_mux[] = { |
| 2833 | SSI_SCK78_MARK, SSI_WS78_MARK, |
| 2834 | }; |
| 2835 | static const unsigned int ssi8_data_pins[] = { |
| 2836 | /* SDATA */ |
| 2837 | RCAR_GP_PIN(6, 20), |
| 2838 | }; |
| 2839 | static const unsigned int ssi8_data_mux[] = { |
| 2840 | SSI_SDATA8_MARK, |
| 2841 | }; |
| 2842 | static const unsigned int ssi9_data_a_pins[] = { |
| 2843 | /* SDATA */ |
| 2844 | RCAR_GP_PIN(6, 21), |
| 2845 | }; |
| 2846 | static const unsigned int ssi9_data_a_mux[] = { |
| 2847 | SSI_SDATA9_A_MARK, |
| 2848 | }; |
| 2849 | static const unsigned int ssi9_data_b_pins[] = { |
| 2850 | /* SDATA */ |
| 2851 | RCAR_GP_PIN(5, 14), |
| 2852 | }; |
| 2853 | static const unsigned int ssi9_data_b_mux[] = { |
| 2854 | SSI_SDATA9_B_MARK, |
| 2855 | }; |
| 2856 | static const unsigned int ssi9_ctrl_a_pins[] = { |
| 2857 | /* SCK, WS */ |
| 2858 | RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 16), |
| 2859 | }; |
| 2860 | static const unsigned int ssi9_ctrl_a_mux[] = { |
| 2861 | SSI_SCK9_A_MARK, SSI_WS9_A_MARK, |
| 2862 | }; |
| 2863 | static const unsigned int ssi9_ctrl_b_pins[] = { |
| 2864 | /* SCK, WS */ |
| 2865 | RCAR_GP_PIN(6, 30), RCAR_GP_PIN(6, 31), |
| 2866 | }; |
| 2867 | static const unsigned int ssi9_ctrl_b_mux[] = { |
| 2868 | SSI_SCK9_B_MARK, SSI_WS9_B_MARK, |
| 2869 | }; |
| 2870 | |
Takeshi Kihara | 0b0ffc9 | 2015-09-03 02:51:49 +0000 | [diff] [blame] | 2871 | static const struct sh_pfc_pin_group pinmux_groups[] = { |
Kuninori Morimoto | c33a7fe | 2015-09-18 01:54:02 +0000 | [diff] [blame] | 2872 | SH_PFC_PIN_GROUP(audio_clk_a_a), |
| 2873 | SH_PFC_PIN_GROUP(audio_clk_a_b), |
| 2874 | SH_PFC_PIN_GROUP(audio_clk_a_c), |
| 2875 | SH_PFC_PIN_GROUP(audio_clk_b_a), |
| 2876 | SH_PFC_PIN_GROUP(audio_clk_b_b), |
| 2877 | SH_PFC_PIN_GROUP(audio_clk_c_a), |
| 2878 | SH_PFC_PIN_GROUP(audio_clk_c_b), |
| 2879 | SH_PFC_PIN_GROUP(audio_clkout_a), |
| 2880 | SH_PFC_PIN_GROUP(audio_clkout_b), |
| 2881 | SH_PFC_PIN_GROUP(audio_clkout_c), |
| 2882 | SH_PFC_PIN_GROUP(audio_clkout_d), |
| 2883 | SH_PFC_PIN_GROUP(audio_clkout1_a), |
| 2884 | SH_PFC_PIN_GROUP(audio_clkout1_b), |
| 2885 | SH_PFC_PIN_GROUP(audio_clkout2_a), |
| 2886 | SH_PFC_PIN_GROUP(audio_clkout2_b), |
| 2887 | SH_PFC_PIN_GROUP(audio_clkout3_a), |
| 2888 | SH_PFC_PIN_GROUP(audio_clkout3_b), |
Takeshi Kihara | 819fd4b | 2015-09-15 14:49:15 +0900 | [diff] [blame] | 2889 | SH_PFC_PIN_GROUP(avb_link), |
| 2890 | SH_PFC_PIN_GROUP(avb_magic), |
| 2891 | SH_PFC_PIN_GROUP(avb_phy_int), |
| 2892 | SH_PFC_PIN_GROUP(avb_mdc), |
| 2893 | SH_PFC_PIN_GROUP(avb_avtp_pps), |
| 2894 | SH_PFC_PIN_GROUP(avb_avtp_match_a), |
| 2895 | SH_PFC_PIN_GROUP(avb_avtp_capture_a), |
| 2896 | SH_PFC_PIN_GROUP(avb_avtp_match_b), |
| 2897 | SH_PFC_PIN_GROUP(avb_avtp_capture_b), |
Geert Uytterhoeven | a56069c4 | 2015-08-26 19:35:58 +0200 | [diff] [blame] | 2898 | SH_PFC_PIN_GROUP(hscif0_data), |
| 2899 | SH_PFC_PIN_GROUP(hscif0_clk), |
| 2900 | SH_PFC_PIN_GROUP(hscif0_ctrl), |
| 2901 | SH_PFC_PIN_GROUP(hscif1_data_a), |
| 2902 | SH_PFC_PIN_GROUP(hscif1_clk_a), |
| 2903 | SH_PFC_PIN_GROUP(hscif1_ctrl_a), |
| 2904 | SH_PFC_PIN_GROUP(hscif1_data_b), |
| 2905 | SH_PFC_PIN_GROUP(hscif1_clk_b), |
| 2906 | SH_PFC_PIN_GROUP(hscif1_ctrl_b), |
| 2907 | SH_PFC_PIN_GROUP(hscif2_data_a), |
| 2908 | SH_PFC_PIN_GROUP(hscif2_clk_a), |
| 2909 | SH_PFC_PIN_GROUP(hscif2_ctrl_a), |
| 2910 | SH_PFC_PIN_GROUP(hscif2_data_b), |
| 2911 | SH_PFC_PIN_GROUP(hscif2_clk_b), |
| 2912 | SH_PFC_PIN_GROUP(hscif2_ctrl_b), |
| 2913 | SH_PFC_PIN_GROUP(hscif3_data_a), |
| 2914 | SH_PFC_PIN_GROUP(hscif3_clk), |
| 2915 | SH_PFC_PIN_GROUP(hscif3_ctrl), |
| 2916 | SH_PFC_PIN_GROUP(hscif3_data_b), |
| 2917 | SH_PFC_PIN_GROUP(hscif3_data_c), |
| 2918 | SH_PFC_PIN_GROUP(hscif3_data_d), |
| 2919 | SH_PFC_PIN_GROUP(hscif4_data_a), |
| 2920 | SH_PFC_PIN_GROUP(hscif4_clk), |
| 2921 | SH_PFC_PIN_GROUP(hscif4_ctrl), |
| 2922 | SH_PFC_PIN_GROUP(hscif4_data_b), |
Kuninori Morimoto | 2544ef7 | 2015-09-18 01:53:33 +0000 | [diff] [blame] | 2923 | SH_PFC_PIN_GROUP(i2c1_a), |
| 2924 | SH_PFC_PIN_GROUP(i2c1_b), |
| 2925 | SH_PFC_PIN_GROUP(i2c2_a), |
| 2926 | SH_PFC_PIN_GROUP(i2c2_b), |
| 2927 | SH_PFC_PIN_GROUP(i2c6_a), |
| 2928 | SH_PFC_PIN_GROUP(i2c6_b), |
| 2929 | SH_PFC_PIN_GROUP(i2c6_c), |
Geert Uytterhoeven | e7419b8 | 2015-09-02 16:51:54 +0200 | [diff] [blame] | 2930 | SH_PFC_PIN_GROUP(msiof0_clk), |
| 2931 | SH_PFC_PIN_GROUP(msiof0_sync), |
| 2932 | SH_PFC_PIN_GROUP(msiof0_ss1), |
| 2933 | SH_PFC_PIN_GROUP(msiof0_ss2), |
| 2934 | SH_PFC_PIN_GROUP(msiof0_txd), |
| 2935 | SH_PFC_PIN_GROUP(msiof0_rxd), |
| 2936 | SH_PFC_PIN_GROUP(msiof1_clk_a), |
| 2937 | SH_PFC_PIN_GROUP(msiof1_sync_a), |
| 2938 | SH_PFC_PIN_GROUP(msiof1_ss1_a), |
| 2939 | SH_PFC_PIN_GROUP(msiof1_ss2_a), |
| 2940 | SH_PFC_PIN_GROUP(msiof1_txd_a), |
| 2941 | SH_PFC_PIN_GROUP(msiof1_rxd_a), |
| 2942 | SH_PFC_PIN_GROUP(msiof1_clk_b), |
| 2943 | SH_PFC_PIN_GROUP(msiof1_sync_b), |
| 2944 | SH_PFC_PIN_GROUP(msiof1_ss1_b), |
| 2945 | SH_PFC_PIN_GROUP(msiof1_ss2_b), |
| 2946 | SH_PFC_PIN_GROUP(msiof1_txd_b), |
| 2947 | SH_PFC_PIN_GROUP(msiof1_rxd_b), |
| 2948 | SH_PFC_PIN_GROUP(msiof1_clk_c), |
| 2949 | SH_PFC_PIN_GROUP(msiof1_sync_c), |
| 2950 | SH_PFC_PIN_GROUP(msiof1_ss1_c), |
| 2951 | SH_PFC_PIN_GROUP(msiof1_ss2_c), |
| 2952 | SH_PFC_PIN_GROUP(msiof1_txd_c), |
| 2953 | SH_PFC_PIN_GROUP(msiof1_rxd_c), |
| 2954 | SH_PFC_PIN_GROUP(msiof1_clk_d), |
| 2955 | SH_PFC_PIN_GROUP(msiof1_sync_d), |
| 2956 | SH_PFC_PIN_GROUP(msiof1_ss1_d), |
| 2957 | SH_PFC_PIN_GROUP(msiof1_ss2_d), |
| 2958 | SH_PFC_PIN_GROUP(msiof1_txd_d), |
| 2959 | SH_PFC_PIN_GROUP(msiof1_rxd_d), |
| 2960 | SH_PFC_PIN_GROUP(msiof1_clk_e), |
| 2961 | SH_PFC_PIN_GROUP(msiof1_sync_e), |
| 2962 | SH_PFC_PIN_GROUP(msiof1_ss1_e), |
| 2963 | SH_PFC_PIN_GROUP(msiof1_ss2_e), |
| 2964 | SH_PFC_PIN_GROUP(msiof1_txd_e), |
| 2965 | SH_PFC_PIN_GROUP(msiof1_rxd_e), |
| 2966 | SH_PFC_PIN_GROUP(msiof1_clk_f), |
| 2967 | SH_PFC_PIN_GROUP(msiof1_sync_f), |
| 2968 | SH_PFC_PIN_GROUP(msiof1_ss1_f), |
| 2969 | SH_PFC_PIN_GROUP(msiof1_ss2_f), |
| 2970 | SH_PFC_PIN_GROUP(msiof1_txd_f), |
| 2971 | SH_PFC_PIN_GROUP(msiof1_rxd_f), |
| 2972 | SH_PFC_PIN_GROUP(msiof1_clk_g), |
| 2973 | SH_PFC_PIN_GROUP(msiof1_sync_g), |
| 2974 | SH_PFC_PIN_GROUP(msiof1_ss1_g), |
| 2975 | SH_PFC_PIN_GROUP(msiof1_ss2_g), |
| 2976 | SH_PFC_PIN_GROUP(msiof1_txd_g), |
| 2977 | SH_PFC_PIN_GROUP(msiof1_rxd_g), |
| 2978 | SH_PFC_PIN_GROUP(msiof2_clk_a), |
| 2979 | SH_PFC_PIN_GROUP(msiof2_sync_a), |
| 2980 | SH_PFC_PIN_GROUP(msiof2_ss1_a), |
| 2981 | SH_PFC_PIN_GROUP(msiof2_ss2_a), |
| 2982 | SH_PFC_PIN_GROUP(msiof2_txd_a), |
| 2983 | SH_PFC_PIN_GROUP(msiof2_rxd_a), |
| 2984 | SH_PFC_PIN_GROUP(msiof2_clk_b), |
| 2985 | SH_PFC_PIN_GROUP(msiof2_sync_b), |
| 2986 | SH_PFC_PIN_GROUP(msiof2_ss1_b), |
| 2987 | SH_PFC_PIN_GROUP(msiof2_ss2_b), |
| 2988 | SH_PFC_PIN_GROUP(msiof2_txd_b), |
| 2989 | SH_PFC_PIN_GROUP(msiof2_rxd_b), |
| 2990 | SH_PFC_PIN_GROUP(msiof2_clk_c), |
| 2991 | SH_PFC_PIN_GROUP(msiof2_sync_c), |
| 2992 | SH_PFC_PIN_GROUP(msiof2_ss1_c), |
| 2993 | SH_PFC_PIN_GROUP(msiof2_ss2_c), |
| 2994 | SH_PFC_PIN_GROUP(msiof2_txd_c), |
| 2995 | SH_PFC_PIN_GROUP(msiof2_rxd_c), |
| 2996 | SH_PFC_PIN_GROUP(msiof2_clk_d), |
| 2997 | SH_PFC_PIN_GROUP(msiof2_sync_d), |
| 2998 | SH_PFC_PIN_GROUP(msiof2_ss1_d), |
| 2999 | SH_PFC_PIN_GROUP(msiof2_ss2_d), |
| 3000 | SH_PFC_PIN_GROUP(msiof2_txd_d), |
| 3001 | SH_PFC_PIN_GROUP(msiof2_rxd_d), |
| 3002 | SH_PFC_PIN_GROUP(msiof3_clk_a), |
| 3003 | SH_PFC_PIN_GROUP(msiof3_sync_a), |
| 3004 | SH_PFC_PIN_GROUP(msiof3_ss1_a), |
| 3005 | SH_PFC_PIN_GROUP(msiof3_ss2_a), |
| 3006 | SH_PFC_PIN_GROUP(msiof3_txd_a), |
| 3007 | SH_PFC_PIN_GROUP(msiof3_rxd_a), |
| 3008 | SH_PFC_PIN_GROUP(msiof3_clk_b), |
| 3009 | SH_PFC_PIN_GROUP(msiof3_sync_b), |
| 3010 | SH_PFC_PIN_GROUP(msiof3_ss1_b), |
| 3011 | SH_PFC_PIN_GROUP(msiof3_ss2_b), |
| 3012 | SH_PFC_PIN_GROUP(msiof3_txd_b), |
| 3013 | SH_PFC_PIN_GROUP(msiof3_rxd_b), |
| 3014 | SH_PFC_PIN_GROUP(msiof3_clk_c), |
| 3015 | SH_PFC_PIN_GROUP(msiof3_sync_c), |
| 3016 | SH_PFC_PIN_GROUP(msiof3_txd_c), |
| 3017 | SH_PFC_PIN_GROUP(msiof3_rxd_c), |
| 3018 | SH_PFC_PIN_GROUP(msiof3_clk_d), |
| 3019 | SH_PFC_PIN_GROUP(msiof3_sync_d), |
| 3020 | SH_PFC_PIN_GROUP(msiof3_ss1_d), |
| 3021 | SH_PFC_PIN_GROUP(msiof3_txd_d), |
| 3022 | SH_PFC_PIN_GROUP(msiof3_rxd_d), |
Geert Uytterhoeven | ff8459a | 2015-09-03 02:52:07 +0000 | [diff] [blame] | 3023 | SH_PFC_PIN_GROUP(scif0_data), |
| 3024 | SH_PFC_PIN_GROUP(scif0_clk), |
| 3025 | SH_PFC_PIN_GROUP(scif0_ctrl), |
| 3026 | SH_PFC_PIN_GROUP(scif1_data_a), |
| 3027 | SH_PFC_PIN_GROUP(scif1_clk), |
| 3028 | SH_PFC_PIN_GROUP(scif1_ctrl), |
| 3029 | SH_PFC_PIN_GROUP(scif1_data_b), |
| 3030 | SH_PFC_PIN_GROUP(scif2_data_a), |
| 3031 | SH_PFC_PIN_GROUP(scif2_clk), |
| 3032 | SH_PFC_PIN_GROUP(scif2_data_b), |
| 3033 | SH_PFC_PIN_GROUP(scif3_data_a), |
| 3034 | SH_PFC_PIN_GROUP(scif3_clk), |
| 3035 | SH_PFC_PIN_GROUP(scif3_ctrl), |
| 3036 | SH_PFC_PIN_GROUP(scif3_data_b), |
| 3037 | SH_PFC_PIN_GROUP(scif4_data_a), |
| 3038 | SH_PFC_PIN_GROUP(scif4_clk_a), |
| 3039 | SH_PFC_PIN_GROUP(scif4_ctrl_a), |
| 3040 | SH_PFC_PIN_GROUP(scif4_data_b), |
| 3041 | SH_PFC_PIN_GROUP(scif4_clk_b), |
| 3042 | SH_PFC_PIN_GROUP(scif4_ctrl_b), |
| 3043 | SH_PFC_PIN_GROUP(scif4_data_c), |
| 3044 | SH_PFC_PIN_GROUP(scif4_clk_c), |
| 3045 | SH_PFC_PIN_GROUP(scif4_ctrl_c), |
| 3046 | SH_PFC_PIN_GROUP(scif5_data), |
| 3047 | SH_PFC_PIN_GROUP(scif5_clk), |
Geert Uytterhoeven | f27200f | 2015-11-16 21:53:37 +0100 | [diff] [blame^] | 3048 | SH_PFC_PIN_GROUP(scif_clk_a), |
| 3049 | SH_PFC_PIN_GROUP(scif_clk_b), |
Kuninori Morimoto | 9b132ba | 2015-09-18 01:54:25 +0000 | [diff] [blame] | 3050 | SH_PFC_PIN_GROUP(ssi0_data), |
| 3051 | SH_PFC_PIN_GROUP(ssi01239_ctrl), |
| 3052 | SH_PFC_PIN_GROUP(ssi1_data_a), |
| 3053 | SH_PFC_PIN_GROUP(ssi1_data_b), |
| 3054 | SH_PFC_PIN_GROUP(ssi1_ctrl_a), |
| 3055 | SH_PFC_PIN_GROUP(ssi1_ctrl_b), |
| 3056 | SH_PFC_PIN_GROUP(ssi2_data_a), |
| 3057 | SH_PFC_PIN_GROUP(ssi2_data_b), |
| 3058 | SH_PFC_PIN_GROUP(ssi2_ctrl_a), |
| 3059 | SH_PFC_PIN_GROUP(ssi2_ctrl_b), |
| 3060 | SH_PFC_PIN_GROUP(ssi3_data), |
| 3061 | SH_PFC_PIN_GROUP(ssi34_ctrl), |
| 3062 | SH_PFC_PIN_GROUP(ssi4_data), |
| 3063 | SH_PFC_PIN_GROUP(ssi4_ctrl), |
| 3064 | SH_PFC_PIN_GROUP(ssi5_data), |
| 3065 | SH_PFC_PIN_GROUP(ssi5_ctrl), |
| 3066 | SH_PFC_PIN_GROUP(ssi6_data), |
| 3067 | SH_PFC_PIN_GROUP(ssi6_ctrl), |
| 3068 | SH_PFC_PIN_GROUP(ssi7_data), |
| 3069 | SH_PFC_PIN_GROUP(ssi78_ctrl), |
| 3070 | SH_PFC_PIN_GROUP(ssi8_data), |
| 3071 | SH_PFC_PIN_GROUP(ssi9_data_a), |
| 3072 | SH_PFC_PIN_GROUP(ssi9_data_b), |
| 3073 | SH_PFC_PIN_GROUP(ssi9_ctrl_a), |
| 3074 | SH_PFC_PIN_GROUP(ssi9_ctrl_b), |
Geert Uytterhoeven | ff8459a | 2015-09-03 02:52:07 +0000 | [diff] [blame] | 3075 | }; |
| 3076 | |
Kuninori Morimoto | c33a7fe | 2015-09-18 01:54:02 +0000 | [diff] [blame] | 3077 | static const char * const audio_clk_groups[] = { |
| 3078 | "audio_clk_a_a", |
| 3079 | "audio_clk_a_b", |
| 3080 | "audio_clk_a_c", |
| 3081 | "audio_clk_b_a", |
| 3082 | "audio_clk_b_b", |
| 3083 | "audio_clk_c_a", |
| 3084 | "audio_clk_c_b", |
| 3085 | "audio_clkout_a", |
| 3086 | "audio_clkout_b", |
| 3087 | "audio_clkout_c", |
| 3088 | "audio_clkout_d", |
| 3089 | "audio_clkout1_a", |
| 3090 | "audio_clkout1_b", |
| 3091 | "audio_clkout2_a", |
| 3092 | "audio_clkout2_b", |
| 3093 | "audio_clkout3_a", |
| 3094 | "audio_clkout3_b", |
| 3095 | }; |
| 3096 | |
Takeshi Kihara | 819fd4b | 2015-09-15 14:49:15 +0900 | [diff] [blame] | 3097 | static const char * const avb_groups[] = { |
| 3098 | "avb_link", |
| 3099 | "avb_magic", |
| 3100 | "avb_phy_int", |
| 3101 | "avb_mdc", |
| 3102 | "avb_avtp_pps", |
| 3103 | "avb_avtp_match_a", |
| 3104 | "avb_avtp_capture_a", |
| 3105 | "avb_avtp_match_b", |
| 3106 | "avb_avtp_capture_b", |
| 3107 | }; |
| 3108 | |
Geert Uytterhoeven | a56069c4 | 2015-08-26 19:35:58 +0200 | [diff] [blame] | 3109 | static const char * const hscif0_groups[] = { |
| 3110 | "hscif0_data", |
| 3111 | "hscif0_clk", |
| 3112 | "hscif0_ctrl", |
| 3113 | }; |
| 3114 | |
| 3115 | static const char * const hscif1_groups[] = { |
| 3116 | "hscif1_data_a", |
| 3117 | "hscif1_clk_a", |
| 3118 | "hscif1_ctrl_a", |
| 3119 | "hscif1_data_b", |
| 3120 | "hscif1_clk_b", |
| 3121 | "hscif1_ctrl_b", |
| 3122 | }; |
| 3123 | |
| 3124 | static const char * const hscif2_groups[] = { |
| 3125 | "hscif2_data_a", |
| 3126 | "hscif2_clk_a", |
| 3127 | "hscif2_ctrl_a", |
| 3128 | "hscif2_data_b", |
| 3129 | "hscif2_clk_b", |
| 3130 | "hscif2_ctrl_b", |
| 3131 | }; |
| 3132 | |
| 3133 | static const char * const hscif3_groups[] = { |
| 3134 | "hscif3_data_a", |
| 3135 | "hscif3_clk", |
| 3136 | "hscif3_ctrl", |
| 3137 | "hscif3_data_b", |
| 3138 | "hscif3_data_c", |
| 3139 | "hscif3_data_d", |
| 3140 | }; |
| 3141 | |
| 3142 | static const char * const hscif4_groups[] = { |
| 3143 | "hscif4_data_a", |
| 3144 | "hscif4_clk", |
| 3145 | "hscif4_ctrl", |
| 3146 | "hscif4_data_b", |
| 3147 | }; |
| 3148 | |
Kuninori Morimoto | 2544ef7 | 2015-09-18 01:53:33 +0000 | [diff] [blame] | 3149 | static const char * const i2c1_groups[] = { |
| 3150 | "i2c1_a", |
| 3151 | "i2c1_b", |
| 3152 | }; |
| 3153 | |
| 3154 | static const char * const i2c2_groups[] = { |
| 3155 | "i2c2_a", |
| 3156 | "i2c2_b", |
| 3157 | }; |
| 3158 | |
| 3159 | static const char * const i2c6_groups[] = { |
| 3160 | "i2c6_a", |
| 3161 | "i2c6_b", |
| 3162 | "i2c6_c", |
| 3163 | }; |
| 3164 | |
Geert Uytterhoeven | e7419b8 | 2015-09-02 16:51:54 +0200 | [diff] [blame] | 3165 | static const char * const msiof0_groups[] = { |
| 3166 | "msiof0_clk", |
| 3167 | "msiof0_sync", |
| 3168 | "msiof0_ss1", |
| 3169 | "msiof0_ss2", |
| 3170 | "msiof0_txd", |
| 3171 | "msiof0_rxd", |
| 3172 | }; |
| 3173 | |
| 3174 | static const char * const msiof1_groups[] = { |
| 3175 | "msiof1_clk_a", |
| 3176 | "msiof1_sync_a", |
| 3177 | "msiof1_ss1_a", |
| 3178 | "msiof1_ss2_a", |
| 3179 | "msiof1_txd_a", |
| 3180 | "msiof1_rxd_a", |
| 3181 | "msiof1_clk_b", |
| 3182 | "msiof1_sync_b", |
| 3183 | "msiof1_ss1_b", |
| 3184 | "msiof1_ss2_b", |
| 3185 | "msiof1_txd_b", |
| 3186 | "msiof1_rxd_b", |
| 3187 | "msiof1_clk_c", |
| 3188 | "msiof1_sync_c", |
| 3189 | "msiof1_ss1_c", |
| 3190 | "msiof1_ss2_c", |
| 3191 | "msiof1_txd_c", |
| 3192 | "msiof1_rxd_c", |
| 3193 | "msiof1_clk_d", |
| 3194 | "msiof1_sync_d", |
| 3195 | "msiof1_ss1_d", |
| 3196 | "msiof1_ss2_d", |
| 3197 | "msiof1_txd_d", |
| 3198 | "msiof1_rxd_d", |
| 3199 | "msiof1_clk_e", |
| 3200 | "msiof1_sync_e", |
| 3201 | "msiof1_ss1_e", |
| 3202 | "msiof1_ss2_e", |
| 3203 | "msiof1_txd_e", |
| 3204 | "msiof1_rxd_e", |
| 3205 | "msiof1_clk_f", |
| 3206 | "msiof1_sync_f", |
| 3207 | "msiof1_ss1_f", |
| 3208 | "msiof1_ss2_f", |
| 3209 | "msiof1_txd_f", |
| 3210 | "msiof1_rxd_f", |
| 3211 | "msiof1_clk_g", |
| 3212 | "msiof1_sync_g", |
| 3213 | "msiof1_ss1_g", |
| 3214 | "msiof1_ss2_g", |
| 3215 | "msiof1_txd_g", |
| 3216 | "msiof1_rxd_g", |
| 3217 | }; |
| 3218 | |
| 3219 | static const char * const msiof2_groups[] = { |
| 3220 | "msiof2_clk_a", |
| 3221 | "msiof2_sync_a", |
| 3222 | "msiof2_ss1_a", |
| 3223 | "msiof2_ss2_a", |
| 3224 | "msiof2_txd_a", |
| 3225 | "msiof2_rxd_a", |
| 3226 | "msiof2_clk_b", |
| 3227 | "msiof2_sync_b", |
| 3228 | "msiof2_ss1_b", |
| 3229 | "msiof2_ss2_b", |
| 3230 | "msiof2_txd_b", |
| 3231 | "msiof2_rxd_b", |
| 3232 | "msiof2_clk_c", |
| 3233 | "msiof2_sync_c", |
| 3234 | "msiof2_ss1_c", |
| 3235 | "msiof2_ss2_c", |
| 3236 | "msiof2_txd_c", |
| 3237 | "msiof2_rxd_c", |
| 3238 | "msiof2_clk_d", |
| 3239 | "msiof2_sync_d", |
| 3240 | "msiof2_ss1_d", |
| 3241 | "msiof2_ss2_d", |
| 3242 | "msiof2_txd_d", |
| 3243 | "msiof2_rxd_d", |
| 3244 | }; |
| 3245 | |
| 3246 | static const char * const msiof3_groups[] = { |
| 3247 | "msiof3_clk_a", |
| 3248 | "msiof3_sync_a", |
| 3249 | "msiof3_ss1_a", |
| 3250 | "msiof3_ss2_a", |
| 3251 | "msiof3_txd_a", |
| 3252 | "msiof3_rxd_a", |
| 3253 | "msiof3_clk_b", |
| 3254 | "msiof3_sync_b", |
| 3255 | "msiof3_ss1_b", |
| 3256 | "msiof3_ss2_b", |
| 3257 | "msiof3_txd_b", |
| 3258 | "msiof3_rxd_b", |
| 3259 | "msiof3_clk_c", |
| 3260 | "msiof3_sync_c", |
| 3261 | "msiof3_txd_c", |
| 3262 | "msiof3_rxd_c", |
| 3263 | "msiof3_clk_d", |
| 3264 | "msiof3_sync_d", |
| 3265 | "msiof3_ss1_d", |
| 3266 | "msiof3_txd_d", |
| 3267 | "msiof3_rxd_d", |
| 3268 | }; |
| 3269 | |
Geert Uytterhoeven | ff8459a | 2015-09-03 02:52:07 +0000 | [diff] [blame] | 3270 | static const char * const scif0_groups[] = { |
| 3271 | "scif0_data", |
| 3272 | "scif0_clk", |
| 3273 | "scif0_ctrl", |
| 3274 | }; |
| 3275 | |
| 3276 | static const char * const scif1_groups[] = { |
| 3277 | "scif1_data_a", |
| 3278 | "scif1_clk", |
| 3279 | "scif1_ctrl", |
| 3280 | "scif1_data_b", |
| 3281 | }; |
| 3282 | |
| 3283 | static const char * const scif2_groups[] = { |
| 3284 | "scif2_data_a", |
| 3285 | "scif2_clk", |
| 3286 | "scif2_data_b", |
| 3287 | }; |
| 3288 | |
| 3289 | static const char * const scif3_groups[] = { |
| 3290 | "scif3_data_a", |
| 3291 | "scif3_clk", |
| 3292 | "scif3_ctrl", |
| 3293 | "scif3_data_b", |
| 3294 | }; |
| 3295 | |
| 3296 | static const char * const scif4_groups[] = { |
| 3297 | "scif4_data_a", |
| 3298 | "scif4_clk_a", |
| 3299 | "scif4_ctrl_a", |
| 3300 | "scif4_data_b", |
| 3301 | "scif4_clk_b", |
| 3302 | "scif4_ctrl_b", |
| 3303 | "scif4_data_c", |
| 3304 | "scif4_clk_c", |
| 3305 | "scif4_ctrl_c", |
| 3306 | }; |
| 3307 | |
| 3308 | static const char * const scif5_groups[] = { |
| 3309 | "scif5_data", |
| 3310 | "scif5_clk", |
Takeshi Kihara | 0b0ffc9 | 2015-09-03 02:51:49 +0000 | [diff] [blame] | 3311 | }; |
| 3312 | |
Geert Uytterhoeven | f27200f | 2015-11-16 21:53:37 +0100 | [diff] [blame^] | 3313 | static const char * const scif_clk_groups[] = { |
| 3314 | "scif_clk_a", |
| 3315 | "scif_clk_b", |
| 3316 | }; |
| 3317 | |
Kuninori Morimoto | 9b132ba | 2015-09-18 01:54:25 +0000 | [diff] [blame] | 3318 | static const char * const ssi_groups[] = { |
| 3319 | "ssi0_data", |
| 3320 | "ssi01239_ctrl", |
| 3321 | "ssi1_data_a", |
| 3322 | "ssi1_data_b", |
| 3323 | "ssi1_ctrl_a", |
| 3324 | "ssi1_ctrl_b", |
| 3325 | "ssi2_data_a", |
| 3326 | "ssi2_data_b", |
| 3327 | "ssi2_ctrl_a", |
| 3328 | "ssi2_ctrl_b", |
| 3329 | "ssi3_data", |
| 3330 | "ssi34_ctrl", |
| 3331 | "ssi4_data", |
| 3332 | "ssi4_ctrl", |
| 3333 | "ssi5_data", |
| 3334 | "ssi5_ctrl", |
| 3335 | "ssi6_data", |
| 3336 | "ssi6_ctrl", |
| 3337 | "ssi7_data", |
| 3338 | "ssi78_ctrl", |
| 3339 | "ssi8_data", |
| 3340 | "ssi9_data_a", |
| 3341 | "ssi9_data_b", |
| 3342 | "ssi9_ctrl_a", |
| 3343 | "ssi9_ctrl_b", |
| 3344 | }; |
| 3345 | |
Takeshi Kihara | 0b0ffc9 | 2015-09-03 02:51:49 +0000 | [diff] [blame] | 3346 | static const struct sh_pfc_function pinmux_functions[] = { |
Kuninori Morimoto | c33a7fe | 2015-09-18 01:54:02 +0000 | [diff] [blame] | 3347 | SH_PFC_FUNCTION(audio_clk), |
Takeshi Kihara | 819fd4b | 2015-09-15 14:49:15 +0900 | [diff] [blame] | 3348 | SH_PFC_FUNCTION(avb), |
Geert Uytterhoeven | a56069c4 | 2015-08-26 19:35:58 +0200 | [diff] [blame] | 3349 | SH_PFC_FUNCTION(hscif0), |
| 3350 | SH_PFC_FUNCTION(hscif1), |
| 3351 | SH_PFC_FUNCTION(hscif2), |
| 3352 | SH_PFC_FUNCTION(hscif3), |
| 3353 | SH_PFC_FUNCTION(hscif4), |
Kuninori Morimoto | 2544ef7 | 2015-09-18 01:53:33 +0000 | [diff] [blame] | 3354 | SH_PFC_FUNCTION(i2c1), |
| 3355 | SH_PFC_FUNCTION(i2c2), |
| 3356 | SH_PFC_FUNCTION(i2c6), |
Geert Uytterhoeven | e7419b8 | 2015-09-02 16:51:54 +0200 | [diff] [blame] | 3357 | SH_PFC_FUNCTION(msiof0), |
| 3358 | SH_PFC_FUNCTION(msiof1), |
| 3359 | SH_PFC_FUNCTION(msiof2), |
| 3360 | SH_PFC_FUNCTION(msiof3), |
Geert Uytterhoeven | ff8459a | 2015-09-03 02:52:07 +0000 | [diff] [blame] | 3361 | SH_PFC_FUNCTION(scif0), |
| 3362 | SH_PFC_FUNCTION(scif1), |
| 3363 | SH_PFC_FUNCTION(scif2), |
| 3364 | SH_PFC_FUNCTION(scif3), |
| 3365 | SH_PFC_FUNCTION(scif4), |
| 3366 | SH_PFC_FUNCTION(scif5), |
Geert Uytterhoeven | f27200f | 2015-11-16 21:53:37 +0100 | [diff] [blame^] | 3367 | SH_PFC_FUNCTION(scif_clk), |
Kuninori Morimoto | 9b132ba | 2015-09-18 01:54:25 +0000 | [diff] [blame] | 3368 | SH_PFC_FUNCTION(ssi), |
Takeshi Kihara | 0b0ffc9 | 2015-09-03 02:51:49 +0000 | [diff] [blame] | 3369 | }; |
| 3370 | |
| 3371 | static const struct pinmux_cfg_reg pinmux_config_regs[] = { |
| 3372 | #define F_(x, y) FN_##y |
| 3373 | #define FM(x) FN_##x |
| 3374 | { PINMUX_CFG_REG("GPSR0", 0xe6060100, 32, 1) { |
| 3375 | 0, 0, |
| 3376 | 0, 0, |
| 3377 | 0, 0, |
| 3378 | 0, 0, |
| 3379 | 0, 0, |
| 3380 | 0, 0, |
| 3381 | 0, 0, |
| 3382 | 0, 0, |
| 3383 | 0, 0, |
| 3384 | 0, 0, |
| 3385 | 0, 0, |
| 3386 | 0, 0, |
| 3387 | 0, 0, |
| 3388 | 0, 0, |
| 3389 | 0, 0, |
| 3390 | 0, 0, |
| 3391 | GP_0_15_FN, GPSR0_15, |
| 3392 | GP_0_14_FN, GPSR0_14, |
| 3393 | GP_0_13_FN, GPSR0_13, |
| 3394 | GP_0_12_FN, GPSR0_12, |
| 3395 | GP_0_11_FN, GPSR0_11, |
| 3396 | GP_0_10_FN, GPSR0_10, |
| 3397 | GP_0_9_FN, GPSR0_9, |
| 3398 | GP_0_8_FN, GPSR0_8, |
| 3399 | GP_0_7_FN, GPSR0_7, |
| 3400 | GP_0_6_FN, GPSR0_6, |
| 3401 | GP_0_5_FN, GPSR0_5, |
| 3402 | GP_0_4_FN, GPSR0_4, |
| 3403 | GP_0_3_FN, GPSR0_3, |
| 3404 | GP_0_2_FN, GPSR0_2, |
| 3405 | GP_0_1_FN, GPSR0_1, |
| 3406 | GP_0_0_FN, GPSR0_0, } |
| 3407 | }, |
| 3408 | { PINMUX_CFG_REG("GPSR1", 0xe6060104, 32, 1) { |
| 3409 | 0, 0, |
| 3410 | 0, 0, |
| 3411 | 0, 0, |
| 3412 | 0, 0, |
| 3413 | GP_1_27_FN, GPSR1_27, |
| 3414 | GP_1_26_FN, GPSR1_26, |
| 3415 | GP_1_25_FN, GPSR1_25, |
| 3416 | GP_1_24_FN, GPSR1_24, |
| 3417 | GP_1_23_FN, GPSR1_23, |
| 3418 | GP_1_22_FN, GPSR1_22, |
| 3419 | GP_1_21_FN, GPSR1_21, |
| 3420 | GP_1_20_FN, GPSR1_20, |
| 3421 | GP_1_19_FN, GPSR1_19, |
| 3422 | GP_1_18_FN, GPSR1_18, |
| 3423 | GP_1_17_FN, GPSR1_17, |
| 3424 | GP_1_16_FN, GPSR1_16, |
| 3425 | GP_1_15_FN, GPSR1_15, |
| 3426 | GP_1_14_FN, GPSR1_14, |
| 3427 | GP_1_13_FN, GPSR1_13, |
| 3428 | GP_1_12_FN, GPSR1_12, |
| 3429 | GP_1_11_FN, GPSR1_11, |
| 3430 | GP_1_10_FN, GPSR1_10, |
| 3431 | GP_1_9_FN, GPSR1_9, |
| 3432 | GP_1_8_FN, GPSR1_8, |
| 3433 | GP_1_7_FN, GPSR1_7, |
| 3434 | GP_1_6_FN, GPSR1_6, |
| 3435 | GP_1_5_FN, GPSR1_5, |
| 3436 | GP_1_4_FN, GPSR1_4, |
| 3437 | GP_1_3_FN, GPSR1_3, |
| 3438 | GP_1_2_FN, GPSR1_2, |
| 3439 | GP_1_1_FN, GPSR1_1, |
| 3440 | GP_1_0_FN, GPSR1_0, } |
| 3441 | }, |
| 3442 | { PINMUX_CFG_REG("GPSR2", 0xe6060108, 32, 1) { |
| 3443 | 0, 0, |
| 3444 | 0, 0, |
| 3445 | 0, 0, |
| 3446 | 0, 0, |
| 3447 | 0, 0, |
| 3448 | 0, 0, |
| 3449 | 0, 0, |
| 3450 | 0, 0, |
| 3451 | 0, 0, |
| 3452 | 0, 0, |
| 3453 | 0, 0, |
| 3454 | 0, 0, |
| 3455 | 0, 0, |
| 3456 | 0, 0, |
| 3457 | 0, 0, |
| 3458 | 0, 0, |
| 3459 | 0, 0, |
| 3460 | GP_2_14_FN, GPSR2_14, |
| 3461 | GP_2_13_FN, GPSR2_13, |
| 3462 | GP_2_12_FN, GPSR2_12, |
| 3463 | GP_2_11_FN, GPSR2_11, |
| 3464 | GP_2_10_FN, GPSR2_10, |
| 3465 | GP_2_9_FN, GPSR2_9, |
| 3466 | GP_2_8_FN, GPSR2_8, |
| 3467 | GP_2_7_FN, GPSR2_7, |
| 3468 | GP_2_6_FN, GPSR2_6, |
| 3469 | GP_2_5_FN, GPSR2_5, |
| 3470 | GP_2_4_FN, GPSR2_4, |
| 3471 | GP_2_3_FN, GPSR2_3, |
| 3472 | GP_2_2_FN, GPSR2_2, |
| 3473 | GP_2_1_FN, GPSR2_1, |
| 3474 | GP_2_0_FN, GPSR2_0, } |
| 3475 | }, |
| 3476 | { PINMUX_CFG_REG("GPSR3", 0xe606010c, 32, 1) { |
| 3477 | 0, 0, |
| 3478 | 0, 0, |
| 3479 | 0, 0, |
| 3480 | 0, 0, |
| 3481 | 0, 0, |
| 3482 | 0, 0, |
| 3483 | 0, 0, |
| 3484 | 0, 0, |
| 3485 | 0, 0, |
| 3486 | 0, 0, |
| 3487 | 0, 0, |
| 3488 | 0, 0, |
| 3489 | 0, 0, |
| 3490 | 0, 0, |
| 3491 | 0, 0, |
| 3492 | 0, 0, |
| 3493 | GP_3_15_FN, GPSR3_15, |
| 3494 | GP_3_14_FN, GPSR3_14, |
| 3495 | GP_3_13_FN, GPSR3_13, |
| 3496 | GP_3_12_FN, GPSR3_12, |
| 3497 | GP_3_11_FN, GPSR3_11, |
| 3498 | GP_3_10_FN, GPSR3_10, |
| 3499 | GP_3_9_FN, GPSR3_9, |
| 3500 | GP_3_8_FN, GPSR3_8, |
| 3501 | GP_3_7_FN, GPSR3_7, |
| 3502 | GP_3_6_FN, GPSR3_6, |
| 3503 | GP_3_5_FN, GPSR3_5, |
| 3504 | GP_3_4_FN, GPSR3_4, |
| 3505 | GP_3_3_FN, GPSR3_3, |
| 3506 | GP_3_2_FN, GPSR3_2, |
| 3507 | GP_3_1_FN, GPSR3_1, |
| 3508 | GP_3_0_FN, GPSR3_0, } |
| 3509 | }, |
| 3510 | { PINMUX_CFG_REG("GPSR4", 0xe6060110, 32, 1) { |
| 3511 | 0, 0, |
| 3512 | 0, 0, |
| 3513 | 0, 0, |
| 3514 | 0, 0, |
| 3515 | 0, 0, |
| 3516 | 0, 0, |
| 3517 | 0, 0, |
| 3518 | 0, 0, |
| 3519 | 0, 0, |
| 3520 | 0, 0, |
| 3521 | 0, 0, |
| 3522 | 0, 0, |
| 3523 | 0, 0, |
| 3524 | 0, 0, |
| 3525 | GP_4_17_FN, GPSR4_17, |
| 3526 | GP_4_16_FN, GPSR4_16, |
| 3527 | GP_4_15_FN, GPSR4_15, |
| 3528 | GP_4_14_FN, GPSR4_14, |
| 3529 | GP_4_13_FN, GPSR4_13, |
| 3530 | GP_4_12_FN, GPSR4_12, |
| 3531 | GP_4_11_FN, GPSR4_11, |
| 3532 | GP_4_10_FN, GPSR4_10, |
| 3533 | GP_4_9_FN, GPSR4_9, |
| 3534 | GP_4_8_FN, GPSR4_8, |
| 3535 | GP_4_7_FN, GPSR4_7, |
| 3536 | GP_4_6_FN, GPSR4_6, |
| 3537 | GP_4_5_FN, GPSR4_5, |
| 3538 | GP_4_4_FN, GPSR4_4, |
| 3539 | GP_4_3_FN, GPSR4_3, |
| 3540 | GP_4_2_FN, GPSR4_2, |
| 3541 | GP_4_1_FN, GPSR4_1, |
| 3542 | GP_4_0_FN, GPSR4_0, } |
| 3543 | }, |
| 3544 | { PINMUX_CFG_REG("GPSR5", 0xe6060114, 32, 1) { |
| 3545 | 0, 0, |
| 3546 | 0, 0, |
| 3547 | 0, 0, |
| 3548 | 0, 0, |
| 3549 | 0, 0, |
| 3550 | 0, 0, |
| 3551 | GP_5_25_FN, GPSR5_25, |
| 3552 | GP_5_24_FN, GPSR5_24, |
| 3553 | GP_5_23_FN, GPSR5_23, |
| 3554 | GP_5_22_FN, GPSR5_22, |
| 3555 | GP_5_21_FN, GPSR5_21, |
| 3556 | GP_5_20_FN, GPSR5_20, |
| 3557 | GP_5_19_FN, GPSR5_19, |
| 3558 | GP_5_18_FN, GPSR5_18, |
| 3559 | GP_5_17_FN, GPSR5_17, |
| 3560 | GP_5_16_FN, GPSR5_16, |
| 3561 | GP_5_15_FN, GPSR5_15, |
| 3562 | GP_5_14_FN, GPSR5_14, |
| 3563 | GP_5_13_FN, GPSR5_13, |
| 3564 | GP_5_12_FN, GPSR5_12, |
| 3565 | GP_5_11_FN, GPSR5_11, |
| 3566 | GP_5_10_FN, GPSR5_10, |
| 3567 | GP_5_9_FN, GPSR5_9, |
| 3568 | GP_5_8_FN, GPSR5_8, |
| 3569 | GP_5_7_FN, GPSR5_7, |
| 3570 | GP_5_6_FN, GPSR5_6, |
| 3571 | GP_5_5_FN, GPSR5_5, |
| 3572 | GP_5_4_FN, GPSR5_4, |
| 3573 | GP_5_3_FN, GPSR5_3, |
| 3574 | GP_5_2_FN, GPSR5_2, |
| 3575 | GP_5_1_FN, GPSR5_1, |
| 3576 | GP_5_0_FN, GPSR5_0, } |
| 3577 | }, |
| 3578 | { PINMUX_CFG_REG("GPSR6", 0xe6060118, 32, 1) { |
| 3579 | GP_6_31_FN, GPSR6_31, |
| 3580 | GP_6_30_FN, GPSR6_30, |
| 3581 | GP_6_29_FN, GPSR6_29, |
| 3582 | GP_6_28_FN, GPSR6_28, |
| 3583 | GP_6_27_FN, GPSR6_27, |
| 3584 | GP_6_26_FN, GPSR6_26, |
| 3585 | GP_6_25_FN, GPSR6_25, |
| 3586 | GP_6_24_FN, GPSR6_24, |
| 3587 | GP_6_23_FN, GPSR6_23, |
| 3588 | GP_6_22_FN, GPSR6_22, |
| 3589 | GP_6_21_FN, GPSR6_21, |
| 3590 | GP_6_20_FN, GPSR6_20, |
| 3591 | GP_6_19_FN, GPSR6_19, |
| 3592 | GP_6_18_FN, GPSR6_18, |
| 3593 | GP_6_17_FN, GPSR6_17, |
| 3594 | GP_6_16_FN, GPSR6_16, |
| 3595 | GP_6_15_FN, GPSR6_15, |
| 3596 | GP_6_14_FN, GPSR6_14, |
| 3597 | GP_6_13_FN, GPSR6_13, |
| 3598 | GP_6_12_FN, GPSR6_12, |
| 3599 | GP_6_11_FN, GPSR6_11, |
| 3600 | GP_6_10_FN, GPSR6_10, |
| 3601 | GP_6_9_FN, GPSR6_9, |
| 3602 | GP_6_8_FN, GPSR6_8, |
| 3603 | GP_6_7_FN, GPSR6_7, |
| 3604 | GP_6_6_FN, GPSR6_6, |
| 3605 | GP_6_5_FN, GPSR6_5, |
| 3606 | GP_6_4_FN, GPSR6_4, |
| 3607 | GP_6_3_FN, GPSR6_3, |
| 3608 | GP_6_2_FN, GPSR6_2, |
| 3609 | GP_6_1_FN, GPSR6_1, |
| 3610 | GP_6_0_FN, GPSR6_0, } |
| 3611 | }, |
| 3612 | { PINMUX_CFG_REG("GPSR7", 0xe606011c, 32, 1) { |
| 3613 | 0, 0, |
| 3614 | 0, 0, |
| 3615 | 0, 0, |
| 3616 | 0, 0, |
| 3617 | 0, 0, |
| 3618 | 0, 0, |
| 3619 | 0, 0, |
| 3620 | 0, 0, |
| 3621 | 0, 0, |
| 3622 | 0, 0, |
| 3623 | 0, 0, |
| 3624 | 0, 0, |
| 3625 | 0, 0, |
| 3626 | 0, 0, |
| 3627 | 0, 0, |
| 3628 | 0, 0, |
| 3629 | 0, 0, |
| 3630 | 0, 0, |
| 3631 | 0, 0, |
| 3632 | 0, 0, |
| 3633 | 0, 0, |
| 3634 | 0, 0, |
| 3635 | 0, 0, |
| 3636 | 0, 0, |
| 3637 | 0, 0, |
| 3638 | 0, 0, |
| 3639 | 0, 0, |
| 3640 | 0, 0, |
| 3641 | GP_7_3_FN, GPSR7_3, |
| 3642 | GP_7_2_FN, GPSR7_2, |
| 3643 | GP_7_1_FN, GPSR7_1, |
| 3644 | GP_7_0_FN, GPSR7_0, } |
| 3645 | }, |
| 3646 | #undef F_ |
| 3647 | #undef FM |
| 3648 | |
| 3649 | #define F_(x, y) x, |
| 3650 | #define FM(x) FN_##x, |
| 3651 | { PINMUX_CFG_REG("IPSR0", 0xe6060200, 32, 4) { |
| 3652 | IP0_31_28 |
| 3653 | IP0_27_24 |
| 3654 | IP0_23_20 |
| 3655 | IP0_19_16 |
| 3656 | IP0_15_12 |
| 3657 | IP0_11_8 |
| 3658 | IP0_7_4 |
| 3659 | IP0_3_0 } |
| 3660 | }, |
| 3661 | { PINMUX_CFG_REG("IPSR1", 0xe6060204, 32, 4) { |
| 3662 | IP1_31_28 |
| 3663 | IP1_27_24 |
| 3664 | IP1_23_20 |
| 3665 | IP1_19_16 |
| 3666 | IP1_15_12 |
| 3667 | IP1_11_8 |
| 3668 | IP1_7_4 |
| 3669 | IP1_3_0 } |
| 3670 | }, |
| 3671 | { PINMUX_CFG_REG("IPSR2", 0xe6060208, 32, 4) { |
| 3672 | IP2_31_28 |
| 3673 | IP2_27_24 |
| 3674 | IP2_23_20 |
| 3675 | IP2_19_16 |
| 3676 | IP2_15_12 |
| 3677 | IP2_11_8 |
| 3678 | IP2_7_4 |
| 3679 | IP2_3_0 } |
| 3680 | }, |
| 3681 | { PINMUX_CFG_REG("IPSR3", 0xe606020c, 32, 4) { |
| 3682 | IP3_31_28 |
| 3683 | IP3_27_24 |
| 3684 | IP3_23_20 |
| 3685 | IP3_19_16 |
| 3686 | IP3_15_12 |
| 3687 | IP3_11_8 |
| 3688 | IP3_7_4 |
| 3689 | IP3_3_0 } |
| 3690 | }, |
| 3691 | { PINMUX_CFG_REG("IPSR4", 0xe6060210, 32, 4) { |
| 3692 | IP4_31_28 |
| 3693 | IP4_27_24 |
| 3694 | IP4_23_20 |
| 3695 | IP4_19_16 |
| 3696 | IP4_15_12 |
| 3697 | IP4_11_8 |
| 3698 | IP4_7_4 |
| 3699 | IP4_3_0 } |
| 3700 | }, |
| 3701 | { PINMUX_CFG_REG("IPSR5", 0xe6060214, 32, 4) { |
| 3702 | IP5_31_28 |
| 3703 | IP5_27_24 |
| 3704 | IP5_23_20 |
| 3705 | IP5_19_16 |
| 3706 | IP5_15_12 |
| 3707 | IP5_11_8 |
| 3708 | IP5_7_4 |
| 3709 | IP5_3_0 } |
| 3710 | }, |
| 3711 | { PINMUX_CFG_REG("IPSR6", 0xe6060218, 32, 4) { |
| 3712 | IP6_31_28 |
| 3713 | IP6_27_24 |
| 3714 | IP6_23_20 |
| 3715 | IP6_19_16 |
| 3716 | IP6_15_12 |
| 3717 | IP6_11_8 |
| 3718 | IP6_7_4 |
| 3719 | IP6_3_0 } |
| 3720 | }, |
| 3721 | { PINMUX_CFG_REG("IPSR7", 0xe606021c, 32, 4) { |
| 3722 | IP7_31_28 |
| 3723 | IP7_27_24 |
| 3724 | IP7_23_20 |
| 3725 | IP7_19_16 |
| 3726 | IP7_15_12 |
| 3727 | IP7_11_8 |
| 3728 | IP7_7_4 |
| 3729 | IP7_3_0 } |
| 3730 | }, |
| 3731 | { PINMUX_CFG_REG("IPSR8", 0xe6060220, 32, 4) { |
| 3732 | IP8_31_28 |
| 3733 | IP8_27_24 |
| 3734 | IP8_23_20 |
| 3735 | IP8_19_16 |
| 3736 | IP8_15_12 |
| 3737 | IP8_11_8 |
| 3738 | IP8_7_4 |
| 3739 | IP8_3_0 } |
| 3740 | }, |
| 3741 | { PINMUX_CFG_REG("IPSR9", 0xe6060224, 32, 4) { |
| 3742 | IP9_31_28 |
| 3743 | IP9_27_24 |
| 3744 | IP9_23_20 |
| 3745 | IP9_19_16 |
| 3746 | IP9_15_12 |
| 3747 | IP9_11_8 |
| 3748 | IP9_7_4 |
| 3749 | IP9_3_0 } |
| 3750 | }, |
| 3751 | { PINMUX_CFG_REG("IPSR10", 0xe6060228, 32, 4) { |
| 3752 | IP10_31_28 |
| 3753 | IP10_27_24 |
| 3754 | IP10_23_20 |
| 3755 | IP10_19_16 |
| 3756 | IP10_15_12 |
| 3757 | IP10_11_8 |
| 3758 | IP10_7_4 |
| 3759 | IP10_3_0 } |
| 3760 | }, |
| 3761 | { PINMUX_CFG_REG("IPSR11", 0xe606022c, 32, 4) { |
| 3762 | IP11_31_28 |
| 3763 | IP11_27_24 |
| 3764 | IP11_23_20 |
| 3765 | IP11_19_16 |
| 3766 | IP11_15_12 |
| 3767 | IP11_11_8 |
| 3768 | IP11_7_4 |
| 3769 | IP11_3_0 } |
| 3770 | }, |
| 3771 | { PINMUX_CFG_REG("IPSR12", 0xe6060230, 32, 4) { |
| 3772 | IP12_31_28 |
| 3773 | IP12_27_24 |
| 3774 | IP12_23_20 |
| 3775 | IP12_19_16 |
| 3776 | IP12_15_12 |
| 3777 | IP12_11_8 |
| 3778 | IP12_7_4 |
| 3779 | IP12_3_0 } |
| 3780 | }, |
| 3781 | { PINMUX_CFG_REG("IPSR13", 0xe6060234, 32, 4) { |
| 3782 | IP13_31_28 |
| 3783 | IP13_27_24 |
| 3784 | IP13_23_20 |
| 3785 | IP13_19_16 |
| 3786 | IP13_15_12 |
| 3787 | IP13_11_8 |
| 3788 | IP13_7_4 |
| 3789 | IP13_3_0 } |
| 3790 | }, |
| 3791 | { PINMUX_CFG_REG("IPSR14", 0xe6060238, 32, 4) { |
| 3792 | IP14_31_28 |
| 3793 | IP14_27_24 |
| 3794 | IP14_23_20 |
| 3795 | IP14_19_16 |
| 3796 | IP14_15_12 |
| 3797 | IP14_11_8 |
| 3798 | IP14_7_4 |
| 3799 | IP14_3_0 } |
| 3800 | }, |
| 3801 | { PINMUX_CFG_REG("IPSR15", 0xe606023c, 32, 4) { |
| 3802 | IP15_31_28 |
| 3803 | IP15_27_24 |
| 3804 | IP15_23_20 |
| 3805 | IP15_19_16 |
| 3806 | IP15_15_12 |
| 3807 | IP15_11_8 |
| 3808 | IP15_7_4 |
| 3809 | IP15_3_0 } |
| 3810 | }, |
| 3811 | { PINMUX_CFG_REG("IPSR16", 0xe6060240, 32, 4) { |
| 3812 | IP16_31_28 |
| 3813 | IP16_27_24 |
| 3814 | IP16_23_20 |
| 3815 | IP16_19_16 |
| 3816 | IP16_15_12 |
| 3817 | IP16_11_8 |
| 3818 | IP16_7_4 |
| 3819 | IP16_3_0 } |
| 3820 | }, |
| 3821 | { PINMUX_CFG_REG("IPSR17", 0xe6060244, 32, 4) { |
| 3822 | /* IP17_31_28 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 3823 | /* IP17_27_24 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 3824 | /* IP17_23_20 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 3825 | /* IP17_19_16 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 3826 | /* IP17_15_12 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 3827 | /* IP17_11_8 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 3828 | IP17_7_4 |
| 3829 | IP17_3_0 } |
| 3830 | }, |
| 3831 | #undef F_ |
| 3832 | #undef FM |
| 3833 | |
| 3834 | #define F_(x, y) x, |
| 3835 | #define FM(x) FN_##x, |
| 3836 | { PINMUX_CFG_REG_VAR("MOD_SEL0", 0xe6060500, 32, |
| 3837 | 1, 2, 2, 3, 1, 1, 2, 1, 1, 1, |
| 3838 | 2, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 1) { |
| 3839 | 0, 0, /* RESERVED 31 */ |
| 3840 | MOD_SEL0_30_29 |
| 3841 | MOD_SEL0_28_27 |
| 3842 | MOD_SEL0_26_25_24 |
| 3843 | MOD_SEL0_23 |
| 3844 | MOD_SEL0_22 |
| 3845 | MOD_SEL0_21_20 |
| 3846 | MOD_SEL0_19 |
| 3847 | MOD_SEL0_18 |
| 3848 | MOD_SEL0_17 |
| 3849 | MOD_SEL0_16_15 |
| 3850 | MOD_SEL0_14 |
| 3851 | MOD_SEL0_13 |
| 3852 | MOD_SEL0_12 |
| 3853 | MOD_SEL0_11 |
| 3854 | MOD_SEL0_10 |
| 3855 | MOD_SEL0_9 |
| 3856 | MOD_SEL0_8 |
| 3857 | MOD_SEL0_7_6 |
| 3858 | MOD_SEL0_5_4 |
| 3859 | MOD_SEL0_3 |
| 3860 | MOD_SEL0_2_1 |
| 3861 | 0, 0, /* RESERVED 0 */ } |
| 3862 | }, |
| 3863 | { PINMUX_CFG_REG_VAR("MOD_SEL1", 0xe6060504, 32, |
| 3864 | 2, 3, 1, 2, 3, 1, 1, 2, 1, |
| 3865 | 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1) { |
| 3866 | MOD_SEL1_31_30 |
| 3867 | MOD_SEL1_29_28_27 |
| 3868 | MOD_SEL1_26 |
| 3869 | MOD_SEL1_25_24 |
| 3870 | MOD_SEL1_23_22_21 |
| 3871 | MOD_SEL1_20 |
| 3872 | MOD_SEL1_19 |
| 3873 | MOD_SEL1_18_17 |
| 3874 | MOD_SEL1_16 |
| 3875 | MOD_SEL1_15_14 |
| 3876 | MOD_SEL1_13 |
| 3877 | MOD_SEL1_12 |
| 3878 | MOD_SEL1_11 |
| 3879 | MOD_SEL1_10 |
| 3880 | MOD_SEL1_9 |
| 3881 | 0, 0, 0, 0, /* RESERVED 8, 7 */ |
| 3882 | MOD_SEL1_6 |
| 3883 | MOD_SEL1_5 |
| 3884 | MOD_SEL1_4 |
| 3885 | MOD_SEL1_3 |
| 3886 | MOD_SEL1_2 |
| 3887 | MOD_SEL1_1 |
| 3888 | MOD_SEL1_0 } |
| 3889 | }, |
| 3890 | { PINMUX_CFG_REG_VAR("MOD_SEL2", 0xe6060508, 32, |
| 3891 | 1, 1, 1, 1, 4, 4, 4, |
| 3892 | 4, 4, 4, 1, 2, 1) { |
| 3893 | MOD_SEL2_31 |
| 3894 | MOD_SEL2_30 |
| 3895 | MOD_SEL2_29 |
| 3896 | /* RESERVED 28 */ |
| 3897 | 0, 0, |
| 3898 | /* RESERVED 27, 26, 25, 24 */ |
| 3899 | 0, 0, 0, 0, 0, 0, 0, 0, |
| 3900 | 0, 0, 0, 0, 0, 0, 0, 0, |
| 3901 | /* RESERVED 23, 22, 21, 20 */ |
| 3902 | 0, 0, 0, 0, 0, 0, 0, 0, |
| 3903 | 0, 0, 0, 0, 0, 0, 0, 0, |
| 3904 | /* RESERVED 19, 18, 17, 16 */ |
| 3905 | 0, 0, 0, 0, 0, 0, 0, 0, |
| 3906 | 0, 0, 0, 0, 0, 0, 0, 0, |
| 3907 | /* RESERVED 15, 14, 13, 12 */ |
| 3908 | 0, 0, 0, 0, 0, 0, 0, 0, |
| 3909 | 0, 0, 0, 0, 0, 0, 0, 0, |
| 3910 | /* RESERVED 11, 10, 9, 8 */ |
| 3911 | 0, 0, 0, 0, 0, 0, 0, 0, |
| 3912 | 0, 0, 0, 0, 0, 0, 0, 0, |
| 3913 | /* RESERVED 7, 6, 5, 4 */ |
| 3914 | 0, 0, 0, 0, 0, 0, 0, 0, |
| 3915 | 0, 0, 0, 0, 0, 0, 0, 0, |
| 3916 | /* RESERVED 3 */ |
| 3917 | 0, 0, |
| 3918 | MOD_SEL2_2_1 |
| 3919 | MOD_SEL2_0 } |
| 3920 | }, |
| 3921 | { }, |
| 3922 | }; |
| 3923 | |
| 3924 | const struct sh_pfc_soc_info r8a7795_pinmux_info = { |
| 3925 | .name = "r8a77950_pfc", |
| 3926 | .unlock_reg = 0xe6060000, /* PMMR */ |
| 3927 | |
| 3928 | .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END }, |
| 3929 | |
| 3930 | .pins = pinmux_pins, |
| 3931 | .nr_pins = ARRAY_SIZE(pinmux_pins), |
| 3932 | .groups = pinmux_groups, |
| 3933 | .nr_groups = ARRAY_SIZE(pinmux_groups), |
| 3934 | .functions = pinmux_functions, |
| 3935 | .nr_functions = ARRAY_SIZE(pinmux_functions), |
| 3936 | |
| 3937 | .cfg_regs = pinmux_config_regs, |
| 3938 | |
Geert Uytterhoeven | b8b47d6 | 2015-09-21 16:27:23 +0200 | [diff] [blame] | 3939 | .pinmux_data = pinmux_data, |
| 3940 | .pinmux_data_size = ARRAY_SIZE(pinmux_data), |
Takeshi Kihara | 0b0ffc9 | 2015-09-03 02:51:49 +0000 | [diff] [blame] | 3941 | }; |