pmaports/device/main/linux-postmarketos-allwinner/0004-arm64-dts-allwinner-Add-bluetooth-node-to-the-PineTa.patch
Fiona Klute 79d3be2826
linux-postmarketos-allwinner: upgrade to 6.7.0 (MR 4706)
Fixes #2349. Patches refreshed because some didn't apply when I built
directly from local repo and tried to import them with "git am".

Known issue: NetworkManager fails to assign IP to usb0, I had to
assign it manually to use USB networking.
2024-01-11 12:34:48 +01:00

36 lines
1.1 KiB
Diff

From 4886da94b7d5fec7029ea27df107715c13c4ac10 Mon Sep 17 00:00:00 2001
From: Martijn Braam <martijn@brixit.nl>
Date: Tue, 20 Oct 2020 16:12:08 +0200
Subject: [PATCH] arm64: dts: allwinner: Add bluetooth node to the PineTab
---
.../arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts
index 26ca14a664..ffb36f69f5 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts
@@ -514,6 +514,19 @@ &uart0 {
status = "okay";
};
+&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
+ status = "okay";
+
+ bluetooth {
+ compatible = "realtek,rtl8723cs-bt";
+ reset-gpios = <&r_pio 0 4 GPIO_ACTIVE_LOW>; /* PL4 */
+ device-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_LOW>; /* PL6 */
+ host-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */
+ };
+};
+
&usb_otg {
dr_mode = "otg";
status = "okay";
--
2.43.0