boards: remove flexcan pinmux configuration for kinetis boards
Remove flexcan pinmux configuration for kinetis boards, as flexcan driver uses pinctrl Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
a7f85f1ca1
commit
7260cb7dc1
4 changed files with 2 additions and 25 deletions
|
@ -43,13 +43,6 @@ static int frdm_k64f_pinmux_init(const struct device *dev)
|
|||
pinmux_pin_set(portb, 10, PORT_PCR_MUX(kPORT_PinDisabledOrAnalog));
|
||||
#endif
|
||||
|
||||
#if DT_NODE_HAS_STATUS(DT_NODELABEL(flexcan0), okay) && CONFIG_CAN
|
||||
/* FlexCAN0 RX, TX */
|
||||
pinmux_pin_set(portb, 18, PORT_PCR_MUX(kPORT_MuxAlt2));
|
||||
pinmux_pin_set(portb, 19, PORT_PCR_MUX(kPORT_MuxAlt2) |
|
||||
PORT_PCR_PE_MASK | PORT_PCR_PS_MASK);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -215,6 +215,8 @@ zephyr_udc0: &usb1 {
|
|||
&flexcan2 {
|
||||
status = "okay";
|
||||
bus-speed = <125000>;
|
||||
pinctrl-0 = <&pinmux_flexcan2>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
can-transceiver {
|
||||
max-bitrate = <5000000>;
|
||||
|
|
|
@ -46,18 +46,6 @@ static int rddrone_fmuk66_pinmux_init(const struct device *dev)
|
|||
pinmux_pin_set(portd, 9, PORT_PCR_MUX(kPORT_MuxAlt5));
|
||||
#endif
|
||||
|
||||
#if DT_NODE_HAS_STATUS(DT_NODELABEL(flexcan0), okay) && CONFIG_CAN
|
||||
/* CAN0 TX, RX */
|
||||
pinmux_pin_set(portb, 18, PORT_PCR_MUX(kPORT_MuxAlt2));
|
||||
pinmux_pin_set(portb, 19, PORT_PCR_MUX(kPORT_MuxAlt2));
|
||||
#endif
|
||||
|
||||
#if DT_NODE_HAS_STATUS(DT_NODELABEL(flexcan1), okay) && CONFIG_CAN
|
||||
/* CAN1 TX, RX */
|
||||
pinmux_pin_set(portc, 17, PORT_PCR_MUX(kPORT_MuxAlt2));
|
||||
pinmux_pin_set(portc, 16, PORT_PCR_MUX(kPORT_MuxAlt2));
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -92,12 +92,6 @@ static int twr_ke18f_pinmux_init(const struct device *dev)
|
|||
pinmux_pin_set(portd, 8, PORT_PCR_MUX(kPORT_MuxAlt2));
|
||||
#endif
|
||||
|
||||
#if DT_NODE_HAS_STATUS(DT_NODELABEL(flexcan0), okay) && CONFIG_CAN
|
||||
/* FlexCAN0 RX, TX */
|
||||
pinmux_pin_set(porte, 4, PORT_PCR_MUX(kPORT_MuxAlt5));
|
||||
pinmux_pin_set(porte, 5, PORT_PCR_MUX(kPORT_MuxAlt5));
|
||||
#endif
|
||||
|
||||
#if DT_NODE_HAS_STATUS(DT_NODELABEL(adc0), okay) && CONFIG_ADC
|
||||
/* Thermistor A, B */
|
||||
pinmux_pin_set(porta, 0, PORT_PCR_MUX(kPORT_PinDisabledOrAnalog));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue