Skip to content

Commit

Permalink
boards: rddrone_fmuk66: correct pinmux errors
Browse files Browse the repository at this point in the history
Correct the following errors in rddrone pinmux:
- Pin selection for UART4 RTS line was incorrect, should use PTE27
- Pin selection for red PWM LED was incorrect, should use PTD1
- FlexCAN0/1 RX should not have pullup resistors (per prior pinmux.c
settings)
- FTM0_CH1_PTA4 does not require a pullup resistor
- LPUART0_RX_PTD8 requires a pullup resistor for UART RX to work

Fixes #44314

Signed-off-by: Daniel DeGrasse <[email protected]>
  • Loading branch information
danieldegrasse authored and mbolivar-nordic committed Apr 13, 2022
1 parent 5393103 commit e4b76ef
Showing 1 changed file with 14 additions and 25 deletions.
39 changes: 14 additions & 25 deletions boards/arm/rddrone_fmuk66/rddrone_fmuk66-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -34,41 +34,26 @@

flexcan0_default: flexcan0_default {
group0 {
pinmux = <CAN0_RX_PTB19>;
drive-strength = "low";
bias-pull-up;
slew-rate = "fast";
};
group1 {
pinmux = <CAN0_TX_PTB18>;
pinmux = <CAN0_RX_PTB19>,
<CAN0_TX_PTB18>;
drive-strength = "low";
slew-rate = "fast";
};
};

flexcan1_default: flexcan1_default {
group0 {
pinmux = <CAN1_RX_PTC16>;
drive-strength = "low";
bias-pull-up;
slew-rate = "fast";
};
group1 {
pinmux = <CAN1_TX_PTC17>;
pinmux = <CAN1_RX_PTC16>,
<CAN1_TX_PTC17>;
drive-strength = "low";
slew-rate = "fast";
};
};

ftm0_default: ftm0_default {
group0 {
pinmux = <FTM0_CH1_PTA4>;
drive-strength = "low";
bias-pull-up;
slew-rate = "fast";
};
group1 {
pinmux = <FTM0_CH0_PTC1>,
<FTM0_CH1_PTA4>,
<FTM0_CH4_PTD4>,
<FTM0_CH5_PTD5>;
drive-strength = "low";
Expand All @@ -79,7 +64,7 @@
/* conflicts with UART2 */
ftm3_default: ftm3_default {
group0 {
pinmux = <FTM3_CH3_PTD3>,
pinmux = <FTM3_CH1_PTD1>,
<FTM3_CH4_PTC8>,
<FTM3_CH5_PTC9>,
<FTM3_CH6_PTE11>,
Expand Down Expand Up @@ -109,8 +94,13 @@

lpuart0_default: lpuart0_default {
group0 {
pinmux = <LPUART0_RX_PTD8>,
<LPUART0_TX_PTD9>;
pinmux = <LPUART0_RX_PTD8>;
drive-strength = "low";
bias-pull-up;
slew-rate = "fast";
};
group1 {
pinmux = <LPUART0_TX_PTD9>;
drive-strength = "low";
slew-rate = "fast";
};
Expand Down Expand Up @@ -155,7 +145,6 @@
pinmux = <UART0_RX_PTA1>,
<UART0_TX_PTA2>;
drive-strength = "low";
bias-pull-up;
slew-rate = "fast";
};
};
Expand All @@ -182,7 +171,7 @@
uart4_default: uart4_default {
group0 {
pinmux = <UART4_CTS_b_PTC13>,
<UART4_RTS_b_PTC12>,
<UART4_RTS_b_PTE27>,
<UART4_RX_PTC14>,
<UART4_TX_PTC15>;
drive-strength = "low";
Expand Down

0 comments on commit e4b76ef

Please sign in to comment.