/* * NOTE: File generated by lpc_cfg_utils.py * from MIMXRT685-EVK.mex * * Copyright 2022, NXP * SPDX-License-Identifier: Apache-2.0 */ #include &pinctrl { pinmux_flexcomm0_usart: pinmux_flexcomm0_usart { group0 { pinmux = ; input-enable; slew-rate = "normal"; drive-strength = "normal"; }; group1 { pinmux = ; slew-rate = "normal"; drive-strength = "normal"; }; }; pinmux_flexcomm1_i2s: pinmux_flexcomm1_i2s { group0 { pinmux = ; input-enable; slew-rate = "normal"; drive-strength = "high"; }; }; pinmux_flexcomm2_i2c: pinmux_flexcomm2_i2c { group0 { pinmux = , ; bias-pull-up; input-enable; slew-rate = "normal"; drive-strength = "high"; drive-open-drain; }; }; pinmux_flexcomm3_i2s: pinmux_flexcomm3_i2s { group0 { pinmux = , , ; input-enable; slew-rate = "normal"; drive-strength = "high"; }; }; pinmux_flexcomm4_usart: pinmux_flexcomm4_usart { group0 { pinmux = ; input-enable; slew-rate = "normal"; drive-strength = "normal"; }; group1 { pinmux = ; slew-rate = "normal"; drive-strength = "normal"; }; }; pinmux_flexcomm5_spi: pinmux_flexcomm5_spi { group0 { pinmux = , , , ; input-enable; slew-rate = "normal"; drive-strength = "normal"; }; }; pinmux_flexspi: pinmux_flexspi { group0 { pinmux = , , , , , , , , , ; input-enable; slew-rate = "normal"; drive-strength = "high"; }; group1 { pinmux = ; slew-rate = "normal"; drive-strength = "normal"; }; }; /* * The current test and sample applications uses a single channel for * testing so we only need to enable the pin for that single use. * * If your application requires more then the mappings are as follows * for the rt685_evk: * * +---------+------+---------+-------+ * | Port# | ADC |Schematic|Arduino| * | pin | Chn# | |header | * +---------+------+---------+-------+ * | PIO0_5 | CH0A | ADC0_0 | J30.1 | * +---------+------+---------+-------+ * | PIO0_6 | CH0B | ADC0_8 | J30.2 | * +---------+------+---------+-------+ * | PIO0_12 | CH1A | ADC0_1 | | * +---------+------+---------+-------+ * | PIO0_13 | CH1B | ADC0_9 | | * +---------+------+---------+-------+ * | PIO0_19 | CH2A | ADC0_2 | J30.3 | * +---------+------+---------+-------+ * | PIO0_20 | CH2B | ADC0_10 | J30.4 | * +---------+------+---------+-------+ * | PIO0_26 | CH3A | ADC0_3 | | * +---------+------+---------+-------+ * | PIO0_27 | CH3B | ADC0_11 | | * +---------+------+---------+-------+ * | PIO1_8 | CH4A | ADC0_4 | | * +---------+------+---------+-------+ * | PIO1_9 | CH4B | ADC0_12 | | * +---------+------+---------+-------+ * | PIO3_23 | CH5A | ADC0_5 | | * +---------+------+---------+-------+ * | PIO3_24 | CH5B | ADC0_13 | | * +---------+------+---------+-------+ * * Per the mimxrt6xx reference manual, The channels 0-5 are analong input. * Optionally, channels 0A through 5A can be paired with channels 0B * through 5B for differential input on their respective ADC channel. * */ pinmux_lpadc0: pinmux_lpadc0 { group0 { pinmux = , ; slew-rate = "normal"; drive-strength = "normal"; nxp,analog-mode; }; }; pinmux_pmic_i2c: pinmux_pmic_i2c { group0 { pinmux = , ; bias-pull-up; input-enable; slew-rate = "normal"; drive-strength = "normal"; drive-open-drain; }; }; pinmux_sctimer: pinmux_sctimer { group0 { pinmux = , , , ; slew-rate = "normal"; drive-strength = "normal"; }; }; pinmux_usdhc: pinmux_usdhc { group0 { pinmux = , , , , , ; bias-pull-up; input-enable; slew-rate = "normal"; drive-strength = "normal"; }; group1 { pinmux = ; input-enable; slew-rate = "normal"; drive-strength = "normal"; }; group2 { pinmux = , ; slew-rate = "normal"; drive-strength = "normal"; }; }; pinmux_i3c: pinmux_i3c { group0 { pinmux = , ; input-enable; slew-rate = "slow"; drive-strength = "high"; }; group1 { pinmux = ; slew-rate = "normal"; drive-strength = "normal"; }; }; };