[PATCH] arm64: dts: allwinner: h6: PineH64 model B: Add bluetooth

26 views
Skip to first unread message

Jernej Skrabec

unread,
Jan 10, 2021, 4:16:15 PM1/10/21
to mri...@kernel.org, we...@csie.org, rob...@kernel.org, jernej....@siol.net, devic...@vger.kernel.org, linux-ar...@lists.infradead.org, linux-...@vger.kernel.org, linux...@googlegroups.com
PineH64 model B has wifi+bt combo module. Wifi is already supported, so
lets add also bluetooth node.

Signed-off-by: Jernej Skrabec <jernej....@siol.net>
---
.../dts/allwinner/sun50i-h6-pine-h64-model-b.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts
index 7fea1e4e2d49..645bd8761eb5 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts
@@ -34,3 +34,18 @@ &mmc1 {
non-removable;
status = "okay";
};
+
+&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
+ uart-has-rtscts;
+ status = "okay";
+
+ bluetooth {
+ compatible = "realtek,rtl8723bs-bt";
+ device-wakeup-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */
+ host-wakeup-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */
+ enable-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */
+ max-speed = <1500000>;
+ };
+};
--
2.30.0

Chen-Yu Tsai

unread,
Jan 13, 2021, 3:51:46 AM1/13/21
to Jernej Skrabec, Maxime Ripard, Rob Herring, devicetree, linux-arm-kernel, linux-kernel, linux-sunxi
On Mon, Jan 11, 2021 at 5:16 AM Jernej Skrabec <jernej....@siol.net> wrote:
>
> PineH64 model B has wifi+bt combo module. Wifi is already supported, so
> lets add also bluetooth node.
>
> Signed-off-by: Jernej Skrabec <jernej....@siol.net>

Acked-by: Chen-Yu Tsai <we...@csie.org>

Looks good to me, though I couldn't find anything on the polarity
of the interrupt lines.

ChenYu

Maxime Ripard

unread,
Jan 13, 2021, 3:57:34 AM1/13/21
to Jernej Skrabec, we...@csie.org, rob...@kernel.org, devic...@vger.kernel.org, linux-ar...@lists.infradead.org, linux-...@vger.kernel.org, linux...@googlegroups.com
On Sun, Jan 10, 2021 at 10:16:06PM +0100, Jernej Skrabec wrote:
> PineH64 model B has wifi+bt combo module. Wifi is already supported, so
> lets add also bluetooth node.
>
> Signed-off-by: Jernej Skrabec <jernej....@siol.net>

Applied, thanks
Maxime
signature.asc
Reply all
Reply to author
Forward
0 new messages