Skip to content

Commit

Permalink
ARM: dts: microchip: gardena-smart-gateway: Use DMA for USART3
Browse files Browse the repository at this point in the history
The AT91SAM9G25-based GARDENA smart Gateway uses USART3 (ttyS1) to
communicate (over PPP, at 115200 baud) with the radio module.

We have been experiencing packet loss and seeing errors on the ppp0
interface. Enabling DMA for the serial interface resolves the issues.

Co-developed-by: Michael Zimmermann <michael.zimmermann@grandcentrix.net>
Signed-off-by: Michael Zimmermann <michael.zimmermann@grandcentrix.net>
Signed-off-by: Ezra Buehler <ezra.buehler@husqvarnagroup.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20240102161839.702625-3-ezra.buehler@husqvarna.com
[claudiu.beznea: s/Co-Developed-by/Co-developed-by to make checkpatch.pl
 happy, s/at91/microchip in commit title]
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
  • Loading branch information
Ezra Buehler authored and Claudiu Beznea committed Feb 3, 2024
1 parent f8f4f44 commit 1ef75c6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -121,6 +121,8 @@
};

&usart3 {
atmel,use-dma-rx;
atmel,use-dma-tx;
status = "okay";

pinctrl-0 = <&pinctrl_usart3

0 comments on commit 1ef75c6

Please sign in to comment.