1 /*
2  * NOTE: Autogenerated file by kinetis_signal2dts.py
3  *       for MK22FN512VDC12/signal_configuration.xml
4  *
5  * Copyright (c) 2022, NXP
6  * SPDX-License-Identifier: Apache-2.0
7  */
8 
9 #ifndef _ZEPHYR_DTS_BINDING_MK22FN512VDC12_
10 #define _ZEPHYR_DTS_BINDING_MK22FN512VDC12_
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 JTAG_TDO_PTA2 KINETIS_MUX('A',2,7) /* PTA2 */
29 #define TRACE_SWO_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 LLWU_P3_PTA4 KINETIS_MUX('A',4,1) /* PTA4 */
35 #define 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 I2S0_TX_BCLK_PTA5 KINETIS_MUX('A',5,6) /* PTA5 */
42 #define JTAG_TRST_b_PTA5 KINETIS_MUX('A',5,7) /* PTA5 */
43 #define PTA10 KINETIS_MUX('A',10,1) /* PTA10 */
44 #define FTM2_CH0_PTA10 KINETIS_MUX('A',10,3) /* PTA10 */
45 #define FTM2_QD_PHA_PTA10 KINETIS_MUX('A',10,6) /* PTA10 */
46 #define PTA11 KINETIS_MUX('A',11,1) /* PTA11 */
47 #define FTM2_CH1_PTA11 KINETIS_MUX('A',11,3) /* PTA11 */
48 #define FTM2_QD_PHB_PTA11 KINETIS_MUX('A',11,6) /* PTA11 */
49 #define PTA12 KINETIS_MUX('A',12,1) /* PTA12 */
50 #define FTM1_CH0_PTA12 KINETIS_MUX('A',12,3) /* PTA12 */
51 #define I2S0_TXD0_PTA12 KINETIS_MUX('A',12,6) /* PTA12 */
52 #define FTM1_QD_PHA_PTA12 KINETIS_MUX('A',12,7) /* PTA12 */
53 #define LLWU_P4_PTA13 KINETIS_MUX('A',13,1) /* PTA13 */
54 #define PTA13 KINETIS_MUX('A',13,1) /* PTA13 */
55 #define FTM1_CH1_PTA13 KINETIS_MUX('A',13,3) /* PTA13 */
56 #define I2S0_TX_FS_PTA13 KINETIS_MUX('A',13,6) /* PTA13 */
57 #define FTM1_QD_PHB_PTA13 KINETIS_MUX('A',13,7) /* PTA13 */
58 #define PTA14 KINETIS_MUX('A',14,1) /* PTA14 */
59 #define SPI0_PCS0_PTA14 KINETIS_MUX('A',14,2) /* PTA14 */
60 #define UART0_TX_PTA14 KINETIS_MUX('A',14,3) /* PTA14 */
61 #define I2S0_RX_BCLK_PTA14 KINETIS_MUX('A',14,6) /* PTA14 */
62 #define PTA15 KINETIS_MUX('A',15,1) /* PTA15 */
63 #define SPI0_SCK_PTA15 KINETIS_MUX('A',15,2) /* PTA15 */
64 #define UART0_RX_PTA15 KINETIS_MUX('A',15,3) /* PTA15 */
65 #define I2S0_RXD0_PTA15 KINETIS_MUX('A',15,6) /* PTA15 */
66 #define PTA16 KINETIS_MUX('A',16,1) /* PTA16 */
67 #define SPI0_SOUT_PTA16 KINETIS_MUX('A',16,2) /* PTA16 */
68 #define UART0_CTS_b_PTA16 KINETIS_MUX('A',16,3) /* PTA16 */
69 #define I2S0_RX_FS_PTA16 KINETIS_MUX('A',16,6) /* PTA16 */
70 #define ADC1_SE17_PTA17 KINETIS_MUX('A',17,0) /* PTA17 */
71 #define PTA17 KINETIS_MUX('A',17,1) /* PTA17 */
72 #define SPI0_SIN_PTA17 KINETIS_MUX('A',17,2) /* PTA17 */
73 #define UART0_RTS_b_PTA17 KINETIS_MUX('A',17,3) /* PTA17 */
74 #define I2S0_MCLK_PTA17 KINETIS_MUX('A',17,6) /* PTA17 */
75 #define EXTAL0_PTA18 KINETIS_MUX('A',18,0) /* PTA18 */
76 #define PTA18 KINETIS_MUX('A',18,1) /* PTA18 */
77 #define FTM0_FLT2_PTA18 KINETIS_MUX('A',18,3) /* PTA18 */
78 #define FTM_CLKIN0_PTA18 KINETIS_MUX('A',18,4) /* PTA18 */
79 #define XTAL0_PTA19 KINETIS_MUX('A',19,0) /* PTA19 */
80 #define PTA19 KINETIS_MUX('A',19,1) /* PTA19 */
81 #define FTM1_FLT0_PTA19 KINETIS_MUX('A',19,3) /* PTA19 */
82 #define FTM_CLKIN1_PTA19 KINETIS_MUX('A',19,4) /* PTA19 */
83 #define LPTMR0_ALT1_PTA19 KINETIS_MUX('A',19,6) /* PTA19 */
84 #define PTA29 KINETIS_MUX('A',29,1) /* PTA29 */
85 #define ADC0_SE8_PTB0 KINETIS_MUX('B',0,0) /* PTB0 */
86 #define ADC1_SE8_PTB0 KINETIS_MUX('B',0,0) /* PTB0 */
87 #define LLWU_P5_PTB0 KINETIS_MUX('B',0,1) /* PTB0 */
88 #define PTB0 KINETIS_MUX('B',0,1) /* PTB0 */
89 #define I2C0_SCL_PTB0 KINETIS_MUX('B',0,2) /* PTB0 */
90 #define FTM1_CH0_PTB0 KINETIS_MUX('B',0,3) /* PTB0 */
91 #define FTM1_QD_PHA_PTB0 KINETIS_MUX('B',0,6) /* PTB0 */
92 #define ADC1_SE9_PTB1 KINETIS_MUX('B',1,0) /* PTB1 */
93 #define ADC0_SE9_PTB1 KINETIS_MUX('B',1,0) /* PTB1 */
94 #define PTB1 KINETIS_MUX('B',1,1) /* PTB1 */
95 #define I2C0_SDA_PTB1 KINETIS_MUX('B',1,2) /* PTB1 */
96 #define FTM1_CH1_PTB1 KINETIS_MUX('B',1,3) /* PTB1 */
97 #define FTM1_QD_PHB_PTB1 KINETIS_MUX('B',1,6) /* PTB1 */
98 #define ADC0_SE12_PTB2 KINETIS_MUX('B',2,0) /* PTB2 */
99 #define PTB2 KINETIS_MUX('B',2,1) /* PTB2 */
100 #define I2C0_SCL_PTB2 KINETIS_MUX('B',2,2) /* PTB2 */
101 #define UART0_RTS_b_PTB2 KINETIS_MUX('B',2,3) /* PTB2 */
102 #define FTM0_FLT3_PTB2 KINETIS_MUX('B',2,6) /* PTB2 */
103 #define ADC0_SE13_PTB3 KINETIS_MUX('B',3,0) /* PTB3 */
104 #define PTB3 KINETIS_MUX('B',3,1) /* PTB3 */
105 #define I2C0_SDA_PTB3 KINETIS_MUX('B',3,2) /* PTB3 */
106 #define UART0_CTS_b_PTB3 KINETIS_MUX('B',3,3) /* PTB3 */
107 #define FTM0_FLT0_PTB3 KINETIS_MUX('B',3,6) /* PTB3 */
108 #define ADC1_SE12_PTB6 KINETIS_MUX('B',6,0) /* PTB6 */
109 #define PTB6 KINETIS_MUX('B',6,1) /* PTB6 */
110 #define ADC1_SE13_PTB7 KINETIS_MUX('B',7,0) /* PTB7 */
111 #define PTB7 KINETIS_MUX('B',7,1) /* PTB7 */
112 #define PTB8 KINETIS_MUX('B',8,1) /* PTB8 */
113 #define LPUART0_RTS_b_PTB8 KINETIS_MUX('B',8,3) /* PTB8 */
114 #define PTB9 KINETIS_MUX('B',9,1) /* PTB9 */
115 #define SPI1_PCS1_PTB9 KINETIS_MUX('B',9,2) /* PTB9 */
116 #define LPUART0_CTS_b_PTB9 KINETIS_MUX('B',9,3) /* PTB9 */
117 #define ADC1_SE14_PTB10 KINETIS_MUX('B',10,0) /* PTB10 */
118 #define PTB10 KINETIS_MUX('B',10,1) /* PTB10 */
119 #define SPI1_PCS0_PTB10 KINETIS_MUX('B',10,2) /* PTB10 */
120 #define LPUART0_RX_PTB10 KINETIS_MUX('B',10,3) /* PTB10 */
121 #define FTM0_FLT1_PTB10 KINETIS_MUX('B',10,6) /* PTB10 */
122 #define ADC1_SE15_PTB11 KINETIS_MUX('B',11,0) /* PTB11 */
123 #define PTB11 KINETIS_MUX('B',11,1) /* PTB11 */
124 #define SPI1_SCK_PTB11 KINETIS_MUX('B',11,2) /* PTB11 */
125 #define LPUART0_TX_PTB11 KINETIS_MUX('B',11,3) /* PTB11 */
126 #define FTM0_FLT2_PTB11 KINETIS_MUX('B',11,6) /* PTB11 */
127 #define PTB16 KINETIS_MUX('B',16,1) /* PTB16 */
128 #define SPI1_SOUT_PTB16 KINETIS_MUX('B',16,2) /* PTB16 */
129 #define UART0_RX_PTB16 KINETIS_MUX('B',16,3) /* PTB16 */
130 #define FTM_CLKIN0_PTB16 KINETIS_MUX('B',16,4) /* PTB16 */
131 #define EWM_IN_PTB16 KINETIS_MUX('B',16,6) /* PTB16 */
132 #define PTB17 KINETIS_MUX('B',17,1) /* PTB17 */
133 #define SPI1_SIN_PTB17 KINETIS_MUX('B',17,2) /* PTB17 */
134 #define UART0_TX_PTB17 KINETIS_MUX('B',17,3) /* PTB17 */
135 #define FTM_CLKIN1_PTB17 KINETIS_MUX('B',17,4) /* PTB17 */
136 #define EWM_OUT_b_PTB17 KINETIS_MUX('B',17,6) /* PTB17 */
137 #define PTB18 KINETIS_MUX('B',18,1) /* PTB18 */
138 #define FTM2_CH0_PTB18 KINETIS_MUX('B',18,3) /* PTB18 */
139 #define I2S0_TX_BCLK_PTB18 KINETIS_MUX('B',18,4) /* PTB18 */
140 #define FTM2_QD_PHA_PTB18 KINETIS_MUX('B',18,6) /* PTB18 */
141 #define PTB19 KINETIS_MUX('B',19,1) /* PTB19 */
142 #define FTM2_CH1_PTB19 KINETIS_MUX('B',19,3) /* PTB19 */
143 #define I2S0_TX_FS_PTB19 KINETIS_MUX('B',19,4) /* PTB19 */
144 #define FTM2_QD_PHB_PTB19 KINETIS_MUX('B',19,6) /* PTB19 */
145 #define PTB20 KINETIS_MUX('B',20,1) /* PTB20 */
146 #define CMP0_OUT_PTB20 KINETIS_MUX('B',20,6) /* PTB20 */
147 #define PTB21 KINETIS_MUX('B',21,1) /* PTB21 */
148 #define CMP1_OUT_PTB21 KINETIS_MUX('B',21,6) /* PTB21 */
149 #define PTB22 KINETIS_MUX('B',22,1) /* PTB22 */
150 #define PTB23 KINETIS_MUX('B',23,1) /* PTB23 */
151 #define SPI0_PCS5_PTB23 KINETIS_MUX('B',23,3) /* PTB23 */
152 #define ADC0_SE14_PTC0 KINETIS_MUX('C',0,0) /* PTC0 */
153 #define PTC0 KINETIS_MUX('C',0,1) /* PTC0 */
154 #define SPI0_PCS4_PTC0 KINETIS_MUX('C',0,2) /* PTC0 */
155 #define PDB0_EXTRG_PTC0 KINETIS_MUX('C',0,3) /* PTC0 */
156 #define USB_SOF_OUT_PTC0 KINETIS_MUX('C',0,4) /* PTC0 */
157 #define ADC0_SE15_PTC1 KINETIS_MUX('C',1,0) /* PTC1 */
158 #define PTC1 KINETIS_MUX('C',1,1) /* PTC1 */
159 #define LLWU_P6_PTC1 KINETIS_MUX('C',1,1) /* PTC1 */
160 #define SPI0_PCS3_PTC1 KINETIS_MUX('C',1,2) /* PTC1 */
161 #define UART1_RTS_b_PTC1 KINETIS_MUX('C',1,3) /* PTC1 */
162 #define FTM0_CH0_PTC1 KINETIS_MUX('C',1,4) /* PTC1 */
163 #define I2S0_TXD0_PTC1 KINETIS_MUX('C',1,6) /* PTC1 */
164 #define LPUART0_RTS_b_PTC1 KINETIS_MUX('C',1,7) /* PTC1 */
165 #define ADC0_SE4b_PTC2 KINETIS_MUX('C',2,0) /* PTC2 */
166 #define CMP1_IN0_PTC2 KINETIS_MUX('C',2,0) /* PTC2 */
167 #define PTC2 KINETIS_MUX('C',2,1) /* PTC2 */
168 #define SPI0_PCS2_PTC2 KINETIS_MUX('C',2,2) /* PTC2 */
169 #define UART1_CTS_b_PTC2 KINETIS_MUX('C',2,3) /* PTC2 */
170 #define FTM0_CH1_PTC2 KINETIS_MUX('C',2,4) /* PTC2 */
171 #define I2S0_TX_FS_PTC2 KINETIS_MUX('C',2,6) /* PTC2 */
172 #define LPUART0_CTS_b_PTC2 KINETIS_MUX('C',2,7) /* PTC2 */
173 #define CMP1_IN1_PTC3 KINETIS_MUX('C',3,0) /* PTC3 */
174 #define LLWU_P7_PTC3 KINETIS_MUX('C',3,1) /* PTC3 */
175 #define PTC3 KINETIS_MUX('C',3,1) /* PTC3 */
176 #define SPI0_PCS1_PTC3 KINETIS_MUX('C',3,2) /* PTC3 */
177 #define UART1_RX_PTC3 KINETIS_MUX('C',3,3) /* PTC3 */
178 #define FTM0_CH2_PTC3 KINETIS_MUX('C',3,4) /* PTC3 */
179 #define CLKOUT_PTC3 KINETIS_MUX('C',3,5) /* PTC3 */
180 #define I2S0_TX_BCLK_PTC3 KINETIS_MUX('C',3,6) /* PTC3 */
181 #define LPUART0_RX_PTC3 KINETIS_MUX('C',3,7) /* PTC3 */
182 #define PTC4 KINETIS_MUX('C',4,1) /* PTC4 */
183 #define LLWU_P8_PTC4 KINETIS_MUX('C',4,1) /* PTC4 */
184 #define SPI0_PCS0_PTC4 KINETIS_MUX('C',4,2) /* PTC4 */
185 #define UART1_TX_PTC4 KINETIS_MUX('C',4,3) /* PTC4 */
186 #define FTM0_CH3_PTC4 KINETIS_MUX('C',4,4) /* PTC4 */
187 #define CMP1_OUT_PTC4 KINETIS_MUX('C',4,6) /* PTC4 */
188 #define LPUART0_TX_PTC4 KINETIS_MUX('C',4,7) /* PTC4 */
189 #define PTC5 KINETIS_MUX('C',5,1) /* PTC5 */
190 #define LLWU_P9_PTC5 KINETIS_MUX('C',5,1) /* PTC5 */
191 #define SPI0_SCK_PTC5 KINETIS_MUX('C',5,2) /* PTC5 */
192 #define LPTMR0_ALT2_PTC5 KINETIS_MUX('C',5,3) /* PTC5 */
193 #define I2S0_RXD0_PTC5 KINETIS_MUX('C',5,4) /* PTC5 */
194 #define CMP0_OUT_PTC5 KINETIS_MUX('C',5,6) /* PTC5 */
195 #define FTM0_CH2_PTC5 KINETIS_MUX('C',5,7) /* PTC5 */
196 #define CMP0_IN0_PTC6 KINETIS_MUX('C',6,0) /* PTC6 */
197 #define PTC6 KINETIS_MUX('C',6,1) /* PTC6 */
198 #define LLWU_P10_PTC6 KINETIS_MUX('C',6,1) /* PTC6 */
199 #define SPI0_SOUT_PTC6 KINETIS_MUX('C',6,2) /* PTC6 */
200 #define PDB0_EXTRG_PTC6 KINETIS_MUX('C',6,3) /* PTC6 */
201 #define I2S0_RX_BCLK_PTC6 KINETIS_MUX('C',6,4) /* PTC6 */
202 #define I2S0_MCLK_PTC6 KINETIS_MUX('C',6,6) /* PTC6 */
203 #define CMP0_IN1_PTC7 KINETIS_MUX('C',7,0) /* PTC7 */
204 #define PTC7 KINETIS_MUX('C',7,1) /* PTC7 */
205 #define SPI0_SIN_PTC7 KINETIS_MUX('C',7,2) /* PTC7 */
206 #define USB_SOF_OUT_PTC7 KINETIS_MUX('C',7,3) /* PTC7 */
207 #define I2S0_RX_FS_PTC7 KINETIS_MUX('C',7,4) /* PTC7 */
208 #define ADC1_SE4b_PTC8 KINETIS_MUX('C',8,0) /* PTC8 */
209 #define CMP0_IN2_PTC8 KINETIS_MUX('C',8,0) /* PTC8 */
210 #define PTC8 KINETIS_MUX('C',8,1) /* PTC8 */
211 #define FTM3_CH4_PTC8 KINETIS_MUX('C',8,3) /* PTC8 */
212 #define I2S0_MCLK_PTC8 KINETIS_MUX('C',8,4) /* PTC8 */
213 #define CMP0_IN3_PTC9 KINETIS_MUX('C',9,0) /* PTC9 */
214 #define ADC1_SE5b_PTC9 KINETIS_MUX('C',9,0) /* PTC9 */
215 #define PTC9 KINETIS_MUX('C',9,1) /* PTC9 */
216 #define FTM3_CH5_PTC9 KINETIS_MUX('C',9,3) /* PTC9 */
217 #define I2S0_RX_BCLK_PTC9 KINETIS_MUX('C',9,4) /* PTC9 */
218 #define FTM2_FLT0_PTC9 KINETIS_MUX('C',9,6) /* PTC9 */
219 #define ADC1_SE6b_PTC10 KINETIS_MUX('C',10,0) /* PTC10 */
220 #define PTC10 KINETIS_MUX('C',10,1) /* PTC10 */
221 #define I2C1_SCL_PTC10 KINETIS_MUX('C',10,2) /* PTC10 */
222 #define FTM3_CH6_PTC10 KINETIS_MUX('C',10,3) /* PTC10 */
223 #define I2S0_RX_FS_PTC10 KINETIS_MUX('C',10,4) /* PTC10 */
224 #define ADC1_SE7b_PTC11 KINETIS_MUX('C',11,0) /* PTC11 */
225 #define LLWU_P11_PTC11 KINETIS_MUX('C',11,1) /* PTC11 */
226 #define PTC11 KINETIS_MUX('C',11,1) /* PTC11 */
227 #define I2C1_SDA_PTC11 KINETIS_MUX('C',11,2) /* PTC11 */
228 #define FTM3_CH7_PTC11 KINETIS_MUX('C',11,3) /* PTC11 */
229 #define PTC12 KINETIS_MUX('C',12,1) /* PTC12 */
230 #define FTM3_FLT0_PTC12 KINETIS_MUX('C',12,6) /* PTC12 */
231 #define PTC13 KINETIS_MUX('C',13,1) /* PTC13 */
232 #define PTC14 KINETIS_MUX('C',14,1) /* PTC14 */
233 #define PTC15 KINETIS_MUX('C',15,1) /* PTC15 */
234 #define PTC16 KINETIS_MUX('C',16,1) /* PTC16 */
235 #define LPUART0_RX_PTC16 KINETIS_MUX('C',16,3) /* PTC16 */
236 #define PTC17 KINETIS_MUX('C',17,1) /* PTC17 */
237 #define LPUART0_TX_PTC17 KINETIS_MUX('C',17,3) /* PTC17 */
238 #define PTC18 KINETIS_MUX('C',18,1) /* PTC18 */
239 #define LPUART0_RTS_b_PTC18 KINETIS_MUX('C',18,3) /* PTC18 */
240 #define PTC19 KINETIS_MUX('C',19,1) /* PTC19 */
241 #define LPUART0_CTS_b_PTC19 KINETIS_MUX('C',19,3) /* PTC19 */
242 #define LLWU_P12_PTD0 KINETIS_MUX('D',0,1) /* PTD0 */
243 #define PTD0 KINETIS_MUX('D',0,1) /* PTD0 */
244 #define SPI0_PCS0_PTD0 KINETIS_MUX('D',0,2) /* PTD0 */
245 #define UART2_RTS_b_PTD0 KINETIS_MUX('D',0,3) /* PTD0 */
246 #define FTM3_CH0_PTD0 KINETIS_MUX('D',0,4) /* PTD0 */
247 #define LPUART0_RTS_b_PTD0 KINETIS_MUX('D',0,6) /* PTD0 */
248 #define ADC0_SE5b_PTD1 KINETIS_MUX('D',1,0) /* PTD1 */
249 #define PTD1 KINETIS_MUX('D',1,1) /* PTD1 */
250 #define SPI0_SCK_PTD1 KINETIS_MUX('D',1,2) /* PTD1 */
251 #define UART2_CTS_b_PTD1 KINETIS_MUX('D',1,3) /* PTD1 */
252 #define FTM3_CH1_PTD1 KINETIS_MUX('D',1,4) /* PTD1 */
253 #define LPUART0_CTS_b_PTD1 KINETIS_MUX('D',1,6) /* PTD1 */
254 #define PTD2 KINETIS_MUX('D',2,1) /* PTD2 */
255 #define LLWU_P13_PTD2 KINETIS_MUX('D',2,1) /* PTD2 */
256 #define SPI0_SOUT_PTD2 KINETIS_MUX('D',2,2) /* PTD2 */
257 #define UART2_RX_PTD2 KINETIS_MUX('D',2,3) /* PTD2 */
258 #define FTM3_CH2_PTD2 KINETIS_MUX('D',2,4) /* PTD2 */
259 #define LPUART0_RX_PTD2 KINETIS_MUX('D',2,6) /* PTD2 */
260 #define I2C0_SCL_PTD2 KINETIS_MUX('D',2,7) /* PTD2 */
261 #define PTD3 KINETIS_MUX('D',3,1) /* PTD3 */
262 #define SPI0_SIN_PTD3 KINETIS_MUX('D',3,2) /* PTD3 */
263 #define UART2_TX_PTD3 KINETIS_MUX('D',3,3) /* PTD3 */
264 #define FTM3_CH3_PTD3 KINETIS_MUX('D',3,4) /* PTD3 */
265 #define LPUART0_TX_PTD3 KINETIS_MUX('D',3,6) /* PTD3 */
266 #define I2C0_SDA_PTD3 KINETIS_MUX('D',3,7) /* PTD3 */
267 #define PTD4 KINETIS_MUX('D',4,1) /* PTD4 */
268 #define LLWU_P14_PTD4 KINETIS_MUX('D',4,1) /* PTD4 */
269 #define SPI0_PCS1_PTD4 KINETIS_MUX('D',4,2) /* PTD4 */
270 #define UART0_RTS_b_PTD4 KINETIS_MUX('D',4,3) /* PTD4 */
271 #define FTM0_CH4_PTD4 KINETIS_MUX('D',4,4) /* PTD4 */
272 #define EWM_IN_PTD4 KINETIS_MUX('D',4,6) /* PTD4 */
273 #define SPI1_PCS0_PTD4 KINETIS_MUX('D',4,7) /* PTD4 */
274 #define ADC0_SE6b_PTD5 KINETIS_MUX('D',5,0) /* PTD5 */
275 #define PTD5 KINETIS_MUX('D',5,1) /* PTD5 */
276 #define SPI0_PCS2_PTD5 KINETIS_MUX('D',5,2) /* PTD5 */
277 #define UART0_CTS_b_PTD5 KINETIS_MUX('D',5,3) /* PTD5 */
278 #define FTM0_CH5_PTD5 KINETIS_MUX('D',5,4) /* PTD5 */
279 #define EWM_OUT_b_PTD5 KINETIS_MUX('D',5,6) /* PTD5 */
280 #define SPI1_SCK_PTD5 KINETIS_MUX('D',5,7) /* PTD5 */
281 #define ADC0_SE7b_PTD6 KINETIS_MUX('D',6,0) /* PTD6 */
282 #define LLWU_P15_PTD6 KINETIS_MUX('D',6,1) /* PTD6 */
283 #define PTD6 KINETIS_MUX('D',6,1) /* PTD6 */
284 #define SPI0_PCS3_PTD6 KINETIS_MUX('D',6,2) /* PTD6 */
285 #define UART0_RX_PTD6 KINETIS_MUX('D',6,3) /* PTD6 */
286 #define FTM0_CH6_PTD6 KINETIS_MUX('D',6,4) /* PTD6 */
287 #define FTM0_FLT0_PTD6 KINETIS_MUX('D',6,6) /* PTD6 */
288 #define SPI1_SOUT_PTD6 KINETIS_MUX('D',6,7) /* PTD6 */
289 #define PTD7 KINETIS_MUX('D',7,1) /* PTD7 */
290 #define UART0_TX_PTD7 KINETIS_MUX('D',7,3) /* PTD7 */
291 #define FTM0_CH7_PTD7 KINETIS_MUX('D',7,4) /* PTD7 */
292 #define FTM0_FLT1_PTD7 KINETIS_MUX('D',7,6) /* PTD7 */
293 #define SPI1_SIN_PTD7 KINETIS_MUX('D',7,7) /* PTD7 */
294 #define PTD8 KINETIS_MUX('D',8,1) /* PTD8 */
295 #define I2C0_SCL_PTD8 KINETIS_MUX('D',8,2) /* PTD8 */
296 #define LPUART0_RX_PTD8 KINETIS_MUX('D',8,5) /* PTD8 */
297 #define PTD9 KINETIS_MUX('D',9,1) /* PTD9 */
298 #define I2C0_SDA_PTD9 KINETIS_MUX('D',9,2) /* PTD9 */
299 #define LPUART0_TX_PTD9 KINETIS_MUX('D',9,5) /* PTD9 */
300 #define PTD10 KINETIS_MUX('D',10,1) /* PTD10 */
301 #define LPUART0_RTS_b_PTD10 KINETIS_MUX('D',10,5) /* PTD10 */
302 #define PTD11 KINETIS_MUX('D',11,1) /* PTD11 */
303 #define LPUART0_CTS_b_PTD11 KINETIS_MUX('D',11,5) /* PTD11 */
304 #define PTD12 KINETIS_MUX('D',12,1) /* PTD12 */
305 #define FTM3_FLT0_PTD12 KINETIS_MUX('D',12,3) /* PTD12 */
306 #define PTD13 KINETIS_MUX('D',13,1) /* PTD13 */
307 #define PTD14 KINETIS_MUX('D',14,1) /* PTD14 */
308 #define PTD15 KINETIS_MUX('D',15,1) /* PTD15 */
309 #define ADC1_SE4a_PTE0 KINETIS_MUX('E',0,0) /* PTE0 */
310 #define PTE0 KINETIS_MUX('E',0,1) /* PTE0 */
311 #define CLKOUT32K_PTE0 KINETIS_MUX('E',0,1) /* PTE0 */
312 #define SPI1_PCS1_PTE0 KINETIS_MUX('E',0,2) /* PTE0 */
313 #define UART1_TX_PTE0 KINETIS_MUX('E',0,3) /* PTE0 */
314 #define I2C1_SDA_PTE0 KINETIS_MUX('E',0,6) /* PTE0 */
315 #define RTC_CLKOUT_PTE0 KINETIS_MUX('E',0,7) /* PTE0 */
316 #define ADC1_SE5a_PTE1 KINETIS_MUX('E',1,0) /* PTE1 */
317 #define PTE1 KINETIS_MUX('E',1,1) /* PTE1 */
318 #define LLWU_P0_PTE1 KINETIS_MUX('E',1,1) /* PTE1 */
319 #define SPI1_SOUT_PTE1 KINETIS_MUX('E',1,2) /* PTE1 */
320 #define UART1_RX_PTE1 KINETIS_MUX('E',1,3) /* PTE1 */
321 #define I2C1_SCL_PTE1 KINETIS_MUX('E',1,6) /* PTE1 */
322 #define SPI1_SIN_PTE1 KINETIS_MUX('E',1,7) /* PTE1 */
323 #define ADC1_SE6a_PTE2 KINETIS_MUX('E',2,0) /* PTE2 */
324 #define PTE2 KINETIS_MUX('E',2,1) /* PTE2 */
325 #define LLWU_P1_PTE2 KINETIS_MUX('E',2,1) /* PTE2 */
326 #define SPI1_SCK_PTE2 KINETIS_MUX('E',2,2) /* PTE2 */
327 #define UART1_CTS_b_PTE2 KINETIS_MUX('E',2,3) /* PTE2 */
328 #define ADC1_SE7a_PTE3 KINETIS_MUX('E',3,0) /* PTE3 */
329 #define PTE3 KINETIS_MUX('E',3,1) /* PTE3 */
330 #define SPI1_SIN_PTE3 KINETIS_MUX('E',3,2) /* PTE3 */
331 #define UART1_RTS_b_PTE3 KINETIS_MUX('E',3,3) /* PTE3 */
332 #define SPI1_SOUT_PTE3 KINETIS_MUX('E',3,7) /* PTE3 */
333 #define PTE4 KINETIS_MUX('E',4,1) /* PTE4 */
334 #define LLWU_P2_PTE4 KINETIS_MUX('E',4,1) /* PTE4 */
335 #define SPI1_PCS0_PTE4 KINETIS_MUX('E',4,2) /* PTE4 */
336 #define LPUART0_TX_PTE4 KINETIS_MUX('E',4,3) /* PTE4 */
337 #define PTE5 KINETIS_MUX('E',5,1) /* PTE5 */
338 #define SPI1_PCS2_PTE5 KINETIS_MUX('E',5,2) /* PTE5 */
339 #define LPUART0_RX_PTE5 KINETIS_MUX('E',5,3) /* PTE5 */
340 #define FTM3_CH0_PTE5 KINETIS_MUX('E',5,6) /* PTE5 */
341 #define PTE6 KINETIS_MUX('E',6,1) /* PTE6 */
342 #define SPI1_PCS3_PTE6 KINETIS_MUX('E',6,2) /* PTE6 */
343 #define LPUART0_CTS_b_PTE6 KINETIS_MUX('E',6,3) /* PTE6 */
344 #define I2S0_MCLK_PTE6 KINETIS_MUX('E',6,4) /* PTE6 */
345 #define FTM3_CH1_PTE6 KINETIS_MUX('E',6,6) /* PTE6 */
346 #define USB_SOF_OUT_PTE6 KINETIS_MUX('E',6,7) /* PTE6 */
347 #define ADC0_SE17_PTE24 KINETIS_MUX('E',24,0) /* PTE24 */
348 #define PTE24 KINETIS_MUX('E',24,1) /* PTE24 */
349 #define I2C0_SCL_PTE24 KINETIS_MUX('E',24,5) /* PTE24 */
350 #define EWM_OUT_b_PTE24 KINETIS_MUX('E',24,6) /* PTE24 */
351 #define ADC0_SE18_PTE25 KINETIS_MUX('E',25,0) /* PTE25 */
352 #define PTE25 KINETIS_MUX('E',25,1) /* PTE25 */
353 #define I2C0_SDA_PTE25 KINETIS_MUX('E',25,5) /* PTE25 */
354 #define EWM_IN_PTE25 KINETIS_MUX('E',25,6) /* PTE25 */
355 #define PTE26 KINETIS_MUX('E',26,1) /* PTE26 */
356 #define CLKOUT32K_PTE26 KINETIS_MUX('E',26,1) /* PTE26 */
357 #define RTC_CLKOUT_PTE26 KINETIS_MUX('E',26,6) /* PTE26 */
358 #define USB_CLKIN_PTE26 KINETIS_MUX('E',26,7) /* PTE26 */
359 #endif
360