/* * NOTE: Autogenerated file by kinetis_cfg_utils.py * for MK22FX512VLH12/signal_configuration.xml * * */ #ifndef _ZEPHYR_DTS_BINDING_MK22FX512VLH12_ #define _ZEPHYR_DTS_BINDING_MK22FX512VLH12_ #define KINETIS_MUX(port, pin, mux) \ (((((port) - 'A') & 0xF) << 28) | \ (((pin) & 0x3F) << 22) | \ (((mux) & 0x7) << 8)) #define PTA0 KINETIS_MUX('A',0,1) /* PTA0 */ #define UART0_CTS_b_PTA0 KINETIS_MUX('A',0,2) /* PTA0 */ #define FTM0_CH5_PTA0 KINETIS_MUX('A',0,3) /* PTA0 */ #define JTAG_TCLK_PTA0 KINETIS_MUX('A',0,7) /* PTA0 */ #define PTA1 KINETIS_MUX('A',1,1) /* PTA1 */ #define UART0_RX_PTA1 KINETIS_MUX('A',1,2) /* PTA1 */ #define FTM0_CH6_PTA1 KINETIS_MUX('A',1,3) /* PTA1 */ #define JTAG_TDI_PTA1 KINETIS_MUX('A',1,7) /* PTA1 */ #define PTA2 KINETIS_MUX('A',2,1) /* PTA2 */ #define UART0_TX_PTA2 KINETIS_MUX('A',2,2) /* PTA2 */ #define FTM0_CH7_PTA2 KINETIS_MUX('A',2,3) /* PTA2 */ #define TRACE_SWO_PTA2 KINETIS_MUX('A',2,7) /* PTA2 */ #define JTAG_TDO_PTA2 KINETIS_MUX('A',2,7) /* PTA2 */ #define PTA3 KINETIS_MUX('A',3,1) /* PTA3 */ #define UART0_RTS_b_PTA3 KINETIS_MUX('A',3,2) /* PTA3 */ #define FTM0_CH0_PTA3 KINETIS_MUX('A',3,3) /* PTA3 */ #define JTAG_TMS_PTA3 KINETIS_MUX('A',3,7) /* PTA3 */ #define PTA4 KINETIS_MUX('A',4,1) /* PTA4 */ #define LLWU_P3_PTA4 KINETIS_MUX('A',4,1) /* PTA4 */ #define FTM0_CH1_PTA4 KINETIS_MUX('A',4,3) /* PTA4 */ #define NMI_b_PTA4 KINETIS_MUX('A',4,7) /* PTA4 */ #define PTA5 KINETIS_MUX('A',5,1) /* PTA5 */ #define USB_CLKIN_PTA5 KINETIS_MUX('A',5,2) /* PTA5 */ #define FTM0_CH2_PTA5 KINETIS_MUX('A',5,3) /* PTA5 */ #define CMP2_OUT_PTA5 KINETIS_MUX('A',5,5) /* PTA5 */ #define I2S0_TX_BCLK_PTA5 KINETIS_MUX('A',5,6) /* PTA5 */ #define JTAG_TRST_b_PTA5 KINETIS_MUX('A',5,7) /* PTA5 */ #define CMP2_IN0_PTA12 KINETIS_MUX('A',12,0) /* PTA12 */ #define PTA12 KINETIS_MUX('A',12,1) /* PTA12 */ #define CAN0_TX_PTA12 KINETIS_MUX('A',12,2) /* PTA12 */ #define FTM1_CH0_PTA12 KINETIS_MUX('A',12,3) /* PTA12 */ #define I2C2_SCL_PTA12 KINETIS_MUX('A',12,5) /* PTA12 */ #define I2S0_TXD0_PTA12 KINETIS_MUX('A',12,6) /* PTA12 */ #define FTM1_QD_PHA_PTA12 KINETIS_MUX('A',12,7) /* PTA12 */ #define CMP2_IN1_PTA13 KINETIS_MUX('A',13,0) /* PTA13 */ #define LLWU_P4_PTA13 KINETIS_MUX('A',13,1) /* PTA13 */ #define PTA13 KINETIS_MUX('A',13,1) /* PTA13 */ #define CAN0_RX_PTA13 KINETIS_MUX('A',13,2) /* PTA13 */ #define FTM1_CH1_PTA13 KINETIS_MUX('A',13,3) /* PTA13 */ #define I2C2_SDA_PTA13 KINETIS_MUX('A',13,5) /* PTA13 */ #define I2S0_TX_FS_PTA13 KINETIS_MUX('A',13,6) /* PTA13 */ #define FTM1_QD_PHB_PTA13 KINETIS_MUX('A',13,7) /* PTA13 */ #define EXTAL0_PTA18 KINETIS_MUX('A',18,0) /* PTA18 */ #define PTA18 KINETIS_MUX('A',18,1) /* PTA18 */ #define FTM0_FLT2_PTA18 KINETIS_MUX('A',18,3) /* PTA18 */ #define FTM_CLKIN0_PTA18 KINETIS_MUX('A',18,4) /* PTA18 */ #define XTAL0_PTA19 KINETIS_MUX('A',19,0) /* PTA19 */ #define PTA19 KINETIS_MUX('A',19,1) /* PTA19 */ #define FTM1_FLT0_PTA19 KINETIS_MUX('A',19,3) /* PTA19 */ #define FTM_CLKIN1_PTA19 KINETIS_MUX('A',19,4) /* PTA19 */ #define LPTMR0_ALT1_PTA19 KINETIS_MUX('A',19,6) /* PTA19 */ #define ADC0_SE8_PTB0 KINETIS_MUX('B',0,0) /* PTB0 */ #define ADC1_SE8_PTB0 KINETIS_MUX('B',0,0) /* PTB0 */ #define PTB0 KINETIS_MUX('B',0,1) /* PTB0 */ #define LLWU_P5_PTB0 KINETIS_MUX('B',0,1) /* PTB0 */ #define I2C0_SCL_PTB0 KINETIS_MUX('B',0,2) /* PTB0 */ #define FTM1_CH0_PTB0 KINETIS_MUX('B',0,3) /* PTB0 */ #define FTM1_QD_PHA_PTB0 KINETIS_MUX('B',0,6) /* PTB0 */ #define ADC0_SE9_PTB1 KINETIS_MUX('B',1,0) /* PTB1 */ #define ADC1_SE9_PTB1 KINETIS_MUX('B',1,0) /* PTB1 */ #define PTB1 KINETIS_MUX('B',1,1) /* PTB1 */ #define I2C0_SDA_PTB1 KINETIS_MUX('B',1,2) /* PTB1 */ #define FTM1_CH1_PTB1 KINETIS_MUX('B',1,3) /* PTB1 */ #define FTM1_QD_PHB_PTB1 KINETIS_MUX('B',1,6) /* PTB1 */ #define ADC0_SE12_PTB2 KINETIS_MUX('B',2,0) /* PTB2 */ #define PTB2 KINETIS_MUX('B',2,1) /* PTB2 */ #define I2C0_SCL_PTB2 KINETIS_MUX('B',2,2) /* PTB2 */ #define UART0_RTS_b_PTB2 KINETIS_MUX('B',2,3) /* PTB2 */ #define FTM0_FLT3_PTB2 KINETIS_MUX('B',2,6) /* PTB2 */ #define ADC0_SE13_PTB3 KINETIS_MUX('B',3,0) /* PTB3 */ #define PTB3 KINETIS_MUX('B',3,1) /* PTB3 */ #define I2C0_SDA_PTB3 KINETIS_MUX('B',3,2) /* PTB3 */ #define UART0_CTS_b_PTB3 KINETIS_MUX('B',3,3) /* PTB3 */ #define FTM0_FLT0_PTB3 KINETIS_MUX('B',3,6) /* PTB3 */ #define PTB16 KINETIS_MUX('B',16,1) /* PTB16 */ #define UART0_RX_PTB16 KINETIS_MUX('B',16,3) /* PTB16 */ #define FTM_CLKIN0_PTB16 KINETIS_MUX('B',16,4) /* PTB16 */ #define EWM_IN_PTB16 KINETIS_MUX('B',16,6) /* PTB16 */ #define PTB17 KINETIS_MUX('B',17,1) /* PTB17 */ #define UART0_TX_PTB17 KINETIS_MUX('B',17,3) /* PTB17 */ #define FTM_CLKIN1_PTB17 KINETIS_MUX('B',17,4) /* PTB17 */ #define EWM_OUT_b_PTB17 KINETIS_MUX('B',17,6) /* PTB17 */ #define PTB18 KINETIS_MUX('B',18,1) /* PTB18 */ #define CAN0_TX_PTB18 KINETIS_MUX('B',18,2) /* PTB18 */ #define FTM2_CH0_PTB18 KINETIS_MUX('B',18,3) /* PTB18 */ #define I2S0_TX_BCLK_PTB18 KINETIS_MUX('B',18,4) /* PTB18 */ #define FTM2_QD_PHA_PTB18 KINETIS_MUX('B',18,6) /* PTB18 */ #define PTB19 KINETIS_MUX('B',19,1) /* PTB19 */ #define CAN0_RX_PTB19 KINETIS_MUX('B',19,2) /* PTB19 */ #define FTM2_CH1_PTB19 KINETIS_MUX('B',19,3) /* PTB19 */ #define I2S0_TX_FS_PTB19 KINETIS_MUX('B',19,4) /* PTB19 */ #define FTM2_QD_PHB_PTB19 KINETIS_MUX('B',19,6) /* PTB19 */ #define ADC0_SE14_PTC0 KINETIS_MUX('C',0,0) /* PTC0 */ #define PTC0 KINETIS_MUX('C',0,1) /* PTC0 */ #define SPI0_PCS4_PTC0 KINETIS_MUX('C',0,2) /* PTC0 */ #define PDB0_EXTRG_PTC0 KINETIS_MUX('C',0,3) /* PTC0 */ #define I2S0_TXD1_PTC0 KINETIS_MUX('C',0,6) /* PTC0 */ #define ADC0_SE15_PTC1 KINETIS_MUX('C',1,0) /* PTC1 */ #define LLWU_P6_PTC1 KINETIS_MUX('C',1,1) /* PTC1 */ #define PTC1 KINETIS_MUX('C',1,1) /* PTC1 */ #define SPI0_PCS3_PTC1 KINETIS_MUX('C',1,2) /* PTC1 */ #define UART1_RTS_b_PTC1 KINETIS_MUX('C',1,3) /* PTC1 */ #define FTM0_CH0_PTC1 KINETIS_MUX('C',1,4) /* PTC1 */ #define I2S0_TXD0_PTC1 KINETIS_MUX('C',1,6) /* PTC1 */ #define ADC0_SE4b_PTC2 KINETIS_MUX('C',2,0) /* PTC2 */ #define CMP1_IN0_PTC2 KINETIS_MUX('C',2,0) /* PTC2 */ #define PTC2 KINETIS_MUX('C',2,1) /* PTC2 */ #define SPI0_PCS2_PTC2 KINETIS_MUX('C',2,2) /* PTC2 */ #define UART1_CTS_b_PTC2 KINETIS_MUX('C',2,3) /* PTC2 */ #define FTM0_CH1_PTC2 KINETIS_MUX('C',2,4) /* PTC2 */ #define I2S0_TX_FS_PTC2 KINETIS_MUX('C',2,6) /* PTC2 */ #define CMP1_IN1_PTC3 KINETIS_MUX('C',3,0) /* PTC3 */ #define PTC3 KINETIS_MUX('C',3,1) /* PTC3 */ #define LLWU_P7_PTC3 KINETIS_MUX('C',3,1) /* PTC3 */ #define SPI0_PCS1_PTC3 KINETIS_MUX('C',3,2) /* PTC3 */ #define UART1_RX_PTC3 KINETIS_MUX('C',3,3) /* PTC3 */ #define FTM0_CH2_PTC3 KINETIS_MUX('C',3,4) /* PTC3 */ #define CLKOUT_PTC3 KINETIS_MUX('C',3,5) /* PTC3 */ #define I2S0_TX_BCLK_PTC3 KINETIS_MUX('C',3,6) /* PTC3 */ #define LLWU_P8_PTC4 KINETIS_MUX('C',4,1) /* PTC4 */ #define PTC4 KINETIS_MUX('C',4,1) /* PTC4 */ #define SPI0_PCS0_PTC4 KINETIS_MUX('C',4,2) /* PTC4 */ #define UART1_TX_PTC4 KINETIS_MUX('C',4,3) /* PTC4 */ #define FTM0_CH3_PTC4 KINETIS_MUX('C',4,4) /* PTC4 */ #define CMP1_OUT_PTC4 KINETIS_MUX('C',4,6) /* PTC4 */ #define PTC5 KINETIS_MUX('C',5,1) /* PTC5 */ #define LLWU_P9_PTC5 KINETIS_MUX('C',5,1) /* PTC5 */ #define SPI0_SCK_PTC5 KINETIS_MUX('C',5,2) /* PTC5 */ #define LPTMR0_ALT2_PTC5 KINETIS_MUX('C',5,3) /* PTC5 */ #define I2S0_RXD0_PTC5 KINETIS_MUX('C',5,4) /* PTC5 */ #define CMP0_OUT_PTC5 KINETIS_MUX('C',5,6) /* PTC5 */ #define FTM0_CH2_PTC5 KINETIS_MUX('C',5,7) /* PTC5 */ #define CMP0_IN0_PTC6 KINETIS_MUX('C',6,0) /* PTC6 */ #define PTC6 KINETIS_MUX('C',6,1) /* PTC6 */ #define LLWU_P10_PTC6 KINETIS_MUX('C',6,1) /* PTC6 */ #define SPI0_SOUT_PTC6 KINETIS_MUX('C',6,2) /* PTC6 */ #define PDB0_EXTRG_PTC6 KINETIS_MUX('C',6,3) /* PTC6 */ #define I2S0_RX_BCLK_PTC6 KINETIS_MUX('C',6,4) /* PTC6 */ #define I2S0_MCLK_PTC6 KINETIS_MUX('C',6,6) /* PTC6 */ #define CMP0_IN1_PTC7 KINETIS_MUX('C',7,0) /* PTC7 */ #define PTC7 KINETIS_MUX('C',7,1) /* PTC7 */ #define SPI0_SIN_PTC7 KINETIS_MUX('C',7,2) /* PTC7 */ #define USB_SOF_OUT_PTC7 KINETIS_MUX('C',7,3) /* PTC7 */ #define I2S0_RX_FS_PTC7 KINETIS_MUX('C',7,4) /* PTC7 */ #define ADC1_SE4b_PTC8 KINETIS_MUX('C',8,0) /* PTC8 */ #define CMP0_IN2_PTC8 KINETIS_MUX('C',8,0) /* PTC8 */ #define PTC8 KINETIS_MUX('C',8,1) /* PTC8 */ #define FTM3_CH4_PTC8 KINETIS_MUX('C',8,3) /* PTC8 */ #define I2S0_MCLK_PTC8 KINETIS_MUX('C',8,4) /* PTC8 */ #define ADC1_SE5b_PTC9 KINETIS_MUX('C',9,0) /* PTC9 */ #define CMP0_IN3_PTC9 KINETIS_MUX('C',9,0) /* PTC9 */ #define PTC9 KINETIS_MUX('C',9,1) /* PTC9 */ #define FTM3_CH5_PTC9 KINETIS_MUX('C',9,3) /* PTC9 */ #define I2S0_RX_BCLK_PTC9 KINETIS_MUX('C',9,4) /* PTC9 */ #define FTM2_FLT0_PTC9 KINETIS_MUX('C',9,6) /* PTC9 */ #define ADC1_SE6b_PTC10 KINETIS_MUX('C',10,0) /* PTC10 */ #define PTC10 KINETIS_MUX('C',10,1) /* PTC10 */ #define I2C1_SCL_PTC10 KINETIS_MUX('C',10,2) /* PTC10 */ #define FTM3_CH6_PTC10 KINETIS_MUX('C',10,3) /* PTC10 */ #define I2S0_RX_FS_PTC10 KINETIS_MUX('C',10,4) /* PTC10 */ #define ADC1_SE7b_PTC11 KINETIS_MUX('C',11,0) /* PTC11 */ #define LLWU_P11_PTC11 KINETIS_MUX('C',11,1) /* PTC11 */ #define PTC11 KINETIS_MUX('C',11,1) /* PTC11 */ #define I2C1_SDA_PTC11 KINETIS_MUX('C',11,2) /* PTC11 */ #define FTM3_CH7_PTC11 KINETIS_MUX('C',11,3) /* PTC11 */ #define I2S0_RXD1_PTC11 KINETIS_MUX('C',11,4) /* PTC11 */ #define PTD0 KINETIS_MUX('D',0,1) /* PTD0 */ #define LLWU_P12_PTD0 KINETIS_MUX('D',0,1) /* PTD0 */ #define SPI0_PCS0_PTD0 KINETIS_MUX('D',0,2) /* PTD0 */ #define UART2_RTS_b_PTD0 KINETIS_MUX('D',0,3) /* PTD0 */ #define FTM3_CH0_PTD0 KINETIS_MUX('D',0,4) /* PTD0 */ #define ADC0_SE5b_PTD1 KINETIS_MUX('D',1,0) /* PTD1 */ #define PTD1 KINETIS_MUX('D',1,1) /* PTD1 */ #define SPI0_SCK_PTD1 KINETIS_MUX('D',1,2) /* PTD1 */ #define UART2_CTS_b_PTD1 KINETIS_MUX('D',1,3) /* PTD1 */ #define FTM3_CH1_PTD1 KINETIS_MUX('D',1,4) /* PTD1 */ #define PTD2 KINETIS_MUX('D',2,1) /* PTD2 */ #define LLWU_P13_PTD2 KINETIS_MUX('D',2,1) /* PTD2 */ #define SPI0_SOUT_PTD2 KINETIS_MUX('D',2,2) /* PTD2 */ #define UART2_RX_PTD2 KINETIS_MUX('D',2,3) /* PTD2 */ #define FTM3_CH2_PTD2 KINETIS_MUX('D',2,4) /* PTD2 */ #define I2C0_SCL_PTD2 KINETIS_MUX('D',2,7) /* PTD2 */ #define PTD3 KINETIS_MUX('D',3,1) /* PTD3 */ #define SPI0_SIN_PTD3 KINETIS_MUX('D',3,2) /* PTD3 */ #define UART2_TX_PTD3 KINETIS_MUX('D',3,3) /* PTD3 */ #define FTM3_CH3_PTD3 KINETIS_MUX('D',3,4) /* PTD3 */ #define I2C0_SDA_PTD3 KINETIS_MUX('D',3,7) /* PTD3 */ #define PTD4 KINETIS_MUX('D',4,1) /* PTD4 */ #define LLWU_P14_PTD4 KINETIS_MUX('D',4,1) /* PTD4 */ #define SPI0_PCS1_PTD4 KINETIS_MUX('D',4,2) /* PTD4 */ #define UART0_RTS_b_PTD4 KINETIS_MUX('D',4,3) /* PTD4 */ #define FTM0_CH4_PTD4 KINETIS_MUX('D',4,4) /* PTD4 */ #define EWM_IN_PTD4 KINETIS_MUX('D',4,6) /* PTD4 */ #define ADC0_SE6b_PTD5 KINETIS_MUX('D',5,0) /* PTD5 */ #define PTD5 KINETIS_MUX('D',5,1) /* PTD5 */ #define SPI0_PCS2_PTD5 KINETIS_MUX('D',5,2) /* PTD5 */ #define UART0_CTS_b_PTD5 KINETIS_MUX('D',5,3) /* PTD5 */ #define FTM0_CH5_PTD5 KINETIS_MUX('D',5,4) /* PTD5 */ #define EWM_OUT_b_PTD5 KINETIS_MUX('D',5,6) /* PTD5 */ #define ADC0_SE7b_PTD6 KINETIS_MUX('D',6,0) /* PTD6 */ #define LLWU_P15_PTD6 KINETIS_MUX('D',6,1) /* PTD6 */ #define PTD6 KINETIS_MUX('D',6,1) /* PTD6 */ #define SPI0_PCS3_PTD6 KINETIS_MUX('D',6,2) /* PTD6 */ #define UART0_RX_PTD6 KINETIS_MUX('D',6,3) /* PTD6 */ #define FTM0_CH6_PTD6 KINETIS_MUX('D',6,4) /* PTD6 */ #define FTM0_FLT0_PTD6 KINETIS_MUX('D',6,6) /* PTD6 */ #define PTD7 KINETIS_MUX('D',7,1) /* PTD7 */ #define CMT_IRO_PTD7 KINETIS_MUX('D',7,2) /* PTD7 */ #define UART0_TX_PTD7 KINETIS_MUX('D',7,3) /* PTD7 */ #define FTM0_CH7_PTD7 KINETIS_MUX('D',7,4) /* PTD7 */ #define FTM0_FLT1_PTD7 KINETIS_MUX('D',7,6) /* PTD7 */ #define ADC1_SE4a_PTE0 KINETIS_MUX('E',0,0) /* PTE0 */ #define PTE0 KINETIS_MUX('E',0,1) /* PTE0 */ #define UART1_TX_PTE0 KINETIS_MUX('E',0,3) /* PTE0 */ #define TRACE_CLKOUT_PTE0 KINETIS_MUX('E',0,5) /* PTE0 */ #define I2C1_SDA_PTE0 KINETIS_MUX('E',0,6) /* PTE0 */ #define RTC_CLKOUT_PTE0 KINETIS_MUX('E',0,7) /* PTE0 */ #define ADC1_SE5a_PTE1 KINETIS_MUX('E',1,0) /* PTE1 */ #define LLWU_P0_PTE1 KINETIS_MUX('E',1,1) /* PTE1 */ #define PTE1 KINETIS_MUX('E',1,1) /* PTE1 */ #define UART1_RX_PTE1 KINETIS_MUX('E',1,3) /* PTE1 */ #define TRACE_D3_PTE1 KINETIS_MUX('E',1,5) /* PTE1 */ #define I2C1_SCL_PTE1 KINETIS_MUX('E',1,6) /* PTE1 */ #endif