1c2b39decSFabio Estevam // SPDX-License-Identifier: GPL-2.0 2c2b39decSFabio Estevam // 3c2b39decSFabio Estevam // Freescale imx6dl pinctrl driver 4c2b39decSFabio Estevam // 5c2b39decSFabio Estevam // Author: Shawn Guo <shawn.guo@linaro.org> 6c2b39decSFabio Estevam // Copyright (C) 2013 Freescale Semiconductor, Inc. 7edad3b2aSLinus Walleij 8edad3b2aSLinus Walleij #include <linux/err.h> 9edad3b2aSLinus Walleij #include <linux/init.h> 10edad3b2aSLinus Walleij #include <linux/io.h> 11*060f03e9SRob Herring #include <linux/mod_devicetable.h> 12*060f03e9SRob Herring #include <linux/platform_device.h> 13edad3b2aSLinus Walleij #include <linux/pinctrl/pinctrl.h> 14edad3b2aSLinus Walleij 15edad3b2aSLinus Walleij #include "pinctrl-imx.h" 16edad3b2aSLinus Walleij 17edad3b2aSLinus Walleij enum imx6dl_pads { 18edad3b2aSLinus Walleij MX6DL_PAD_RESERVE0 = 0, 19edad3b2aSLinus Walleij MX6DL_PAD_RESERVE1 = 1, 20edad3b2aSLinus Walleij MX6DL_PAD_RESERVE2 = 2, 21edad3b2aSLinus Walleij MX6DL_PAD_RESERVE3 = 3, 22edad3b2aSLinus Walleij MX6DL_PAD_RESERVE4 = 4, 23edad3b2aSLinus Walleij MX6DL_PAD_RESERVE5 = 5, 24edad3b2aSLinus Walleij MX6DL_PAD_RESERVE6 = 6, 25edad3b2aSLinus Walleij MX6DL_PAD_RESERVE7 = 7, 26edad3b2aSLinus Walleij MX6DL_PAD_RESERVE8 = 8, 27edad3b2aSLinus Walleij MX6DL_PAD_RESERVE9 = 9, 28edad3b2aSLinus Walleij MX6DL_PAD_RESERVE10 = 10, 29edad3b2aSLinus Walleij MX6DL_PAD_RESERVE11 = 11, 30edad3b2aSLinus Walleij MX6DL_PAD_RESERVE12 = 12, 31edad3b2aSLinus Walleij MX6DL_PAD_RESERVE13 = 13, 32edad3b2aSLinus Walleij MX6DL_PAD_RESERVE14 = 14, 33edad3b2aSLinus Walleij MX6DL_PAD_RESERVE15 = 15, 34edad3b2aSLinus Walleij MX6DL_PAD_RESERVE16 = 16, 35edad3b2aSLinus Walleij MX6DL_PAD_RESERVE17 = 17, 36edad3b2aSLinus Walleij MX6DL_PAD_RESERVE18 = 18, 37edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT10 = 19, 38edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT11 = 20, 39edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT12 = 21, 40edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT13 = 22, 41edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT14 = 23, 42edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT15 = 24, 43edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT16 = 25, 44edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT17 = 26, 45edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT18 = 27, 46edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT19 = 28, 47edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT4 = 29, 48edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT5 = 30, 49edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT6 = 31, 50edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT7 = 32, 51edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT8 = 33, 52edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DAT9 = 34, 53edad3b2aSLinus Walleij MX6DL_PAD_CSI0_DATA_EN = 35, 54edad3b2aSLinus Walleij MX6DL_PAD_CSI0_MCLK = 36, 55edad3b2aSLinus Walleij MX6DL_PAD_CSI0_PIXCLK = 37, 56edad3b2aSLinus Walleij MX6DL_PAD_CSI0_VSYNC = 38, 57edad3b2aSLinus Walleij MX6DL_PAD_DI0_DISP_CLK = 39, 58edad3b2aSLinus Walleij MX6DL_PAD_DI0_PIN15 = 40, 59edad3b2aSLinus Walleij MX6DL_PAD_DI0_PIN2 = 41, 60edad3b2aSLinus Walleij MX6DL_PAD_DI0_PIN3 = 42, 61edad3b2aSLinus Walleij MX6DL_PAD_DI0_PIN4 = 43, 62edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT0 = 44, 63edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT1 = 45, 64edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT10 = 46, 65edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT11 = 47, 66edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT12 = 48, 67edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT13 = 49, 68edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT14 = 50, 69edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT15 = 51, 70edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT16 = 52, 71edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT17 = 53, 72edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT18 = 54, 73edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT19 = 55, 74edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT2 = 56, 75edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT20 = 57, 76edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT21 = 58, 77edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT22 = 59, 78edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT23 = 60, 79edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT3 = 61, 80edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT4 = 62, 81edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT5 = 63, 82edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT6 = 64, 83edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT7 = 65, 84edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT8 = 66, 85edad3b2aSLinus Walleij MX6DL_PAD_DISP0_DAT9 = 67, 86edad3b2aSLinus Walleij MX6DL_PAD_EIM_A16 = 68, 87edad3b2aSLinus Walleij MX6DL_PAD_EIM_A17 = 69, 88edad3b2aSLinus Walleij MX6DL_PAD_EIM_A18 = 70, 89edad3b2aSLinus Walleij MX6DL_PAD_EIM_A19 = 71, 90edad3b2aSLinus Walleij MX6DL_PAD_EIM_A20 = 72, 91edad3b2aSLinus Walleij MX6DL_PAD_EIM_A21 = 73, 92edad3b2aSLinus Walleij MX6DL_PAD_EIM_A22 = 74, 93edad3b2aSLinus Walleij MX6DL_PAD_EIM_A23 = 75, 94edad3b2aSLinus Walleij MX6DL_PAD_EIM_A24 = 76, 95edad3b2aSLinus Walleij MX6DL_PAD_EIM_A25 = 77, 96edad3b2aSLinus Walleij MX6DL_PAD_EIM_BCLK = 78, 97edad3b2aSLinus Walleij MX6DL_PAD_EIM_CS0 = 79, 98edad3b2aSLinus Walleij MX6DL_PAD_EIM_CS1 = 80, 99edad3b2aSLinus Walleij MX6DL_PAD_EIM_D16 = 81, 100edad3b2aSLinus Walleij MX6DL_PAD_EIM_D17 = 82, 101edad3b2aSLinus Walleij MX6DL_PAD_EIM_D18 = 83, 102edad3b2aSLinus Walleij MX6DL_PAD_EIM_D19 = 84, 103edad3b2aSLinus Walleij MX6DL_PAD_EIM_D20 = 85, 104edad3b2aSLinus Walleij MX6DL_PAD_EIM_D21 = 86, 105edad3b2aSLinus Walleij MX6DL_PAD_EIM_D22 = 87, 106edad3b2aSLinus Walleij MX6DL_PAD_EIM_D23 = 88, 107edad3b2aSLinus Walleij MX6DL_PAD_EIM_D24 = 89, 108edad3b2aSLinus Walleij MX6DL_PAD_EIM_D25 = 90, 109edad3b2aSLinus Walleij MX6DL_PAD_EIM_D26 = 91, 110edad3b2aSLinus Walleij MX6DL_PAD_EIM_D27 = 92, 111edad3b2aSLinus Walleij MX6DL_PAD_EIM_D28 = 93, 112edad3b2aSLinus Walleij MX6DL_PAD_EIM_D29 = 94, 113edad3b2aSLinus Walleij MX6DL_PAD_EIM_D30 = 95, 114edad3b2aSLinus Walleij MX6DL_PAD_EIM_D31 = 96, 115edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA0 = 97, 116edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA1 = 98, 117edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA10 = 99, 118edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA11 = 100, 119edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA12 = 101, 120edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA13 = 102, 121edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA14 = 103, 122edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA15 = 104, 123edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA2 = 105, 124edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA3 = 106, 125edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA4 = 107, 126edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA5 = 108, 127edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA6 = 109, 128edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA7 = 110, 129edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA8 = 111, 130edad3b2aSLinus Walleij MX6DL_PAD_EIM_DA9 = 112, 131edad3b2aSLinus Walleij MX6DL_PAD_EIM_EB0 = 113, 132edad3b2aSLinus Walleij MX6DL_PAD_EIM_EB1 = 114, 133edad3b2aSLinus Walleij MX6DL_PAD_EIM_EB2 = 115, 134edad3b2aSLinus Walleij MX6DL_PAD_EIM_EB3 = 116, 135edad3b2aSLinus Walleij MX6DL_PAD_EIM_LBA = 117, 136edad3b2aSLinus Walleij MX6DL_PAD_EIM_OE = 118, 137edad3b2aSLinus Walleij MX6DL_PAD_EIM_RW = 119, 138edad3b2aSLinus Walleij MX6DL_PAD_EIM_WAIT = 120, 139edad3b2aSLinus Walleij MX6DL_PAD_ENET_CRS_DV = 121, 140edad3b2aSLinus Walleij MX6DL_PAD_ENET_MDC = 122, 141edad3b2aSLinus Walleij MX6DL_PAD_ENET_MDIO = 123, 142edad3b2aSLinus Walleij MX6DL_PAD_ENET_REF_CLK = 124, 143edad3b2aSLinus Walleij MX6DL_PAD_ENET_RX_ER = 125, 144edad3b2aSLinus Walleij MX6DL_PAD_ENET_RXD0 = 126, 145edad3b2aSLinus Walleij MX6DL_PAD_ENET_RXD1 = 127, 146edad3b2aSLinus Walleij MX6DL_PAD_ENET_TX_EN = 128, 147edad3b2aSLinus Walleij MX6DL_PAD_ENET_TXD0 = 129, 148edad3b2aSLinus Walleij MX6DL_PAD_ENET_TXD1 = 130, 149edad3b2aSLinus Walleij MX6DL_PAD_GPIO_0 = 131, 150edad3b2aSLinus Walleij MX6DL_PAD_GPIO_1 = 132, 151edad3b2aSLinus Walleij MX6DL_PAD_GPIO_16 = 133, 152edad3b2aSLinus Walleij MX6DL_PAD_GPIO_17 = 134, 153edad3b2aSLinus Walleij MX6DL_PAD_GPIO_18 = 135, 154edad3b2aSLinus Walleij MX6DL_PAD_GPIO_19 = 136, 155edad3b2aSLinus Walleij MX6DL_PAD_GPIO_2 = 137, 156edad3b2aSLinus Walleij MX6DL_PAD_GPIO_3 = 138, 157edad3b2aSLinus Walleij MX6DL_PAD_GPIO_4 = 139, 158edad3b2aSLinus Walleij MX6DL_PAD_GPIO_5 = 140, 159edad3b2aSLinus Walleij MX6DL_PAD_GPIO_6 = 141, 160edad3b2aSLinus Walleij MX6DL_PAD_GPIO_7 = 142, 161edad3b2aSLinus Walleij MX6DL_PAD_GPIO_8 = 143, 162edad3b2aSLinus Walleij MX6DL_PAD_GPIO_9 = 144, 163edad3b2aSLinus Walleij MX6DL_PAD_KEY_COL0 = 145, 164edad3b2aSLinus Walleij MX6DL_PAD_KEY_COL1 = 146, 165edad3b2aSLinus Walleij MX6DL_PAD_KEY_COL2 = 147, 166edad3b2aSLinus Walleij MX6DL_PAD_KEY_COL3 = 148, 167edad3b2aSLinus Walleij MX6DL_PAD_KEY_COL4 = 149, 168edad3b2aSLinus Walleij MX6DL_PAD_KEY_ROW0 = 150, 169edad3b2aSLinus Walleij MX6DL_PAD_KEY_ROW1 = 151, 170edad3b2aSLinus Walleij MX6DL_PAD_KEY_ROW2 = 152, 171edad3b2aSLinus Walleij MX6DL_PAD_KEY_ROW3 = 153, 172edad3b2aSLinus Walleij MX6DL_PAD_KEY_ROW4 = 154, 173edad3b2aSLinus Walleij MX6DL_PAD_NANDF_ALE = 155, 174edad3b2aSLinus Walleij MX6DL_PAD_NANDF_CLE = 156, 175edad3b2aSLinus Walleij MX6DL_PAD_NANDF_CS0 = 157, 176edad3b2aSLinus Walleij MX6DL_PAD_NANDF_CS1 = 158, 177edad3b2aSLinus Walleij MX6DL_PAD_NANDF_CS2 = 159, 178edad3b2aSLinus Walleij MX6DL_PAD_NANDF_CS3 = 160, 179edad3b2aSLinus Walleij MX6DL_PAD_NANDF_D0 = 161, 180edad3b2aSLinus Walleij MX6DL_PAD_NANDF_D1 = 162, 181edad3b2aSLinus Walleij MX6DL_PAD_NANDF_D2 = 163, 182edad3b2aSLinus Walleij MX6DL_PAD_NANDF_D3 = 164, 183edad3b2aSLinus Walleij MX6DL_PAD_NANDF_D4 = 165, 184edad3b2aSLinus Walleij MX6DL_PAD_NANDF_D5 = 166, 185edad3b2aSLinus Walleij MX6DL_PAD_NANDF_D6 = 167, 186edad3b2aSLinus Walleij MX6DL_PAD_NANDF_D7 = 168, 187edad3b2aSLinus Walleij MX6DL_PAD_NANDF_RB0 = 169, 188edad3b2aSLinus Walleij MX6DL_PAD_NANDF_WP_B = 170, 189edad3b2aSLinus Walleij MX6DL_PAD_RGMII_RD0 = 171, 190edad3b2aSLinus Walleij MX6DL_PAD_RGMII_RD1 = 172, 191edad3b2aSLinus Walleij MX6DL_PAD_RGMII_RD2 = 173, 192edad3b2aSLinus Walleij MX6DL_PAD_RGMII_RD3 = 174, 193edad3b2aSLinus Walleij MX6DL_PAD_RGMII_RX_CTL = 175, 194edad3b2aSLinus Walleij MX6DL_PAD_RGMII_RXC = 176, 195edad3b2aSLinus Walleij MX6DL_PAD_RGMII_TD0 = 177, 196edad3b2aSLinus Walleij MX6DL_PAD_RGMII_TD1 = 178, 197edad3b2aSLinus Walleij MX6DL_PAD_RGMII_TD2 = 179, 198edad3b2aSLinus Walleij MX6DL_PAD_RGMII_TD3 = 180, 199edad3b2aSLinus Walleij MX6DL_PAD_RGMII_TX_CTL = 181, 200edad3b2aSLinus Walleij MX6DL_PAD_RGMII_TXC = 182, 201edad3b2aSLinus Walleij MX6DL_PAD_SD1_CLK = 183, 202edad3b2aSLinus Walleij MX6DL_PAD_SD1_CMD = 184, 203edad3b2aSLinus Walleij MX6DL_PAD_SD1_DAT0 = 185, 204edad3b2aSLinus Walleij MX6DL_PAD_SD1_DAT1 = 186, 205edad3b2aSLinus Walleij MX6DL_PAD_SD1_DAT2 = 187, 206edad3b2aSLinus Walleij MX6DL_PAD_SD1_DAT3 = 188, 207edad3b2aSLinus Walleij MX6DL_PAD_SD2_CLK = 189, 208edad3b2aSLinus Walleij MX6DL_PAD_SD2_CMD = 190, 209edad3b2aSLinus Walleij MX6DL_PAD_SD2_DAT0 = 191, 210edad3b2aSLinus Walleij MX6DL_PAD_SD2_DAT1 = 192, 211edad3b2aSLinus Walleij MX6DL_PAD_SD2_DAT2 = 193, 212edad3b2aSLinus Walleij MX6DL_PAD_SD2_DAT3 = 194, 213edad3b2aSLinus Walleij MX6DL_PAD_SD3_CLK = 195, 214edad3b2aSLinus Walleij MX6DL_PAD_SD3_CMD = 196, 215edad3b2aSLinus Walleij MX6DL_PAD_SD3_DAT0 = 197, 216edad3b2aSLinus Walleij MX6DL_PAD_SD3_DAT1 = 198, 217edad3b2aSLinus Walleij MX6DL_PAD_SD3_DAT2 = 199, 218edad3b2aSLinus Walleij MX6DL_PAD_SD3_DAT3 = 200, 219edad3b2aSLinus Walleij MX6DL_PAD_SD3_DAT4 = 201, 220edad3b2aSLinus Walleij MX6DL_PAD_SD3_DAT5 = 202, 221edad3b2aSLinus Walleij MX6DL_PAD_SD3_DAT6 = 203, 222edad3b2aSLinus Walleij MX6DL_PAD_SD3_DAT7 = 204, 223edad3b2aSLinus Walleij MX6DL_PAD_SD3_RST = 205, 224edad3b2aSLinus Walleij MX6DL_PAD_SD4_CLK = 206, 225edad3b2aSLinus Walleij MX6DL_PAD_SD4_CMD = 207, 226edad3b2aSLinus Walleij MX6DL_PAD_SD4_DAT0 = 208, 227edad3b2aSLinus Walleij MX6DL_PAD_SD4_DAT1 = 209, 228edad3b2aSLinus Walleij MX6DL_PAD_SD4_DAT2 = 210, 229edad3b2aSLinus Walleij MX6DL_PAD_SD4_DAT3 = 211, 230edad3b2aSLinus Walleij MX6DL_PAD_SD4_DAT4 = 212, 231edad3b2aSLinus Walleij MX6DL_PAD_SD4_DAT5 = 213, 232edad3b2aSLinus Walleij MX6DL_PAD_SD4_DAT6 = 214, 233edad3b2aSLinus Walleij MX6DL_PAD_SD4_DAT7 = 215, 234edad3b2aSLinus Walleij }; 235edad3b2aSLinus Walleij 236edad3b2aSLinus Walleij /* Pad names for the pinmux subsystem */ 237edad3b2aSLinus Walleij static const struct pinctrl_pin_desc imx6dl_pinctrl_pads[] = { 238edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE0), 239edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE1), 240edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE2), 241edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE3), 242edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE4), 243edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE5), 244edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE6), 245edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE7), 246edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE8), 247edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE9), 248edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE10), 249edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE11), 250edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE12), 251edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE13), 252edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE14), 253edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE15), 254edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE16), 255edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE17), 256edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RESERVE18), 257edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT10), 258edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT11), 259edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT12), 260edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT13), 261edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT14), 262edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT15), 263edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT16), 264edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT17), 265edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT18), 266edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT19), 267edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT4), 268edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT5), 269edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT6), 270edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT7), 271edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT8), 272edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DAT9), 273edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_DATA_EN), 274edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_MCLK), 275edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_PIXCLK), 276edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_CSI0_VSYNC), 277edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DI0_DISP_CLK), 278edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DI0_PIN15), 279edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DI0_PIN2), 280edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DI0_PIN3), 281edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DI0_PIN4), 282edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT0), 283edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT1), 284edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT10), 285edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT11), 286edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT12), 287edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT13), 288edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT14), 289edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT15), 290edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT16), 291edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT17), 292edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT18), 293edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT19), 294edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT2), 295edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT20), 296edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT21), 297edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT22), 298edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT23), 299edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT3), 300edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT4), 301edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT5), 302edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT6), 303edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT7), 304edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT8), 305edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_DISP0_DAT9), 306edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A16), 307edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A17), 308edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A18), 309edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A19), 310edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A20), 311edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A21), 312edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A22), 313edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A23), 314edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A24), 315edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_A25), 316edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_BCLK), 317edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_CS0), 318edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_CS1), 319edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D16), 320edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D17), 321edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D18), 322edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D19), 323edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D20), 324edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D21), 325edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D22), 326edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D23), 327edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D24), 328edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D25), 329edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D26), 330edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D27), 331edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D28), 332edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D29), 333edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D30), 334edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_D31), 335edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA0), 336edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA1), 337edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA10), 338edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA11), 339edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA12), 340edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA13), 341edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA14), 342edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA15), 343edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA2), 344edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA3), 345edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA4), 346edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA5), 347edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA6), 348edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA7), 349edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA8), 350edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_DA9), 351edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_EB0), 352edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_EB1), 353edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_EB2), 354edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_EB3), 355edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_LBA), 356edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_OE), 357edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_RW), 358edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_EIM_WAIT), 359edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_ENET_CRS_DV), 360edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_ENET_MDC), 361edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_ENET_MDIO), 362edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_ENET_REF_CLK), 363edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_ENET_RX_ER), 364edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_ENET_RXD0), 365edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_ENET_RXD1), 366edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_ENET_TX_EN), 367edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_ENET_TXD0), 368edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_ENET_TXD1), 369edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_0), 370edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_1), 371edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_16), 372edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_17), 373edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_18), 374edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_19), 375edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_2), 376edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_3), 377edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_4), 378edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_5), 379edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_6), 380edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_7), 381edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_8), 382edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_GPIO_9), 383edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_KEY_COL0), 384edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_KEY_COL1), 385edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_KEY_COL2), 386edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_KEY_COL3), 387edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_KEY_COL4), 388edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_KEY_ROW0), 389edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_KEY_ROW1), 390edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_KEY_ROW2), 391edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_KEY_ROW3), 392edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_KEY_ROW4), 393edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_ALE), 394edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_CLE), 395edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_CS0), 396edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_CS1), 397edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_CS2), 398edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_CS3), 399edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D0), 400edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D1), 401edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D2), 402edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D3), 403edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D4), 404edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D5), 405edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D6), 406edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_D7), 407edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_RB0), 408edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_NANDF_WP_B), 409edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_RD0), 410edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_RD1), 411edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_RD2), 412edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_RD3), 413edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_RX_CTL), 414edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_RXC), 415edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_TD0), 416edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_TD1), 417edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_TD2), 418edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_TD3), 419edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_TX_CTL), 420edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_RGMII_TXC), 421edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD1_CLK), 422edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD1_CMD), 423edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD1_DAT0), 424edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD1_DAT1), 425edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD1_DAT2), 426edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD1_DAT3), 427edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD2_CLK), 428edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD2_CMD), 429edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD2_DAT0), 430edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD2_DAT1), 431edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD2_DAT2), 432edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD2_DAT3), 433edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD3_CLK), 434edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD3_CMD), 435edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT0), 436edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT1), 437edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT2), 438edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT3), 439edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT4), 440edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT5), 441edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT6), 442edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD3_DAT7), 443edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD3_RST), 444edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD4_CLK), 445edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD4_CMD), 446edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT0), 447edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT1), 448edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT2), 449edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT3), 450edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT4), 451edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT5), 452edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT6), 453edad3b2aSLinus Walleij IMX_PINCTRL_PIN(MX6DL_PAD_SD4_DAT7), 454edad3b2aSLinus Walleij }; 455edad3b2aSLinus Walleij 4567c017687SStefan Agner static const struct imx_pinctrl_soc_info imx6dl_pinctrl_info = { 457edad3b2aSLinus Walleij .pins = imx6dl_pinctrl_pads, 458edad3b2aSLinus Walleij .npins = ARRAY_SIZE(imx6dl_pinctrl_pads), 4598626ada8SPhilipp Zabel .gpr_compatible = "fsl,imx6q-iomuxc-gpr", 460edad3b2aSLinus Walleij }; 461edad3b2aSLinus Walleij 462edad3b2aSLinus Walleij static const struct of_device_id imx6dl_pinctrl_of_match[] = { 463edad3b2aSLinus Walleij { .compatible = "fsl,imx6dl-iomuxc", }, 464edad3b2aSLinus Walleij { /* sentinel */ } 465edad3b2aSLinus Walleij }; 466edad3b2aSLinus Walleij 467edad3b2aSLinus Walleij static int imx6dl_pinctrl_probe(struct platform_device *pdev) 468edad3b2aSLinus Walleij { 469edad3b2aSLinus Walleij return imx_pinctrl_probe(pdev, &imx6dl_pinctrl_info); 470edad3b2aSLinus Walleij } 471edad3b2aSLinus Walleij 472edad3b2aSLinus Walleij static struct platform_driver imx6dl_pinctrl_driver = { 473edad3b2aSLinus Walleij .driver = { 474edad3b2aSLinus Walleij .name = "imx6dl-pinctrl", 475edad3b2aSLinus Walleij .of_match_table = imx6dl_pinctrl_of_match, 4768a83ecd8SFabio Estevam .suppress_bind_attrs = true, 477edad3b2aSLinus Walleij }, 478edad3b2aSLinus Walleij .probe = imx6dl_pinctrl_probe, 479edad3b2aSLinus Walleij }; 480edad3b2aSLinus Walleij 481edad3b2aSLinus Walleij static int __init imx6dl_pinctrl_init(void) 482edad3b2aSLinus Walleij { 483edad3b2aSLinus Walleij return platform_driver_register(&imx6dl_pinctrl_driver); 484edad3b2aSLinus Walleij } 485edad3b2aSLinus Walleij arch_initcall(imx6dl_pinctrl_init); 486