diff --git a/cpu/kinetis/include/periph_cpu.h b/cpu/kinetis/include/periph_cpu.h
index f183be37fc2e10f45bc0787e91c3cc66ce00c3f2..07115b31d68b1b7eddec6853edaa96fee67adaa7 100644
--- a/cpu/kinetis/include/periph_cpu.h
+++ b/cpu/kinetis/include/periph_cpu.h
@@ -135,7 +135,9 @@ typedef enum {
     GPIO_AF_5      = PORT_PCR_MUX(5),       /**< use alternate function 5 */
     GPIO_AF_6      = PORT_PCR_MUX(6),       /**< use alternate function 6 */
     GPIO_AF_7      = PORT_PCR_MUX(7),       /**< use alternate function 7 */
+#ifdef PORT_PCR_ODE_MASK
     GPIO_PCR_OD    = (PORT_PCR_ODE_MASK),   /**< open-drain mode */
+#endif
     GPIO_PCR_PD    = (PORT_PCR_PE_MASK),    /**< enable pull-down */
     GPIO_PCR_PU    = (PORT_PCR_PE_MASK | PORT_PCR_PS_MASK)  /**< enable PU */
 } gpio_pcr_t;