aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/pin_mux.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/pin_mux.c')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/pin_mux.c315
1 files changed, 315 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/pin_mux.c b/lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/pin_mux.c
new file mode 100644
index 000000000..d3a575fa3
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/pin_mux.c
@@ -0,0 +1,315 @@
1/*
2 * Copyright 2017-2020 NXP
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7
8/***********************************************************************************************************************
9 * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
10 * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
11 **********************************************************************************************************************/
12
13/*
14 * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
15!!GlobalInfo
16product: Pins v8.0
17processor: MIMX8QM6xxxFF
18package_id: MIMX8QM6AVUFF
19mcu_data: ksdk2_0
20processor_version: 0.0.0
21board: MIMX8QM-MEK-REV-B
22pin_labels:
23- {pin_num: B4, pin_signal: USDHC1_VSELECT, label: USDHC1_VSELECT, identifier: USDHC1_VSELECT}
24- {pin_num: BD6, pin_signal: SPDIF0_EXT_CLK, label: BB_GPIO1(SPDIF0_EXT_CLK), identifier: BB_GPIO1}
25- {pin_num: AP8, pin_signal: ADC_IN2, label: WIFI_WAKE_B(ADC_IN2), identifier: WIFI_WAKE_B}
26- {pin_num: AP10, pin_signal: ADC_IN0, label: BB_GPIO_1V8(ADC_IN0), identifier: BB_GPIO_1V8}
27- {pin_num: A11, pin_signal: ENET1_REFCLK_125M_25M, label: ENET1_REFCLK, identifier: ENET1_REFCLK}
28- {pin_num: H26, pin_signal: USB_HSIC0_DATA, label: USB_HSIC0_DATA, identifier: USB_HSIC0_DATA}
29- {pin_num: F28, pin_signal: USB_HSIC0_STROBE, label: USB_HSIC0_STROBE, identifier: USB_HSIC0_STROBE}
30- {pin_num: H38, pin_signal: EMMC0_RESET_B, label: BB_GPIO_1V8(EMMC0_RESET_B)BB_GPIO_1V8(EMMC0_RESET_B), identifier: BB_GPIO_1V8}
31- {pin_num: H40, pin_signal: USDHC1_DATA4, label: BB_GPIO_1V8(USDHC1_DATA4), identifier: BB_GPIO_1V8}
32- {pin_num: G43, pin_signal: USDHC1_DATA5, label: BB_GPIO_1V8(USDHC1_DATA5), identifier: BB_GPIO_1V8}
33- {pin_num: J39, pin_signal: USDHC1_CLK, label: USDHC1_CLK, identifier: USDHC1_CLK}
34- {pin_num: G41, pin_signal: USDHC1_CMD, label: USDHC1_CMD, identifier: USDHC1_CMD}
35- {pin_num: H42, pin_signal: USDHC1_DATA7, label: USDHC1_CD_B, identifier: USDHC1_CD_B}
36- {pin_num: B8, pin_signal: USDHC2_CD_B, label: 'BB_USDHC2_CD_B/J20D[42]', identifier: BB_USDHC2_CD_B}
37- {pin_num: F46, pin_signal: USDHC2_CLK, label: WIFI_BT_SDIO_CLK, identifier: WIFI_BT_SDIO_CLK}
38- {pin_num: H44, pin_signal: USDHC2_CMD, label: WIFI_BT_SDIO_CMD, identifier: WIFI_BT_SDIO_CMD}
39- {pin_num: BJ23, pin_signal: MIPI_CSI0_MCLK_OUT, label: MIPI_CSI0_MCLK_OUT, identifier: MIPI_CSI0_MCLK_OUT}
40- {pin_num: BN23, pin_signal: MIPI_CSI1_MCLK_OUT, label: MIPI_CSI1_MCLK_OUT, identifier: MIPI_CSI1_MCLK_OUT}
41- {pin_num: E17, pin_signal: QSPI0A_SCLK, label: QSPI0A_CLK, identifier: QSPI0A_CLK}
42- {pin_num: E15, pin_signal: QSPI0A_SS0_B, label: QSPI0A_CS_B, identifier: QSPI0A_CS_B}
43- {pin_num: G17, pin_signal: QSPI0A_DQS, label: QSPI0_DQS, identifier: QSPI0_DQS}
44- {pin_num: G13, pin_signal: QSPI0A_DATA0, label: QSPI0_DAT0, identifier: QSPI0_DAT0}
45- {pin_num: F14, pin_signal: QSPI0A_DATA1, label: QSPI0_DAT1, identifier: QSPI0_DAT1}
46- {pin_num: H14, pin_signal: QSPI0A_DATA2, label: QSPI0_DAT2, identifier: QSPI0_DAT2}
47- {pin_num: H16, pin_signal: QSPI0A_DATA3, label: QSPI0_DAT3, identifier: QSPI0_DAT3}
48- {pin_num: F18, pin_signal: QSPI0B_SCLK, label: QSPI0B_CLK, identifier: QSPI0B_CLK}
49- {pin_num: F22, pin_signal: QSPI0B_SS0_B, label: QSPI0B_CS_B, identifier: QSPI0B_CS_B}
50- {pin_num: H18, pin_signal: QSPI0B_DATA0, label: QSPI0_DAT4, identifier: QSPI0_DAT4}
51- {pin_num: H20, pin_signal: QSPI0B_DATA1, label: QSPI0_DAT5, identifier: QSPI0_DAT5}
52- {pin_num: G19, pin_signal: QSPI0B_DATA2, label: QSPI0_DAT6, identifier: QSPI0_DAT6}
53- {pin_num: F20, pin_signal: QSPI0B_DATA3, label: QSPI0_DAT7, identifier: QSPI0_DAT7}
54- {pin_num: BB44, pin_signal: SCU_BOOT_MODE0, label: SCU_BOOT_MODE0, identifier: SCU_BOOT_MODE0}
55- {pin_num: BC45, pin_signal: SCU_BOOT_MODE1, label: SCU_BOOT_MODE1, identifier: SCU_BOOT_MODE1}
56- {pin_num: BJ53, pin_signal: SCU_BOOT_MODE2, label: SCU_BOOT_MODE2, identifier: SCU_BOOT_MODE2}
57- {pin_num: BA43, pin_signal: SCU_BOOT_MODE3, label: SCU_BOOT_MODE3, identifier: SCU_BOOT_MODE3}
58- {pin_num: AY42, pin_signal: SCU_BOOT_MODE4, label: SCU_BOOT_MODE4, identifier: SCU_BOOT_MODE4}
59- {pin_num: BK52, pin_signal: SCU_BOOT_MODE5, label: SCU_BOOT_MODE5, identifier: SCU_BOOT_MODE5}
60- {pin_num: BN9, pin_signal: HDMI_TX0_TS_SCL, label: I2C0_3V3_SCL, identifier: I2C0_3V3_SCL}
61- {pin_num: BN7, pin_signal: HDMI_TX0_TS_SDA, label: I2C0_3V3_SDA, identifier: I2C0_3V3_SDA}
62- {pin_num: AY46, pin_signal: PMIC_I2C_SCL, label: PMIC_I2C_SCL, identifier: PMIC_I2C_SCL}
63- {pin_num: BG51, pin_signal: PMIC_I2C_SDA, label: PMIC_I2C_SDA, identifier: PMIC_I2C_SDA}
64- {pin_num: BB50, pin_signal: SCU_WDOG_OUT, label: SCU_WDOG_OUT, identifier: SCU_WDOG_OUT}
65- {pin_num: BF50, pin_signal: PMIC_EARLY_WARNING, label: PMIC_EWARN, identifier: PMIC_EWARN}
66- {pin_num: BH50, pin_signal: PMIC_INT_B, label: PMIC_INT_B, identifier: PMIC_INT_B}
67- {pin_num: BC53, pin_signal: SCU_PMIC_MEMC_ON, label: CPU_RST_1V8_B, identifier: CPU_RST_1V8_B}
68- {pin_num: AU43, pin_signal: SCU_GPIO0_00, label: 'BB_USB_OTG1_FLT_B(SCU_UART0_RX)/J20B[36]', identifier: BB_USB_OTG1_FLT_B}
69- {pin_num: AV44, pin_signal: SCU_GPIO0_01, label: GPIO_1V8(SCU_UART0_TX), identifier: GPIO_1V8}
70- {pin_num: AW45, pin_signal: SCU_GPIO0_02, label: SCU_DEBUG_LED(SCU_GPIO0_02), identifier: SCU_DEBUG_LED}
71- {pin_num: BB46, pin_signal: SCU_GPIO0_03, label: AUD_DET_1V8(SCU_GPIO0_03), identifier: AUD_DET_1V8}
72- {pin_num: BC47, pin_signal: SCU_GPIO0_04, label: 'BB_MKBUS_INT_1V8(SCU_GPIO0_04)/J20D[27]', identifier: BB_MKBUS_INT_1V8}
73- {pin_num: AY44, pin_signal: SCU_GPIO0_05, label: 'BB_SPI1_INT_1V8(SCU_GPIO0_05)/J20C[29]', identifier: BB_SPI1_INT_1V8}
74- {pin_num: BG49, pin_signal: SCU_GPIO0_06, label: 'BB_EXP_INT_1V8(SCU_GPIO0_06)/J20C[28]', identifier: BB_EXP_INT_1V8}
75- {pin_num: BF48, pin_signal: SCU_GPIO0_07, label: SUSCLK_32KHZ(SCU_GPIO0_07), identifier: SUSCLK_32KHZ}
76- {pin_num: AW9, pin_signal: ESAI0_FSR, label: 'BB_ESAI0_FSR/J20D[24]', identifier: BB_ESAI0_FSR}
77- {pin_num: BG9, pin_signal: ESAI0_FST, label: 'BB_ESAI0_FST/J20D[20]', identifier: BB_ESAI0_FST}
78- {pin_num: BB8, pin_signal: ESAI0_SCKR, label: 'BB_ESAI0_SCKR/J20D[17]', identifier: BB_ESAI0_SCKR}
79- {pin_num: AY8, pin_signal: ESAI0_SCKT, label: 'BB_ESAI0_SCKT/J20D[18]', identifier: BB_ESAI0_SCKT}
80- {pin_num: BA9, pin_signal: ESAI0_TX0, label: 'BB_ESAI0_TX0/J20D[21]', identifier: BB_ESAI0_TX0}
81- {pin_num: BA7, pin_signal: ESAI0_TX1, label: 'BB_ESAI0_TX1/J20D[15]', identifier: BB_ESAI0_TX1}
82- {pin_num: AU9, pin_signal: ESAI0_TX2_RX3, label: 'BB_ESAI0_TX2_RX3/J20D[26]', identifier: BB_ESAI0_TX2_RX3}
83- {pin_num: BC5, pin_signal: ESAI0_TX3_RX2, label: 'BB_ESAI0_TX3_RX2/J20D[14]', identifier: BB_ESAI0_TX3_RX2}
84- {pin_num: AV8, pin_signal: ESAI0_TX4_RX1, label: 'BB_ESAI0_TX4_RX1/J20D[23]', identifier: BB_ESAI0_TX4_RX1}
85- {pin_num: AU7, pin_signal: ESAI0_TX5_RX0, label: 'BB_ESAI0_TX5_RX0/J20D[12]', identifier: BB_ESAI0_TX5_RX0}
86- {pin_num: BE11, pin_signal: ESAI1_FSR, label: 'BB_ESAI1_FSR/J20F[14]', identifier: BB_ESAI1_FSR}
87- {pin_num: BF12, pin_signal: ESAI1_FST, label: 'BB_ESAI1_FST/J20F[12]', identifier: BB_ESAI1_FST}
88- {pin_num: BD12, pin_signal: ESAI1_SCKR, label: 'BB_ESAI1_SCKR/J20F[15]', identifier: BB_ESAI1_SCKR}
89- {pin_num: AY10, pin_signal: ESAI1_SCKT, label: 'BB_ESAI1_SCKT/J20F[20]', identifier: BB_ESAI1_SCKT}
90- {pin_num: BF10, pin_signal: ESAI1_TX0, label: 'BB_ESAI1_TX0/J20F[11]', identifier: BB_ESAI1_TX0}
91- {pin_num: BA11, pin_signal: ESAI1_TX1, label: 'BB_ESAI1_TX1/J20F[17]', identifier: BB_ESAI1_TX1}
92- {pin_num: AU11, pin_signal: ESAI1_TX2_RX3, label: 'BB_ESAI1_TX2/J20F[24]', identifier: BB_ESAI1_TX2}
93- {pin_num: AV10, pin_signal: ESAI1_TX3_RX2, label: 'BB_ESAI1_TX3/J20F[23]', identifier: BB_ESAI1_TX3}
94- {pin_num: AY12, pin_signal: ESAI1_TX4_RX1, label: 'BB_ESAI1_RX1/J20F[18]', identifier: BB_ESAI1_RX1}
95- {pin_num: AT10, pin_signal: ESAI1_TX5_RX0, label: 'BB_ESAI1_RX0/J20F[26]', identifier: BB_ESAI1_RX0}
96- {pin_num: BC3, pin_signal: MCLK_IN0, label: 'BB_MCLK_IN(MCLK_IN0)/J20A[26]', identifier: BB_MCLK_IN}
97- {pin_num: BD4, pin_signal: MCLK_OUT0, label: MCLK_OUT0, identifier: MCLK_OUT0}
98- {pin_num: BB4, pin_signal: SPI0_SCK, label: 'BB_SPI0_SCLK/J20E[25]', identifier: BB_SPI0_SCLK}
99- {pin_num: AY6, pin_signal: SPI0_SDO, label: 'BB_SPI0_MOSI/J20E[26]', identifier: BB_SPI0_MOSI}
100- {pin_num: BA5, pin_signal: SPI0_SDI, label: 'BB_SPI0_MISO/J20E[28]', identifier: BB_SPI0_MISO}
101- {pin_num: BC1, pin_signal: SPI0_CS0, label: 'BB_SPI0_CS0/J20E[29]', identifier: BB_SPI0_CS0}
102- {pin_num: AW5, pin_signal: SPI2_SCK, label: 'BB_SPI2_SCLK/J20B[18]', identifier: BB_SPI2_SCLK}
103- {pin_num: BA1, pin_signal: SPI2_SDO, label: 'BB_SPI2_MOSI/J20B[14]', identifier: BB_SPI2_MOSI}
104- {pin_num: AY4, pin_signal: SPI2_SDI, label: 'BB_SPI2_MISO/J20B[15]', identifier: BB_SPI2_MISO}
105- {pin_num: AW1, pin_signal: SPI2_CS0, label: 'BB_SPI2_CS0/J20B[17]', identifier: BB_SPI2_CS0}
106- {pin_num: BF6, pin_signal: SPI3_SCK, label: 'BB_SPI3_SCLK/J20C[16]', identifier: BB_SPI3_SCLK}
107- {pin_num: BF2, pin_signal: SPI3_SDO, label: 'BB_SPI3_MOSI/J20C[17]', identifier: BB_SPI3_MOSI}
108- {pin_num: BE5, pin_signal: SPI3_SDI, label: 'BB_SPI3_MISO/J20C[19]', identifier: BB_SPI3_MISO}
109- {pin_num: BG5, pin_signal: SPI3_CS0, label: 'BB_SPI3_CS0/J20C[20]', identifier: BB_SPI3_CS0}
110- {pin_num: BD8, pin_signal: SPI3_CS1, label: 'BB_SPI3_CS1/J20C[22]', identifier: BB_SPI3_CS1}
111- {pin_num: AV6, pin_signal: SAI1_RXC, label: BT_SAI0_TXD(SAI1_RXC), identifier: BT_SAI0_TXD}
112- {pin_num: AV4, pin_signal: SAI1_RXD, label: SAI1_RXD, identifier: SAI1_RXD}
113- {pin_num: AU3, pin_signal: SAI1_RXFS, label: BT_SAI0_RXD(SAI1_RXFS), identifier: BT_SAI0_RXD}
114- {pin_num: AU5, pin_signal: SAI1_TXC, label: SAI1_TXC, identifier: SAI1_TXC}
115- {pin_num: AU1, pin_signal: SAI1_TXD, label: SAI1_TXD, identifier: SAI1_TXD}
116- {pin_num: AV2, pin_signal: SAI1_TXFS, label: SAI1_TXFS, identifier: SAI1_TXFS}
117- {pin_num: BC7, pin_signal: SPDIF0_RX, label: BB_MCLKIN1(SPDIF0_RX), identifier: BB_MCLKIN1}
118- {pin_num: BC9, pin_signal: SPDIF0_TX, label: BB_MCLKOUT1(SPDIF0_TX), identifier: BB_MCLKOUT1}
119- {pin_num: D2, pin_signal: MLB_CLK, label: 'BB_MLB_CLK/J20F[47]', identifier: BB_MLB_CLK}
120- {pin_num: E3, pin_signal: MLB_DATA, label: 'BB_MLB_DATA/J20F[45]', identifier: BB_MLB_DATA}
121- {pin_num: E1, pin_signal: MLB_SIG, label: 'BB_MLB_SIG/J20F[50]', identifier: BB_MLB_SIG}
122- {pin_num: C5, pin_signal: FLEXCAN0_RX, label: 'BB_CAN0_RX/J20C[25]', identifier: BB_CAN0_RX}
123- {pin_num: H6, pin_signal: FLEXCAN0_TX, label: 'BB_CAN0_TX/J20C[26]', identifier: BB_CAN0_TX}
124- {pin_num: E5, pin_signal: FLEXCAN1_RX, label: 'BB_CAN1_RX/J20C[11]', identifier: BB_CAN1_RX}
125- {pin_num: G7, pin_signal: FLEXCAN1_TX, label: 'BB_CAN1_TX/J20C[10]', identifier: BB_CAN1_TX}
126- {pin_num: C3, pin_signal: FLEXCAN2_RX, label: 'BB_CAN2_RX/J20C[14]', identifier: BB_CAN2_RX}
127- {pin_num: E7, pin_signal: FLEXCAN2_TX, label: 'BB_CAN2_TX/J20C[13]', identifier: BB_CAN2_TX}
128- {pin_num: AR9, pin_signal: ADC_IN3, label: 'BB_SPI1_CLK(ADC_IN3)/J20A[11]', identifier: BB_SPI1_CLK}
129- {pin_num: AN9, pin_signal: ADC_IN4, label: 'BB_SPI1_SDO(ADC_IN4)/J20A[13]', identifier: BB_SPI1_SDO}
130- {pin_num: AR7, pin_signal: ADC_IN5, label: 'BB_SPI1_SDI(ADC_IN5)/J20A[14]', identifier: BB_SPI1_SDI}
131- {pin_num: AL9, pin_signal: ADC_IN6, label: 'BB_SPI1_CS0(ADC_IN6)/J20A[16]', identifier: BB_SPI1_CS0}
132- {pin_num: AP6, pin_signal: ADC_IN7, label: 'BB_SPI1_CS1(ADC_IN7)/J20A[10]', identifier: BB_SPI1_CS1}
133- {pin_num: AN11, pin_signal: ADC_IN1, label: 'BB_SPI3_INT_1V8(ADC_IN1)/J20A[25]', identifier: BB_SPI3_INT_1V8}
134- {pin_num: AL45, pin_signal: SIM0_CLK, label: 'BB_SIM_CLK/J20E[11]', identifier: BB_SIM_CLK}
135- {pin_num: AN45, pin_signal: SIM0_IO, label: 'BB_SIM_IO/J20E[14]', identifier: BB_SIM_IO}
136- {pin_num: AP48, pin_signal: SIM0_RST, label: 'BB_SIM_RST/J20E[13]', identifier: BB_SIM_RST}
137- {pin_num: AT48, pin_signal: SIM0_POWER_EN, label: 'BB_SIM_POWER_EN/J20E[16]', identifier: BB_SIM_POWER_EN}
138- {pin_num: AL43, pin_signal: SIM0_PD, label: 'BB_SIM_PD/J20E[17]', identifier: BB_SIM_PD}
139- {pin_num: AP46, pin_signal: SIM0_GPIO0_00, label: BB_SIM_INT_B, identifier: BB_SIM_INT_B}
140- {pin_num: AU53, pin_signal: M40_GPIO0_01, label: 'BB_ARD_MIK_UART3_TX/J20A[35]', identifier: BB_ARD_MIK_UART3_TX}
141- {pin_num: AR47, pin_signal: M40_GPIO0_00, label: 'BB_ARD_MIK_UART3_RX/J20A[34]', identifier: BB_ARD_MIK_UART3_RX}
142- {pin_num: AM44, pin_signal: M40_I2C0_SCL, label: FTDI_M40_UART0_RX, identifier: FTDI_M40_UART0_RX}
143- {pin_num: AU51, pin_signal: M40_I2C0_SDA, label: FTDI_M40_UART0_TX, identifier: FTDI_M40_UART0_TX}
144- {pin_num: AP44, pin_signal: M41_GPIO0_00, label: 'BB_UART4_RX_AUDIN/J20C[34]', identifier: BB_UART4_RX_AUDIN}
145- {pin_num: AU47, pin_signal: M41_GPIO0_01, label: 'BB_UART4_TX_AUDIN/J20C[35]', identifier: BB_UART4_TX_AUDIN}
146- {pin_num: AR45, pin_signal: M41_I2C0_SCL, label: 'BB_M41_I2C0_1V8_SCL/J20A[22]', identifier: BB_M41_I2C0_1V8_SCL}
147- {pin_num: AU49, pin_signal: M41_I2C0_SDA, label: 'BB_M41_I2C0_1V8_SDA/J20A[23]', identifier: BB_M41_I2C0_1V8_SDA}
148- {pin_num: AY52, pin_signal: GPT0_CLK, label: I2C1_1V8_SCL, identifier: I2C1_1V8_SCL}
149- {pin_num: AV52, pin_signal: GPT0_CAPTURE, label: I2C1_1V8_SDA, identifier: I2C1_1V8_SDA}
150- {pin_num: AW53, pin_signal: GPT0_COMPARE, label: ENET0_INT_B, identifier: ENET0_INT_B}
151- {pin_num: BA53, pin_signal: GPT1_CLK, label: 'BB_IOEXP_CAN_INT_B(GPT1_CLK)/J20B[11]', identifier: BB_IOEXP_CAN_INT_B}
152- {pin_num: AY50, pin_signal: GPT1_CAPTURE, label: 'BB_IOEXP_INT_B(GPT1_CAPTURE)/J20D[50]', identifier: BB_IOEXP_INT_B}
153- {pin_num: BA51, pin_signal: GPT1_COMPARE, label: 'BB_AUD_PWR_PWM(GPT1_COMPARE)/J20E[31]', identifier: BB_AUD_PWR_PWM}
154- {pin_num: AV48, pin_signal: UART0_TX, label: FTDI_UART0_TX, identifier: FTDI_UART0_TX}
155- {pin_num: AV50, pin_signal: UART0_RX, label: FTDI_UART0_RX, identifier: FTDI_UART0_RX}
156- {pin_num: AU45, pin_signal: UART0_RTS_B, label: 'BB_UART2_RX/J20A[28]', identifier: BB_UART2_RX}
157- {pin_num: AW49, pin_signal: UART0_CTS_B, label: 'BB_UART2_TX/J20A[29]', identifier: BB_UART2_TX}
158- {pin_num: AT44, pin_signal: UART1_RX, label: BT_UART1_RX, identifier: BT_UART1_RX}
159- {pin_num: AY48, pin_signal: UART1_TX, label: BT_UART1_TX, identifier: BT_UART1_TX}
160- {pin_num: AR43, pin_signal: UART1_RTS_B, label: BT_UART1_RTS, identifier: BT_UART1_RTS}
161- {pin_num: AV46, pin_signal: UART1_CTS_B, label: BT_UART1_CTS, identifier: BT_UART1_CTS}
162- {pin_num: G37, pin_signal: EMMC0_STROBE, label: EMMC0_STRB, identifier: EMMC0_STRB}
163- {pin_num: H28, pin_signal: EMMC0_CLK, label: EMMC0_CLK, identifier: EMMC0_CLK}
164- {pin_num: J27, pin_signal: EMMC0_CMD, label: EMMC0_CMD, identifier: EMMC0_CMD}
165- {pin_num: G29, pin_signal: EMMC0_DATA0, label: EMMC0_DAT0, identifier: EMMC0_DAT0}
166- {pin_num: H30, pin_signal: EMMC0_DATA1, label: EMMC0_DAT1, identifier: EMMC0_DAT1}
167- {pin_num: G31, pin_signal: EMMC0_DATA2, label: EMMC0_DAT2, identifier: EMMC0_DAT2}
168- {pin_num: H32, pin_signal: EMMC0_DATA3, label: EMMC0_DAT3, identifier: EMMC0_DAT3}
169- {pin_num: J33, pin_signal: EMMC0_DATA4, label: EMMC0_DAT4, identifier: EMMC0_DAT4}
170- {pin_num: H34, pin_signal: EMMC0_DATA5, label: EMMC0_DAT5, identifier: EMMC0_DAT5}
171- {pin_num: H36, pin_signal: EMMC0_DATA6, label: EMMC0_DAT6, identifier: EMMC0_DAT6}
172- {pin_num: G35, pin_signal: EMMC0_DATA7, label: EMMC0_DAT7, identifier: EMMC0_DAT7}
173- {pin_num: J43, pin_signal: USDHC1_STROBE, label: 'BB_MLB_INT_B(USDHC1_STROBE)/J20B[35]', identifier: BB_MLB_INT_B}
174- {pin_num: E37, pin_signal: USDHC1_DATA0, label: USDHC1_DAT0, identifier: USDHC1_DAT0}
175- {pin_num: F38, pin_signal: USDHC1_DATA1, label: USDHC1_DAT1, identifier: USDHC1_DAT1}
176- {pin_num: E39, pin_signal: USDHC1_DATA2, label: USDHC1_DAT2, identifier: USDHC1_DAT2}
177- {pin_num: F40, pin_signal: USDHC1_DATA3, label: USDHC1_DAT3, identifier: USDHC1_DAT3}
178- {pin_num: F42, pin_signal: USDHC1_DATA6, label: USDHC1_WP, identifier: USDHC1_WP}
179- {pin_num: C7, pin_signal: USDHC2_RESET_B, label: WIFI_EN(WIFI_RST_B), identifier: WIFI_EN}
180- {pin_num: A7, pin_signal: USDHC2_VSELECT, label: USDHC2_VSELECT, identifier: USDHC2_VSELECT}
181- {pin_num: D8, pin_signal: USDHC2_WP, label: SENSORS_INT_B(USDHC2_WP), identifier: SENSORS_INT_B}
182- {pin_num: A5, pin_signal: USDHC1_RESET_B, label: USDHC1_RESET_B, identifier: USDHC1_RESET_B}
183- {pin_num: H48, pin_signal: USDHC2_DATA0, label: WIFI_BT_SDIO_DAT0, identifier: WIFI_BT_SDIO_DAT0}
184- {pin_num: G45, pin_signal: USDHC2_DATA1, label: WIFI_BT_SDIO_DAT1, identifier: WIFI_BT_SDIO_DAT1}
185- {pin_num: L45, pin_signal: USDHC2_DATA2, label: WIFI_BT_SDIO_DAT2, identifier: WIFI_BT_SDIO_DAT2}
186- {pin_num: J45, pin_signal: USDHC2_DATA3, label: WIFI_BT_SDIO_DAT3, identifier: WIFI_BT_SDIO_DAT3}
187- {pin_num: F10, pin_signal: QSPI1A_SCLK, label: NX20P_ACK, identifier: NX20P_ACK}
188- {pin_num: J11, pin_signal: QSPI1A_SS0_B, label: CBTL_EN, identifier: CBTL_EN}
189- {pin_num: G11, pin_signal: QSPI1A_SS1_B, label: BB_GPIO_3V3(QSPI1A_SS1_B), identifier: BB_GPIO_3V3}
190- {pin_num: H12, pin_signal: QSPI1A_DQS, label: BT_DISABLE_B, identifier: BT_DISABLE_B}
191- {pin_num: D12, pin_signal: QSPI1A_DATA0, label: PTN5110_ALERT_B, identifier: PTN5110_ALERT_B}
192- {pin_num: D14, pin_signal: QSPI1A_DATA1, label: 'BB_AUDIN_RST_B(QSPI1A_DATA1)/J20C[32]', identifier: BB_AUDIN_RST_B}
193- {pin_num: E13, pin_signal: QSPI1A_DATA2, label: 'BB_GPIO_3V3(QSPI1A_DATA2)/J20C[43]', identifier: BB_GPIO_3V3_1}
194- {pin_num: E11, pin_signal: QSPI1A_DATA3, label: 'BB_GPIO_3V3(QSPI1A_DATA3)/J20C[44]', identifier: BB_GPIO_3V3_2}
195- {pin_num: J9, pin_signal: USB_SS3_TC0, label: 'BB_USB_OTG1_PWR_ON/J20A[32]', identifier: BB_USB_OTG1_PWR_ON}
196- {pin_num: L9, pin_signal: USB_SS3_TC1, label: PTN51_DBG_ACC, identifier: PTN51_DBG_ACC}
197- {pin_num: F8, pin_signal: USB_SS3_TC2, label: BT_WAKE(USB_SS3_TC2), identifier: BT_WAKE}
198- {pin_num: H10, pin_signal: USB_SS3_TC3, label: CABLE_ORIENT, identifier: CABLE_ORIENT}
199- {pin_num: A15, pin_signal: PCIE_CTRL0_WAKE_B, label: PCIE_WIBT_CTRL0_WAKE_B, identifier: PCIE_WIBT_CTRL0_WAKE_B}
200- {pin_num: D20, pin_signal: PCIE_CTRL0_PERST_B, label: PCIE_WIBT_CTRL0_PERST_B, identifier: PCIE_WIBT_CTRL0_PERST_B}
201- {pin_num: A17, pin_signal: PCIE_CTRL0_CLKREQ_B, label: PCIE_WIBT_CLKREQ_B, identifier: PCIE_WIBT_CLKREQ_B}
202- {pin_num: A27, pin_signal: PCIE_CTRL1_WAKE_B, label: 'BB_PCIE_CTRL1_WAKE_B/J20B[21]', identifier: BB_PCIE_CTRL1_WAKE_B}
203- {pin_num: G25, pin_signal: PCIE_CTRL1_PERST_B, label: 'BB_PCIE_CTRL1_PERST_B/J20B[23]', identifier: BB_PCIE_CTRL1_PERST_B}
204- {pin_num: A25, pin_signal: PCIE_CTRL1_CLKREQ_B, label: 'BB_PCIE_CTRL1_CLKREQ_B/J20B[20]', identifier: BB_PCIE_CTRL1_CLKREQ_B}
205- {pin_num: B10, pin_signal: ENET0_REFCLK_125M_25M, label: 'BB_ARD_MIK_RST_B/J20D[41]', identifier: BB_ARD_MIK_RST_B}
206- {pin_num: A13, pin_signal: ENET1_MDC, label: I2C4_3V3_SCL, identifier: I2C4_3V3_SCL}
207- {pin_num: C13, pin_signal: ENET1_MDIO, label: I2C4_3V3_SDA, identifier: I2C4_3V3_SDA}
208- {pin_num: A9, pin_signal: ENET0_MDC, label: ENET0_MDC, identifier: ENET0_MDC}
209- {pin_num: D10, pin_signal: ENET0_MDIO, label: ENET0_MDIO, identifier: ENET0_MDIO}
210- {pin_num: A41, pin_signal: ENET0_RGMII_TXC, label: ETH0_RGMII_TXC, identifier: ETH0_RGMII_TXC}
211- {pin_num: E41, pin_signal: ENET0_RGMII_TX_CTL, label: ETH0_RGMII_TX_CTL, identifier: ETH0_RGMII_TX_CTL}
212- {pin_num: A43, pin_signal: ENET0_RGMII_TXD0, label: ETH0_RGMII_TXD0, identifier: ETH0_RGMII_TXD0}
213- {pin_num: B42, pin_signal: ENET0_RGMII_TXD1, label: ETH0_RGMII_TXD1, identifier: ETH0_RGMII_TXD1}
214- {pin_num: A45, pin_signal: ENET0_RGMII_TXD2, label: ETH0_RGMII_TXD2, identifier: ETH0_RGMII_TXD2}
215- {pin_num: D42, pin_signal: ENET0_RGMII_TXD3, label: ETH0_RGMII_TXD3, identifier: ETH0_RGMII_TXD3}
216- {pin_num: B44, pin_signal: ENET0_RGMII_RXC, label: ETH0_RGMII_RXC, identifier: ETH0_RGMII_RXC}
217- {pin_num: E43, pin_signal: ENET0_RGMII_RX_CTL, label: ETH0_RGMII_RX_CTL, identifier: ETH0_RGMII_RX_CTL}
218- {pin_num: A47, pin_signal: ENET0_RGMII_RXD0, label: ETH0_RGMII_RXD0, identifier: ETH0_RGMII_RXD0}
219- {pin_num: D44, pin_signal: ENET0_RGMII_RXD1, label: ETH0_RGMII_RXD1, identifier: ETH0_RGMII_RXD1}
220- {pin_num: C45, pin_signal: ENET0_RGMII_RXD2, label: ETH0_RGMII_RXD2, identifier: ETH0_RGMII_RXD2}
221- {pin_num: E45, pin_signal: ENET0_RGMII_RXD3, label: ETH0_RGMII_RXD3, identifier: ETH0_RGMII_RXD3}
222- {pin_num: D46, pin_signal: ENET1_RGMII_TXC, label: ENET1_RGMII_TXC, identifier: ENET1_RGMII_TXC}
223- {pin_num: B48, pin_signal: ENET1_RGMII_TX_CTL, label: ENET1_RGMII_TX_CTL, identifier: ENET1_RGMII_TX_CTL}
224- {pin_num: A49, pin_signal: ENET1_RGMII_TXD0, label: ENET1_RGMII_TXD0, identifier: ENET1_RGMII_TXD0}
225- {pin_num: C47, pin_signal: ENET1_RGMII_TXD1, label: ENET1_RGMII_TXD1, identifier: ENET1_RGMII_TXD1}
226- {pin_num: G47, pin_signal: ENET1_RGMII_TXD2, label: ENET1_RGMII_TXD2, identifier: ENET1_RGMII_TXD2}
227- {pin_num: D48, pin_signal: ENET1_RGMII_TXD3, label: ENET1_RGMII_TXD3, identifier: ENET1_RGMII_TXD3}
228- {pin_num: B50, pin_signal: ENET1_RGMII_RXC, label: 'BB_ENET1_RGMII_RXC/J20F[38]', identifier: BB_ENET1_RGMII_RXC}
229- {pin_num: E49, pin_signal: ENET1_RGMII_RX_CTL, label: 'BB_ENET1_RGMII_RX_CTL/J20F[33]', identifier: BB_ENET1_RGMII_RX_CTL}
230- {pin_num: E51, pin_signal: ENET1_RGMII_RXD0, label: 'BB_ENET1_RGMII_RXD0/J20F[30]', identifier: BB_ENET1_RGMII_RXD0}
231- {pin_num: C51, pin_signal: ENET1_RGMII_RXD1, label: 'BB_ENET1_RGMII_RXD1/J20F[35]', identifier: BB_ENET1_RGMII_RXD1}
232- {pin_num: D52, pin_signal: ENET1_RGMII_RXD2, label: 'BB_ENET1_RGMII_RXD2/J20F[32]', identifier: BB_ENET1_RGMII_RXD2}
233- {pin_num: E53, pin_signal: ENET1_RGMII_RXD3, label: 'BB_ENET1_RGMII_RXD3/J20F[29]', identifier: BB_ENET1_RGMII_RXD3}
234- {pin_num: BE39, pin_signal: LVDS0_GPIO00, label: LVDS0_BL_PWM, identifier: LVDS0_BL_PWM}
235- {pin_num: BD40, pin_signal: LVDS0_GPIO01, label: LVDS0_TS_INT, identifier: LVDS0_TS_INT}
236- {pin_num: BD38, pin_signal: LVDS0_I2C0_SCL, label: LVDS_EN, identifier: LVDS_EN}
237- {pin_num: BD36, pin_signal: LVDS0_I2C0_SDA, label: MIPI_DSI0_1_EN, identifier: MIPI_DSI0_1_EN}
238- {pin_num: BE37, pin_signal: LVDS0_I2C1_SCL, label: LVDS0_TS_SCL, identifier: LVDS0_TS_SCL}
239- {pin_num: BE35, pin_signal: LVDS0_I2C1_SDA, label: LVDS0_TS_SDA, identifier: LVDS0_TS_SDA}
240- {pin_num: BD34, pin_signal: LVDS1_GPIO00, label: LVDS1_BL_PWM, identifier: LVDS1_BL_PWM}
241- {pin_num: BH36, pin_signal: LVDS1_GPIO01, label: LVDS1_TS_INT, identifier: LVDS1_TS_INT}
242- {pin_num: BN35, pin_signal: LVDS1_I2C1_SDA, label: LVDS1_TS_SDA, identifier: LVDS1_TS_SDA}
243- {pin_num: BE33, pin_signal: LVDS1_I2C0_SDA, label: WIBT_DISABLE_1V8(LVDS1_I2C0_SDA), identifier: WIBT_DISABLE_1V8}
244- {pin_num: BD32, pin_signal: LVDS1_I2C1_SCL, label: LVDS1_TS_SCL, identifier: LVDS1_TS_SCL}
245- {pin_num: BL23, pin_signal: MIPI_CSI0_GPIO0_00, label: MIPI_CSI0_RST_B, identifier: MIPI_CSI0_RST_B}
246- {pin_num: BM22, pin_signal: MIPI_CSI0_GPIO0_01, label: MIPI_CSI0_EN, identifier: MIPI_CSI0_EN}
247- {pin_num: BN15, pin_signal: MIPI_CSI1_GPIO0_00, label: MIPI_CSI1_RST_B, identifier: MIPI_CSI1_RST_B}
248- {pin_num: BN13, pin_signal: MIPI_CSI1_GPIO0_01, label: MIPI_CSI1_EN, identifier: MIPI_CSI1_EN}
249- {pin_num: BH24, pin_signal: MIPI_CSI0_I2C0_SCL, label: MIPI_CSI0_I2C0_SCL, identifier: MIPI_CSI0_I2C0_SCL}
250- {pin_num: BN19, pin_signal: MIPI_CSI0_I2C0_SDA, label: MIPI_CSI0_I2C0_SDA, identifier: MIPI_CSI0_I2C0_SDA}
251- {pin_num: BN17, pin_signal: MIPI_CSI1_I2C0_SCL, label: MIPI_CSI1_I2C0_SCL, identifier: MIPI_CSI1_I2C0_SCL}
252- {pin_num: BE15, pin_signal: MIPI_CSI1_I2C0_SDA, label: MIPI_CSI1_I2C0_SDA, identifier: MIPI_CSI1_I2C0_SDA}
253- {pin_num: BD30, pin_signal: MIPI_DSI0_GPIO0_00, label: MIPI_DSI0_BL_PWM, identifier: MIPI_DSI0_BL_PWM}
254- {pin_num: BM24, pin_signal: MIPI_DSI1_GPIO0_00, label: MIPI_DSI1_BL_PWM, identifier: MIPI_DSI1_BL_PWM}
255- {pin_num: BD28, pin_signal: MIPI_DSI0_GPIO0_01, label: MIPI_DSI0_TS_INT_B, identifier: MIPI_DSI0_TS_INT_B}
256- {pin_num: BK24, pin_signal: MIPI_DSI1_GPIO0_01, label: MIPI_DSI1_TS_INT_B, identifier: MIPI_DSI1_TS_INT_B}
257- {pin_num: BE29, pin_signal: MIPI_DSI0_I2C0_SCL, label: MIPI_DSI0_TS_SCL, identifier: MIPI_DSI0_TS_SCL}
258- {pin_num: BE31, pin_signal: MIPI_DSI0_I2C0_SDA, label: MIPI_DSI0_TS_SDA, identifier: MIPI_DSI0_TS_SDA}
259- {pin_num: BE27, pin_signal: MIPI_DSI1_I2C0_SCL, label: MIPI_DSI1_TS_SCL, identifier: MIPI_DSI1_TS_SCL}
260- {pin_num: BG25, pin_signal: MIPI_DSI1_I2C0_SDA, label: MIPI_DSI1_TS_SDA, identifier: MIPI_DSI1_TS_SDA}
261- {pin_num: BA3, pin_signal: SPI0_CS1, label: BT_SAI0_TXC(SPI0_CS1), identifier: BT_SAI0_TXC}
262- {pin_num: AY2, pin_signal: SPI2_CS1, label: BT_SAI0_TXFS(SPI2_CS1), identifier: BT_SAI0_TXFS}
263 * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
264 */
265
266#include "pin_mux.h"
267#include "fsl_common.h"
268#include "main/imx8qm_pads.h"
269#include "svc/pad/pad_api.h"
270
271/* FUNCTION ************************************************************************************************************
272 *
273 * Function Name : BOARD_InitBootPins
274 * Description : Calls initialization functions.
275 *
276 * END ****************************************************************************************************************/
277void BOARD_InitBootPins(void)
278{
279}
280
281/*
282 * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
283BOARD_InitPins:
284- options: {callFromInitBoot: 'false', coreID: cm4_core0}
285- pin_list:
286 - {pin_num: AM44, peripheral: M40__UART0, signal: uart_rx, pin_signal: M40_I2C0_SCL, PULL: PULL_0, sw_config: sw_config_0}
287 - {pin_num: AU51, peripheral: M40__UART0, signal: uart_tx, pin_signal: M40_I2C0_SDA, PULL: PULL_0, sw_config: sw_config_0}
288 * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
289 */
290
291/* FUNCTION ************************************************************************************************************
292 *
293 * Function Name : BOARD_InitPins
294 * Description : Configures pin routing and optionally pin electrical features.
295 *
296 * END ****************************************************************************************************************/
297void BOARD_InitPins(sc_ipc_t ipc) /*!< Function assigned for the core: Cortex-M4F[cm4_core0] */
298{
299 sc_err_t err = SC_ERR_NONE;
300
301 err = sc_pad_set_all(ipc, BOARD_INITPINS_FTDI_M40_UART0_RX_PIN_FUNCTION_ID, 1U, SC_PAD_CONFIG_NORMAL, SC_PAD_ISO_OFF, 0x0 ,SC_PAD_WAKEUP_OFF);/* IOMUXD_M40_I2C0_SCL register modification value */
302 if (SC_ERR_NONE != err)
303 {
304 assert(false);
305 }
306 err = sc_pad_set_all(ipc, BOARD_INITPINS_FTDI_M40_UART0_TX_PIN_FUNCTION_ID, 1U, SC_PAD_CONFIG_NORMAL, SC_PAD_ISO_OFF, 0x0 ,SC_PAD_WAKEUP_OFF);/* IOMUXD_M40_I2C0_SDA register modification value */
307 if (SC_ERR_NONE != err)
308 {
309 assert(false);
310 }
311}
312
313/***********************************************************************************************************************
314 * EOF
315 **********************************************************************************************************************/