1 /* 2 * imx51 pinctrl driver based on imx pinmux core 3 * 4 * Copyright (C) 2012 Freescale Semiconductor, Inc. 5 * Copyright (C) 2012 Linaro, Inc. 6 * 7 * Author: Dong Aisheng <dong.aisheng@linaro.org> 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2 of the License, or 12 * (at your option) any later version. 13 */ 14 15 #include <linux/err.h> 16 #include <linux/init.h> 17 #include <linux/io.h> 18 #include <linux/of.h> 19 #include <linux/of_device.h> 20 #include <linux/pinctrl/pinctrl.h> 21 22 #include "pinctrl-imx.h" 23 24 enum imx51_pads { 25 MX51_PAD_RESERVE0 = 0, 26 MX51_PAD_RESERVE1 = 1, 27 MX51_PAD_RESERVE2 = 2, 28 MX51_PAD_RESERVE3 = 3, 29 MX51_PAD_RESERVE4 = 4, 30 MX51_PAD_RESERVE5 = 5, 31 MX51_PAD_RESERVE6 = 6, 32 MX51_PAD_EIM_DA0 = 7, 33 MX51_PAD_EIM_DA1 = 8, 34 MX51_PAD_EIM_DA2 = 9, 35 MX51_PAD_EIM_DA3 = 10, 36 MX51_PAD_EIM_DA4 = 11, 37 MX51_PAD_EIM_DA5 = 12, 38 MX51_PAD_EIM_DA6 = 13, 39 MX51_PAD_EIM_DA7 = 14, 40 MX51_PAD_EIM_DA8 = 15, 41 MX51_PAD_EIM_DA9 = 16, 42 MX51_PAD_EIM_DA10 = 17, 43 MX51_PAD_EIM_DA11 = 18, 44 MX51_PAD_EIM_DA12 = 19, 45 MX51_PAD_EIM_DA13 = 20, 46 MX51_PAD_EIM_DA14 = 21, 47 MX51_PAD_EIM_DA15 = 22, 48 MX51_PAD_EIM_D16 = 23, 49 MX51_PAD_EIM_D17 = 24, 50 MX51_PAD_EIM_D18 = 25, 51 MX51_PAD_EIM_D19 = 26, 52 MX51_PAD_EIM_D20 = 27, 53 MX51_PAD_EIM_D21 = 28, 54 MX51_PAD_EIM_D22 = 29, 55 MX51_PAD_EIM_D23 = 30, 56 MX51_PAD_EIM_D24 = 31, 57 MX51_PAD_EIM_D25 = 32, 58 MX51_PAD_EIM_D26 = 33, 59 MX51_PAD_EIM_D27 = 34, 60 MX51_PAD_EIM_D28 = 35, 61 MX51_PAD_EIM_D29 = 36, 62 MX51_PAD_EIM_D30 = 37, 63 MX51_PAD_EIM_D31 = 38, 64 MX51_PAD_EIM_A16 = 39, 65 MX51_PAD_EIM_A17 = 40, 66 MX51_PAD_EIM_A18 = 41, 67 MX51_PAD_EIM_A19 = 42, 68 MX51_PAD_EIM_A20 = 43, 69 MX51_PAD_EIM_A21 = 44, 70 MX51_PAD_EIM_A22 = 45, 71 MX51_PAD_EIM_A23 = 46, 72 MX51_PAD_EIM_A24 = 47, 73 MX51_PAD_EIM_A25 = 48, 74 MX51_PAD_EIM_A26 = 49, 75 MX51_PAD_EIM_A27 = 50, 76 MX51_PAD_EIM_EB0 = 51, 77 MX51_PAD_EIM_EB1 = 52, 78 MX51_PAD_EIM_EB2 = 53, 79 MX51_PAD_EIM_EB3 = 54, 80 MX51_PAD_EIM_OE = 55, 81 MX51_PAD_EIM_CS0 = 56, 82 MX51_PAD_EIM_CS1 = 57, 83 MX51_PAD_EIM_CS2 = 58, 84 MX51_PAD_EIM_CS3 = 59, 85 MX51_PAD_EIM_CS4 = 60, 86 MX51_PAD_EIM_CS5 = 61, 87 MX51_PAD_EIM_DTACK = 62, 88 MX51_PAD_EIM_LBA = 63, 89 MX51_PAD_EIM_CRE = 64, 90 MX51_PAD_DRAM_CS1 = 65, 91 MX51_PAD_NANDF_WE_B = 66, 92 MX51_PAD_NANDF_RE_B = 67, 93 MX51_PAD_NANDF_ALE = 68, 94 MX51_PAD_NANDF_CLE = 69, 95 MX51_PAD_NANDF_WP_B = 70, 96 MX51_PAD_NANDF_RB0 = 71, 97 MX51_PAD_NANDF_RB1 = 72, 98 MX51_PAD_NANDF_RB2 = 73, 99 MX51_PAD_NANDF_RB3 = 74, 100 MX51_PAD_GPIO_NAND = 75, 101 MX51_PAD_NANDF_CS0 = 76, 102 MX51_PAD_NANDF_CS1 = 77, 103 MX51_PAD_NANDF_CS2 = 78, 104 MX51_PAD_NANDF_CS3 = 79, 105 MX51_PAD_NANDF_CS4 = 80, 106 MX51_PAD_NANDF_CS5 = 81, 107 MX51_PAD_NANDF_CS6 = 82, 108 MX51_PAD_NANDF_CS7 = 83, 109 MX51_PAD_NANDF_RDY_INT = 84, 110 MX51_PAD_NANDF_D15 = 85, 111 MX51_PAD_NANDF_D14 = 86, 112 MX51_PAD_NANDF_D13 = 87, 113 MX51_PAD_NANDF_D12 = 88, 114 MX51_PAD_NANDF_D11 = 89, 115 MX51_PAD_NANDF_D10 = 90, 116 MX51_PAD_NANDF_D9 = 91, 117 MX51_PAD_NANDF_D8 = 92, 118 MX51_PAD_NANDF_D7 = 93, 119 MX51_PAD_NANDF_D6 = 94, 120 MX51_PAD_NANDF_D5 = 95, 121 MX51_PAD_NANDF_D4 = 96, 122 MX51_PAD_NANDF_D3 = 97, 123 MX51_PAD_NANDF_D2 = 98, 124 MX51_PAD_NANDF_D1 = 99, 125 MX51_PAD_NANDF_D0 = 100, 126 MX51_PAD_CSI1_D8 = 101, 127 MX51_PAD_CSI1_D9 = 102, 128 MX51_PAD_CSI1_D10 = 103, 129 MX51_PAD_CSI1_D11 = 104, 130 MX51_PAD_CSI1_D12 = 105, 131 MX51_PAD_CSI1_D13 = 106, 132 MX51_PAD_CSI1_D14 = 107, 133 MX51_PAD_CSI1_D15 = 108, 134 MX51_PAD_CSI1_D16 = 109, 135 MX51_PAD_CSI1_D17 = 110, 136 MX51_PAD_CSI1_D18 = 111, 137 MX51_PAD_CSI1_D19 = 112, 138 MX51_PAD_CSI1_VSYNC = 113, 139 MX51_PAD_CSI1_HSYNC = 114, 140 MX51_PAD_CSI2_D12 = 115, 141 MX51_PAD_CSI2_D13 = 116, 142 MX51_PAD_CSI2_D14 = 117, 143 MX51_PAD_CSI2_D15 = 118, 144 MX51_PAD_CSI2_D16 = 119, 145 MX51_PAD_CSI2_D17 = 120, 146 MX51_PAD_CSI2_D18 = 121, 147 MX51_PAD_CSI2_D19 = 122, 148 MX51_PAD_CSI2_VSYNC = 123, 149 MX51_PAD_CSI2_HSYNC = 124, 150 MX51_PAD_CSI2_PIXCLK = 125, 151 MX51_PAD_I2C1_CLK = 126, 152 MX51_PAD_I2C1_DAT = 127, 153 MX51_PAD_AUD3_BB_TXD = 128, 154 MX51_PAD_AUD3_BB_RXD = 129, 155 MX51_PAD_AUD3_BB_CK = 130, 156 MX51_PAD_AUD3_BB_FS = 131, 157 MX51_PAD_CSPI1_MOSI = 132, 158 MX51_PAD_CSPI1_MISO = 133, 159 MX51_PAD_CSPI1_SS0 = 134, 160 MX51_PAD_CSPI1_SS1 = 135, 161 MX51_PAD_CSPI1_RDY = 136, 162 MX51_PAD_CSPI1_SCLK = 137, 163 MX51_PAD_UART1_RXD = 138, 164 MX51_PAD_UART1_TXD = 139, 165 MX51_PAD_UART1_RTS = 140, 166 MX51_PAD_UART1_CTS = 141, 167 MX51_PAD_UART2_RXD = 142, 168 MX51_PAD_UART2_TXD = 143, 169 MX51_PAD_UART3_RXD = 144, 170 MX51_PAD_UART3_TXD = 145, 171 MX51_PAD_OWIRE_LINE = 146, 172 MX51_PAD_KEY_ROW0 = 147, 173 MX51_PAD_KEY_ROW1 = 148, 174 MX51_PAD_KEY_ROW2 = 149, 175 MX51_PAD_KEY_ROW3 = 150, 176 MX51_PAD_KEY_COL0 = 151, 177 MX51_PAD_KEY_COL1 = 152, 178 MX51_PAD_KEY_COL2 = 153, 179 MX51_PAD_KEY_COL3 = 154, 180 MX51_PAD_KEY_COL4 = 155, 181 MX51_PAD_KEY_COL5 = 156, 182 MX51_PAD_RESERVE7 = 157, 183 MX51_PAD_USBH1_CLK = 158, 184 MX51_PAD_USBH1_DIR = 159, 185 MX51_PAD_USBH1_STP = 160, 186 MX51_PAD_USBH1_NXT = 161, 187 MX51_PAD_USBH1_DATA0 = 162, 188 MX51_PAD_USBH1_DATA1 = 163, 189 MX51_PAD_USBH1_DATA2 = 164, 190 MX51_PAD_USBH1_DATA3 = 165, 191 MX51_PAD_USBH1_DATA4 = 166, 192 MX51_PAD_USBH1_DATA5 = 167, 193 MX51_PAD_USBH1_DATA6 = 168, 194 MX51_PAD_USBH1_DATA7 = 169, 195 MX51_PAD_DI1_PIN11 = 170, 196 MX51_PAD_DI1_PIN12 = 171, 197 MX51_PAD_DI1_PIN13 = 172, 198 MX51_PAD_DI1_D0_CS = 173, 199 MX51_PAD_DI1_D1_CS = 174, 200 MX51_PAD_DISPB2_SER_DIN = 175, 201 MX51_PAD_DISPB2_SER_DIO = 176, 202 MX51_PAD_DISPB2_SER_CLK = 177, 203 MX51_PAD_DISPB2_SER_RS = 178, 204 MX51_PAD_DISP1_DAT0 = 179, 205 MX51_PAD_DISP1_DAT1 = 180, 206 MX51_PAD_DISP1_DAT2 = 181, 207 MX51_PAD_DISP1_DAT3 = 182, 208 MX51_PAD_DISP1_DAT4 = 183, 209 MX51_PAD_DISP1_DAT5 = 184, 210 MX51_PAD_DISP1_DAT6 = 185, 211 MX51_PAD_DISP1_DAT7 = 186, 212 MX51_PAD_DISP1_DAT8 = 187, 213 MX51_PAD_DISP1_DAT9 = 188, 214 MX51_PAD_DISP1_DAT10 = 189, 215 MX51_PAD_DISP1_DAT11 = 190, 216 MX51_PAD_DISP1_DAT12 = 191, 217 MX51_PAD_DISP1_DAT13 = 192, 218 MX51_PAD_DISP1_DAT14 = 193, 219 MX51_PAD_DISP1_DAT15 = 194, 220 MX51_PAD_DISP1_DAT16 = 195, 221 MX51_PAD_DISP1_DAT17 = 196, 222 MX51_PAD_DISP1_DAT18 = 197, 223 MX51_PAD_DISP1_DAT19 = 198, 224 MX51_PAD_DISP1_DAT20 = 199, 225 MX51_PAD_DISP1_DAT21 = 200, 226 MX51_PAD_DISP1_DAT22 = 201, 227 MX51_PAD_DISP1_DAT23 = 202, 228 MX51_PAD_DI1_PIN3 = 203, 229 MX51_PAD_DI1_PIN2 = 204, 230 MX51_PAD_RESERVE8 = 205, 231 MX51_PAD_DI_GP2 = 206, 232 MX51_PAD_DI_GP3 = 207, 233 MX51_PAD_DI2_PIN4 = 208, 234 MX51_PAD_DI2_PIN2 = 209, 235 MX51_PAD_DI2_PIN3 = 210, 236 MX51_PAD_DI2_DISP_CLK = 211, 237 MX51_PAD_DI_GP4 = 212, 238 MX51_PAD_DISP2_DAT0 = 213, 239 MX51_PAD_DISP2_DAT1 = 214, 240 MX51_PAD_DISP2_DAT2 = 215, 241 MX51_PAD_DISP2_DAT3 = 216, 242 MX51_PAD_DISP2_DAT4 = 217, 243 MX51_PAD_DISP2_DAT5 = 218, 244 MX51_PAD_DISP2_DAT6 = 219, 245 MX51_PAD_DISP2_DAT7 = 220, 246 MX51_PAD_DISP2_DAT8 = 221, 247 MX51_PAD_DISP2_DAT9 = 222, 248 MX51_PAD_DISP2_DAT10 = 223, 249 MX51_PAD_DISP2_DAT11 = 224, 250 MX51_PAD_DISP2_DAT12 = 225, 251 MX51_PAD_DISP2_DAT13 = 226, 252 MX51_PAD_DISP2_DAT14 = 227, 253 MX51_PAD_DISP2_DAT15 = 228, 254 MX51_PAD_SD1_CMD = 229, 255 MX51_PAD_SD1_CLK = 230, 256 MX51_PAD_SD1_DATA0 = 231, 257 MX51_PAD_SD1_DATA1 = 232, 258 MX51_PAD_SD1_DATA2 = 233, 259 MX51_PAD_SD1_DATA3 = 234, 260 MX51_PAD_GPIO1_0 = 235, 261 MX51_PAD_GPIO1_1 = 236, 262 MX51_PAD_SD2_CMD = 237, 263 MX51_PAD_SD2_CLK = 238, 264 MX51_PAD_SD2_DATA0 = 239, 265 MX51_PAD_SD2_DATA1 = 240, 266 MX51_PAD_SD2_DATA2 = 241, 267 MX51_PAD_SD2_DATA3 = 242, 268 MX51_PAD_GPIO1_2 = 243, 269 MX51_PAD_GPIO1_3 = 244, 270 MX51_PAD_PMIC_INT_REQ = 245, 271 MX51_PAD_GPIO1_4 = 246, 272 MX51_PAD_GPIO1_5 = 247, 273 MX51_PAD_GPIO1_6 = 248, 274 MX51_PAD_GPIO1_7 = 249, 275 MX51_PAD_GPIO1_8 = 250, 276 MX51_PAD_GPIO1_9 = 251, 277 MX51_PAD_RESERVE9 = 252, 278 MX51_PAD_RESERVE10 = 253, 279 MX51_PAD_RESERVE11 = 254, 280 MX51_PAD_RESERVE12 = 255, 281 MX51_PAD_RESERVE13 = 256, 282 MX51_PAD_RESERVE14 = 257, 283 MX51_PAD_RESERVE15 = 258, 284 MX51_PAD_RESERVE16 = 259, 285 MX51_PAD_RESERVE17 = 260, 286 MX51_PAD_RESERVE18 = 261, 287 MX51_PAD_RESERVE19 = 262, 288 MX51_PAD_RESERVE20 = 263, 289 MX51_PAD_RESERVE21 = 264, 290 MX51_PAD_RESERVE22 = 265, 291 MX51_PAD_RESERVE23 = 266, 292 MX51_PAD_RESERVE24 = 267, 293 MX51_PAD_RESERVE25 = 268, 294 MX51_PAD_RESERVE26 = 269, 295 MX51_PAD_RESERVE27 = 270, 296 MX51_PAD_RESERVE28 = 271, 297 MX51_PAD_RESERVE29 = 272, 298 MX51_PAD_RESERVE30 = 273, 299 MX51_PAD_RESERVE31 = 274, 300 MX51_PAD_RESERVE32 = 275, 301 MX51_PAD_RESERVE33 = 276, 302 MX51_PAD_RESERVE34 = 277, 303 MX51_PAD_RESERVE35 = 278, 304 MX51_PAD_RESERVE36 = 279, 305 MX51_PAD_RESERVE37 = 280, 306 MX51_PAD_RESERVE38 = 281, 307 MX51_PAD_RESERVE39 = 282, 308 MX51_PAD_RESERVE40 = 283, 309 MX51_PAD_RESERVE41 = 284, 310 MX51_PAD_RESERVE42 = 285, 311 MX51_PAD_RESERVE43 = 286, 312 MX51_PAD_RESERVE44 = 287, 313 MX51_PAD_RESERVE45 = 288, 314 MX51_PAD_RESERVE46 = 289, 315 MX51_PAD_RESERVE47 = 290, 316 MX51_PAD_RESERVE48 = 291, 317 MX51_PAD_RESERVE49 = 292, 318 MX51_PAD_RESERVE50 = 293, 319 MX51_PAD_RESERVE51 = 294, 320 MX51_PAD_RESERVE52 = 295, 321 MX51_PAD_RESERVE53 = 296, 322 MX51_PAD_RESERVE54 = 297, 323 MX51_PAD_RESERVE55 = 298, 324 MX51_PAD_RESERVE56 = 299, 325 MX51_PAD_RESERVE57 = 300, 326 MX51_PAD_RESERVE58 = 301, 327 MX51_PAD_RESERVE59 = 302, 328 MX51_PAD_RESERVE60 = 303, 329 MX51_PAD_RESERVE61 = 304, 330 MX51_PAD_RESERVE62 = 305, 331 MX51_PAD_RESERVE63 = 306, 332 MX51_PAD_RESERVE64 = 307, 333 MX51_PAD_RESERVE65 = 308, 334 MX51_PAD_RESERVE66 = 309, 335 MX51_PAD_RESERVE67 = 310, 336 MX51_PAD_RESERVE68 = 311, 337 MX51_PAD_RESERVE69 = 312, 338 MX51_PAD_RESERVE70 = 313, 339 MX51_PAD_RESERVE71 = 314, 340 MX51_PAD_RESERVE72 = 315, 341 MX51_PAD_RESERVE73 = 316, 342 MX51_PAD_RESERVE74 = 317, 343 MX51_PAD_RESERVE75 = 318, 344 MX51_PAD_RESERVE76 = 319, 345 MX51_PAD_RESERVE77 = 320, 346 MX51_PAD_RESERVE78 = 321, 347 MX51_PAD_RESERVE79 = 322, 348 MX51_PAD_RESERVE80 = 323, 349 MX51_PAD_RESERVE81 = 324, 350 MX51_PAD_RESERVE82 = 325, 351 MX51_PAD_RESERVE83 = 326, 352 MX51_PAD_RESERVE84 = 327, 353 MX51_PAD_RESERVE85 = 328, 354 MX51_PAD_RESERVE86 = 329, 355 MX51_PAD_RESERVE87 = 330, 356 MX51_PAD_RESERVE88 = 331, 357 MX51_PAD_RESERVE89 = 332, 358 MX51_PAD_RESERVE90 = 333, 359 MX51_PAD_RESERVE91 = 334, 360 MX51_PAD_RESERVE92 = 335, 361 MX51_PAD_RESERVE93 = 336, 362 MX51_PAD_RESERVE94 = 337, 363 MX51_PAD_RESERVE95 = 338, 364 MX51_PAD_RESERVE96 = 339, 365 MX51_PAD_RESERVE97 = 340, 366 MX51_PAD_RESERVE98 = 341, 367 MX51_PAD_RESERVE99 = 342, 368 MX51_PAD_RESERVE100 = 343, 369 MX51_PAD_RESERVE101 = 344, 370 MX51_PAD_RESERVE102 = 345, 371 MX51_PAD_RESERVE103 = 346, 372 MX51_PAD_RESERVE104 = 347, 373 MX51_PAD_RESERVE105 = 348, 374 MX51_PAD_RESERVE106 = 349, 375 MX51_PAD_RESERVE107 = 350, 376 MX51_PAD_RESERVE108 = 351, 377 MX51_PAD_RESERVE109 = 352, 378 MX51_PAD_RESERVE110 = 353, 379 MX51_PAD_RESERVE111 = 354, 380 MX51_PAD_RESERVE112 = 355, 381 MX51_PAD_RESERVE113 = 356, 382 MX51_PAD_RESERVE114 = 357, 383 MX51_PAD_RESERVE115 = 358, 384 MX51_PAD_RESERVE116 = 359, 385 MX51_PAD_RESERVE117 = 360, 386 MX51_PAD_RESERVE118 = 361, 387 MX51_PAD_RESERVE119 = 362, 388 MX51_PAD_RESERVE120 = 363, 389 MX51_PAD_RESERVE121 = 364, 390 MX51_PAD_CSI1_PIXCLK = 365, 391 MX51_PAD_CSI1_MCLK = 366, 392 }; 393 394 /* Pad names for the pinmux subsystem */ 395 static const struct pinctrl_pin_desc imx51_pinctrl_pads[] = { 396 IMX_PINCTRL_PIN(MX51_PAD_RESERVE0), 397 IMX_PINCTRL_PIN(MX51_PAD_RESERVE1), 398 IMX_PINCTRL_PIN(MX51_PAD_RESERVE2), 399 IMX_PINCTRL_PIN(MX51_PAD_RESERVE3), 400 IMX_PINCTRL_PIN(MX51_PAD_RESERVE4), 401 IMX_PINCTRL_PIN(MX51_PAD_RESERVE5), 402 IMX_PINCTRL_PIN(MX51_PAD_RESERVE6), 403 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA0), 404 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA1), 405 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA2), 406 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA3), 407 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA4), 408 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA5), 409 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA6), 410 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA7), 411 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA8), 412 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA9), 413 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA10), 414 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA11), 415 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA12), 416 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA13), 417 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA14), 418 IMX_PINCTRL_PIN(MX51_PAD_EIM_DA15), 419 IMX_PINCTRL_PIN(MX51_PAD_EIM_D16), 420 IMX_PINCTRL_PIN(MX51_PAD_EIM_D17), 421 IMX_PINCTRL_PIN(MX51_PAD_EIM_D18), 422 IMX_PINCTRL_PIN(MX51_PAD_EIM_D19), 423 IMX_PINCTRL_PIN(MX51_PAD_EIM_D20), 424 IMX_PINCTRL_PIN(MX51_PAD_EIM_D21), 425 IMX_PINCTRL_PIN(MX51_PAD_EIM_D22), 426 IMX_PINCTRL_PIN(MX51_PAD_EIM_D23), 427 IMX_PINCTRL_PIN(MX51_PAD_EIM_D24), 428 IMX_PINCTRL_PIN(MX51_PAD_EIM_D25), 429 IMX_PINCTRL_PIN(MX51_PAD_EIM_D26), 430 IMX_PINCTRL_PIN(MX51_PAD_EIM_D27), 431 IMX_PINCTRL_PIN(MX51_PAD_EIM_D28), 432 IMX_PINCTRL_PIN(MX51_PAD_EIM_D29), 433 IMX_PINCTRL_PIN(MX51_PAD_EIM_D30), 434 IMX_PINCTRL_PIN(MX51_PAD_EIM_D31), 435 IMX_PINCTRL_PIN(MX51_PAD_EIM_A16), 436 IMX_PINCTRL_PIN(MX51_PAD_EIM_A17), 437 IMX_PINCTRL_PIN(MX51_PAD_EIM_A18), 438 IMX_PINCTRL_PIN(MX51_PAD_EIM_A19), 439 IMX_PINCTRL_PIN(MX51_PAD_EIM_A20), 440 IMX_PINCTRL_PIN(MX51_PAD_EIM_A21), 441 IMX_PINCTRL_PIN(MX51_PAD_EIM_A22), 442 IMX_PINCTRL_PIN(MX51_PAD_EIM_A23), 443 IMX_PINCTRL_PIN(MX51_PAD_EIM_A24), 444 IMX_PINCTRL_PIN(MX51_PAD_EIM_A25), 445 IMX_PINCTRL_PIN(MX51_PAD_EIM_A26), 446 IMX_PINCTRL_PIN(MX51_PAD_EIM_A27), 447 IMX_PINCTRL_PIN(MX51_PAD_EIM_EB0), 448 IMX_PINCTRL_PIN(MX51_PAD_EIM_EB1), 449 IMX_PINCTRL_PIN(MX51_PAD_EIM_EB2), 450 IMX_PINCTRL_PIN(MX51_PAD_EIM_EB3), 451 IMX_PINCTRL_PIN(MX51_PAD_EIM_OE), 452 IMX_PINCTRL_PIN(MX51_PAD_EIM_CS0), 453 IMX_PINCTRL_PIN(MX51_PAD_EIM_CS1), 454 IMX_PINCTRL_PIN(MX51_PAD_EIM_CS2), 455 IMX_PINCTRL_PIN(MX51_PAD_EIM_CS3), 456 IMX_PINCTRL_PIN(MX51_PAD_EIM_CS4), 457 IMX_PINCTRL_PIN(MX51_PAD_EIM_CS5), 458 IMX_PINCTRL_PIN(MX51_PAD_EIM_DTACK), 459 IMX_PINCTRL_PIN(MX51_PAD_EIM_LBA), 460 IMX_PINCTRL_PIN(MX51_PAD_EIM_CRE), 461 IMX_PINCTRL_PIN(MX51_PAD_DRAM_CS1), 462 IMX_PINCTRL_PIN(MX51_PAD_NANDF_WE_B), 463 IMX_PINCTRL_PIN(MX51_PAD_NANDF_RE_B), 464 IMX_PINCTRL_PIN(MX51_PAD_NANDF_ALE), 465 IMX_PINCTRL_PIN(MX51_PAD_NANDF_CLE), 466 IMX_PINCTRL_PIN(MX51_PAD_NANDF_WP_B), 467 IMX_PINCTRL_PIN(MX51_PAD_NANDF_RB0), 468 IMX_PINCTRL_PIN(MX51_PAD_NANDF_RB1), 469 IMX_PINCTRL_PIN(MX51_PAD_NANDF_RB2), 470 IMX_PINCTRL_PIN(MX51_PAD_NANDF_RB3), 471 IMX_PINCTRL_PIN(MX51_PAD_GPIO_NAND), 472 IMX_PINCTRL_PIN(MX51_PAD_NANDF_CS0), 473 IMX_PINCTRL_PIN(MX51_PAD_NANDF_CS1), 474 IMX_PINCTRL_PIN(MX51_PAD_NANDF_CS2), 475 IMX_PINCTRL_PIN(MX51_PAD_NANDF_CS3), 476 IMX_PINCTRL_PIN(MX51_PAD_NANDF_CS4), 477 IMX_PINCTRL_PIN(MX51_PAD_NANDF_CS5), 478 IMX_PINCTRL_PIN(MX51_PAD_NANDF_CS6), 479 IMX_PINCTRL_PIN(MX51_PAD_NANDF_CS7), 480 IMX_PINCTRL_PIN(MX51_PAD_NANDF_RDY_INT), 481 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D15), 482 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D14), 483 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D13), 484 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D12), 485 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D11), 486 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D10), 487 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D9), 488 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D8), 489 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D7), 490 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D6), 491 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D5), 492 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D4), 493 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D3), 494 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D2), 495 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D1), 496 IMX_PINCTRL_PIN(MX51_PAD_NANDF_D0), 497 IMX_PINCTRL_PIN(MX51_PAD_CSI1_D8), 498 IMX_PINCTRL_PIN(MX51_PAD_CSI1_D9), 499 IMX_PINCTRL_PIN(MX51_PAD_CSI1_D10), 500 IMX_PINCTRL_PIN(MX51_PAD_CSI1_D11), 501 IMX_PINCTRL_PIN(MX51_PAD_CSI1_D12), 502 IMX_PINCTRL_PIN(MX51_PAD_CSI1_D13), 503 IMX_PINCTRL_PIN(MX51_PAD_CSI1_D14), 504 IMX_PINCTRL_PIN(MX51_PAD_CSI1_D15), 505 IMX_PINCTRL_PIN(MX51_PAD_CSI1_D16), 506 IMX_PINCTRL_PIN(MX51_PAD_CSI1_D17), 507 IMX_PINCTRL_PIN(MX51_PAD_CSI1_D18), 508 IMX_PINCTRL_PIN(MX51_PAD_CSI1_D19), 509 IMX_PINCTRL_PIN(MX51_PAD_CSI1_VSYNC), 510 IMX_PINCTRL_PIN(MX51_PAD_CSI1_HSYNC), 511 IMX_PINCTRL_PIN(MX51_PAD_CSI2_D12), 512 IMX_PINCTRL_PIN(MX51_PAD_CSI2_D13), 513 IMX_PINCTRL_PIN(MX51_PAD_CSI2_D14), 514 IMX_PINCTRL_PIN(MX51_PAD_CSI2_D15), 515 IMX_PINCTRL_PIN(MX51_PAD_CSI2_D16), 516 IMX_PINCTRL_PIN(MX51_PAD_CSI2_D17), 517 IMX_PINCTRL_PIN(MX51_PAD_CSI2_D18), 518 IMX_PINCTRL_PIN(MX51_PAD_CSI2_D19), 519 IMX_PINCTRL_PIN(MX51_PAD_CSI2_VSYNC), 520 IMX_PINCTRL_PIN(MX51_PAD_CSI2_HSYNC), 521 IMX_PINCTRL_PIN(MX51_PAD_CSI2_PIXCLK), 522 IMX_PINCTRL_PIN(MX51_PAD_I2C1_CLK), 523 IMX_PINCTRL_PIN(MX51_PAD_I2C1_DAT), 524 IMX_PINCTRL_PIN(MX51_PAD_AUD3_BB_TXD), 525 IMX_PINCTRL_PIN(MX51_PAD_AUD3_BB_RXD), 526 IMX_PINCTRL_PIN(MX51_PAD_AUD3_BB_CK), 527 IMX_PINCTRL_PIN(MX51_PAD_AUD3_BB_FS), 528 IMX_PINCTRL_PIN(MX51_PAD_CSPI1_MOSI), 529 IMX_PINCTRL_PIN(MX51_PAD_CSPI1_MISO), 530 IMX_PINCTRL_PIN(MX51_PAD_CSPI1_SS0), 531 IMX_PINCTRL_PIN(MX51_PAD_CSPI1_SS1), 532 IMX_PINCTRL_PIN(MX51_PAD_CSPI1_RDY), 533 IMX_PINCTRL_PIN(MX51_PAD_CSPI1_SCLK), 534 IMX_PINCTRL_PIN(MX51_PAD_UART1_RXD), 535 IMX_PINCTRL_PIN(MX51_PAD_UART1_TXD), 536 IMX_PINCTRL_PIN(MX51_PAD_UART1_RTS), 537 IMX_PINCTRL_PIN(MX51_PAD_UART1_CTS), 538 IMX_PINCTRL_PIN(MX51_PAD_UART2_RXD), 539 IMX_PINCTRL_PIN(MX51_PAD_UART2_TXD), 540 IMX_PINCTRL_PIN(MX51_PAD_UART3_RXD), 541 IMX_PINCTRL_PIN(MX51_PAD_UART3_TXD), 542 IMX_PINCTRL_PIN(MX51_PAD_OWIRE_LINE), 543 IMX_PINCTRL_PIN(MX51_PAD_KEY_ROW0), 544 IMX_PINCTRL_PIN(MX51_PAD_KEY_ROW1), 545 IMX_PINCTRL_PIN(MX51_PAD_KEY_ROW2), 546 IMX_PINCTRL_PIN(MX51_PAD_KEY_ROW3), 547 IMX_PINCTRL_PIN(MX51_PAD_KEY_COL0), 548 IMX_PINCTRL_PIN(MX51_PAD_KEY_COL1), 549 IMX_PINCTRL_PIN(MX51_PAD_KEY_COL2), 550 IMX_PINCTRL_PIN(MX51_PAD_KEY_COL3), 551 IMX_PINCTRL_PIN(MX51_PAD_KEY_COL4), 552 IMX_PINCTRL_PIN(MX51_PAD_KEY_COL5), 553 IMX_PINCTRL_PIN(MX51_PAD_RESERVE7), 554 IMX_PINCTRL_PIN(MX51_PAD_USBH1_CLK), 555 IMX_PINCTRL_PIN(MX51_PAD_USBH1_DIR), 556 IMX_PINCTRL_PIN(MX51_PAD_USBH1_STP), 557 IMX_PINCTRL_PIN(MX51_PAD_USBH1_NXT), 558 IMX_PINCTRL_PIN(MX51_PAD_USBH1_DATA0), 559 IMX_PINCTRL_PIN(MX51_PAD_USBH1_DATA1), 560 IMX_PINCTRL_PIN(MX51_PAD_USBH1_DATA2), 561 IMX_PINCTRL_PIN(MX51_PAD_USBH1_DATA3), 562 IMX_PINCTRL_PIN(MX51_PAD_USBH1_DATA4), 563 IMX_PINCTRL_PIN(MX51_PAD_USBH1_DATA5), 564 IMX_PINCTRL_PIN(MX51_PAD_USBH1_DATA6), 565 IMX_PINCTRL_PIN(MX51_PAD_USBH1_DATA7), 566 IMX_PINCTRL_PIN(MX51_PAD_DI1_PIN11), 567 IMX_PINCTRL_PIN(MX51_PAD_DI1_PIN12), 568 IMX_PINCTRL_PIN(MX51_PAD_DI1_PIN13), 569 IMX_PINCTRL_PIN(MX51_PAD_DI1_D0_CS), 570 IMX_PINCTRL_PIN(MX51_PAD_DI1_D1_CS), 571 IMX_PINCTRL_PIN(MX51_PAD_DISPB2_SER_DIN), 572 IMX_PINCTRL_PIN(MX51_PAD_DISPB2_SER_DIO), 573 IMX_PINCTRL_PIN(MX51_PAD_DISPB2_SER_CLK), 574 IMX_PINCTRL_PIN(MX51_PAD_DISPB2_SER_RS), 575 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT0), 576 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT1), 577 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT2), 578 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT3), 579 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT4), 580 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT5), 581 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT6), 582 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT7), 583 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT8), 584 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT9), 585 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT10), 586 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT11), 587 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT12), 588 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT13), 589 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT14), 590 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT15), 591 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT16), 592 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT17), 593 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT18), 594 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT19), 595 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT20), 596 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT21), 597 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT22), 598 IMX_PINCTRL_PIN(MX51_PAD_DISP1_DAT23), 599 IMX_PINCTRL_PIN(MX51_PAD_DI1_PIN3), 600 IMX_PINCTRL_PIN(MX51_PAD_DI1_PIN2), 601 IMX_PINCTRL_PIN(MX51_PAD_RESERVE8), 602 IMX_PINCTRL_PIN(MX51_PAD_DI_GP2), 603 IMX_PINCTRL_PIN(MX51_PAD_DI_GP3), 604 IMX_PINCTRL_PIN(MX51_PAD_DI2_PIN4), 605 IMX_PINCTRL_PIN(MX51_PAD_DI2_PIN2), 606 IMX_PINCTRL_PIN(MX51_PAD_DI2_PIN3), 607 IMX_PINCTRL_PIN(MX51_PAD_DI2_DISP_CLK), 608 IMX_PINCTRL_PIN(MX51_PAD_DI_GP4), 609 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT0), 610 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT1), 611 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT2), 612 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT3), 613 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT4), 614 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT5), 615 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT6), 616 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT7), 617 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT8), 618 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT9), 619 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT10), 620 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT11), 621 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT12), 622 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT13), 623 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT14), 624 IMX_PINCTRL_PIN(MX51_PAD_DISP2_DAT15), 625 IMX_PINCTRL_PIN(MX51_PAD_SD1_CMD), 626 IMX_PINCTRL_PIN(MX51_PAD_SD1_CLK), 627 IMX_PINCTRL_PIN(MX51_PAD_SD1_DATA0), 628 IMX_PINCTRL_PIN(MX51_PAD_SD1_DATA1), 629 IMX_PINCTRL_PIN(MX51_PAD_SD1_DATA2), 630 IMX_PINCTRL_PIN(MX51_PAD_SD1_DATA3), 631 IMX_PINCTRL_PIN(MX51_PAD_GPIO1_0), 632 IMX_PINCTRL_PIN(MX51_PAD_GPIO1_1), 633 IMX_PINCTRL_PIN(MX51_PAD_SD2_CMD), 634 IMX_PINCTRL_PIN(MX51_PAD_SD2_CLK), 635 IMX_PINCTRL_PIN(MX51_PAD_SD2_DATA0), 636 IMX_PINCTRL_PIN(MX51_PAD_SD2_DATA1), 637 IMX_PINCTRL_PIN(MX51_PAD_SD2_DATA2), 638 IMX_PINCTRL_PIN(MX51_PAD_SD2_DATA3), 639 IMX_PINCTRL_PIN(MX51_PAD_GPIO1_2), 640 IMX_PINCTRL_PIN(MX51_PAD_GPIO1_3), 641 IMX_PINCTRL_PIN(MX51_PAD_PMIC_INT_REQ), 642 IMX_PINCTRL_PIN(MX51_PAD_GPIO1_4), 643 IMX_PINCTRL_PIN(MX51_PAD_GPIO1_5), 644 IMX_PINCTRL_PIN(MX51_PAD_GPIO1_6), 645 IMX_PINCTRL_PIN(MX51_PAD_GPIO1_7), 646 IMX_PINCTRL_PIN(MX51_PAD_GPIO1_8), 647 IMX_PINCTRL_PIN(MX51_PAD_GPIO1_9), 648 IMX_PINCTRL_PIN(MX51_PAD_RESERVE9), 649 IMX_PINCTRL_PIN(MX51_PAD_RESERVE10), 650 IMX_PINCTRL_PIN(MX51_PAD_RESERVE11), 651 IMX_PINCTRL_PIN(MX51_PAD_RESERVE12), 652 IMX_PINCTRL_PIN(MX51_PAD_RESERVE13), 653 IMX_PINCTRL_PIN(MX51_PAD_RESERVE14), 654 IMX_PINCTRL_PIN(MX51_PAD_RESERVE15), 655 IMX_PINCTRL_PIN(MX51_PAD_RESERVE16), 656 IMX_PINCTRL_PIN(MX51_PAD_RESERVE17), 657 IMX_PINCTRL_PIN(MX51_PAD_RESERVE18), 658 IMX_PINCTRL_PIN(MX51_PAD_RESERVE19), 659 IMX_PINCTRL_PIN(MX51_PAD_RESERVE20), 660 IMX_PINCTRL_PIN(MX51_PAD_RESERVE21), 661 IMX_PINCTRL_PIN(MX51_PAD_RESERVE22), 662 IMX_PINCTRL_PIN(MX51_PAD_RESERVE23), 663 IMX_PINCTRL_PIN(MX51_PAD_RESERVE24), 664 IMX_PINCTRL_PIN(MX51_PAD_RESERVE25), 665 IMX_PINCTRL_PIN(MX51_PAD_RESERVE26), 666 IMX_PINCTRL_PIN(MX51_PAD_RESERVE27), 667 IMX_PINCTRL_PIN(MX51_PAD_RESERVE28), 668 IMX_PINCTRL_PIN(MX51_PAD_RESERVE29), 669 IMX_PINCTRL_PIN(MX51_PAD_RESERVE30), 670 IMX_PINCTRL_PIN(MX51_PAD_RESERVE31), 671 IMX_PINCTRL_PIN(MX51_PAD_RESERVE32), 672 IMX_PINCTRL_PIN(MX51_PAD_RESERVE33), 673 IMX_PINCTRL_PIN(MX51_PAD_RESERVE34), 674 IMX_PINCTRL_PIN(MX51_PAD_RESERVE35), 675 IMX_PINCTRL_PIN(MX51_PAD_RESERVE36), 676 IMX_PINCTRL_PIN(MX51_PAD_RESERVE37), 677 IMX_PINCTRL_PIN(MX51_PAD_RESERVE38), 678 IMX_PINCTRL_PIN(MX51_PAD_RESERVE39), 679 IMX_PINCTRL_PIN(MX51_PAD_RESERVE40), 680 IMX_PINCTRL_PIN(MX51_PAD_RESERVE41), 681 IMX_PINCTRL_PIN(MX51_PAD_RESERVE42), 682 IMX_PINCTRL_PIN(MX51_PAD_RESERVE43), 683 IMX_PINCTRL_PIN(MX51_PAD_RESERVE44), 684 IMX_PINCTRL_PIN(MX51_PAD_RESERVE45), 685 IMX_PINCTRL_PIN(MX51_PAD_RESERVE46), 686 IMX_PINCTRL_PIN(MX51_PAD_RESERVE47), 687 IMX_PINCTRL_PIN(MX51_PAD_RESERVE48), 688 IMX_PINCTRL_PIN(MX51_PAD_RESERVE49), 689 IMX_PINCTRL_PIN(MX51_PAD_RESERVE50), 690 IMX_PINCTRL_PIN(MX51_PAD_RESERVE51), 691 IMX_PINCTRL_PIN(MX51_PAD_RESERVE52), 692 IMX_PINCTRL_PIN(MX51_PAD_RESERVE53), 693 IMX_PINCTRL_PIN(MX51_PAD_RESERVE54), 694 IMX_PINCTRL_PIN(MX51_PAD_RESERVE55), 695 IMX_PINCTRL_PIN(MX51_PAD_RESERVE56), 696 IMX_PINCTRL_PIN(MX51_PAD_RESERVE57), 697 IMX_PINCTRL_PIN(MX51_PAD_RESERVE58), 698 IMX_PINCTRL_PIN(MX51_PAD_RESERVE59), 699 IMX_PINCTRL_PIN(MX51_PAD_RESERVE60), 700 IMX_PINCTRL_PIN(MX51_PAD_RESERVE61), 701 IMX_PINCTRL_PIN(MX51_PAD_RESERVE62), 702 IMX_PINCTRL_PIN(MX51_PAD_RESERVE63), 703 IMX_PINCTRL_PIN(MX51_PAD_RESERVE64), 704 IMX_PINCTRL_PIN(MX51_PAD_RESERVE65), 705 IMX_PINCTRL_PIN(MX51_PAD_RESERVE66), 706 IMX_PINCTRL_PIN(MX51_PAD_RESERVE67), 707 IMX_PINCTRL_PIN(MX51_PAD_RESERVE68), 708 IMX_PINCTRL_PIN(MX51_PAD_RESERVE69), 709 IMX_PINCTRL_PIN(MX51_PAD_RESERVE70), 710 IMX_PINCTRL_PIN(MX51_PAD_RESERVE71), 711 IMX_PINCTRL_PIN(MX51_PAD_RESERVE72), 712 IMX_PINCTRL_PIN(MX51_PAD_RESERVE73), 713 IMX_PINCTRL_PIN(MX51_PAD_RESERVE74), 714 IMX_PINCTRL_PIN(MX51_PAD_RESERVE75), 715 IMX_PINCTRL_PIN(MX51_PAD_RESERVE76), 716 IMX_PINCTRL_PIN(MX51_PAD_RESERVE77), 717 IMX_PINCTRL_PIN(MX51_PAD_RESERVE78), 718 IMX_PINCTRL_PIN(MX51_PAD_RESERVE79), 719 IMX_PINCTRL_PIN(MX51_PAD_RESERVE80), 720 IMX_PINCTRL_PIN(MX51_PAD_RESERVE81), 721 IMX_PINCTRL_PIN(MX51_PAD_RESERVE82), 722 IMX_PINCTRL_PIN(MX51_PAD_RESERVE83), 723 IMX_PINCTRL_PIN(MX51_PAD_RESERVE84), 724 IMX_PINCTRL_PIN(MX51_PAD_RESERVE85), 725 IMX_PINCTRL_PIN(MX51_PAD_RESERVE86), 726 IMX_PINCTRL_PIN(MX51_PAD_RESERVE87), 727 IMX_PINCTRL_PIN(MX51_PAD_RESERVE88), 728 IMX_PINCTRL_PIN(MX51_PAD_RESERVE89), 729 IMX_PINCTRL_PIN(MX51_PAD_RESERVE90), 730 IMX_PINCTRL_PIN(MX51_PAD_RESERVE91), 731 IMX_PINCTRL_PIN(MX51_PAD_RESERVE92), 732 IMX_PINCTRL_PIN(MX51_PAD_RESERVE93), 733 IMX_PINCTRL_PIN(MX51_PAD_RESERVE94), 734 IMX_PINCTRL_PIN(MX51_PAD_RESERVE95), 735 IMX_PINCTRL_PIN(MX51_PAD_RESERVE96), 736 IMX_PINCTRL_PIN(MX51_PAD_RESERVE97), 737 IMX_PINCTRL_PIN(MX51_PAD_RESERVE98), 738 IMX_PINCTRL_PIN(MX51_PAD_RESERVE99), 739 IMX_PINCTRL_PIN(MX51_PAD_RESERVE100), 740 IMX_PINCTRL_PIN(MX51_PAD_RESERVE101), 741 IMX_PINCTRL_PIN(MX51_PAD_RESERVE102), 742 IMX_PINCTRL_PIN(MX51_PAD_RESERVE103), 743 IMX_PINCTRL_PIN(MX51_PAD_RESERVE104), 744 IMX_PINCTRL_PIN(MX51_PAD_RESERVE105), 745 IMX_PINCTRL_PIN(MX51_PAD_RESERVE106), 746 IMX_PINCTRL_PIN(MX51_PAD_RESERVE107), 747 IMX_PINCTRL_PIN(MX51_PAD_RESERVE108), 748 IMX_PINCTRL_PIN(MX51_PAD_RESERVE109), 749 IMX_PINCTRL_PIN(MX51_PAD_RESERVE110), 750 IMX_PINCTRL_PIN(MX51_PAD_RESERVE111), 751 IMX_PINCTRL_PIN(MX51_PAD_RESERVE112), 752 IMX_PINCTRL_PIN(MX51_PAD_RESERVE113), 753 IMX_PINCTRL_PIN(MX51_PAD_RESERVE114), 754 IMX_PINCTRL_PIN(MX51_PAD_RESERVE115), 755 IMX_PINCTRL_PIN(MX51_PAD_RESERVE116), 756 IMX_PINCTRL_PIN(MX51_PAD_RESERVE117), 757 IMX_PINCTRL_PIN(MX51_PAD_RESERVE118), 758 IMX_PINCTRL_PIN(MX51_PAD_RESERVE119), 759 IMX_PINCTRL_PIN(MX51_PAD_RESERVE120), 760 IMX_PINCTRL_PIN(MX51_PAD_RESERVE121), 761 IMX_PINCTRL_PIN(MX51_PAD_CSI1_PIXCLK), 762 IMX_PINCTRL_PIN(MX51_PAD_CSI1_MCLK), 763 }; 764 765 static struct imx_pinctrl_soc_info imx51_pinctrl_info = { 766 .pins = imx51_pinctrl_pads, 767 .npins = ARRAY_SIZE(imx51_pinctrl_pads), 768 }; 769 770 static const struct of_device_id imx51_pinctrl_of_match[] = { 771 { .compatible = "fsl,imx51-iomuxc", }, 772 { /* sentinel */ } 773 }; 774 775 static int imx51_pinctrl_probe(struct platform_device *pdev) 776 { 777 return imx_pinctrl_probe(pdev, &imx51_pinctrl_info); 778 } 779 780 static struct platform_driver imx51_pinctrl_driver = { 781 .driver = { 782 .name = "imx51-pinctrl", 783 .of_match_table = imx51_pinctrl_of_match, 784 }, 785 .probe = imx51_pinctrl_probe, 786 }; 787 788 static int __init imx51_pinctrl_init(void) 789 { 790 return platform_driver_register(&imx51_pinctrl_driver); 791 } 792 arch_initcall(imx51_pinctrl_init); 793