18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci// 38c2ecf20Sopenharmony_ci// Freescale imx6dl pinctrl driver 48c2ecf20Sopenharmony_ci// 58c2ecf20Sopenharmony_ci// Author: Shawn Guo <shawn.guo@linaro.org> 68c2ecf20Sopenharmony_ci// Copyright (C) 2013 Freescale Semiconductor, Inc. 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#include <linux/err.h> 98c2ecf20Sopenharmony_ci#include <linux/init.h> 108c2ecf20Sopenharmony_ci#include <linux/io.h> 118c2ecf20Sopenharmony_ci#include <linux/of.h> 128c2ecf20Sopenharmony_ci#include <linux/of_device.h> 138c2ecf20Sopenharmony_ci#include <linux/pinctrl/pinctrl.h> 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#include "pinctrl-imx.h" 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_cienum imx6dl_pads { 188c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE0 = 0, 198c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE1 = 1, 208c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE2 = 2, 218c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE3 = 3, 228c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE4 = 4, 238c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE5 = 5, 248c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE6 = 6, 258c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE7 = 7, 268c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE8 = 8, 278c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE9 = 9, 288c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE10 = 10, 298c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE11 = 11, 308c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE12 = 12, 318c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE13 = 13, 328c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE14 = 14, 338c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE15 = 15, 348c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE16 = 16, 358c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE17 = 17, 368c2ecf20Sopenharmony_ci MX6DL_PAD_RESERVE18 = 18, 378c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT10 = 19, 388c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT11 = 20, 398c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT12 = 21, 408c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT13 = 22, 418c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT14 = 23, 428c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT15 = 24, 438c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT16 = 25, 448c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT17 = 26, 458c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT18 = 27, 468c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT19 = 28, 478c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT4 = 29, 488c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT5 = 30, 498c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT6 = 31, 508c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT7 = 32, 518c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT8 = 33, 528c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DAT9 = 34, 538c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_DATA_EN = 35, 548c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_MCLK = 36, 558c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_PIXCLK = 37, 568c2ecf20Sopenharmony_ci MX6DL_PAD_CSI0_VSYNC = 38, 578c2ecf20Sopenharmony_ci MX6DL_PAD_DI0_DISP_CLK = 39, 588c2ecf20Sopenharmony_ci MX6DL_PAD_DI0_PIN15 = 40, 598c2ecf20Sopenharmony_ci MX6DL_PAD_DI0_PIN2 = 41, 608c2ecf20Sopenharmony_ci MX6DL_PAD_DI0_PIN3 = 42, 618c2ecf20Sopenharmony_ci MX6DL_PAD_DI0_PIN4 = 43, 628c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT0 = 44, 638c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT1 = 45, 648c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT10 = 46, 658c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT11 = 47, 668c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT12 = 48, 678c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT13 = 49, 688c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT14 = 50, 698c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT15 = 51, 708c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT16 = 52, 718c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT17 = 53, 728c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT18 = 54, 738c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT19 = 55, 748c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT2 = 56, 758c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT20 = 57, 768c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT21 = 58, 778c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT22 = 59, 788c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT23 = 60, 798c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT3 = 61, 808c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT4 = 62, 818c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT5 = 63, 828c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT6 = 64, 838c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT7 = 65, 848c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT8 = 66, 858c2ecf20Sopenharmony_ci MX6DL_PAD_DISP0_DAT9 = 67, 868c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_A16 = 68, 878c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_A17 = 69, 888c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_A18 = 70, 898c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_A19 = 71, 908c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_A20 = 72, 918c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_A21 = 73, 928c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_A22 = 74, 938c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_A23 = 75, 948c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_A24 = 76, 958c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_A25 = 77, 968c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_BCLK = 78, 978c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_CS0 = 79, 988c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_CS1 = 80, 998c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D16 = 81, 1008c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D17 = 82, 1018c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D18 = 83, 1028c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D19 = 84, 1038c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D20 = 85, 1048c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D21 = 86, 1058c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D22 = 87, 1068c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D23 = 88, 1078c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D24 = 89, 1088c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D25 = 90, 1098c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D26 = 91, 1108c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D27 = 92, 1118c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D28 = 93, 1128c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D29 = 94, 1138c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D30 = 95, 1148c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_D31 = 96, 1158c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA0 = 97, 1168c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA1 = 98, 1178c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA10 = 99, 1188c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA11 = 100, 1198c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA12 = 101, 1208c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA13 = 102, 1218c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA14 = 103, 1228c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA15 = 104, 1238c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA2 = 105, 1248c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA3 = 106, 1258c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA4 = 107, 1268c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA5 = 108, 1278c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA6 = 109, 1288c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA7 = 110, 1298c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA8 = 111, 1308c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_DA9 = 112, 1318c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_EB0 = 113, 1328c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_EB1 = 114, 1338c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_EB2 = 115, 1348c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_EB3 = 116, 1358c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_LBA = 117, 1368c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_OE = 118, 1378c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_RW = 119, 1388c2ecf20Sopenharmony_ci MX6DL_PAD_EIM_WAIT = 120, 1398c2ecf20Sopenharmony_ci MX6DL_PAD_ENET_CRS_DV = 121, 1408c2ecf20Sopenharmony_ci MX6DL_PAD_ENET_MDC = 122, 1418c2ecf20Sopenharmony_ci MX6DL_PAD_ENET_MDIO = 123, 1428c2ecf20Sopenharmony_ci MX6DL_PAD_ENET_REF_CLK = 124, 1438c2ecf20Sopenharmony_ci MX6DL_PAD_ENET_RX_ER = 125, 1448c2ecf20Sopenharmony_ci MX6DL_PAD_ENET_RXD0 = 126, 1458c2ecf20Sopenharmony_ci MX6DL_PAD_ENET_RXD1 = 127, 1468c2ecf20Sopenharmony_ci MX6DL_PAD_ENET_TX_EN = 128, 1478c2ecf20Sopenharmony_ci MX6DL_PAD_ENET_TXD0 = 129, 1488c2ecf20Sopenharmony_ci MX6DL_PAD_ENET_TXD1 = 130, 1498c2ecf20Sopenharmony_ci MX6DL_PAD_GPIO_0 = 131, 1508c2ecf20Sopenharmony_ci MX6DL_PAD_GPIO_1 = 132, 1518c2ecf20Sopenharmony_ci MX6DL_PAD_GPIO_16 = 133, 1528c2ecf20Sopenharmony_ci MX6DL_PAD_GPIO_17 = 134, 1538c2ecf20Sopenharmony_ci MX6DL_PAD_GPIO_18 = 135, 1548c2ecf20Sopenharmony_ci MX6DL_PAD_GPIO_19 = 136, 1558c2ecf20Sopenharmony_ci MX6DL_PAD_GPIO_2 = 137, 1568c2ecf20Sopenharmony_ci MX6DL_PAD_GPIO_3 = 138, 1578c2ecf20Sopenharmony_ci MX6DL_PAD_GPIO_4 = 139, 1588c2ecf20Sopenharmony_ci MX6DL_PAD_GPIO_5 = 140, 1598c2ecf20Sopenharmony_ci MX6DL_PAD_GPIO_6 = 141, 1608c2ecf20Sopenharmony_ci MX6DL_PAD_GPIO_7 = 142, 1618c2ecf20Sopenharmony_ci MX6DL_PAD_GPIO_8 = 143, 1628c2ecf20Sopenharmony_ci MX6DL_PAD_GPIO_9 = 144, 1638c2ecf20Sopenharmony_ci MX6DL_PAD_KEY_COL0 = 145, 1648c2ecf20Sopenharmony_ci MX6DL_PAD_KEY_COL1 = 146, 1658c2ecf20Sopenharmony_ci MX6DL_PAD_KEY_COL2 = 147, 1668c2ecf20Sopenharmony_ci MX6DL_PAD_KEY_COL3 = 148, 1678c2ecf20Sopenharmony_ci MX6DL_PAD_KEY_COL4 = 149, 1688c2ecf20Sopenharmony_ci MX6DL_PAD_KEY_ROW0 = 150, 1698c2ecf20Sopenharmony_ci MX6DL_PAD_KEY_ROW1 = 151, 1708c2ecf20Sopenharmony_ci MX6DL_PAD_KEY_ROW2 = 152, 1718c2ecf20Sopenharmony_ci MX6DL_PAD_KEY_ROW3 = 153, 1728c2ecf20Sopenharmony_ci MX6DL_PAD_KEY_ROW4 = 154, 1738c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_ALE = 155, 1748c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_CLE = 156, 1758c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_CS0 = 157, 1768c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_CS1 = 158, 1778c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_CS2 = 159, 1788c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_CS3 = 160, 1798c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_D0 = 161, 1808c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_D1 = 162, 1818c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_D2 = 163, 1828c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_D3 = 164, 1838c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_D4 = 165, 1848c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_D5 = 166, 1858c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_D6 = 167, 1868c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_D7 = 168, 1878c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_RB0 = 169, 1888c2ecf20Sopenharmony_ci MX6DL_PAD_NANDF_WP_B = 170, 1898c2ecf20Sopenharmony_ci MX6DL_PAD_RGMII_RD0 = 171, 1908c2ecf20Sopenharmony_ci MX6DL_PAD_RGMII_RD1 = 172, 1918c2ecf20Sopenharmony_ci MX6DL_PAD_RGMII_RD2 = 173, 1928c2ecf20Sopenharmony_ci MX6DL_PAD_RGMII_RD3 = 174, 1938c2ecf20Sopenharmony_ci MX6DL_PAD_RGMII_RX_CTL = 175, 1948c2ecf20Sopenharmony_ci MX6DL_PAD_RGMII_RXC = 176, 1958c2ecf20Sopenharmony_ci MX6DL_PAD_RGMII_TD0 = 177, 1968c2ecf20Sopenharmony_ci MX6DL_PAD_RGMII_TD1 = 178, 1978c2ecf20Sopenharmony_ci MX6DL_PAD_RGMII_TD2 = 179, 1988c2ecf20Sopenharmony_ci MX6DL_PAD_RGMII_TD3 = 180, 1998c2ecf20Sopenharmony_ci MX6DL_PAD_RGMII_TX_CTL = 181, 2008c2ecf20Sopenharmony_ci MX6DL_PAD_RGMII_TXC = 182, 2018c2ecf20Sopenharmony_ci MX6DL_PAD_SD1_CLK = 183, 2028c2ecf20Sopenharmony_ci MX6DL_PAD_SD1_CMD = 184, 2038c2ecf20Sopenharmony_ci MX6DL_PAD_SD1_DAT0 = 185, 2048c2ecf20Sopenharmony_ci MX6DL_PAD_SD1_DAT1 = 186, 2058c2ecf20Sopenharmony_ci MX6DL_PAD_SD1_DAT2 = 187, 2068c2ecf20Sopenharmony_ci MX6DL_PAD_SD1_DAT3 = 188, 2078c2ecf20Sopenharmony_ci MX6DL_PAD_SD2_CLK = 189, 2088c2ecf20Sopenharmony_ci MX6DL_PAD_SD2_CMD = 190, 2098c2ecf20Sopenharmony_ci MX6DL_PAD_SD2_DAT0 = 191, 2108c2ecf20Sopenharmony_ci MX6DL_PAD_SD2_DAT1 = 192, 2118c2ecf20Sopenharmony_ci MX6DL_PAD_SD2_DAT2 = 193, 2128c2ecf20Sopenharmony_ci MX6DL_PAD_SD2_DAT3 = 194, 2138c2ecf20Sopenharmony_ci MX6DL_PAD_SD3_CLK = 195, 2148c2ecf20Sopenharmony_ci MX6DL_PAD_SD3_CMD = 196, 2158c2ecf20Sopenharmony_ci MX6DL_PAD_SD3_DAT0 = 197, 2168c2ecf20Sopenharmony_ci MX6DL_PAD_SD3_DAT1 = 198, 2178c2ecf20Sopenharmony_ci MX6DL_PAD_SD3_DAT2 = 199, 2188c2ecf20Sopenharmony_ci MX6DL_PAD_SD3_DAT3 = 200, 2198c2ecf20Sopenharmony_ci MX6DL_PAD_SD3_DAT4 = 201, 2208c2ecf20Sopenharmony_ci MX6DL_PAD_SD3_DAT5 = 202, 2218c2ecf20Sopenharmony_ci MX6DL_PAD_SD3_DAT6 = 203, 2228c2ecf20Sopenharmony_ci MX6DL_PAD_SD3_DAT7 = 204, 2238c2ecf20Sopenharmony_ci MX6DL_PAD_SD3_RST = 205, 2248c2ecf20Sopenharmony_ci MX6DL_PAD_SD4_CLK = 206, 2258c2ecf20Sopenharmony_ci MX6DL_PAD_SD4_CMD = 207, 2268c2ecf20Sopenharmony_ci MX6DL_PAD_SD4_DAT0 = 208, 2278c2ecf20Sopenharmony_ci MX6DL_PAD_SD4_DAT1 = 209, 2288c2ecf20Sopenharmony_ci MX6DL_PAD_SD4_DAT2 = 210, 2298c2ecf20Sopenharmony_ci MX6DL_PAD_SD4_DAT3 = 211, 2308c2ecf20Sopenharmony_ci MX6DL_PAD_SD4_DAT4 = 212, 2318c2ecf20Sopenharmony_ci MX6DL_PAD_SD4_DAT5 = 213, 2328c2ecf20Sopenharmony_ci MX6DL_PAD_SD4_DAT6 = 214, 2338c2ecf20Sopenharmony_ci MX6DL_PAD_SD4_DAT7 = 215, 2348c2ecf20Sopenharmony_ci}; 2358c2ecf20Sopenharmony_ci 2368c2ecf20Sopenharmony_ci/* Pad names for the pinmux subsystem */ 2378c2ecf20Sopenharmony_cistatic const struct pinctrl_pin_desc imx6dl_pinctrl_pads[] = { 2388c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE0), 2398c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE1), 2408c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE2), 2418c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE3), 2428c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE4), 2438c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE5), 2448c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE6), 2458c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE7), 2468c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE8), 2478c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE9), 2488c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE10), 2498c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE11), 2508c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE12), 2518c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE13), 2528c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE14), 2538c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE15), 2548c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE16), 2558c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE17), 2568c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE18), 2578c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT10), 2588c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT11), 2598c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT12), 2608c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT13), 2618c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT14), 2628c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT15), 2638c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT16), 2648c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT17), 2658c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT18), 2668c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT19), 2678c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT4), 2688c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT5), 2698c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT6), 2708c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT7), 2718c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT8), 2728c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT9), 2738c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DATA_EN), 2748c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_MCLK), 2758c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_PIXCLK), 2768c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_VSYNC), 2778c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DI0_DISP_CLK), 2788c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DI0_PIN15), 2798c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DI0_PIN2), 2808c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DI0_PIN3), 2818c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DI0_PIN4), 2828c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT0), 2838c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT1), 2848c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT10), 2858c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT11), 2868c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT12), 2878c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT13), 2888c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT14), 2898c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT15), 2908c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT16), 2918c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT17), 2928c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT18), 2938c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT19), 2948c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT2), 2958c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT20), 2968c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT21), 2978c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT22), 2988c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT23), 2998c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT3), 3008c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT4), 3018c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT5), 3028c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT6), 3038c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT7), 3048c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT8), 3058c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT9), 3068c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A16), 3078c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A17), 3088c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A18), 3098c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A19), 3108c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A20), 3118c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A21), 3128c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A22), 3138c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A23), 3148c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A24), 3158c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A25), 3168c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_BCLK), 3178c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_CS0), 3188c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_CS1), 3198c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D16), 3208c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D17), 3218c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D18), 3228c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D19), 3238c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D20), 3248c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D21), 3258c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D22), 3268c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D23), 3278c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D24), 3288c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D25), 3298c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D26), 3308c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D27), 3318c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D28), 3328c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D29), 3338c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D30), 3348c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D31), 3358c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA0), 3368c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA1), 3378c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA10), 3388c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA11), 3398c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA12), 3408c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA13), 3418c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA14), 3428c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA15), 3438c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA2), 3448c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA3), 3458c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA4), 3468c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA5), 3478c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA6), 3488c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA7), 3498c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA8), 3508c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA9), 3518c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_EB0), 3528c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_EB1), 3538c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_EB2), 3548c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_EB3), 3558c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_LBA), 3568c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_OE), 3578c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_RW), 3588c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_EIM_WAIT), 3598c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_ENET_CRS_DV), 3608c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_ENET_MDC), 3618c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_ENET_MDIO), 3628c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_ENET_REF_CLK), 3638c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_ENET_RX_ER), 3648c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_ENET_RXD0), 3658c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_ENET_RXD1), 3668c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_ENET_TX_EN), 3678c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_ENET_TXD0), 3688c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_ENET_TXD1), 3698c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_0), 3708c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_1), 3718c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_16), 3728c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_17), 3738c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_18), 3748c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_19), 3758c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_2), 3768c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_3), 3778c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_4), 3788c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_5), 3798c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_6), 3808c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_7), 3818c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_8), 3828c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_9), 3838c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_KEY_COL0), 3848c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_KEY_COL1), 3858c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_KEY_COL2), 3868c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_KEY_COL3), 3878c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_KEY_COL4), 3888c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_KEY_ROW0), 3898c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_KEY_ROW1), 3908c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_KEY_ROW2), 3918c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_KEY_ROW3), 3928c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_KEY_ROW4), 3938c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_ALE), 3948c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_CLE), 3958c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_CS0), 3968c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_CS1), 3978c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_CS2), 3988c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_CS3), 3998c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D0), 4008c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D1), 4018c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D2), 4028c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D3), 4038c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D4), 4048c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D5), 4058c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D6), 4068c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D7), 4078c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_RB0), 4088c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_WP_B), 4098c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_RD0), 4108c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_RD1), 4118c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_RD2), 4128c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_RD3), 4138c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_RX_CTL), 4148c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_RXC), 4158c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_TD0), 4168c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_TD1), 4178c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_TD2), 4188c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_TD3), 4198c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_TX_CTL), 4208c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_TXC), 4218c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD1_CLK), 4228c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD1_CMD), 4238c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD1_DAT0), 4248c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD1_DAT1), 4258c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD1_DAT2), 4268c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD1_DAT3), 4278c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD2_CLK), 4288c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD2_CMD), 4298c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD2_DAT0), 4308c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD2_DAT1), 4318c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD2_DAT2), 4328c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD2_DAT3), 4338c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD3_CLK), 4348c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD3_CMD), 4358c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT0), 4368c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT1), 4378c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT2), 4388c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT3), 4398c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT4), 4408c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT5), 4418c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT6), 4428c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT7), 4438c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD3_RST), 4448c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD4_CLK), 4458c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD4_CMD), 4468c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT0), 4478c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT1), 4488c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT2), 4498c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT3), 4508c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT4), 4518c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT5), 4528c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT6), 4538c2ecf20Sopenharmony_ci IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT7), 4548c2ecf20Sopenharmony_ci}; 4558c2ecf20Sopenharmony_ci 4568c2ecf20Sopenharmony_cistatic const struct imx_pinctrl_soc_info imx6dl_pinctrl_info = { 4578c2ecf20Sopenharmony_ci .pins = imx6dl_pinctrl_pads, 4588c2ecf20Sopenharmony_ci .npins = ARRAY_SIZE(imx6dl_pinctrl_pads), 4598c2ecf20Sopenharmony_ci .gpr_compatible = "fsl,imx6q-iomuxc-gpr", 4608c2ecf20Sopenharmony_ci}; 4618c2ecf20Sopenharmony_ci 4628c2ecf20Sopenharmony_cistatic const struct of_device_id imx6dl_pinctrl_of_match[] = { 4638c2ecf20Sopenharmony_ci { .compatible = "fsl,imx6dl-iomuxc", }, 4648c2ecf20Sopenharmony_ci { /* sentinel */ } 4658c2ecf20Sopenharmony_ci}; 4668c2ecf20Sopenharmony_ci 4678c2ecf20Sopenharmony_cistatic int imx6dl_pinctrl_probe(struct platform_device *pdev) 4688c2ecf20Sopenharmony_ci{ 4698c2ecf20Sopenharmony_ci return imx_pinctrl_probe(pdev, &imx6dl_pinctrl_info); 4708c2ecf20Sopenharmony_ci} 4718c2ecf20Sopenharmony_ci 4728c2ecf20Sopenharmony_cistatic struct platform_driver imx6dl_pinctrl_driver = { 4738c2ecf20Sopenharmony_ci .driver = { 4748c2ecf20Sopenharmony_ci .name = "imx6dl-pinctrl", 4758c2ecf20Sopenharmony_ci .of_match_table = imx6dl_pinctrl_of_match, 4768c2ecf20Sopenharmony_ci }, 4778c2ecf20Sopenharmony_ci .probe = imx6dl_pinctrl_probe, 4788c2ecf20Sopenharmony_ci}; 4798c2ecf20Sopenharmony_ci 4808c2ecf20Sopenharmony_cistatic int __init imx6dl_pinctrl_init(void) 4818c2ecf20Sopenharmony_ci{ 4828c2ecf20Sopenharmony_ci return platform_driver_register(&imx6dl_pinctrl_driver); 4838c2ecf20Sopenharmony_ci} 4848c2ecf20Sopenharmony_ciarch_initcall(imx6dl_pinctrl_init); 485