summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorReto Schneider <reto.schneider@husqvarnagroup.com>2020-01-14 09:48:06 +0100
committerPaul Burton <paulburton@kernel.org>2020-01-14 16:02:34 -0800
commite8c192011c920517e5578d51c7aff0ecadd25de3 (patch)
tree89e66a59230a0f4ca9dd375c6976b90695e42464 /arch
parenta5d193cb88cf6c5bfc771db6f34eebca51fd767a (diff)
MIPS: ralink: dts: gardena_smart_gateway_mt7688: Limit UART1
The radio module asserts CTS when its RX buffer has 10 bytes left. Putting just 8 instead of 16 bytes into the UART1 TX buffer on the Linux side ensures to not overflow the RX buffer on the radio module side. Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com> Signed-off-by: Stefan Roese <sr@denx.de> Cc: Paul Burton <paul.burton@mips.com> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/boot/dts/ralink/gardena_smart_gateway_mt7688.dts3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/ralink/gardena_smart_gateway_mt7688.dts b/arch/mips/boot/dts/ralink/gardena_smart_gateway_mt7688.dts
index 2d979eb744dc..6069b33cf09f 100644
--- a/arch/mips/boot/dts/ralink/gardena_smart_gateway_mt7688.dts
+++ b/arch/mips/boot/dts/ralink/gardena_smart_gateway_mt7688.dts
@@ -177,6 +177,9 @@
pinctrl-names = "default";
pinctrl-0 = <&pinmux_i2s_gpio>; /* GPIO0..3 */
+ fifo-size = <8>;
+ tx-threshold = <8>;
+
rts-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
cts-gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};