mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
41 lines
1.4 KiB
Diff
41 lines
1.4 KiB
Diff
From 51557cb59db2cf6317ebb3a9ebbf2f808ed71bc7 Mon Sep 17 00:00:00 2001
|
|
From: Vasily Khoruzhick <anarsoul@gmail.com>
|
|
Date: Wed, 31 Oct 2018 20:50:09 -0700
|
|
Subject: arm64:dts: sun50i-a64-sopine-baseboard enable Bluetooth
|
|
|
|
SoPine has optional RTL8723BS WiFi + BT module, BT is connected to UART1
|
|
and uses PL4 as BT reset, PL5 as device wake GPIO, PL6 as host wake GPIO
|
|
the I2C controlling signals are connected to R_I2C bus.
|
|
|
|
Enable it in the device tree.
|
|
|
|
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
|
|
---
|
|
.../boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts | 10 +++++++++-
|
|
1 file changed, 9 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
|
|
index 8b6d6ae2a6b2..4b4ea1158734 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
|
|
@@ -199,7 +199,15 @@ &uart1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
|
|
uart-has-rtscts;
|
|
- status = "disabled";
|
|
+ status = "okay";
|
|
+
|
|
+ bluetooth {
|
|
+ compatible = "realtek,rtl8723bs-bt";
|
|
+ reset-gpios = <&r_pio 0 4 GPIO_ACTIVE_LOW>; /* PL4 */
|
|
+ device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */
|
|
+ host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
|
|
+ firmware-postfix = "pine64";
|
|
+ };
|
|
};
|
|
|
|
/* On Pi-2 connector */
|
|
--
|
|
2.51.0
|
|
|