1/* 2 * Copyright (c) 2023, NXP 3 * SPDX-License-Identifier: Apache-2.0 4 * 5 * Note: File generated by gen_board_pinctrl.py 6 * from mimxrt1040_evk.mex 7 */ 8 9#include <nxp/nxp_imx/rt/mimxrt1042xjm5b-pinctrl.dtsi> 10 11&pinctrl { 12 /* Route ADC1 IN3 and IN4 to J33 pins 1 and 2 */ 13 pinmux_adc1: pinmux_adc1 { 14 group0 { 15 pinmux = <&iomuxc_gpio_ad_b0_14_adc1_in3>, 16 <&iomuxc_gpio_ad_b0_15_adc1_in4>; 17 drive-strength = "r0-6"; 18 slew-rate = "slow"; 19 nxp,speed = "100-mhz"; 20 }; 21 }; 22 23 /* Route PWM1 A3 to J16, pin 6 on arduino header */ 24 pinmux_flexpwm1_pwm3: pinmux_flexpwm1_pwm3 { 25 group0 { 26 pinmux = <&iomuxc_gpio_ad_b0_10_flexpwm1_pwma3>; 27 drive-strength = "r0-6"; 28 slew-rate = "fast"; 29 nxp,speed = "100-mhz"; 30 }; 31 }; 32 33 /* LPI2C1 SDA: J17 pin 9, LPI2C1 SCL: J17 pin 10 */ 34 pinmux_lpi2c1: pinmux_lpi2c1 { 35 group0 { 36 pinmux = <&iomuxc_gpio_ad_b1_00_lpi2c1_scl>, 37 <&iomuxc_gpio_ad_b1_01_lpi2c1_sda>; 38 drive-strength = "r0-6"; 39 drive-open-drain; 40 slew-rate = "slow"; 41 nxp,speed = "100-mhz"; 42 input-enable; 43 }; 44 }; 45 46 /* LPI2C3 SDA: J33 pin 6, LPI2C3 SCL: J33 pin 5 */ 47 pinmux_lpi2c3: pinmux_lpi2c3 { 48 group0 { 49 pinmux = <&iomuxc_gpio_ad_b1_06_lpi2c3_sda>, 50 <&iomuxc_gpio_ad_b1_07_lpi2c3_scl>; 51 drive-strength = "r0-6"; 52 slew-rate = "slow"; 53 nxp,speed = "100-mhz"; 54 input-enable; 55 }; 56 }; 57 58 /* Note that R350, R346, and R360 must be populated to use SPI */ 59 pinmux_lpspi1: pinmux_lpspi1 { 60 group0 { 61 pinmux = <&iomuxc_gpio_sd_b0_02_lpspi1_sdo>, 62 <&iomuxc_gpio_sd_b0_03_lpspi1_sdi>, 63 <&iomuxc_gpio_sd_b0_00_lpspi1_sck>; 64 drive-strength = "r0-6"; 65 slew-rate = "slow"; 66 nxp,speed = "100-mhz"; 67 }; 68 }; 69 70 pinmux_lpuart1: pinmux_lpuart1 { 71 group0 { 72 pinmux = <&iomuxc_gpio_ad_b0_13_lpuart1_rx>, 73 <&iomuxc_gpio_ad_b0_12_lpuart1_tx>; 74 drive-strength = "r0-6"; 75 slew-rate = "slow"; 76 nxp,speed = "100-mhz"; 77 }; 78 }; 79 80 pinmux_lpuart1_sleep: pinmux_lpuart1_sleep { 81 group0 { 82 pinmux = <&iomuxc_gpio_ad_b0_13_gpio1_io13>; 83 drive-strength = "r0"; 84 bias-pull-up; 85 bias-pull-up-value = "100k"; 86 slew-rate = "slow"; 87 nxp,speed = "50-mhz"; 88 }; 89 group1 { 90 pinmux = <&iomuxc_gpio_ad_b0_12_lpuart1_tx>; 91 drive-strength = "r0-6"; 92 slew-rate = "slow"; 93 nxp,speed = "100-mhz"; 94 }; 95 }; 96 97 pinmux_lpuart3_flowcontrol: pinmux_lpuart3_flowcontrol { 98 group0 { 99 pinmux = <&iomuxc_gpio_ad_b1_04_lpuart3_cts_b>, 100 <&iomuxc_gpio_ad_b1_05_lpuart3_rts_b>, 101 <&iomuxc_gpio_ad_b1_06_lpuart3_tx>, 102 <&iomuxc_gpio_ad_b1_07_lpuart3_rx>; 103 drive-strength = "r0-6"; 104 slew-rate = "slow"; 105 nxp,speed = "100-mhz"; 106 }; 107 }; 108 109 pinmux_lpuart3_sleep: pinmux_lpuart3_sleep { 110 group0 { 111 pinmux = <&iomuxc_gpio_ad_b1_05_gpio1_io21>, 112 <&iomuxc_gpio_ad_b1_07_gpio1_io23>; 113 drive-strength = "r0"; 114 bias-pull-up; 115 bias-pull-up-value = "100k"; 116 slew-rate = "slow"; 117 nxp,speed = "50-mhz"; 118 }; 119 group1 { 120 pinmux = <&iomuxc_gpio_ad_b1_04_lpuart3_cts_b>, 121 <&iomuxc_gpio_ad_b1_06_lpuart3_tx>; 122 drive-strength = "r0-6"; 123 slew-rate = "slow"; 124 nxp,speed = "100-mhz"; 125 }; 126 }; 127 128 pinmux_lcdif: pinmux_lcdif { 129 group0 { 130 pinmux = <&iomuxc_gpio_b0_00_lcdif_clk>, 131 <&iomuxc_gpio_b0_01_lcdif_enable>, 132 <&iomuxc_gpio_b0_02_lcdif_hsync>, 133 <&iomuxc_gpio_b0_03_lcdif_vsync>, 134 <&iomuxc_gpio_b0_04_lcdif_data00>, 135 <&iomuxc_gpio_b0_05_lcdif_data01>, 136 <&iomuxc_gpio_b0_06_lcdif_data02>, 137 <&iomuxc_gpio_b0_07_lcdif_data03>, 138 <&iomuxc_gpio_b0_08_lcdif_data04>, 139 <&iomuxc_gpio_b0_09_lcdif_data05>, 140 <&iomuxc_gpio_b0_10_lcdif_data06>, 141 <&iomuxc_gpio_b0_11_lcdif_data07>, 142 <&iomuxc_gpio_b0_12_lcdif_data08>, 143 <&iomuxc_gpio_b0_13_lcdif_data09>, 144 <&iomuxc_gpio_b0_14_lcdif_data10>, 145 <&iomuxc_gpio_b0_15_lcdif_data11>, 146 <&iomuxc_gpio_b1_00_lcdif_data12>, 147 <&iomuxc_gpio_b1_01_lcdif_data13>, 148 <&iomuxc_gpio_b1_02_lcdif_data14>, 149 <&iomuxc_gpio_b1_03_lcdif_data15>; 150 drive-strength = "r0-6"; 151 input-schmitt-enable; 152 bias-pull-up; 153 bias-pull-up-value = "100k"; 154 slew-rate = "slow"; 155 nxp,speed = "100-mhz"; 156 }; 157 }; 158}; 159 160