1/* 2 * Copyright (c) 2022, NXP 3 * SPDX-License-Identifier: Apache-2.0 4 * 5 * Note: File generated by gen_board_pinctrl.py 6 * from mimxrt1160_evk.mex 7 */ 8 9#include <nxp/nxp_imx/rt/mimxrt1166dvm6a-pinctrl.dtsi> 10 11&pinctrl { 12 /* conflicts with fxos8700 sensor */ 13 pinmux_csi: pinmux_csi { 14 group0 { 15 pinmux = <&iomuxc_gpio_disp_b2_14_gpio11_io15>; 16 drive-strength = "high"; 17 bias-pull-down; 18 slew-rate = "fast"; 19 }; 20 group1 { 21 pinmux = <&iomuxc_gpio_ad_26_gpio9_io25>; 22 drive-strength = "high"; 23 bias-pull-up; 24 slew-rate = "fast"; 25 }; 26 group2 { 27 pinmux = <&iomuxc_lpsr_gpio_lpsr_07_lpi2c6_scl>, 28 <&iomuxc_lpsr_gpio_lpsr_06_lpi2c6_sda>; 29 drive-strength = "high"; 30 slew-rate = "fast"; 31 input-enable; 32 }; 33 }; 34 35 pinmux_enet: pinmux_enet { 36 group0 { 37 pinmux = <&iomuxc_gpio_ad_12_gpio9_io11>, 38 <&iomuxc_gpio_disp_b2_08_enet_rx_en>, 39 <&iomuxc_gpio_disp_b2_09_enet_rx_er>; 40 drive-strength = "high"; 41 bias-pull-down; 42 slew-rate = "fast"; 43 }; 44 group1 { 45 pinmux = <&iomuxc_gpio_disp_b2_06_enet_rdata00>, 46 <&iomuxc_gpio_disp_b2_07_enet_rdata01>; 47 drive-strength = "high"; 48 bias-pull-down; 49 slew-rate = "fast"; 50 input-enable; 51 }; 52 group2 { 53 pinmux = <&iomuxc_lpsr_gpio_lpsr_12_gpio12_io12>; 54 drive-strength = "high"; 55 bias-pull-up; 56 slew-rate = "fast"; 57 }; 58 group3 { 59 pinmux = <&iomuxc_gpio_disp_b2_02_enet_tdata00>, 60 <&iomuxc_gpio_disp_b2_03_enet_tdata01>, 61 <&iomuxc_gpio_disp_b2_04_enet_tx_en>; 62 drive-strength = "high"; 63 slew-rate = "fast"; 64 }; 65 group4 { 66 pinmux = <&iomuxc_gpio_disp_b2_05_enet_ref_clk>; 67 drive-strength = "high"; 68 slew-rate = "slow"; 69 input-enable; 70 }; 71 }; 72 73 pinmux_enet_mdio: pinmux_enet_mdio { 74 group0 { 75 pinmux = <&iomuxc_gpio_ad_32_enet_mdc>, 76 <&iomuxc_gpio_ad_33_enet_mdio>; 77 drive-strength = "high"; 78 slew-rate = "fast"; 79 }; 80 }; 81 82 pinmux_ptp: pinmux_ptp { 83 }; 84 85 pinmux_flexcan3: pinmux_flexcan3 { 86 group0 { 87 pinmux = <&iomuxc_lpsr_gpio_lpsr_01_can3_rx>, 88 <&iomuxc_lpsr_gpio_lpsr_00_can3_tx>; 89 drive-strength = "high"; 90 slew-rate = "fast"; 91 }; 92 }; 93 94 pinmux_flexpwm1: pinmux_flexpwm1 { 95 group0 { 96 pinmux = <&iomuxc_gpio_ad_04_flexpwm1_pwm2_a>; 97 drive-strength = "high"; 98 bias-pull-down; 99 slew-rate = "fast"; 100 }; 101 }; 102 103 pinmux_flexspi1: pinmux_flexspi1 { 104 group0 { 105 pinmux = <&iomuxc_gpio_sd_b2_05_flexspi1_a_dqs>, 106 <&iomuxc_gpio_sd_b2_06_flexspi1_a_ss0_b>, 107 <&iomuxc_gpio_sd_b2_07_flexspi1_a_sclk>, 108 <&iomuxc_gpio_sd_b2_08_flexspi1_a_data00>, 109 <&iomuxc_gpio_sd_b2_09_flexspi1_a_data01>, 110 <&iomuxc_gpio_sd_b2_10_flexspi1_a_data02>, 111 <&iomuxc_gpio_sd_b2_11_flexspi1_a_data03>; 112 bias-pull-down; 113 input-enable; 114 }; 115 }; 116 117 /* interrupt gpios for fxos8700 */ 118 pinmux_fxos8700_int: pinmux_fxos8700_int { 119 group0 { 120 pinmux = <&iomuxc_gpio_disp_b2_14_gpio11_io15>, 121 <&iomuxc_gpio_disp_b2_13_gpio11_io14>; 122 drive-strength = "high"; 123 slew-rate = "fast"; 124 }; 125 }; 126 127 /* conflicts with lpspi1 */ 128 pinmux_lcdif: pinmux_lcdif { 129 group0 { 130 pinmux = <&iomuxc_gpio_ad_30_gpio9_io29>, 131 <&iomuxc_gpio_ad_02_gpio9_io01>; 132 drive-strength = "high"; 133 bias-pull-down; 134 slew-rate = "fast"; 135 }; 136 group1 { 137 pinmux = <&iomuxc_gpio_disp_b2_15_gpio11_io16>; 138 drive-strength = "high"; 139 bias-pull-up; 140 slew-rate = "fast"; 141 }; 142 }; 143 144 pinmux_lpadc0: pinmux_lpadc0 { 145 group0 { 146 pinmux = <&iomuxc_gpio_ad_06_adc1_ch0a>; 147 drive-strength = "high"; 148 bias-pull-down; 149 slew-rate = "fast"; 150 }; 151 }; 152 153 pinmux_lpi2c1: pinmux_lpi2c1 { 154 group0 { 155 pinmux = <&iomuxc_gpio_ad_08_lpi2c1_scl>, 156 <&iomuxc_gpio_ad_09_lpi2c1_sda>; 157 drive-strength = "normal"; 158 drive-open-drain; 159 slew-rate = "fast"; 160 input-enable; 161 }; 162 }; 163 164 /* Connected to FXOS8700 */ 165 pinmux_lpi2c5: pinmux_lpi2c5 { 166 group0 { 167 pinmux = <&iomuxc_lpsr_gpio_lpsr_05_lpi2c5_scl>, 168 <&iomuxc_lpsr_gpio_lpsr_04_lpi2c5_sda>; 169 drive-strength = "normal"; 170 drive-open-drain; 171 slew-rate = "fast"; 172 input-enable; 173 }; 174 }; 175 176 pinmux_lpspi1: pinmux_lpspi1 { 177 group0 { 178 pinmux = <&iomuxc_gpio_ad_29_lpspi1_pcs0>, 179 <&iomuxc_gpio_ad_28_lpspi1_sck>, 180 <&iomuxc_gpio_ad_31_lpspi1_sdi>, 181 <&iomuxc_gpio_ad_30_lpspi1_sdo>; 182 drive-strength = "high"; 183 slew-rate = "fast"; 184 }; 185 }; 186 187 pinmux_lpuart1: pinmux_lpuart1 { 188 group0 { 189 pinmux = <&iomuxc_gpio_ad_25_lpuart1_rx>, 190 <&iomuxc_gpio_ad_24_lpuart1_tx>; 191 drive-strength = "high"; 192 slew-rate = "fast"; 193 }; 194 }; 195 196 pinmux_lpuart1_sleep: pinmux_lpuart1_sleep { 197 group0 { 198 pinmux = <&iomuxc_gpio_ad_25_gpio_mux3_io24>; 199 drive-strength = "high"; 200 bias-pull-up; 201 slew-rate = "fast"; 202 }; 203 group1 { 204 pinmux = <&iomuxc_gpio_ad_24_lpuart1_tx>; 205 drive-strength = "high"; 206 slew-rate = "fast"; 207 }; 208 }; 209 210 pinmux_lpuart2: pinmux_lpuart2 { 211 group0 { 212 pinmux = <&iomuxc_gpio_disp_b2_11_lpuart2_rx>, 213 <&iomuxc_gpio_disp_b2_10_lpuart2_tx>; 214 drive-strength = "high"; 215 slew-rate = "fast"; 216 }; 217 }; 218 219 pinmux_lpuart2_sleep: pinmux_lpuart2_sleep { 220 group0 { 221 pinmux = <&iomuxc_gpio_disp_b2_11_gpio_mux5_io12>; 222 drive-strength = "high"; 223 bias-pull-up; 224 slew-rate = "fast"; 225 }; 226 group1 { 227 pinmux = <&iomuxc_gpio_disp_b2_10_lpuart2_tx>; 228 drive-strength = "high"; 229 slew-rate = "fast"; 230 }; 231 }; 232 233 pinmux_sai1: pinmux_sai1 { 234 group0 { 235 pinmux = <&iomuxc_gpio_ad_17_sai1_mclk>, 236 <&iomuxc_gpio_ad_20_sai1_rx_data00>, 237 <&iomuxc_gpio_ad_21_sai1_tx_data00>, 238 <&iomuxc_gpio_ad_22_sai1_tx_bclk>, 239 <&iomuxc_gpio_ad_23_sai1_tx_sync>; 240 drive-strength = "high"; 241 slew-rate = "fast"; 242 input-enable; 243 }; 244 }; 245 246 /* conflicts with enet pins */ 247 pinmux_usdhc1: pinmux_usdhc1 { 248 group0 { 249 pinmux = <&iomuxc_gpio_sd_b1_00_usdhc1_cmd>, 250 <&iomuxc_gpio_sd_b1_01_usdhc1_clk>, 251 <&iomuxc_gpio_sd_b1_02_usdhc1_data0>, 252 <&iomuxc_gpio_sd_b1_03_usdhc1_data1>, 253 <&iomuxc_gpio_sd_b1_04_usdhc1_data2>, 254 <&iomuxc_gpio_sd_b1_05_usdhc1_data3>; 255 bias-pull-up; 256 input-enable; 257 }; 258 group1 { 259 pinmux = <&iomuxc_gpio_ad_34_usdhc1_vselect>, 260 <&iomuxc_gpio_ad_32_gpio_mux3_io31_cm7>; 261 drive-strength = "high"; 262 bias-pull-down; 263 slew-rate = "fast"; 264 }; 265 group2 { 266 pinmux = <&iomuxc_gpio_ad_35_gpio10_io02>; 267 drive-strength = "high"; 268 bias-pull-up; 269 slew-rate = "fast"; 270 }; 271 }; 272 273 /* removes pull on dat3 for card detect */ 274 pinmux_usdhc1_dat3_nopull: pinmux_usdhc1_dat3_nopull { 275 group0 { 276 pinmux = <&iomuxc_gpio_sd_b1_05_usdhc1_data3>; 277 bias-disable; 278 input-enable; 279 }; 280 group1 { 281 pinmux = <&iomuxc_gpio_sd_b1_00_usdhc1_cmd>, 282 <&iomuxc_gpio_sd_b1_01_usdhc1_clk>, 283 <&iomuxc_gpio_sd_b1_02_usdhc1_data0>, 284 <&iomuxc_gpio_sd_b1_03_usdhc1_data1>, 285 <&iomuxc_gpio_sd_b1_04_usdhc1_data2>; 286 bias-pull-up; 287 input-enable; 288 }; 289 group2 { 290 pinmux = <&iomuxc_gpio_ad_34_usdhc1_vselect>, 291 <&iomuxc_gpio_ad_32_gpio_mux3_io31_cm7>; 292 drive-strength = "high"; 293 bias-pull-down; 294 slew-rate = "fast"; 295 }; 296 group3 { 297 pinmux = <&iomuxc_gpio_ad_35_gpio10_io02>; 298 drive-strength = "high"; 299 bias-pull-up; 300 slew-rate = "fast"; 301 }; 302 }; 303 304}; 305 306