Skip to content

Commit 9ee55be

Browse files
boards: remove tpm pinmux usage for kinetis boards
tpm driver supports pinctrl. Remove pinmux usage for kinetis boards. Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent 0db7c70 commit 9ee55be

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

boards/arm/frdm_kw41z/pinmux.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,6 @@ static int frdm_kw41z_pinmux_init(const struct device *dev)
2828
__ASSERT_NO_MSG(device_is_ready(portc));
2929
#endif
3030

31-
/* Red, green, blue LEDs. Note the red LED and accel INT1 are both
32-
* wired to PTC1.
33-
*/
34-
#if defined(CONFIG_PWM) && DT_NODE_HAS_STATUS(DT_NODELABEL(tpm0), okay)
35-
pinmux_pin_set(portc, 1, PORT_PCR_MUX(kPORT_MuxAlt5));
36-
#endif
37-
38-
#if defined(CONFIG_PWM) && DT_NODE_HAS_STATUS(DT_NODELABEL(tpm2), okay)
39-
pinmux_pin_set(porta, 19, PORT_PCR_MUX(kPORT_MuxAlt5));
40-
pinmux_pin_set(porta, 18, PORT_PCR_MUX(kPORT_MuxAlt5));
41-
#endif
42-
4331
return 0;
4432
}
4533

0 commit comments

Comments
 (0)