From: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org>
To: Marcel Holtmann <marcel@holtmann.org>,
Johan Hedberg <johan.hedberg@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Maxime Ripard <mripard@kernel.org>, Chen-Yu Tsai <wens@csie.org>
Cc: devicetree@vger.kernel.org,
Hugo Grostabussiat <bonstra@bonstra.fr.eu.org>,
linux-arm-kernel@lists.infradead.org,
linux-bluetooth@vger.kernel.org
Subject: [PATCH v4 3/3] arm64: dts: allwinner: a64: Enable Bluetooth on Teres-I
Date: Sat, 30 Nov 2019 21:23:14 +0100 [thread overview]
Message-ID: <20191130202314.142096-4-bonstra@bonstra.fr.eu.org> (raw)
In-Reply-To: <20191130202314.142096-1-bonstra@bonstra.fr.eu.org>
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 <bonstra@bonstra.fr.eu.org>
---
.../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";
+
+ bluetooth {
+ compatible = "realtek,rtl8723bs-bt";
+ powerdown-gpios = <&r_pio 0 4 GPIO_ACTIVE_LOW>; /* PL4 */
+ host-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */
+ device-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
+ firmware-name = "rtl8723bs_config-teres_a64_i.bin";
+ };
+};
+
&usbphy {
usb1_vbus-supply = <®_usb1_vbus>;
status = "okay";
--
2.24.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-11-30 20:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-30 20:23 [PATCH v4 0/3] Add Bluetooth support to Teres A64 I Hugo Grostabussiat
2019-11-30 20:23 ` [PATCH v4 1/3] dt-bindings: net: bluetooth: add DT bindings for Realtek controllers Hugo Grostabussiat
2019-12-02 19:03 ` Maxime Ripard
2019-12-13 22:27 ` Rob Herring
2019-11-30 20:23 ` [PATCH v4 2/3] Bluetooth: hci_h5: Add DT support for rtl8723bs Hugo Grostabussiat
2019-11-30 20:23 ` Hugo Grostabussiat [this message]
2019-12-02 19:03 ` [PATCH v4 3/3] arm64: dts: allwinner: a64: Enable Bluetooth on Teres-I Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191130202314.142096-4-bonstra@bonstra.fr.eu.org \
--to=bonstra@bonstra.fr.eu.org \
--cc=devicetree@vger.kernel.org \
--cc=johan.hedberg@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=mark.rutland@arm.com \
--cc=mripard@kernel.org \
--cc=robh+dt@kernel.org \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).