From 7013a8a43f7f4ba2b3983602bbd8074390c4366e Mon Sep 17 00:00:00 2001 From: Daniel DeGrasse Date: Tue, 8 Mar 2022 14:55:56 -0600 Subject: [PATCH] boards: remove tpm pinmux usage for kinetis boards tpm driver supports pinctrl. Remove pinmux usage for kinetis boards. Signed-off-by: Daniel DeGrasse --- boards/arm/frdm_kw41z/pinmux.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/boards/arm/frdm_kw41z/pinmux.c b/boards/arm/frdm_kw41z/pinmux.c index 206287ef55f..99b38cda92a 100644 --- a/boards/arm/frdm_kw41z/pinmux.c +++ b/boards/arm/frdm_kw41z/pinmux.c @@ -28,18 +28,6 @@ static int frdm_kw41z_pinmux_init(const struct device *dev) __ASSERT_NO_MSG(device_is_ready(portc)); #endif - /* Red, green, blue LEDs. Note the red LED and accel INT1 are both - * wired to PTC1. - */ -#if defined(CONFIG_PWM) && DT_NODE_HAS_STATUS(DT_NODELABEL(tpm0), okay) - pinmux_pin_set(portc, 1, PORT_PCR_MUX(kPORT_MuxAlt5)); -#endif - -#if defined(CONFIG_PWM) && DT_NODE_HAS_STATUS(DT_NODELABEL(tpm2), okay) - pinmux_pin_set(porta, 19, PORT_PCR_MUX(kPORT_MuxAlt5)); - pinmux_pin_set(porta, 18, PORT_PCR_MUX(kPORT_MuxAlt5)); -#endif - return 0; }