1 /* 2 * NOTE: Autogenerated file by kinetis_cfg_utils.py 3 * for MK22FX512VMD12/signal_configuration.xml 4 * 5 * Copyright 2023 Daniel DeGrasse 6 * SPDX-License-Identifier: Apache-2.0 7 */ 8 9 #ifndef _ZEPHYR_DTS_BINDING_MK22FX512VMD12_ 10 #define _ZEPHYR_DTS_BINDING_MK22FX512VMD12_ 11 12 #define KINETIS_MUX(port, pin, mux) \ 13 (((((port) - 'A') & 0xF) << 28) | \ 14 (((pin) & 0x3F) << 22) | \ 15 (((mux) & 0x7) << 8)) 16 17 #define PTA0 KINETIS_MUX('A',0,1) /* PTA0 */ 18 #define UART0_CTS_b_PTA0 KINETIS_MUX('A',0,2) /* PTA0 */ 19 #define FTM0_CH5_PTA0 KINETIS_MUX('A',0,3) /* PTA0 */ 20 #define JTAG_TCLK_PTA0 KINETIS_MUX('A',0,7) /* PTA0 */ 21 #define PTA1 KINETIS_MUX('A',1,1) /* PTA1 */ 22 #define UART0_RX_PTA1 KINETIS_MUX('A',1,2) /* PTA1 */ 23 #define FTM0_CH6_PTA1 KINETIS_MUX('A',1,3) /* PTA1 */ 24 #define JTAG_TDI_PTA1 KINETIS_MUX('A',1,7) /* PTA1 */ 25 #define PTA2 KINETIS_MUX('A',2,1) /* PTA2 */ 26 #define UART0_TX_PTA2 KINETIS_MUX('A',2,2) /* PTA2 */ 27 #define FTM0_CH7_PTA2 KINETIS_MUX('A',2,3) /* PTA2 */ 28 #define TRACE_SWO_PTA2 KINETIS_MUX('A',2,7) /* PTA2 */ 29 #define JTAG_TDO_PTA2 KINETIS_MUX('A',2,7) /* PTA2 */ 30 #define PTA3 KINETIS_MUX('A',3,1) /* PTA3 */ 31 #define UART0_RTS_b_PTA3 KINETIS_MUX('A',3,2) /* PTA3 */ 32 #define FTM0_CH0_PTA3 KINETIS_MUX('A',3,3) /* PTA3 */ 33 #define JTAG_TMS_PTA3 KINETIS_MUX('A',3,7) /* PTA3 */ 34 #define PTA4 KINETIS_MUX('A',4,1) /* PTA4 */ 35 #define LLWU_P3_PTA4 KINETIS_MUX('A',4,1) /* PTA4 */ 36 #define FTM0_CH1_PTA4 KINETIS_MUX('A',4,3) /* PTA4 */ 37 #define NMI_b_PTA4 KINETIS_MUX('A',4,7) /* PTA4 */ 38 #define PTA5 KINETIS_MUX('A',5,1) /* PTA5 */ 39 #define USB_CLKIN_PTA5 KINETIS_MUX('A',5,2) /* PTA5 */ 40 #define FTM0_CH2_PTA5 KINETIS_MUX('A',5,3) /* PTA5 */ 41 #define CMP2_OUT_PTA5 KINETIS_MUX('A',5,5) /* PTA5 */ 42 #define I2S0_TX_BCLK_PTA5 KINETIS_MUX('A',5,6) /* PTA5 */ 43 #define JTAG_TRST_b_PTA5 KINETIS_MUX('A',5,7) /* PTA5 */ 44 #define PTA6 KINETIS_MUX('A',6,1) /* PTA6 */ 45 #define FTM0_CH3_PTA6 KINETIS_MUX('A',6,3) /* PTA6 */ 46 #define TRACE_CLKOUT_PTA6 KINETIS_MUX('A',6,7) /* PTA6 */ 47 #define ADC0_SE10_PTA7 KINETIS_MUX('A',7,0) /* PTA7 */ 48 #define PTA7 KINETIS_MUX('A',7,1) /* PTA7 */ 49 #define FTM0_CH4_PTA7 KINETIS_MUX('A',7,3) /* PTA7 */ 50 #define TRACE_D3_PTA7 KINETIS_MUX('A',7,7) /* PTA7 */ 51 #define ADC0_SE11_PTA8 KINETIS_MUX('A',8,0) /* PTA8 */ 52 #define PTA8 KINETIS_MUX('A',8,1) /* PTA8 */ 53 #define FTM1_CH0_PTA8 KINETIS_MUX('A',8,3) /* PTA8 */ 54 #define FTM1_QD_PHA_PTA8 KINETIS_MUX('A',8,6) /* PTA8 */ 55 #define TRACE_D2_PTA8 KINETIS_MUX('A',8,7) /* PTA8 */ 56 #define PTA9 KINETIS_MUX('A',9,1) /* PTA9 */ 57 #define FTM1_CH1_PTA9 KINETIS_MUX('A',9,3) /* PTA9 */ 58 #define FTM1_QD_PHB_PTA9 KINETIS_MUX('A',9,6) /* PTA9 */ 59 #define TRACE_D1_PTA9 KINETIS_MUX('A',9,7) /* PTA9 */ 60 #define PTA10 KINETIS_MUX('A',10,1) /* PTA10 */ 61 #define FTM2_CH0_PTA10 KINETIS_MUX('A',10,3) /* PTA10 */ 62 #define FTM2_QD_PHA_PTA10 KINETIS_MUX('A',10,6) /* PTA10 */ 63 #define TRACE_D0_PTA10 KINETIS_MUX('A',10,7) /* PTA10 */ 64 #define PTA11 KINETIS_MUX('A',11,1) /* PTA11 */ 65 #define FTM2_CH1_PTA11 KINETIS_MUX('A',11,3) /* PTA11 */ 66 #define I2C2_SDA_PTA11 KINETIS_MUX('A',11,5) /* PTA11 */ 67 #define FTM2_QD_PHB_PTA11 KINETIS_MUX('A',11,6) /* PTA11 */ 68 #define CMP2_IN0_PTA12 KINETIS_MUX('A',12,0) /* PTA12 */ 69 #define PTA12 KINETIS_MUX('A',12,1) /* PTA12 */ 70 #define CAN0_TX_PTA12 KINETIS_MUX('A',12,2) /* PTA12 */ 71 #define FTM1_CH0_PTA12 KINETIS_MUX('A',12,3) /* PTA12 */ 72 #define I2C2_SCL_PTA12 KINETIS_MUX('A',12,5) /* PTA12 */ 73 #define I2S0_TXD0_PTA12 KINETIS_MUX('A',12,6) /* PTA12 */ 74 #define FTM1_QD_PHA_PTA12 KINETIS_MUX('A',12,7) /* PTA12 */ 75 #define CMP2_IN1_PTA13 KINETIS_MUX('A',13,0) /* PTA13 */ 76 #define LLWU_P4_PTA13 KINETIS_MUX('A',13,1) /* PTA13 */ 77 #define PTA13 KINETIS_MUX('A',13,1) /* PTA13 */ 78 #define CAN0_RX_PTA13 KINETIS_MUX('A',13,2) /* PTA13 */ 79 #define FTM1_CH1_PTA13 KINETIS_MUX('A',13,3) /* PTA13 */ 80 #define I2C2_SDA_PTA13 KINETIS_MUX('A',13,5) /* PTA13 */ 81 #define I2S0_TX_FS_PTA13 KINETIS_MUX('A',13,6) /* PTA13 */ 82 #define FTM1_QD_PHB_PTA13 KINETIS_MUX('A',13,7) /* PTA13 */ 83 #define PTA14 KINETIS_MUX('A',14,1) /* PTA14 */ 84 #define SPI0_PCS0_PTA14 KINETIS_MUX('A',14,2) /* PTA14 */ 85 #define UART0_TX_PTA14 KINETIS_MUX('A',14,3) /* PTA14 */ 86 #define I2C2_SCL_PTA14 KINETIS_MUX('A',14,5) /* PTA14 */ 87 #define I2S0_RX_BCLK_PTA14 KINETIS_MUX('A',14,6) /* PTA14 */ 88 #define I2S0_TXD1_PTA14 KINETIS_MUX('A',14,7) /* PTA14 */ 89 #define PTA15 KINETIS_MUX('A',15,1) /* PTA15 */ 90 #define SPI0_SCK_PTA15 KINETIS_MUX('A',15,2) /* PTA15 */ 91 #define UART0_RX_PTA15 KINETIS_MUX('A',15,3) /* PTA15 */ 92 #define I2S0_RXD0_PTA15 KINETIS_MUX('A',15,6) /* PTA15 */ 93 #define PTA16 KINETIS_MUX('A',16,1) /* PTA16 */ 94 #define SPI0_SOUT_PTA16 KINETIS_MUX('A',16,2) /* PTA16 */ 95 #define UART0_CTS_b_PTA16 KINETIS_MUX('A',16,3) /* PTA16 */ 96 #define I2S0_RX_FS_PTA16 KINETIS_MUX('A',16,6) /* PTA16 */ 97 #define I2S0_RXD1_PTA16 KINETIS_MUX('A',16,7) /* PTA16 */ 98 #define ADC1_SE17_PTA17 KINETIS_MUX('A',17,0) /* PTA17 */ 99 #define PTA17 KINETIS_MUX('A',17,1) /* PTA17 */ 100 #define SPI0_SIN_PTA17 KINETIS_MUX('A',17,2) /* PTA17 */ 101 #define UART0_RTS_b_PTA17 KINETIS_MUX('A',17,3) /* PTA17 */ 102 #define I2S0_MCLK_PTA17 KINETIS_MUX('A',17,6) /* PTA17 */ 103 #define EXTAL0_PTA18 KINETIS_MUX('A',18,0) /* PTA18 */ 104 #define PTA18 KINETIS_MUX('A',18,1) /* PTA18 */ 105 #define FTM0_FLT2_PTA18 KINETIS_MUX('A',18,3) /* PTA18 */ 106 #define FTM_CLKIN0_PTA18 KINETIS_MUX('A',18,4) /* PTA18 */ 107 #define XTAL0_PTA19 KINETIS_MUX('A',19,0) /* PTA19 */ 108 #define PTA19 KINETIS_MUX('A',19,1) /* PTA19 */ 109 #define FTM1_FLT0_PTA19 KINETIS_MUX('A',19,3) /* PTA19 */ 110 #define FTM_CLKIN1_PTA19 KINETIS_MUX('A',19,4) /* PTA19 */ 111 #define LPTMR0_ALT1_PTA19 KINETIS_MUX('A',19,6) /* PTA19 */ 112 #define PTA24 KINETIS_MUX('A',24,1) /* PTA24 */ 113 #define PTA25 KINETIS_MUX('A',25,1) /* PTA25 */ 114 #define PTA26 KINETIS_MUX('A',26,1) /* PTA26 */ 115 #define PTA27 KINETIS_MUX('A',27,1) /* PTA27 */ 116 #define PTA28 KINETIS_MUX('A',28,1) /* PTA28 */ 117 #define PTA29 KINETIS_MUX('A',29,1) /* PTA29 */ 118 #define ADC0_SE8_PTB0 KINETIS_MUX('B',0,0) /* PTB0 */ 119 #define ADC1_SE8_PTB0 KINETIS_MUX('B',0,0) /* PTB0 */ 120 #define PTB0 KINETIS_MUX('B',0,1) /* PTB0 */ 121 #define LLWU_P5_PTB0 KINETIS_MUX('B',0,1) /* PTB0 */ 122 #define I2C0_SCL_PTB0 KINETIS_MUX('B',0,2) /* PTB0 */ 123 #define FTM1_CH0_PTB0 KINETIS_MUX('B',0,3) /* PTB0 */ 124 #define FTM1_QD_PHA_PTB0 KINETIS_MUX('B',0,6) /* PTB0 */ 125 #define ADC0_SE9_PTB1 KINETIS_MUX('B',1,0) /* PTB1 */ 126 #define ADC1_SE9_PTB1 KINETIS_MUX('B',1,0) /* PTB1 */ 127 #define PTB1 KINETIS_MUX('B',1,1) /* PTB1 */ 128 #define I2C0_SDA_PTB1 KINETIS_MUX('B',1,2) /* PTB1 */ 129 #define FTM1_CH1_PTB1 KINETIS_MUX('B',1,3) /* PTB1 */ 130 #define FTM1_QD_PHB_PTB1 KINETIS_MUX('B',1,6) /* PTB1 */ 131 #define ADC0_SE12_PTB2 KINETIS_MUX('B',2,0) /* PTB2 */ 132 #define PTB2 KINETIS_MUX('B',2,1) /* PTB2 */ 133 #define I2C0_SCL_PTB2 KINETIS_MUX('B',2,2) /* PTB2 */ 134 #define UART0_RTS_b_PTB2 KINETIS_MUX('B',2,3) /* PTB2 */ 135 #define FTM0_FLT3_PTB2 KINETIS_MUX('B',2,6) /* PTB2 */ 136 #define ADC0_SE13_PTB3 KINETIS_MUX('B',3,0) /* PTB3 */ 137 #define PTB3 KINETIS_MUX('B',3,1) /* PTB3 */ 138 #define I2C0_SDA_PTB3 KINETIS_MUX('B',3,2) /* PTB3 */ 139 #define UART0_CTS_b_PTB3 KINETIS_MUX('B',3,3) /* PTB3 */ 140 #define FTM0_FLT0_PTB3 KINETIS_MUX('B',3,6) /* PTB3 */ 141 #define ADC1_SE10_PTB4 KINETIS_MUX('B',4,0) /* PTB4 */ 142 #define PTB4 KINETIS_MUX('B',4,1) /* PTB4 */ 143 #define FTM1_FLT0_PTB4 KINETIS_MUX('B',4,6) /* PTB4 */ 144 #define ADC1_SE11_PTB5 KINETIS_MUX('B',5,0) /* PTB5 */ 145 #define PTB5 KINETIS_MUX('B',5,1) /* PTB5 */ 146 #define FTM2_FLT0_PTB5 KINETIS_MUX('B',5,6) /* PTB5 */ 147 #define ADC1_SE12_PTB6 KINETIS_MUX('B',6,0) /* PTB6 */ 148 #define PTB6 KINETIS_MUX('B',6,1) /* PTB6 */ 149 #define ADC1_SE13_PTB7 KINETIS_MUX('B',7,0) /* PTB7 */ 150 #define PTB7 KINETIS_MUX('B',7,1) /* PTB7 */ 151 #define PTB8 KINETIS_MUX('B',8,1) /* PTB8 */ 152 #define UART3_RTS_b_PTB8 KINETIS_MUX('B',8,3) /* PTB8 */ 153 #define PTB9 KINETIS_MUX('B',9,1) /* PTB9 */ 154 #define SPI1_PCS1_PTB9 KINETIS_MUX('B',9,2) /* PTB9 */ 155 #define UART3_CTS_b_PTB9 KINETIS_MUX('B',9,3) /* PTB9 */ 156 #define ADC1_SE14_PTB10 KINETIS_MUX('B',10,0) /* PTB10 */ 157 #define PTB10 KINETIS_MUX('B',10,1) /* PTB10 */ 158 #define SPI1_PCS0_PTB10 KINETIS_MUX('B',10,2) /* PTB10 */ 159 #define UART3_RX_PTB10 KINETIS_MUX('B',10,3) /* PTB10 */ 160 #define FTM0_FLT1_PTB10 KINETIS_MUX('B',10,6) /* PTB10 */ 161 #define ADC1_SE15_PTB11 KINETIS_MUX('B',11,0) /* PTB11 */ 162 #define PTB11 KINETIS_MUX('B',11,1) /* PTB11 */ 163 #define SPI1_SCK_PTB11 KINETIS_MUX('B',11,2) /* PTB11 */ 164 #define UART3_TX_PTB11 KINETIS_MUX('B',11,3) /* PTB11 */ 165 #define FTM0_FLT2_PTB11 KINETIS_MUX('B',11,6) /* PTB11 */ 166 #define PTB16 KINETIS_MUX('B',16,1) /* PTB16 */ 167 #define SPI1_SOUT_PTB16 KINETIS_MUX('B',16,2) /* PTB16 */ 168 #define UART0_RX_PTB16 KINETIS_MUX('B',16,3) /* PTB16 */ 169 #define FTM_CLKIN0_PTB16 KINETIS_MUX('B',16,4) /* PTB16 */ 170 #define EWM_IN_PTB16 KINETIS_MUX('B',16,6) /* PTB16 */ 171 #define PTB17 KINETIS_MUX('B',17,1) /* PTB17 */ 172 #define SPI1_SIN_PTB17 KINETIS_MUX('B',17,2) /* PTB17 */ 173 #define UART0_TX_PTB17 KINETIS_MUX('B',17,3) /* PTB17 */ 174 #define FTM_CLKIN1_PTB17 KINETIS_MUX('B',17,4) /* PTB17 */ 175 #define EWM_OUT_b_PTB17 KINETIS_MUX('B',17,6) /* PTB17 */ 176 #define PTB18 KINETIS_MUX('B',18,1) /* PTB18 */ 177 #define CAN0_TX_PTB18 KINETIS_MUX('B',18,2) /* PTB18 */ 178 #define FTM2_CH0_PTB18 KINETIS_MUX('B',18,3) /* PTB18 */ 179 #define I2S0_TX_BCLK_PTB18 KINETIS_MUX('B',18,4) /* PTB18 */ 180 #define FTM2_QD_PHA_PTB18 KINETIS_MUX('B',18,6) /* PTB18 */ 181 #define PTB19 KINETIS_MUX('B',19,1) /* PTB19 */ 182 #define CAN0_RX_PTB19 KINETIS_MUX('B',19,2) /* PTB19 */ 183 #define FTM2_CH1_PTB19 KINETIS_MUX('B',19,3) /* PTB19 */ 184 #define I2S0_TX_FS_PTB19 KINETIS_MUX('B',19,4) /* PTB19 */ 185 #define FTM2_QD_PHB_PTB19 KINETIS_MUX('B',19,6) /* PTB19 */ 186 #define PTB20 KINETIS_MUX('B',20,1) /* PTB20 */ 187 #define SPI2_PCS0_PTB20 KINETIS_MUX('B',20,2) /* PTB20 */ 188 #define CMP0_OUT_PTB20 KINETIS_MUX('B',20,6) /* PTB20 */ 189 #define PTB21 KINETIS_MUX('B',21,1) /* PTB21 */ 190 #define SPI2_SCK_PTB21 KINETIS_MUX('B',21,2) /* PTB21 */ 191 #define CMP1_OUT_PTB21 KINETIS_MUX('B',21,6) /* PTB21 */ 192 #define PTB22 KINETIS_MUX('B',22,1) /* PTB22 */ 193 #define SPI2_SOUT_PTB22 KINETIS_MUX('B',22,2) /* PTB22 */ 194 #define CMP2_OUT_PTB22 KINETIS_MUX('B',22,6) /* PTB22 */ 195 #define PTB23 KINETIS_MUX('B',23,1) /* PTB23 */ 196 #define SPI2_SIN_PTB23 KINETIS_MUX('B',23,2) /* PTB23 */ 197 #define SPI0_PCS5_PTB23 KINETIS_MUX('B',23,3) /* PTB23 */ 198 #define ADC0_SE14_PTC0 KINETIS_MUX('C',0,0) /* PTC0 */ 199 #define PTC0 KINETIS_MUX('C',0,1) /* PTC0 */ 200 #define SPI0_PCS4_PTC0 KINETIS_MUX('C',0,2) /* PTC0 */ 201 #define PDB0_EXTRG_PTC0 KINETIS_MUX('C',0,3) /* PTC0 */ 202 #define I2S0_TXD1_PTC0 KINETIS_MUX('C',0,6) /* PTC0 */ 203 #define ADC0_SE15_PTC1 KINETIS_MUX('C',1,0) /* PTC1 */ 204 #define LLWU_P6_PTC1 KINETIS_MUX('C',1,1) /* PTC1 */ 205 #define PTC1 KINETIS_MUX('C',1,1) /* PTC1 */ 206 #define SPI0_PCS3_PTC1 KINETIS_MUX('C',1,2) /* PTC1 */ 207 #define UART1_RTS_b_PTC1 KINETIS_MUX('C',1,3) /* PTC1 */ 208 #define FTM0_CH0_PTC1 KINETIS_MUX('C',1,4) /* PTC1 */ 209 #define I2S0_TXD0_PTC1 KINETIS_MUX('C',1,6) /* PTC1 */ 210 #define ADC0_SE4b_PTC2 KINETIS_MUX('C',2,0) /* PTC2 */ 211 #define CMP1_IN0_PTC2 KINETIS_MUX('C',2,0) /* PTC2 */ 212 #define PTC2 KINETIS_MUX('C',2,1) /* PTC2 */ 213 #define SPI0_PCS2_PTC2 KINETIS_MUX('C',2,2) /* PTC2 */ 214 #define UART1_CTS_b_PTC2 KINETIS_MUX('C',2,3) /* PTC2 */ 215 #define FTM0_CH1_PTC2 KINETIS_MUX('C',2,4) /* PTC2 */ 216 #define I2S0_TX_FS_PTC2 KINETIS_MUX('C',2,6) /* PTC2 */ 217 #define CMP1_IN1_PTC3 KINETIS_MUX('C',3,0) /* PTC3 */ 218 #define PTC3 KINETIS_MUX('C',3,1) /* PTC3 */ 219 #define LLWU_P7_PTC3 KINETIS_MUX('C',3,1) /* PTC3 */ 220 #define SPI0_PCS1_PTC3 KINETIS_MUX('C',3,2) /* PTC3 */ 221 #define UART1_RX_PTC3 KINETIS_MUX('C',3,3) /* PTC3 */ 222 #define FTM0_CH2_PTC3 KINETIS_MUX('C',3,4) /* PTC3 */ 223 #define CLKOUT_PTC3 KINETIS_MUX('C',3,5) /* PTC3 */ 224 #define I2S0_TX_BCLK_PTC3 KINETIS_MUX('C',3,6) /* PTC3 */ 225 #define LLWU_P8_PTC4 KINETIS_MUX('C',4,1) /* PTC4 */ 226 #define PTC4 KINETIS_MUX('C',4,1) /* PTC4 */ 227 #define SPI0_PCS0_PTC4 KINETIS_MUX('C',4,2) /* PTC4 */ 228 #define UART1_TX_PTC4 KINETIS_MUX('C',4,3) /* PTC4 */ 229 #define FTM0_CH3_PTC4 KINETIS_MUX('C',4,4) /* PTC4 */ 230 #define CMP1_OUT_PTC4 KINETIS_MUX('C',4,6) /* PTC4 */ 231 #define PTC5 KINETIS_MUX('C',5,1) /* PTC5 */ 232 #define LLWU_P9_PTC5 KINETIS_MUX('C',5,1) /* PTC5 */ 233 #define SPI0_SCK_PTC5 KINETIS_MUX('C',5,2) /* PTC5 */ 234 #define LPTMR0_ALT2_PTC5 KINETIS_MUX('C',5,3) /* PTC5 */ 235 #define I2S0_RXD0_PTC5 KINETIS_MUX('C',5,4) /* PTC5 */ 236 #define CMP0_OUT_PTC5 KINETIS_MUX('C',5,6) /* PTC5 */ 237 #define FTM0_CH2_PTC5 KINETIS_MUX('C',5,7) /* PTC5 */ 238 #define CMP0_IN0_PTC6 KINETIS_MUX('C',6,0) /* PTC6 */ 239 #define PTC6 KINETIS_MUX('C',6,1) /* PTC6 */ 240 #define LLWU_P10_PTC6 KINETIS_MUX('C',6,1) /* PTC6 */ 241 #define SPI0_SOUT_PTC6 KINETIS_MUX('C',6,2) /* PTC6 */ 242 #define PDB0_EXTRG_PTC6 KINETIS_MUX('C',6,3) /* PTC6 */ 243 #define I2S0_RX_BCLK_PTC6 KINETIS_MUX('C',6,4) /* PTC6 */ 244 #define I2S0_MCLK_PTC6 KINETIS_MUX('C',6,6) /* PTC6 */ 245 #define CMP0_IN1_PTC7 KINETIS_MUX('C',7,0) /* PTC7 */ 246 #define PTC7 KINETIS_MUX('C',7,1) /* PTC7 */ 247 #define SPI0_SIN_PTC7 KINETIS_MUX('C',7,2) /* PTC7 */ 248 #define USB_SOF_OUT_PTC7 KINETIS_MUX('C',7,3) /* PTC7 */ 249 #define I2S0_RX_FS_PTC7 KINETIS_MUX('C',7,4) /* PTC7 */ 250 #define ADC1_SE4b_PTC8 KINETIS_MUX('C',8,0) /* PTC8 */ 251 #define CMP0_IN2_PTC8 KINETIS_MUX('C',8,0) /* PTC8 */ 252 #define PTC8 KINETIS_MUX('C',8,1) /* PTC8 */ 253 #define FTM3_CH4_PTC8 KINETIS_MUX('C',8,3) /* PTC8 */ 254 #define I2S0_MCLK_PTC8 KINETIS_MUX('C',8,4) /* PTC8 */ 255 #define ADC1_SE5b_PTC9 KINETIS_MUX('C',9,0) /* PTC9 */ 256 #define CMP0_IN3_PTC9 KINETIS_MUX('C',9,0) /* PTC9 */ 257 #define PTC9 KINETIS_MUX('C',9,1) /* PTC9 */ 258 #define FTM3_CH5_PTC9 KINETIS_MUX('C',9,3) /* PTC9 */ 259 #define I2S0_RX_BCLK_PTC9 KINETIS_MUX('C',9,4) /* PTC9 */ 260 #define FTM2_FLT0_PTC9 KINETIS_MUX('C',9,6) /* PTC9 */ 261 #define ADC1_SE6b_PTC10 KINETIS_MUX('C',10,0) /* PTC10 */ 262 #define PTC10 KINETIS_MUX('C',10,1) /* PTC10 */ 263 #define I2C1_SCL_PTC10 KINETIS_MUX('C',10,2) /* PTC10 */ 264 #define FTM3_CH6_PTC10 KINETIS_MUX('C',10,3) /* PTC10 */ 265 #define I2S0_RX_FS_PTC10 KINETIS_MUX('C',10,4) /* PTC10 */ 266 #define ADC1_SE7b_PTC11 KINETIS_MUX('C',11,0) /* PTC11 */ 267 #define LLWU_P11_PTC11 KINETIS_MUX('C',11,1) /* PTC11 */ 268 #define PTC11 KINETIS_MUX('C',11,1) /* PTC11 */ 269 #define I2C1_SDA_PTC11 KINETIS_MUX('C',11,2) /* PTC11 */ 270 #define FTM3_CH7_PTC11 KINETIS_MUX('C',11,3) /* PTC11 */ 271 #define I2S0_RXD1_PTC11 KINETIS_MUX('C',11,4) /* PTC11 */ 272 #define PTC12 KINETIS_MUX('C',12,1) /* PTC12 */ 273 #define UART4_RTS_b_PTC12 KINETIS_MUX('C',12,3) /* PTC12 */ 274 #define FTM3_FLT0_PTC12 KINETIS_MUX('C',12,6) /* PTC12 */ 275 #define PTC13 KINETIS_MUX('C',13,1) /* PTC13 */ 276 #define UART4_CTS_b_PTC13 KINETIS_MUX('C',13,3) /* PTC13 */ 277 #define PTC14 KINETIS_MUX('C',14,1) /* PTC14 */ 278 #define UART4_RX_PTC14 KINETIS_MUX('C',14,3) /* PTC14 */ 279 #define PTC15 KINETIS_MUX('C',15,1) /* PTC15 */ 280 #define UART4_TX_PTC15 KINETIS_MUX('C',15,3) /* PTC15 */ 281 #define PTC16 KINETIS_MUX('C',16,1) /* PTC16 */ 282 #define UART3_RX_PTC16 KINETIS_MUX('C',16,3) /* PTC16 */ 283 #define PTC17 KINETIS_MUX('C',17,1) /* PTC17 */ 284 #define UART3_TX_PTC17 KINETIS_MUX('C',17,3) /* PTC17 */ 285 #define PTC18 KINETIS_MUX('C',18,1) /* PTC18 */ 286 #define UART3_RTS_b_PTC18 KINETIS_MUX('C',18,3) /* PTC18 */ 287 #define PTC19 KINETIS_MUX('C',19,1) /* PTC19 */ 288 #define UART3_CTS_b_PTC19 KINETIS_MUX('C',19,3) /* PTC19 */ 289 #define PTD0 KINETIS_MUX('D',0,1) /* PTD0 */ 290 #define LLWU_P12_PTD0 KINETIS_MUX('D',0,1) /* PTD0 */ 291 #define SPI0_PCS0_PTD0 KINETIS_MUX('D',0,2) /* PTD0 */ 292 #define UART2_RTS_b_PTD0 KINETIS_MUX('D',0,3) /* PTD0 */ 293 #define FTM3_CH0_PTD0 KINETIS_MUX('D',0,4) /* PTD0 */ 294 #define ADC0_SE5b_PTD1 KINETIS_MUX('D',1,0) /* PTD1 */ 295 #define PTD1 KINETIS_MUX('D',1,1) /* PTD1 */ 296 #define SPI0_SCK_PTD1 KINETIS_MUX('D',1,2) /* PTD1 */ 297 #define UART2_CTS_b_PTD1 KINETIS_MUX('D',1,3) /* PTD1 */ 298 #define FTM3_CH1_PTD1 KINETIS_MUX('D',1,4) /* PTD1 */ 299 #define PTD2 KINETIS_MUX('D',2,1) /* PTD2 */ 300 #define LLWU_P13_PTD2 KINETIS_MUX('D',2,1) /* PTD2 */ 301 #define SPI0_SOUT_PTD2 KINETIS_MUX('D',2,2) /* PTD2 */ 302 #define UART2_RX_PTD2 KINETIS_MUX('D',2,3) /* PTD2 */ 303 #define FTM3_CH2_PTD2 KINETIS_MUX('D',2,4) /* PTD2 */ 304 #define I2C0_SCL_PTD2 KINETIS_MUX('D',2,7) /* PTD2 */ 305 #define PTD3 KINETIS_MUX('D',3,1) /* PTD3 */ 306 #define SPI0_SIN_PTD3 KINETIS_MUX('D',3,2) /* PTD3 */ 307 #define UART2_TX_PTD3 KINETIS_MUX('D',3,3) /* PTD3 */ 308 #define FTM3_CH3_PTD3 KINETIS_MUX('D',3,4) /* PTD3 */ 309 #define I2C0_SDA_PTD3 KINETIS_MUX('D',3,7) /* PTD3 */ 310 #define PTD4 KINETIS_MUX('D',4,1) /* PTD4 */ 311 #define LLWU_P14_PTD4 KINETIS_MUX('D',4,1) /* PTD4 */ 312 #define SPI0_PCS1_PTD4 KINETIS_MUX('D',4,2) /* PTD4 */ 313 #define UART0_RTS_b_PTD4 KINETIS_MUX('D',4,3) /* PTD4 */ 314 #define FTM0_CH4_PTD4 KINETIS_MUX('D',4,4) /* PTD4 */ 315 #define EWM_IN_PTD4 KINETIS_MUX('D',4,6) /* PTD4 */ 316 #define ADC0_SE6b_PTD5 KINETIS_MUX('D',5,0) /* PTD5 */ 317 #define PTD5 KINETIS_MUX('D',5,1) /* PTD5 */ 318 #define SPI0_PCS2_PTD5 KINETIS_MUX('D',5,2) /* PTD5 */ 319 #define UART0_CTS_b_PTD5 KINETIS_MUX('D',5,3) /* PTD5 */ 320 #define FTM0_CH5_PTD5 KINETIS_MUX('D',5,4) /* PTD5 */ 321 #define EWM_OUT_b_PTD5 KINETIS_MUX('D',5,6) /* PTD5 */ 322 #define ADC0_SE7b_PTD6 KINETIS_MUX('D',6,0) /* PTD6 */ 323 #define LLWU_P15_PTD6 KINETIS_MUX('D',6,1) /* PTD6 */ 324 #define PTD6 KINETIS_MUX('D',6,1) /* PTD6 */ 325 #define SPI0_PCS3_PTD6 KINETIS_MUX('D',6,2) /* PTD6 */ 326 #define UART0_RX_PTD6 KINETIS_MUX('D',6,3) /* PTD6 */ 327 #define FTM0_CH6_PTD6 KINETIS_MUX('D',6,4) /* PTD6 */ 328 #define FTM0_FLT0_PTD6 KINETIS_MUX('D',6,6) /* PTD6 */ 329 #define PTD7 KINETIS_MUX('D',7,1) /* PTD7 */ 330 #define CMT_IRO_PTD7 KINETIS_MUX('D',7,2) /* PTD7 */ 331 #define UART0_TX_PTD7 KINETIS_MUX('D',7,3) /* PTD7 */ 332 #define FTM0_CH7_PTD7 KINETIS_MUX('D',7,4) /* PTD7 */ 333 #define FTM0_FLT1_PTD7 KINETIS_MUX('D',7,6) /* PTD7 */ 334 #define PTD8 KINETIS_MUX('D',8,1) /* PTD8 */ 335 #define I2C0_SCL_PTD8 KINETIS_MUX('D',8,2) /* PTD8 */ 336 #define UART5_RX_PTD8 KINETIS_MUX('D',8,3) /* PTD8 */ 337 #define PTD9 KINETIS_MUX('D',9,1) /* PTD9 */ 338 #define I2C0_SDA_PTD9 KINETIS_MUX('D',9,2) /* PTD9 */ 339 #define UART5_TX_PTD9 KINETIS_MUX('D',9,3) /* PTD9 */ 340 #define PTD10 KINETIS_MUX('D',10,1) /* PTD10 */ 341 #define UART5_RTS_b_PTD10 KINETIS_MUX('D',10,3) /* PTD10 */ 342 #define PTD11 KINETIS_MUX('D',11,1) /* PTD11 */ 343 #define SPI2_PCS0_PTD11 KINETIS_MUX('D',11,2) /* PTD11 */ 344 #define UART5_CTS_b_PTD11 KINETIS_MUX('D',11,3) /* PTD11 */ 345 #define SDHC0_CLKIN_PTD11 KINETIS_MUX('D',11,4) /* PTD11 */ 346 #define PTD12 KINETIS_MUX('D',12,1) /* PTD12 */ 347 #define SPI2_SCK_PTD12 KINETIS_MUX('D',12,2) /* PTD12 */ 348 #define FTM3_FLT0_PTD12 KINETIS_MUX('D',12,3) /* PTD12 */ 349 #define SDHC0_D4_PTD12 KINETIS_MUX('D',12,4) /* PTD12 */ 350 #define PTD13 KINETIS_MUX('D',13,1) /* PTD13 */ 351 #define SPI2_SOUT_PTD13 KINETIS_MUX('D',13,2) /* PTD13 */ 352 #define SDHC0_D5_PTD13 KINETIS_MUX('D',13,4) /* PTD13 */ 353 #define PTD14 KINETIS_MUX('D',14,1) /* PTD14 */ 354 #define SPI2_SIN_PTD14 KINETIS_MUX('D',14,2) /* PTD14 */ 355 #define SDHC0_D6_PTD14 KINETIS_MUX('D',14,4) /* PTD14 */ 356 #define PTD15 KINETIS_MUX('D',15,1) /* PTD15 */ 357 #define SPI2_PCS1_PTD15 KINETIS_MUX('D',15,2) /* PTD15 */ 358 #define SDHC0_D7_PTD15 KINETIS_MUX('D',15,4) /* PTD15 */ 359 #define ADC1_SE4a_PTE0 KINETIS_MUX('E',0,0) /* PTE0 */ 360 #define PTE0 KINETIS_MUX('E',0,1) /* PTE0 */ 361 #define SPI1_PCS1_PTE0 KINETIS_MUX('E',0,2) /* PTE0 */ 362 #define UART1_TX_PTE0 KINETIS_MUX('E',0,3) /* PTE0 */ 363 #define SDHC0_D1_PTE0 KINETIS_MUX('E',0,4) /* PTE0 */ 364 #define TRACE_CLKOUT_PTE0 KINETIS_MUX('E',0,5) /* PTE0 */ 365 #define I2C1_SDA_PTE0 KINETIS_MUX('E',0,6) /* PTE0 */ 366 #define RTC_CLKOUT_PTE0 KINETIS_MUX('E',0,7) /* PTE0 */ 367 #define ADC1_SE5a_PTE1 KINETIS_MUX('E',1,0) /* PTE1 */ 368 #define LLWU_P0_PTE1 KINETIS_MUX('E',1,1) /* PTE1 */ 369 #define PTE1 KINETIS_MUX('E',1,1) /* PTE1 */ 370 #define SPI1_SOUT_PTE1 KINETIS_MUX('E',1,2) /* PTE1 */ 371 #define UART1_RX_PTE1 KINETIS_MUX('E',1,3) /* PTE1 */ 372 #define SDHC0_D0_PTE1 KINETIS_MUX('E',1,4) /* PTE1 */ 373 #define TRACE_D3_PTE1 KINETIS_MUX('E',1,5) /* PTE1 */ 374 #define I2C1_SCL_PTE1 KINETIS_MUX('E',1,6) /* PTE1 */ 375 #define SPI1_SIN_PTE1 KINETIS_MUX('E',1,7) /* PTE1 */ 376 #define ADC1_SE6a_PTE2 KINETIS_MUX('E',2,0) /* PTE2 */ 377 #define ADC0_DP2_PTE2 KINETIS_MUX('E',2,0) /* PTE2 */ 378 #define PTE2 KINETIS_MUX('E',2,1) /* PTE2 */ 379 #define LLWU_P1_PTE2 KINETIS_MUX('E',2,1) /* PTE2 */ 380 #define SPI1_SCK_PTE2 KINETIS_MUX('E',2,2) /* PTE2 */ 381 #define UART1_CTS_b_PTE2 KINETIS_MUX('E',2,3) /* PTE2 */ 382 #define SDHC0_DCLK_PTE2 KINETIS_MUX('E',2,4) /* PTE2 */ 383 #define TRACE_D2_PTE2 KINETIS_MUX('E',2,5) /* PTE2 */ 384 #define ADC1_SE7a_PTE3 KINETIS_MUX('E',3,0) /* PTE3 */ 385 #define ADC0_DM2_PTE3 KINETIS_MUX('E',3,0) /* PTE3 */ 386 #define PTE3 KINETIS_MUX('E',3,1) /* PTE3 */ 387 #define SPI1_SIN_PTE3 KINETIS_MUX('E',3,2) /* PTE3 */ 388 #define UART1_RTS_b_PTE3 KINETIS_MUX('E',3,3) /* PTE3 */ 389 #define SDHC0_CMD_PTE3 KINETIS_MUX('E',3,4) /* PTE3 */ 390 #define TRACE_D1_PTE3 KINETIS_MUX('E',3,5) /* PTE3 */ 391 #define SPI1_SOUT_PTE3 KINETIS_MUX('E',3,7) /* PTE3 */ 392 #define LLWU_P2_PTE4 KINETIS_MUX('E',4,1) /* PTE4 */ 393 #define PTE4 KINETIS_MUX('E',4,1) /* PTE4 */ 394 #define SPI1_PCS0_PTE4 KINETIS_MUX('E',4,2) /* PTE4 */ 395 #define UART3_TX_PTE4 KINETIS_MUX('E',4,3) /* PTE4 */ 396 #define SDHC0_D3_PTE4 KINETIS_MUX('E',4,4) /* PTE4 */ 397 #define TRACE_D0_PTE4 KINETIS_MUX('E',4,5) /* PTE4 */ 398 #define PTE5 KINETIS_MUX('E',5,1) /* PTE5 */ 399 #define SPI1_PCS2_PTE5 KINETIS_MUX('E',5,2) /* PTE5 */ 400 #define UART3_RX_PTE5 KINETIS_MUX('E',5,3) /* PTE5 */ 401 #define SDHC0_D2_PTE5 KINETIS_MUX('E',5,4) /* PTE5 */ 402 #define FTM3_CH0_PTE5 KINETIS_MUX('E',5,6) /* PTE5 */ 403 #define PTE6 KINETIS_MUX('E',6,1) /* PTE6 */ 404 #define SPI1_PCS3_PTE6 KINETIS_MUX('E',6,2) /* PTE6 */ 405 #define UART3_CTS_b_PTE6 KINETIS_MUX('E',6,3) /* PTE6 */ 406 #define I2S0_MCLK_PTE6 KINETIS_MUX('E',6,4) /* PTE6 */ 407 #define FTM3_CH1_PTE6 KINETIS_MUX('E',6,6) /* PTE6 */ 408 #define USB_SOF_OUT_PTE6 KINETIS_MUX('E',6,7) /* PTE6 */ 409 #define PTE7 KINETIS_MUX('E',7,1) /* PTE7 */ 410 #define UART3_RTS_b_PTE7 KINETIS_MUX('E',7,3) /* PTE7 */ 411 #define I2S0_RXD0_PTE7 KINETIS_MUX('E',7,4) /* PTE7 */ 412 #define FTM3_CH2_PTE7 KINETIS_MUX('E',7,6) /* PTE7 */ 413 #define PTE8 KINETIS_MUX('E',8,1) /* PTE8 */ 414 #define I2S0_RXD1_PTE8 KINETIS_MUX('E',8,2) /* PTE8 */ 415 #define UART5_TX_PTE8 KINETIS_MUX('E',8,3) /* PTE8 */ 416 #define I2S0_RX_FS_PTE8 KINETIS_MUX('E',8,4) /* PTE8 */ 417 #define FTM3_CH3_PTE8 KINETIS_MUX('E',8,6) /* PTE8 */ 418 #define PTE9 KINETIS_MUX('E',9,1) /* PTE9 */ 419 #define I2S0_TXD1_PTE9 KINETIS_MUX('E',9,2) /* PTE9 */ 420 #define UART5_RX_PTE9 KINETIS_MUX('E',9,3) /* PTE9 */ 421 #define I2S0_RX_BCLK_PTE9 KINETIS_MUX('E',9,4) /* PTE9 */ 422 #define FTM3_CH4_PTE9 KINETIS_MUX('E',9,6) /* PTE9 */ 423 #define PTE10 KINETIS_MUX('E',10,1) /* PTE10 */ 424 #define UART5_CTS_b_PTE10 KINETIS_MUX('E',10,3) /* PTE10 */ 425 #define I2S0_TXD0_PTE10 KINETIS_MUX('E',10,4) /* PTE10 */ 426 #define FTM3_CH5_PTE10 KINETIS_MUX('E',10,6) /* PTE10 */ 427 #define PTE11 KINETIS_MUX('E',11,1) /* PTE11 */ 428 #define UART5_RTS_b_PTE11 KINETIS_MUX('E',11,3) /* PTE11 */ 429 #define I2S0_TX_FS_PTE11 KINETIS_MUX('E',11,4) /* PTE11 */ 430 #define FTM3_CH6_PTE11 KINETIS_MUX('E',11,6) /* PTE11 */ 431 #define PTE12 KINETIS_MUX('E',12,1) /* PTE12 */ 432 #define I2S0_TX_BCLK_PTE12 KINETIS_MUX('E',12,4) /* PTE12 */ 433 #define FTM3_CH7_PTE12 KINETIS_MUX('E',12,6) /* PTE12 */ 434 #define ADC0_SE17_PTE24 KINETIS_MUX('E',24,0) /* PTE24 */ 435 #define PTE24 KINETIS_MUX('E',24,1) /* PTE24 */ 436 #define UART4_TX_PTE24 KINETIS_MUX('E',24,3) /* PTE24 */ 437 #define EWM_OUT_b_PTE24 KINETIS_MUX('E',24,6) /* PTE24 */ 438 #define ADC0_SE18_PTE25 KINETIS_MUX('E',25,0) /* PTE25 */ 439 #define PTE25 KINETIS_MUX('E',25,1) /* PTE25 */ 440 #define UART4_RX_PTE25 KINETIS_MUX('E',25,3) /* PTE25 */ 441 #define EWM_IN_PTE25 KINETIS_MUX('E',25,6) /* PTE25 */ 442 #define PTE26 KINETIS_MUX('E',26,1) /* PTE26 */ 443 #define UART4_CTS_b_PTE26 KINETIS_MUX('E',26,3) /* PTE26 */ 444 #define RTC_CLKOUT_PTE26 KINETIS_MUX('E',26,6) /* PTE26 */ 445 #define USB_CLKIN_PTE26 KINETIS_MUX('E',26,7) /* PTE26 */ 446 #define PTE27 KINETIS_MUX('E',27,1) /* PTE27 */ 447 #define UART4_RTS_b_PTE27 KINETIS_MUX('E',27,3) /* PTE27 */ 448 #define PTE28 KINETIS_MUX('E',28,1) /* PTE28 */ 449 #endif 450