Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring DTSI to the latest state and correct RTS/CTS pin configuration #238

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion dts/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ URL:
https://github.com/STMicroelectronics/STM32_open_pin_data

Commit:
77c78c77ada5160c4891aef13cfd02cf1c87be27
f4ec11f00e762e37ffc4020f6d4f20d225bc061d

Maintained-by:
External
Expand Down
19 changes: 5 additions & 14 deletions dts/st/c0/stm32c011d6yx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -591,25 +591,21 @@
/omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 {
pinmux = <STM32_PINMUX('A', 11, AF1)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart1_cts_pb6: usart1_cts_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF5)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 {
pinmux = <STM32_PINMUX('A', 0, AF1)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart2_cts_pb7: usart2_cts_pb7 {
pinmux = <STM32_PINMUX('B', 7, AF9)>;
bias-pull-up;
drive-open-drain;
};

/* UART_DE / USART_DE / LPUART_DE */
Expand Down Expand Up @@ -643,32 +639,27 @@

/omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 {
pinmux = <STM32_PINMUX('A', 12, AF1)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart1_rts_pa14: usart1_rts_pa14 {
pinmux = <STM32_PINMUX('A', 14, AF12)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart1_rts_pb6: usart1_rts_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF4)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 {
pinmux = <STM32_PINMUX('A', 1, AF1)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart2_rts_pc14: usart2_rts_pc14 {
pinmux = <STM32_PINMUX('C', 14, AF9)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/* UART_RX / USART_RX / LPUART_RX */
Expand Down
19 changes: 5 additions & 14 deletions dts/st/c0/stm32c011f(4-6)px-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -591,25 +591,21 @@
/omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 {
pinmux = <STM32_PINMUX('A', 11, AF1)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart1_cts_pb6: usart1_cts_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF5)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 {
pinmux = <STM32_PINMUX('A', 0, AF1)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart2_cts_pb7: usart2_cts_pb7 {
pinmux = <STM32_PINMUX('B', 7, AF9)>;
bias-pull-up;
drive-open-drain;
};

/* UART_DE / USART_DE / LPUART_DE */
Expand Down Expand Up @@ -643,32 +639,27 @@

/omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 {
pinmux = <STM32_PINMUX('A', 12, AF1)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart1_rts_pa14: usart1_rts_pa14 {
pinmux = <STM32_PINMUX('A', 14, AF12)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart1_rts_pb6: usart1_rts_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF4)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 {
pinmux = <STM32_PINMUX('A', 1, AF1)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart2_rts_pc14: usart2_rts_pc14 {
pinmux = <STM32_PINMUX('C', 14, AF9)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/* UART_RX / USART_RX / LPUART_RX */
Expand Down
19 changes: 5 additions & 14 deletions dts/st/c0/stm32c011f(4-6)ux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -591,25 +591,21 @@
/omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 {
pinmux = <STM32_PINMUX('A', 11, AF1)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart1_cts_pb6: usart1_cts_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF5)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 {
pinmux = <STM32_PINMUX('A', 0, AF1)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart2_cts_pb7: usart2_cts_pb7 {
pinmux = <STM32_PINMUX('B', 7, AF9)>;
bias-pull-up;
drive-open-drain;
};

/* UART_DE / USART_DE / LPUART_DE */
Expand Down Expand Up @@ -643,32 +639,27 @@

/omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 {
pinmux = <STM32_PINMUX('A', 12, AF1)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart1_rts_pa14: usart1_rts_pa14 {
pinmux = <STM32_PINMUX('A', 14, AF12)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart1_rts_pb6: usart1_rts_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF4)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 {
pinmux = <STM32_PINMUX('A', 1, AF1)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart2_rts_pc14: usart2_rts_pc14 {
pinmux = <STM32_PINMUX('C', 14, AF9)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/* UART_RX / USART_RX / LPUART_RX */
Expand Down
19 changes: 5 additions & 14 deletions dts/st/c0/stm32c011j(4-6)mx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -456,25 +456,21 @@
/omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 {
pinmux = <STM32_PINMUX('A', 11, AF1)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart1_cts_pb6: usart1_cts_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF5)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 {
pinmux = <STM32_PINMUX('A', 0, AF1)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart2_cts_pb7: usart2_cts_pb7 {
pinmux = <STM32_PINMUX('B', 7, AF9)>;
bias-pull-up;
drive-open-drain;
};

/* UART_DE / USART_DE / LPUART_DE */
Expand Down Expand Up @@ -508,32 +504,27 @@

/omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 {
pinmux = <STM32_PINMUX('A', 12, AF1)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart1_rts_pa14: usart1_rts_pa14 {
pinmux = <STM32_PINMUX('A', 14, AF12)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart1_rts_pb6: usart1_rts_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF4)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 {
pinmux = <STM32_PINMUX('A', 1, AF1)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart2_rts_pc14: usart2_rts_pc14 {
pinmux = <STM32_PINMUX('C', 14, AF9)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/* UART_RX / USART_RX / LPUART_RX */
Expand Down
31 changes: 8 additions & 23 deletions dts/st/c0/stm32c031c(4-6)tx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -872,43 +872,36 @@
/omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 {
pinmux = <STM32_PINMUX('A', 11, AF1)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF4)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart1_cts_pb6: usart1_cts_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF5)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 {
pinmux = <STM32_PINMUX('A', 0, AF1)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart2_cts_pb7: usart2_cts_pb7 {
pinmux = <STM32_PINMUX('B', 7, AF9)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart2_cts_pb8: usart2_cts_pb8 {
pinmux = <STM32_PINMUX('B', 8, AF1)>;
bias-pull-up;
drive-open-drain;
};

/omit-if-no-ref/ usart2_cts_pd3: usart2_cts_pd3 {
pinmux = <STM32_PINMUX('D', 3, AF0)>;
bias-pull-up;
drive-open-drain;
};

/* UART_DE / USART_DE / LPUART_DE */
Expand Down Expand Up @@ -957,50 +950,42 @@

/omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 {
pinmux = <STM32_PINMUX('A', 12, AF1)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart1_rts_pa14: usart1_rts_pa14 {
pinmux = <STM32_PINMUX('A', 14, AF12)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart1_rts_pa15: usart1_rts_pa15 {
pinmux = <STM32_PINMUX('A', 15, AF4)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 {
pinmux = <STM32_PINMUX('B', 3, AF4)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart1_rts_pb6: usart1_rts_pb6 {
pinmux = <STM32_PINMUX('B', 6, AF4)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 {
pinmux = <STM32_PINMUX('A', 1, AF1)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart2_rts_pb9: usart2_rts_pb9 {
pinmux = <STM32_PINMUX('B', 9, AF1)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/omit-if-no-ref/ usart2_rts_pc14: usart2_rts_pc14 {
pinmux = <STM32_PINMUX('C', 14, AF9)>;
bias-pull-up;
drive-open-drain;
drive-push-pull;
};

/* UART_RX / USART_RX / LPUART_RX */
Expand Down
Loading
Loading