On Sat, Nov 30, 2019 at 09:23:14PM +0100, Hugo Grostabussiat wrote:
quoted hunk ↗ jump to hunk
The UART1 on the Teres-A64-I is connected to a rtl8723bs combo
WLAN/Bluetooth controller, with three GPIOs used for device reset,
host wake up and device wake up.
Currently, the host wake up feature is not supported by the HCI H5
driver.
Signed-off-by: Hugo Grostabussiat <redacted>
---
.../boot/dts/allwinner/sun50i-a64-teres-i.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
index 1069e7012c9c..b28e6d7cb227 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
@@ -325,6 +325,20 @@
status = "okay";
};
+&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
+ status = "okay";
You'll need to set uart-has-rtscts too.
Maxime