aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEzra Buehler <ezra.buehler@husqvarnagroup.com>2024-01-02 17:18:39 +0100
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>2024-02-03 19:00:33 +0200
commit1ef75c67f15df1106a673b8de8c62dda6aa57861 (patch)
treec1dffe9bf6801043188592a1000fe9906e7c563d
parentARM: dts: microchip: at91sam9x5ek: Use DMA for DBGU serial port (diff)
downloadwireguard-linux-1ef75c67f15df1106a673b8de8c62dda6aa57861.tar.xz
wireguard-linux-1ef75c67f15df1106a673b8de8c62dda6aa57861.zip
ARM: dts: microchip: gardena-smart-gateway: Use DMA for USART3
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>
-rw-r--r--arch/arm/boot/dts/microchip/at91sam9g25-gardena-smart-gateway.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/microchip/at91sam9g25-gardena-smart-gateway.dts b/arch/arm/boot/dts/microchip/at91sam9g25-gardena-smart-gateway.dts
index 92f2c05c873f..af70eb8a3a02 100644
--- a/arch/arm/boot/dts/microchip/at91sam9g25-gardena-smart-gateway.dts
+++ b/arch/arm/boot/dts/microchip/at91sam9g25-gardena-smart-gateway.dts
@@ -121,6 +121,8 @@
};
&usart3 {
+ atmel,use-dma-rx;
+ atmel,use-dma-tx;
status = "okay";
pinctrl-0 = <&pinctrl_usart3