1 /*
2  * NOTE: Autogenerated file by kinetis_signal2dts.py
3  *       for MK82FN256VLL15/signal_configuration.xml
4  *
5  * Copyright (c) 2022, NXP
6  * SPDX-License-Identifier: Apache-2.0
7  */
8 
9 #ifndef _ZEPHYR_DTS_BINDING_MK82FN256VLL15_
10 #define _ZEPHYR_DTS_BINDING_MK82FN256VLL15_
11 
12 #define KINETIS_MUX(port, pin, mux)		\
13 	(((((port) - 'A') & 0xF) << 28) |	\
14 	(((pin) & 0x3F) << 22) |		\
15 	(((mux) & 0x7) << 8))
16 
17 #define TSI0_CH1_PTA0 KINETIS_MUX('A',0,0) /* PTA0 */
18 #define PTA0 KINETIS_MUX('A',0,1) /* PTA0 */
19 #define LPUART0_CTS_b_PTA0 KINETIS_MUX('A',0,2) /* PTA0 */
20 #define FTM0_CH5_PTA0 KINETIS_MUX('A',0,3) /* PTA0 */
21 #define FXIO0_D10_PTA0 KINETIS_MUX('A',0,5) /* PTA0 */
22 #define EMVSIM0_CLK_PTA0 KINETIS_MUX('A',0,6) /* PTA0 */
23 #define JTAG_TCLK_PTA0 KINETIS_MUX('A',0,7) /* PTA0 */
24 #define TSI0_CH2_PTA1 KINETIS_MUX('A',1,0) /* PTA1 */
25 #define PTA1 KINETIS_MUX('A',1,1) /* PTA1 */
26 #define LPUART0_RX_PTA1 KINETIS_MUX('A',1,2) /* PTA1 */
27 #define FTM0_CH6_PTA1 KINETIS_MUX('A',1,3) /* PTA1 */
28 #define I2C3_SDA_PTA1 KINETIS_MUX('A',1,4) /* PTA1 */
29 #define FXIO0_D11_PTA1 KINETIS_MUX('A',1,5) /* PTA1 */
30 #define EMVSIM0_IO_PTA1 KINETIS_MUX('A',1,6) /* PTA1 */
31 #define JTAG_TDI_PTA1 KINETIS_MUX('A',1,7) /* PTA1 */
32 #define TSI0_CH3_PTA2 KINETIS_MUX('A',2,0) /* PTA2 */
33 #define PTA2 KINETIS_MUX('A',2,1) /* PTA2 */
34 #define LPUART0_TX_PTA2 KINETIS_MUX('A',2,2) /* PTA2 */
35 #define FTM0_CH7_PTA2 KINETIS_MUX('A',2,3) /* PTA2 */
36 #define I2C3_SCL_PTA2 KINETIS_MUX('A',2,4) /* PTA2 */
37 #define FXIO0_D12_PTA2 KINETIS_MUX('A',2,5) /* PTA2 */
38 #define EMVSIM0_PD_PTA2 KINETIS_MUX('A',2,6) /* PTA2 */
39 #define JTAG_TDO_PTA2 KINETIS_MUX('A',2,7) /* PTA2 */
40 #define TRACE_SWO_PTA2 KINETIS_MUX('A',2,7) /* PTA2 */
41 #define TSI0_CH4_PTA3 KINETIS_MUX('A',3,0) /* PTA3 */
42 #define PTA3 KINETIS_MUX('A',3,1) /* PTA3 */
43 #define LPUART0_RTS_b_PTA3 KINETIS_MUX('A',3,2) /* PTA3 */
44 #define FTM0_CH0_PTA3 KINETIS_MUX('A',3,3) /* PTA3 */
45 #define FXIO0_D13_PTA3 KINETIS_MUX('A',3,5) /* PTA3 */
46 #define EMVSIM0_RST_PTA3 KINETIS_MUX('A',3,6) /* PTA3 */
47 #define JTAG_TMS_PTA3 KINETIS_MUX('A',3,7) /* PTA3 */
48 #define TSI0_CH5_PTA4 KINETIS_MUX('A',4,0) /* PTA4 */
49 #define PTA4 KINETIS_MUX('A',4,1) /* PTA4 */
50 #define LLWU_P3_PTA4 KINETIS_MUX('A',4,1) /* PTA4 */
51 #define FTM0_CH1_PTA4 KINETIS_MUX('A',4,3) /* PTA4 */
52 #define FXIO0_D14_PTA4 KINETIS_MUX('A',4,5) /* PTA4 */
53 #define EMVSIM0_VCCEN_PTA4 KINETIS_MUX('A',4,6) /* PTA4 */
54 #define NMI_b_PTA4 KINETIS_MUX('A',4,7) /* PTA4 */
55 #define PTA5 KINETIS_MUX('A',5,1) /* PTA5 */
56 #define USB0_CLKIN_PTA5 KINETIS_MUX('A',5,2) /* PTA5 */
57 #define FTM0_CH2_PTA5 KINETIS_MUX('A',5,3) /* PTA5 */
58 #define FXIO0_D15_PTA5 KINETIS_MUX('A',5,5) /* PTA5 */
59 #define I2S0_TX_BCLK_PTA5 KINETIS_MUX('A',5,6) /* PTA5 */
60 #define JTAG_TRST_b_PTA5 KINETIS_MUX('A',5,7) /* PTA5 */
61 #define PTA12 KINETIS_MUX('A',12,1) /* PTA12 */
62 #define FTM1_CH0_PTA12 KINETIS_MUX('A',12,3) /* PTA12 */
63 #define TRACE_CLKOUT_PTA12 KINETIS_MUX('A',12,4) /* PTA12 */
64 #define FXIO0_D18_PTA12 KINETIS_MUX('A',12,5) /* PTA12 */
65 #define I2S0_TXD0_PTA12 KINETIS_MUX('A',12,6) /* PTA12 */
66 #define TPM1_CH0_PTA12 KINETIS_MUX('A',12,7) /* PTA12 */
67 #define FTM1_QD_PHA_PTA12 KINETIS_MUX('A',12,7) /* PTA12 */
68 #define PTA13 KINETIS_MUX('A',13,1) /* PTA13 */
69 #define LLWU_P4_PTA13 KINETIS_MUX('A',13,1) /* PTA13 */
70 #define FTM1_CH1_PTA13 KINETIS_MUX('A',13,3) /* PTA13 */
71 #define TRACE_D3_PTA13 KINETIS_MUX('A',13,4) /* PTA13 */
72 #define FXIO0_D19_PTA13 KINETIS_MUX('A',13,5) /* PTA13 */
73 #define I2S0_TX_FS_PTA13 KINETIS_MUX('A',13,6) /* PTA13 */
74 #define TPM1_CH1_PTA13 KINETIS_MUX('A',13,7) /* PTA13 */
75 #define FTM1_QD_PHB_PTA13 KINETIS_MUX('A',13,7) /* PTA13 */
76 #define PTA14 KINETIS_MUX('A',14,1) /* PTA14 */
77 #define SPI0_PCS0_PTA14 KINETIS_MUX('A',14,2) /* PTA14 */
78 #define LPUART0_TX_PTA14 KINETIS_MUX('A',14,3) /* PTA14 */
79 #define TRACE_D2_PTA14 KINETIS_MUX('A',14,4) /* PTA14 */
80 #define FXIO0_D20_PTA14 KINETIS_MUX('A',14,5) /* PTA14 */
81 #define I2S0_RX_BCLK_PTA14 KINETIS_MUX('A',14,6) /* PTA14 */
82 #define I2S0_TXD1_PTA14 KINETIS_MUX('A',14,7) /* PTA14 */
83 #define PTA15 KINETIS_MUX('A',15,1) /* PTA15 */
84 #define SPI0_SCK_PTA15 KINETIS_MUX('A',15,2) /* PTA15 */
85 #define LPUART0_RX_PTA15 KINETIS_MUX('A',15,3) /* PTA15 */
86 #define TRACE_D1_PTA15 KINETIS_MUX('A',15,4) /* PTA15 */
87 #define FXIO0_D21_PTA15 KINETIS_MUX('A',15,5) /* PTA15 */
88 #define I2S0_RXD0_PTA15 KINETIS_MUX('A',15,6) /* PTA15 */
89 #define PTA16 KINETIS_MUX('A',16,1) /* PTA16 */
90 #define SPI0_SOUT_PTA16 KINETIS_MUX('A',16,2) /* PTA16 */
91 #define LPUART0_CTS_b_PTA16 KINETIS_MUX('A',16,3) /* PTA16 */
92 #define TRACE_D0_PTA16 KINETIS_MUX('A',16,4) /* PTA16 */
93 #define FXIO0_D22_PTA16 KINETIS_MUX('A',16,5) /* PTA16 */
94 #define I2S0_RX_FS_PTA16 KINETIS_MUX('A',16,6) /* PTA16 */
95 #define I2S0_RXD1_PTA16 KINETIS_MUX('A',16,7) /* PTA16 */
96 #define PTA17 KINETIS_MUX('A',17,1) /* PTA17 */
97 #define SPI0_SIN_PTA17 KINETIS_MUX('A',17,2) /* PTA17 */
98 #define LPUART0_RTS_b_PTA17 KINETIS_MUX('A',17,3) /* PTA17 */
99 #define FXIO0_D23_PTA17 KINETIS_MUX('A',17,5) /* PTA17 */
100 #define I2S0_MCLK_PTA17 KINETIS_MUX('A',17,6) /* PTA17 */
101 #define EXTAL0_PTA18 KINETIS_MUX('A',18,0) /* PTA18 */
102 #define PTA18 KINETIS_MUX('A',18,1) /* PTA18 */
103 #define FTM0_FLT2_PTA18 KINETIS_MUX('A',18,3) /* PTA18 */
104 #define FTM_CLKIN0_PTA18 KINETIS_MUX('A',18,4) /* PTA18 */
105 #define TPM_CLKIN0_PTA18 KINETIS_MUX('A',18,7) /* PTA18 */
106 #define XTAL0_PTA19 KINETIS_MUX('A',19,0) /* PTA19 */
107 #define PTA19 KINETIS_MUX('A',19,1) /* PTA19 */
108 #define FTM1_FLT0_PTA19 KINETIS_MUX('A',19,3) /* PTA19 */
109 #define FTM_CLKIN1_PTA19 KINETIS_MUX('A',19,4) /* PTA19 */
110 #define LPTMR0_ALT1_PTA19 KINETIS_MUX('A',19,6) /* PTA19 */
111 #define LPTMR1_ALT1_PTA19 KINETIS_MUX('A',19,6) /* PTA19 */
112 #define TPM_CLKIN1_PTA19 KINETIS_MUX('A',19,7) /* PTA19 */
113 #define ADC0_SE8_PTB0 KINETIS_MUX('B',0,0) /* PTB0 */
114 #define TSI0_CH0_PTB0 KINETIS_MUX('B',0,0) /* PTB0 */
115 #define PTB0 KINETIS_MUX('B',0,1) /* PTB0 */
116 #define LLWU_P5_PTB0 KINETIS_MUX('B',0,1) /* PTB0 */
117 #define I2C0_SCL_PTB0 KINETIS_MUX('B',0,2) /* PTB0 */
118 #define FTM1_CH0_PTB0 KINETIS_MUX('B',0,3) /* PTB0 */
119 #define SDRAM_CAS_b_PTB0 KINETIS_MUX('B',0,5) /* PTB0 */
120 #define TPM1_CH0_PTB0 KINETIS_MUX('B',0,6) /* PTB0 */
121 #define FTM1_QD_PHA_PTB0 KINETIS_MUX('B',0,6) /* PTB0 */
122 #define FXIO0_D0_PTB0 KINETIS_MUX('B',0,7) /* PTB0 */
123 #define TSI0_CH6_PTB1 KINETIS_MUX('B',1,0) /* PTB1 */
124 #define ADC0_SE9_PTB1 KINETIS_MUX('B',1,0) /* PTB1 */
125 #define PTB1 KINETIS_MUX('B',1,1) /* PTB1 */
126 #define I2C0_SDA_PTB1 KINETIS_MUX('B',1,2) /* PTB1 */
127 #define FTM1_CH1_PTB1 KINETIS_MUX('B',1,3) /* PTB1 */
128 #define SDRAM_RAS_b_PTB1 KINETIS_MUX('B',1,5) /* PTB1 */
129 #define FTM1_QD_PHB_PTB1 KINETIS_MUX('B',1,6) /* PTB1 */
130 #define TPM1_CH1_PTB1 KINETIS_MUX('B',1,6) /* PTB1 */
131 #define FXIO0_D1_PTB1 KINETIS_MUX('B',1,7) /* PTB1 */
132 #define ADC0_SE12_PTB2 KINETIS_MUX('B',2,0) /* PTB2 */
133 #define TSI0_CH7_PTB2 KINETIS_MUX('B',2,0) /* PTB2 */
134 #define PTB2 KINETIS_MUX('B',2,1) /* PTB2 */
135 #define I2C0_SCL_PTB2 KINETIS_MUX('B',2,2) /* PTB2 */
136 #define LPUART0_RTS_b_PTB2 KINETIS_MUX('B',2,3) /* PTB2 */
137 #define SDRAM_WE_PTB2 KINETIS_MUX('B',2,5) /* PTB2 */
138 #define FTM0_FLT3_PTB2 KINETIS_MUX('B',2,6) /* PTB2 */
139 #define FXIO0_D2_PTB2 KINETIS_MUX('B',2,7) /* PTB2 */
140 #define ADC0_SE13_PTB3 KINETIS_MUX('B',3,0) /* PTB3 */
141 #define TSI0_CH8_PTB3 KINETIS_MUX('B',3,0) /* PTB3 */
142 #define PTB3 KINETIS_MUX('B',3,1) /* PTB3 */
143 #define I2C0_SDA_PTB3 KINETIS_MUX('B',3,2) /* PTB3 */
144 #define LPUART0_CTS_b_PTB3 KINETIS_MUX('B',3,3) /* PTB3 */
145 #define SDRAM_CS0_b_PTB3 KINETIS_MUX('B',3,5) /* PTB3 */
146 #define FTM0_FLT0_PTB3 KINETIS_MUX('B',3,6) /* PTB3 */
147 #define FXIO0_D3_PTB3 KINETIS_MUX('B',3,7) /* PTB3 */
148 #define PTB9 KINETIS_MUX('B',9,1) /* PTB9 */
149 #define SPI1_PCS1_PTB9 KINETIS_MUX('B',9,2) /* PTB9 */
150 #define LPUART3_CTS_b_PTB9 KINETIS_MUX('B',9,3) /* PTB9 */
151 #define SDRAM_D20_PTB9 KINETIS_MUX('B',9,5) /* PTB9 */
152 #define PTB10 KINETIS_MUX('B',10,1) /* PTB10 */
153 #define SPI1_PCS0_PTB10 KINETIS_MUX('B',10,2) /* PTB10 */
154 #define LPUART3_RX_PTB10 KINETIS_MUX('B',10,3) /* PTB10 */
155 #define I2C2_SCL_PTB10 KINETIS_MUX('B',10,4) /* PTB10 */
156 #define SDRAM_D19_PTB10 KINETIS_MUX('B',10,5) /* PTB10 */
157 #define FTM0_FLT1_PTB10 KINETIS_MUX('B',10,6) /* PTB10 */
158 #define FXIO0_D4_PTB10 KINETIS_MUX('B',10,7) /* PTB10 */
159 #define PTB11 KINETIS_MUX('B',11,1) /* PTB11 */
160 #define SPI1_SCK_PTB11 KINETIS_MUX('B',11,2) /* PTB11 */
161 #define LPUART3_TX_PTB11 KINETIS_MUX('B',11,3) /* PTB11 */
162 #define I2C2_SDA_PTB11 KINETIS_MUX('B',11,4) /* PTB11 */
163 #define SDRAM_D18_PTB11 KINETIS_MUX('B',11,5) /* PTB11 */
164 #define FTM0_FLT2_PTB11 KINETIS_MUX('B',11,6) /* PTB11 */
165 #define FXIO0_D5_PTB11 KINETIS_MUX('B',11,7) /* PTB11 */
166 #define TSI0_CH9_PTB16 KINETIS_MUX('B',16,0) /* PTB16 */
167 #define PTB16 KINETIS_MUX('B',16,1) /* PTB16 */
168 #define SPI1_SOUT_PTB16 KINETIS_MUX('B',16,2) /* PTB16 */
169 #define LPUART0_RX_PTB16 KINETIS_MUX('B',16,3) /* PTB16 */
170 #define FTM_CLKIN0_PTB16 KINETIS_MUX('B',16,4) /* PTB16 */
171 #define SDRAM_D17_PTB16 KINETIS_MUX('B',16,5) /* PTB16 */
172 #define EWM_IN_PTB16 KINETIS_MUX('B',16,6) /* PTB16 */
173 #define TPM_CLKIN0_PTB16 KINETIS_MUX('B',16,7) /* PTB16 */
174 #define TSI0_CH10_PTB17 KINETIS_MUX('B',17,0) /* PTB17 */
175 #define PTB17 KINETIS_MUX('B',17,1) /* PTB17 */
176 #define SPI1_SIN_PTB17 KINETIS_MUX('B',17,2) /* PTB17 */
177 #define LPUART0_TX_PTB17 KINETIS_MUX('B',17,3) /* PTB17 */
178 #define FTM_CLKIN1_PTB17 KINETIS_MUX('B',17,4) /* PTB17 */
179 #define SDRAM_D16_PTB17 KINETIS_MUX('B',17,5) /* PTB17 */
180 #define EWM_OUT_b_PTB17 KINETIS_MUX('B',17,6) /* PTB17 */
181 #define TPM_CLKIN1_PTB17 KINETIS_MUX('B',17,7) /* PTB17 */
182 #define TSI0_CH11_PTB18 KINETIS_MUX('B',18,0) /* PTB18 */
183 #define PTB18 KINETIS_MUX('B',18,1) /* PTB18 */
184 #define FTM2_CH0_PTB18 KINETIS_MUX('B',18,3) /* PTB18 */
185 #define I2S0_TX_BCLK_PTB18 KINETIS_MUX('B',18,4) /* PTB18 */
186 #define SDRAM_A23_PTB18 KINETIS_MUX('B',18,5) /* PTB18 */
187 #define TPM2_CH0_PTB18 KINETIS_MUX('B',18,6) /* PTB18 */
188 #define FTM2_QD_PHA_PTB18 KINETIS_MUX('B',18,6) /* PTB18 */
189 #define FXIO0_D6_PTB18 KINETIS_MUX('B',18,7) /* PTB18 */
190 #define TSI0_CH12_PTB19 KINETIS_MUX('B',19,0) /* PTB19 */
191 #define PTB19 KINETIS_MUX('B',19,1) /* PTB19 */
192 #define FTM2_CH1_PTB19 KINETIS_MUX('B',19,3) /* PTB19 */
193 #define I2S0_TX_FS_PTB19 KINETIS_MUX('B',19,4) /* PTB19 */
194 #define TPM2_CH1_PTB19 KINETIS_MUX('B',19,6) /* PTB19 */
195 #define FTM2_QD_PHB_PTB19 KINETIS_MUX('B',19,6) /* PTB19 */
196 #define FXIO0_D7_PTB19 KINETIS_MUX('B',19,7) /* PTB19 */
197 #define PTB20 KINETIS_MUX('B',20,1) /* PTB20 */
198 #define SPI2_PCS0_PTB20 KINETIS_MUX('B',20,2) /* PTB20 */
199 #define SDRAM_D31_PTB20 KINETIS_MUX('B',20,5) /* PTB20 */
200 #define CMP0_OUT_PTB20 KINETIS_MUX('B',20,6) /* PTB20 */
201 #define FXIO0_D8_PTB20 KINETIS_MUX('B',20,7) /* PTB20 */
202 #define PTB21 KINETIS_MUX('B',21,1) /* PTB21 */
203 #define SPI2_SCK_PTB21 KINETIS_MUX('B',21,2) /* PTB21 */
204 #define SDRAM_D30_PTB21 KINETIS_MUX('B',21,5) /* PTB21 */
205 #define CMP1_OUT_PTB21 KINETIS_MUX('B',21,6) /* PTB21 */
206 #define FXIO0_D9_PTB21 KINETIS_MUX('B',21,7) /* PTB21 */
207 #define PTB22 KINETIS_MUX('B',22,1) /* PTB22 */
208 #define SPI2_SOUT_PTB22 KINETIS_MUX('B',22,2) /* PTB22 */
209 #define SDRAM_D29_PTB22 KINETIS_MUX('B',22,5) /* PTB22 */
210 #define FXIO0_D10_PTB22 KINETIS_MUX('B',22,7) /* PTB22 */
211 #define PTB23 KINETIS_MUX('B',23,1) /* PTB23 */
212 #define SPI2_SIN_PTB23 KINETIS_MUX('B',23,2) /* PTB23 */
213 #define SPI0_PCS5_PTB23 KINETIS_MUX('B',23,3) /* PTB23 */
214 #define SDRAM_D28_PTB23 KINETIS_MUX('B',23,5) /* PTB23 */
215 #define FXIO0_D11_PTB23 KINETIS_MUX('B',23,7) /* PTB23 */
216 #define ADC0_SE14_PTC0 KINETIS_MUX('C',0,0) /* PTC0 */
217 #define TSI0_CH13_PTC0 KINETIS_MUX('C',0,0) /* PTC0 */
218 #define PTC0 KINETIS_MUX('C',0,1) /* PTC0 */
219 #define SPI0_PCS4_PTC0 KINETIS_MUX('C',0,2) /* PTC0 */
220 #define PDB0_EXTRG_PTC0 KINETIS_MUX('C',0,3) /* PTC0 */
221 #define USB0_SOF_OUT_PTC0 KINETIS_MUX('C',0,4) /* PTC0 */
222 #define SDRAM_A22_PTC0 KINETIS_MUX('C',0,5) /* PTC0 */
223 #define I2S0_TXD1_PTC0 KINETIS_MUX('C',0,6) /* PTC0 */
224 #define FXIO0_D12_PTC0 KINETIS_MUX('C',0,7) /* PTC0 */
225 #define TSI0_CH14_PTC1 KINETIS_MUX('C',1,0) /* PTC1 */
226 #define ADC0_SE15_PTC1 KINETIS_MUX('C',1,0) /* PTC1 */
227 #define PTC1 KINETIS_MUX('C',1,1) /* PTC1 */
228 #define LLWU_P6_PTC1 KINETIS_MUX('C',1,1) /* PTC1 */
229 #define SPI0_PCS3_PTC1 KINETIS_MUX('C',1,2) /* PTC1 */
230 #define LPUART1_RTS_b_PTC1 KINETIS_MUX('C',1,3) /* PTC1 */
231 #define FTM0_CH0_PTC1 KINETIS_MUX('C',1,4) /* PTC1 */
232 #define SDRAM_A21_PTC1 KINETIS_MUX('C',1,5) /* PTC1 */
233 #define I2S0_TXD0_PTC1 KINETIS_MUX('C',1,6) /* PTC1 */
234 #define FXIO0_D13_PTC1 KINETIS_MUX('C',1,7) /* PTC1 */
235 #define TSI0_CH15_PTC2 KINETIS_MUX('C',2,0) /* PTC2 */
236 #define CMP1_IN0_PTC2 KINETIS_MUX('C',2,0) /* PTC2 */
237 #define ADC0_SE4b_PTC2 KINETIS_MUX('C',2,0) /* PTC2 */
238 #define PTC2 KINETIS_MUX('C',2,1) /* PTC2 */
239 #define SPI0_PCS2_PTC2 KINETIS_MUX('C',2,2) /* PTC2 */
240 #define LPUART1_CTS_b_PTC2 KINETIS_MUX('C',2,3) /* PTC2 */
241 #define FTM0_CH1_PTC2 KINETIS_MUX('C',2,4) /* PTC2 */
242 #define SDRAM_A20_PTC2 KINETIS_MUX('C',2,5) /* PTC2 */
243 #define I2S0_TX_FS_PTC2 KINETIS_MUX('C',2,6) /* PTC2 */
244 #define CMP1_IN1_PTC3 KINETIS_MUX('C',3,0) /* PTC3 */
245 #define PTC3 KINETIS_MUX('C',3,1) /* PTC3 */
246 #define LLWU_P7_PTC3 KINETIS_MUX('C',3,1) /* PTC3 */
247 #define SPI0_PCS1_PTC3 KINETIS_MUX('C',3,2) /* PTC3 */
248 #define LPUART1_RX_PTC3 KINETIS_MUX('C',3,3) /* PTC3 */
249 #define FTM0_CH2_PTC3 KINETIS_MUX('C',3,4) /* PTC3 */
250 #define CLKOUT_PTC3 KINETIS_MUX('C',3,5) /* PTC3 */
251 #define I2S0_TX_BCLK_PTC3 KINETIS_MUX('C',3,6) /* PTC3 */
252 #define PTC4 KINETIS_MUX('C',4,1) /* PTC4 */
253 #define LLWU_P8_PTC4 KINETIS_MUX('C',4,1) /* PTC4 */
254 #define SPI0_PCS0_PTC4 KINETIS_MUX('C',4,2) /* PTC4 */
255 #define LPUART1_TX_PTC4 KINETIS_MUX('C',4,3) /* PTC4 */
256 #define FTM0_CH3_PTC4 KINETIS_MUX('C',4,4) /* PTC4 */
257 #define SDRAM_A19_PTC4 KINETIS_MUX('C',4,5) /* PTC4 */
258 #define CMP1_OUT_PTC4 KINETIS_MUX('C',4,6) /* PTC4 */
259 #define PTC5 KINETIS_MUX('C',5,1) /* PTC5 */
260 #define LLWU_P9_PTC5 KINETIS_MUX('C',5,1) /* PTC5 */
261 #define SPI0_SCK_PTC5 KINETIS_MUX('C',5,2) /* PTC5 */
262 #define LPTMR1_ALT2_PTC5 KINETIS_MUX('C',5,3) /* PTC5 */
263 #define LPTMR0_ALT2_PTC5 KINETIS_MUX('C',5,3) /* PTC5 */
264 #define I2S0_RXD0_PTC5 KINETIS_MUX('C',5,4) /* PTC5 */
265 #define SDRAM_A18_PTC5 KINETIS_MUX('C',5,5) /* PTC5 */
266 #define CMP0_OUT_PTC5 KINETIS_MUX('C',5,6) /* PTC5 */
267 #define FTM0_CH2_PTC5 KINETIS_MUX('C',5,7) /* PTC5 */
268 #define CMP0_IN0_PTC6 KINETIS_MUX('C',6,0) /* PTC6 */
269 #define LLWU_P10_PTC6 KINETIS_MUX('C',6,1) /* PTC6 */
270 #define PTC6 KINETIS_MUX('C',6,1) /* PTC6 */
271 #define SPI0_SOUT_PTC6 KINETIS_MUX('C',6,2) /* PTC6 */
272 #define PDB0_EXTRG_PTC6 KINETIS_MUX('C',6,3) /* PTC6 */
273 #define I2S0_RX_BCLK_PTC6 KINETIS_MUX('C',6,4) /* PTC6 */
274 #define SDRAM_A17_PTC6 KINETIS_MUX('C',6,5) /* PTC6 */
275 #define I2S0_MCLK_PTC6 KINETIS_MUX('C',6,6) /* PTC6 */
276 #define FXIO0_D14_PTC6 KINETIS_MUX('C',6,7) /* PTC6 */
277 #define CMP0_IN1_PTC7 KINETIS_MUX('C',7,0) /* PTC7 */
278 #define PTC7 KINETIS_MUX('C',7,1) /* PTC7 */
279 #define SPI0_SIN_PTC7 KINETIS_MUX('C',7,2) /* PTC7 */
280 #define USB0_SOF_OUT_PTC7 KINETIS_MUX('C',7,3) /* PTC7 */
281 #define I2S0_RX_FS_PTC7 KINETIS_MUX('C',7,4) /* PTC7 */
282 #define SDRAM_A16_PTC7 KINETIS_MUX('C',7,5) /* PTC7 */
283 #define FXIO0_D15_PTC7 KINETIS_MUX('C',7,7) /* PTC7 */
284 #define CMP0_IN2_PTC8 KINETIS_MUX('C',8,0) /* PTC8 */
285 #define PTC8 KINETIS_MUX('C',8,1) /* PTC8 */
286 #define FTM3_CH4_PTC8 KINETIS_MUX('C',8,3) /* PTC8 */
287 #define I2S0_MCLK_PTC8 KINETIS_MUX('C',8,4) /* PTC8 */
288 #define SDRAM_A15_PTC8 KINETIS_MUX('C',8,5) /* PTC8 */
289 #define FXIO0_D16_PTC8 KINETIS_MUX('C',8,7) /* PTC8 */
290 #define CMP0_IN3_PTC9 KINETIS_MUX('C',9,0) /* PTC9 */
291 #define PTC9 KINETIS_MUX('C',9,1) /* PTC9 */
292 #define FTM3_CH5_PTC9 KINETIS_MUX('C',9,3) /* PTC9 */
293 #define I2S0_RX_BCLK_PTC9 KINETIS_MUX('C',9,4) /* PTC9 */
294 #define SDRAM_A14_PTC9 KINETIS_MUX('C',9,5) /* PTC9 */
295 #define FTM2_FLT0_PTC9 KINETIS_MUX('C',9,6) /* PTC9 */
296 #define FXIO0_D17_PTC9 KINETIS_MUX('C',9,7) /* PTC9 */
297 #define PTC10 KINETIS_MUX('C',10,1) /* PTC10 */
298 #define I2C1_SCL_PTC10 KINETIS_MUX('C',10,2) /* PTC10 */
299 #define FTM3_CH6_PTC10 KINETIS_MUX('C',10,3) /* PTC10 */
300 #define I2S0_RX_FS_PTC10 KINETIS_MUX('C',10,4) /* PTC10 */
301 #define SDRAM_A13_PTC10 KINETIS_MUX('C',10,5) /* PTC10 */
302 #define FXIO0_D18_PTC10 KINETIS_MUX('C',10,7) /* PTC10 */
303 #define LLWU_P11_PTC11 KINETIS_MUX('C',11,1) /* PTC11 */
304 #define PTC11 KINETIS_MUX('C',11,1) /* PTC11 */
305 #define I2C1_SDA_PTC11 KINETIS_MUX('C',11,2) /* PTC11 */
306 #define FTM3_CH7_PTC11 KINETIS_MUX('C',11,3) /* PTC11 */
307 #define I2S0_RXD1_PTC11 KINETIS_MUX('C',11,4) /* PTC11 */
308 #define FXIO0_D19_PTC11 KINETIS_MUX('C',11,7) /* PTC11 */
309 #define PTC12 KINETIS_MUX('C',12,1) /* PTC12 */
310 #define LPUART4_RTS_b_PTC12 KINETIS_MUX('C',12,3) /* PTC12 */
311 #define FTM_CLKIN0_PTC12 KINETIS_MUX('C',12,4) /* PTC12 */
312 #define SDRAM_D27_PTC12 KINETIS_MUX('C',12,5) /* PTC12 */
313 #define FTM3_FLT0_PTC12 KINETIS_MUX('C',12,6) /* PTC12 */
314 #define TPM_CLKIN0_PTC12 KINETIS_MUX('C',12,7) /* PTC12 */
315 #define PTC13 KINETIS_MUX('C',13,1) /* PTC13 */
316 #define LPUART4_CTS_b_PTC13 KINETIS_MUX('C',13,3) /* PTC13 */
317 #define FTM_CLKIN1_PTC13 KINETIS_MUX('C',13,4) /* PTC13 */
318 #define SDRAM_D26_PTC13 KINETIS_MUX('C',13,5) /* PTC13 */
319 #define TPM_CLKIN1_PTC13 KINETIS_MUX('C',13,7) /* PTC13 */
320 #define PTC14 KINETIS_MUX('C',14,1) /* PTC14 */
321 #define LPUART4_RX_PTC14 KINETIS_MUX('C',14,3) /* PTC14 */
322 #define SDRAM_D25_PTC14 KINETIS_MUX('C',14,5) /* PTC14 */
323 #define FXIO0_D20_PTC14 KINETIS_MUX('C',14,7) /* PTC14 */
324 #define PTC15 KINETIS_MUX('C',15,1) /* PTC15 */
325 #define LPUART4_TX_PTC15 KINETIS_MUX('C',15,3) /* PTC15 */
326 #define SDRAM_D24_PTC15 KINETIS_MUX('C',15,5) /* PTC15 */
327 #define FXIO0_D21_PTC15 KINETIS_MUX('C',15,7) /* PTC15 */
328 #define PTC17 KINETIS_MUX('C',17,1) /* PTC17 */
329 #define LPUART3_TX_PTC17 KINETIS_MUX('C',17,3) /* PTC17 */
330 #define SDRAM_DQM3_PTC17 KINETIS_MUX('C',17,5) /* PTC17 */
331 #define PTD0 KINETIS_MUX('D',0,1) /* PTD0 */
332 #define LLWU_P12_PTD0 KINETIS_MUX('D',0,1) /* PTD0 */
333 #define SPI0_PCS0_PTD0 KINETIS_MUX('D',0,2) /* PTD0 */
334 #define LPUART2_RTS_b_PTD0 KINETIS_MUX('D',0,3) /* PTD0 */
335 #define FTM3_CH0_PTD0 KINETIS_MUX('D',0,4) /* PTD0 */
336 #define FXIO0_D22_PTD0 KINETIS_MUX('D',0,7) /* PTD0 */
337 #define ADC0_SE5b_PTD1 KINETIS_MUX('D',1,0) /* PTD1 */
338 #define PTD1 KINETIS_MUX('D',1,1) /* PTD1 */
339 #define SPI0_SCK_PTD1 KINETIS_MUX('D',1,2) /* PTD1 */
340 #define LPUART2_CTS_b_PTD1 KINETIS_MUX('D',1,3) /* PTD1 */
341 #define FTM3_CH1_PTD1 KINETIS_MUX('D',1,4) /* PTD1 */
342 #define FXIO0_D23_PTD1 KINETIS_MUX('D',1,7) /* PTD1 */
343 #define LLWU_P13_PTD2 KINETIS_MUX('D',2,1) /* PTD2 */
344 #define PTD2 KINETIS_MUX('D',2,1) /* PTD2 */
345 #define SPI0_SOUT_PTD2 KINETIS_MUX('D',2,2) /* PTD2 */
346 #define LPUART2_RX_PTD2 KINETIS_MUX('D',2,3) /* PTD2 */
347 #define FTM3_CH2_PTD2 KINETIS_MUX('D',2,4) /* PTD2 */
348 #define SDRAM_A12_PTD2 KINETIS_MUX('D',2,5) /* PTD2 */
349 #define I2C0_SCL_PTD2 KINETIS_MUX('D',2,7) /* PTD2 */
350 #define PTD3 KINETIS_MUX('D',3,1) /* PTD3 */
351 #define SPI0_SIN_PTD3 KINETIS_MUX('D',3,2) /* PTD3 */
352 #define LPUART2_TX_PTD3 KINETIS_MUX('D',3,3) /* PTD3 */
353 #define FTM3_CH3_PTD3 KINETIS_MUX('D',3,4) /* PTD3 */
354 #define SDRAM_A11_PTD3 KINETIS_MUX('D',3,5) /* PTD3 */
355 #define I2C0_SDA_PTD3 KINETIS_MUX('D',3,7) /* PTD3 */
356 #define LLWU_P14_PTD4 KINETIS_MUX('D',4,1) /* PTD4 */
357 #define PTD4 KINETIS_MUX('D',4,1) /* PTD4 */
358 #define SPI0_PCS1_PTD4 KINETIS_MUX('D',4,2) /* PTD4 */
359 #define LPUART0_RTS_b_PTD4 KINETIS_MUX('D',4,3) /* PTD4 */
360 #define FTM0_CH4_PTD4 KINETIS_MUX('D',4,4) /* PTD4 */
361 #define SDRAM_A10_PTD4 KINETIS_MUX('D',4,5) /* PTD4 */
362 #define EWM_IN_PTD4 KINETIS_MUX('D',4,6) /* PTD4 */
363 #define SPI1_PCS0_PTD4 KINETIS_MUX('D',4,7) /* PTD4 */
364 #define ADC0_SE6b_PTD5 KINETIS_MUX('D',5,0) /* PTD5 */
365 #define PTD5 KINETIS_MUX('D',5,1) /* PTD5 */
366 #define SPI0_PCS2_PTD5 KINETIS_MUX('D',5,2) /* PTD5 */
367 #define LPUART0_CTS_b_PTD5 KINETIS_MUX('D',5,3) /* PTD5 */
368 #define FTM0_CH5_PTD5 KINETIS_MUX('D',5,4) /* PTD5 */
369 #define SDRAM_A9_PTD5 KINETIS_MUX('D',5,5) /* PTD5 */
370 #define EWM_OUT_b_PTD5 KINETIS_MUX('D',5,6) /* PTD5 */
371 #define SPI1_SCK_PTD5 KINETIS_MUX('D',5,7) /* PTD5 */
372 #define ADC0_SE7b_PTD6 KINETIS_MUX('D',6,0) /* PTD6 */
373 #define PTD6 KINETIS_MUX('D',6,1) /* PTD6 */
374 #define LLWU_P15_PTD6 KINETIS_MUX('D',6,1) /* PTD6 */
375 #define SPI0_PCS3_PTD6 KINETIS_MUX('D',6,2) /* PTD6 */
376 #define LPUART0_RX_PTD6 KINETIS_MUX('D',6,3) /* PTD6 */
377 #define FTM0_CH6_PTD6 KINETIS_MUX('D',6,4) /* PTD6 */
378 #define FTM0_FLT0_PTD6 KINETIS_MUX('D',6,6) /* PTD6 */
379 #define SPI1_SOUT_PTD6 KINETIS_MUX('D',6,7) /* PTD6 */
380 #define PTD7 KINETIS_MUX('D',7,1) /* PTD7 */
381 #define CMT_IRO_PTD7 KINETIS_MUX('D',7,2) /* PTD7 */
382 #define LPUART0_TX_PTD7 KINETIS_MUX('D',7,3) /* PTD7 */
383 #define FTM0_CH7_PTD7 KINETIS_MUX('D',7,4) /* PTD7 */
384 #define SDRAM_CKE_PTD7 KINETIS_MUX('D',7,5) /* PTD7 */
385 #define FTM0_FLT1_PTD7 KINETIS_MUX('D',7,6) /* PTD7 */
386 #define SPI1_SIN_PTD7 KINETIS_MUX('D',7,7) /* PTD7 */
387 #define PTE0 KINETIS_MUX('E',0,1) /* PTE0 */
388 #define SPI1_PCS1_PTE0 KINETIS_MUX('E',0,2) /* PTE0 */
389 #define LPUART1_TX_PTE0 KINETIS_MUX('E',0,3) /* PTE0 */
390 #define SDHC0_D1_PTE0 KINETIS_MUX('E',0,4) /* PTE0 */
391 #define QSPI0A_DATA3_PTE0 KINETIS_MUX('E',0,5) /* PTE0 */
392 #define I2C1_SDA_PTE0 KINETIS_MUX('E',0,6) /* PTE0 */
393 #define RTC_CLKOUT_PTE0 KINETIS_MUX('E',0,7) /* PTE0 */
394 #define PTE1 KINETIS_MUX('E',1,1) /* PTE1 */
395 #define LLWU_P0_PTE1 KINETIS_MUX('E',1,1) /* PTE1 */
396 #define SPI1_SCK_PTE1 KINETIS_MUX('E',1,2) /* PTE1 */
397 #define LPUART1_RX_PTE1 KINETIS_MUX('E',1,3) /* PTE1 */
398 #define SDHC0_D0_PTE1 KINETIS_MUX('E',1,4) /* PTE1 */
399 #define QSPI0A_SCLK_PTE1 KINETIS_MUX('E',1,5) /* PTE1 */
400 #define I2C1_SCL_PTE1 KINETIS_MUX('E',1,6) /* PTE1 */
401 #define SPI1_SIN_PTE1 KINETIS_MUX('E',1,7) /* PTE1 */
402 #define LLWU_P1_PTE2 KINETIS_MUX('E',2,1) /* PTE2 */
403 #define PTE2 KINETIS_MUX('E',2,1) /* PTE2 */
404 #define SPI1_SOUT_PTE2 KINETIS_MUX('E',2,2) /* PTE2 */
405 #define LPUART1_CTS_b_PTE2 KINETIS_MUX('E',2,3) /* PTE2 */
406 #define SDHC0_DCLK_PTE2 KINETIS_MUX('E',2,4) /* PTE2 */
407 #define QSPI0A_DATA0_PTE2 KINETIS_MUX('E',2,5) /* PTE2 */
408 #define SPI1_SCK_PTE2 KINETIS_MUX('E',2,7) /* PTE2 */
409 #define PTE3 KINETIS_MUX('E',3,1) /* PTE3 */
410 #define SPI1_PCS2_PTE3 KINETIS_MUX('E',3,2) /* PTE3 */
411 #define LPUART1_RTS_b_PTE3 KINETIS_MUX('E',3,3) /* PTE3 */
412 #define SDHC0_CMD_PTE3 KINETIS_MUX('E',3,4) /* PTE3 */
413 #define QSPI0A_DATA2_PTE3 KINETIS_MUX('E',3,5) /* PTE3 */
414 #define SPI1_SOUT_PTE3 KINETIS_MUX('E',3,7) /* PTE3 */
415 #define PTE4 KINETIS_MUX('E',4,1) /* PTE4 */
416 #define LLWU_P2_PTE4 KINETIS_MUX('E',4,1) /* PTE4 */
417 #define SPI1_SIN_PTE4 KINETIS_MUX('E',4,2) /* PTE4 */
418 #define LPUART3_TX_PTE4 KINETIS_MUX('E',4,3) /* PTE4 */
419 #define SDHC0_D3_PTE4 KINETIS_MUX('E',4,4) /* PTE4 */
420 #define QSPI0A_DATA1_PTE4 KINETIS_MUX('E',4,5) /* PTE4 */
421 #define PTE5 KINETIS_MUX('E',5,1) /* PTE5 */
422 #define SPI1_PCS0_PTE5 KINETIS_MUX('E',5,2) /* PTE5 */
423 #define LPUART3_RX_PTE5 KINETIS_MUX('E',5,3) /* PTE5 */
424 #define SDHC0_D2_PTE5 KINETIS_MUX('E',5,4) /* PTE5 */
425 #define QSPI0A_SS0_B_PTE5 KINETIS_MUX('E',5,5) /* PTE5 */
426 #define FTM3_CH0_PTE5 KINETIS_MUX('E',5,6) /* PTE5 */
427 #define USB0_SOF_OUT_PTE5 KINETIS_MUX('E',5,7) /* PTE5 */
428 #define LLWU_P16_PTE6 KINETIS_MUX('E',6,1) /* PTE6 */
429 #define PTE6 KINETIS_MUX('E',6,1) /* PTE6 */
430 #define SPI1_PCS3_PTE6 KINETIS_MUX('E',6,2) /* PTE6 */
431 #define LPUART3_CTS_b_PTE6 KINETIS_MUX('E',6,3) /* PTE6 */
432 #define I2S0_MCLK_PTE6 KINETIS_MUX('E',6,4) /* PTE6 */
433 #define QSPI0B_DATA3_PTE6 KINETIS_MUX('E',6,5) /* PTE6 */
434 #define FTM3_CH1_PTE6 KINETIS_MUX('E',6,6) /* PTE6 */
435 #define SDHC0_D4_PTE6 KINETIS_MUX('E',6,7) /* PTE6 */
436 #define PTE7 KINETIS_MUX('E',7,1) /* PTE7 */
437 #define SPI2_SCK_PTE7 KINETIS_MUX('E',7,2) /* PTE7 */
438 #define LPUART3_RTS_b_PTE7 KINETIS_MUX('E',7,3) /* PTE7 */
439 #define I2S0_RXD0_PTE7 KINETIS_MUX('E',7,4) /* PTE7 */
440 #define QSPI0B_SCLK_PTE7 KINETIS_MUX('E',7,5) /* PTE7 */
441 #define FTM3_CH2_PTE7 KINETIS_MUX('E',7,6) /* PTE7 */
442 #define QSPI0A_SS1_B_PTE7 KINETIS_MUX('E',7,7) /* PTE7 */
443 #define PTE8 KINETIS_MUX('E',8,1) /* PTE8 */
444 #define I2S0_RXD1_PTE8 KINETIS_MUX('E',8,2) /* PTE8 */
445 #define SPI2_SOUT_PTE8 KINETIS_MUX('E',8,3) /* PTE8 */
446 #define I2S0_RX_FS_PTE8 KINETIS_MUX('E',8,4) /* PTE8 */
447 #define QSPI0B_DATA0_PTE8 KINETIS_MUX('E',8,5) /* PTE8 */
448 #define FTM3_CH3_PTE8 KINETIS_MUX('E',8,6) /* PTE8 */
449 #define SDHC0_D5_PTE8 KINETIS_MUX('E',8,7) /* PTE8 */
450 #define LLWU_P17_PTE9 KINETIS_MUX('E',9,1) /* PTE9 */
451 #define PTE9 KINETIS_MUX('E',9,1) /* PTE9 */
452 #define I2S0_TXD1_PTE9 KINETIS_MUX('E',9,2) /* PTE9 */
453 #define SPI2_PCS1_PTE9 KINETIS_MUX('E',9,3) /* PTE9 */
454 #define I2S0_RX_BCLK_PTE9 KINETIS_MUX('E',9,4) /* PTE9 */
455 #define QSPI0B_DATA2_PTE9 KINETIS_MUX('E',9,5) /* PTE9 */
456 #define FTM3_CH4_PTE9 KINETIS_MUX('E',9,6) /* PTE9 */
457 #define SDHC0_D6_PTE9 KINETIS_MUX('E',9,7) /* PTE9 */
458 #define LLWU_P18_PTE10 KINETIS_MUX('E',10,1) /* PTE10 */
459 #define PTE10 KINETIS_MUX('E',10,1) /* PTE10 */
460 #define I2C3_SDA_PTE10 KINETIS_MUX('E',10,2) /* PTE10 */
461 #define SPI2_SIN_PTE10 KINETIS_MUX('E',10,3) /* PTE10 */
462 #define I2S0_TXD0_PTE10 KINETIS_MUX('E',10,4) /* PTE10 */
463 #define QSPI0B_DATA1_PTE10 KINETIS_MUX('E',10,5) /* PTE10 */
464 #define FTM3_CH5_PTE10 KINETIS_MUX('E',10,6) /* PTE10 */
465 #define SDHC0_D7_PTE10 KINETIS_MUX('E',10,7) /* PTE10 */
466 #define PTE11 KINETIS_MUX('E',11,1) /* PTE11 */
467 #define I2C3_SCL_PTE11 KINETIS_MUX('E',11,2) /* PTE11 */
468 #define SPI2_PCS0_PTE11 KINETIS_MUX('E',11,3) /* PTE11 */
469 #define I2S0_TX_FS_PTE11 KINETIS_MUX('E',11,4) /* PTE11 */
470 #define QSPI0B_SS0_B_PTE11 KINETIS_MUX('E',11,5) /* PTE11 */
471 #define FTM3_CH6_PTE11 KINETIS_MUX('E',11,6) /* PTE11 */
472 #define QSPI0A_DQS_PTE11 KINETIS_MUX('E',11,7) /* PTE11 */
473 #endif
474