aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-03-17 03:39:51 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-03-17 17:41:24 +0000
commit53a7d5d614050a38a4e78f5a9e153e7612d587f0 (patch)
tree524a8bf47cc317c9e0ec6d105f980a1494290b2f /target
parent6eca2e40e74e8385459d9437f49eb7e058f78548 (diff)
downloadupstream-53a7d5d614050a38a4e78f5a9e153e7612d587f0.tar.gz
upstream-53a7d5d614050a38a4e78f5a9e153e7612d587f0.tar.bz2
upstream-53a7d5d614050a38a4e78f5a9e153e7612d587f0.zip
ath79: fix RS-485 on Teltonika RUT-955
DTR GPIO isn't actually needed and triggers boot warning. TX pin was off by one (GPIO 19 instead of GPIO 18). Reported-by: @tophirsch Fixes: d1130ad265 ("ath79: add support for Teltonika RUT955") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ath79/dts/ar9344_teltonika_rut955-h7v3c0.dts4
-rw-r--r--target/linux/ath79/dts/ar9344_teltonika_rut955.dts4
-rw-r--r--target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi12
3 files changed, 6 insertions, 14 deletions
diff --git a/target/linux/ath79/dts/ar9344_teltonika_rut955-h7v3c0.dts b/target/linux/ath79/dts/ar9344_teltonika_rut955-h7v3c0.dts
index f61f2bf628..eb9606e58b 100644
--- a/target/linux/ath79/dts/ar9344_teltonika_rut955-h7v3c0.dts
+++ b/target/linux/ath79/dts/ar9344_teltonika_rut955-h7v3c0.dts
@@ -159,10 +159,6 @@
};
};
-&hs_uart {
- dtr-gpios = <&gpio_ext 15 GPIO_ACTIVE_HIGH>;
-};
-
&eth0 {
status = "okay";
diff --git a/target/linux/ath79/dts/ar9344_teltonika_rut955.dts b/target/linux/ath79/dts/ar9344_teltonika_rut955.dts
index 7914928aa0..ba840a05d3 100644
--- a/target/linux/ath79/dts/ar9344_teltonika_rut955.dts
+++ b/target/linux/ath79/dts/ar9344_teltonika_rut955.dts
@@ -158,10 +158,6 @@
};
};
-&hs_uart {
- dtr-gpios = <&gpio_ext 13 GPIO_ACTIVE_HIGH>;
-};
-
&eth0 {
status = "okay";
diff --git a/target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi b/target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi
index 88b9170fc0..d9c66d2745 100644
--- a/target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi
+++ b/target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi
@@ -154,20 +154,20 @@
&pinmux {
pmx_spi: spi {
// SPI_CS1 on GPIO 3
- pinctrl-single,bits = <0x0 0x07000000 0xff000000>;
+ pinctrl-single,bits = <0x0 0x07000000 0xff000000>;
};
pmx_leds_switch: leds_switch {
// switch port LEDs on GPIO 1, GPIO 13, GPIO 14 and GPIO 22
- pinctrl-single,bits = <0x0 0x00002d00 0x0000ff00>,
- <0xc 0x002c2b00 0x00ffff00>,
+ pinctrl-single,bits = <0x00 0x00002d00 0x0000ff00>,
+ <0x0c 0x002c2b00 0x00ffff00>,
<0x14 0x002a0000 0x00ff0000>;
};
pmx_uart2: uart2 {
// UART1_DTR on GPIO 0, UART1_RD on GPIO 11, UART1_TD on GPIO 18
- pinctrl-single,bits = <0x0 0x0 0xff>,
- <0x10 0x4f000000 0xff000000>,
- <0x3c 0x000b0000 0x00ff0000>;
+ pinctrl-single,bits = <0x00 0x00000000 0x000000ff>,
+ <0x10 0x004f0000 0x00ff0000>,
+ <0x3c 0x000b0000 0x00ff0000>;
};
};