-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path0008-arm64-dts-qcom-x1e80100-dell-xps13-9345-Add-bluetoot.patch
64 lines (56 loc) · 1.64 KB
/
0008-arm64-dts-qcom-x1e80100-dell-xps13-9345-Add-bluetoot.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
From 4cf843e7aea772167f7e955900b95a365f7c6e83 Mon Sep 17 00:00:00 2001
From: Aleksandrs Vinarskis <alex.vinarskis@gmail.com>
Date: Sat, 28 Sep 2024 08:56:33 +0200
Subject: [PATCH 8/8] arm64: dts: qcom: x1e80100-dell-xps13-9345: Add bluetooth
nodes
Enable bluetooth. Setup turned out to be identical to x1e80100-crd.
No regulators added, as due to lack of access to schematics that would
be guesstimating.
Signed-off-by: Aleksandrs Vinarskis <alex.vinarskis@gmail.com>
---
.../dts/qcom/x1e80100-dell-xps13-9345.dts | 21 +++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts b/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts
index 2bfbcd12e1c2..6f417d296dd2 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts
+++ b/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts
@@ -22,6 +22,7 @@ / {
aliases {
serial0 = &uart21;
+ serial1 = &uart14;
};
gpio-keys {
@@ -936,6 +937,14 @@ &tlmm {
<76 4>, /* SPI19 (TZ Protected) */
<238 1>; /* UFS Reset */
+ bt_en_default: bt-en-sleep {
+ pins = "gpio116";
+ function = "gpio";
+ output-low;
+ bias-disable;
+ qcom,drive-strength = <16>;
+ };
+
cam_indicator_en: cam-indicator-en-state {
pins = "gpio110";
function = "gpio";
@@ -1094,6 +1103,18 @@ reset-n-pins {
};
};
+&uart14 {
+ status = "okay";
+
+ bluetooth: bt_wcn7850 {
+ compatible = "qcom,wcn7850-bt";
+ pinctrl-names = "default";
+ pinctrl-0 = <&bt_en_default>;
+ enable-gpios = <&tlmm 116 GPIO_ACTIVE_HIGH>;
+ max-speed = <3200000>;
+ };
+};
+
&uart21 {
compatible = "qcom,geni-debug-uart";
status = "okay";
--
2.45.2