Skip to content

Commit 60f77ae

Browse files
anderssonAndy Gross
authored and
Andy Gross
committed
arm64: dts: qcom: qcs404-evb: Enable uart3 and add Bluetooth
Enable blsp1_uart3, define its pinconf and add the bluetooth node. It seems provisioning is lacking a valid BD address, preventing the interface from initializing, so provide a dummy for now. Tested-by: Vinod Koul <[email protected]> Reviewed-by: Vinod Koul <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Signed-off-by: Andy Gross <[email protected]>
1 parent 8faea8e commit 60f77ae

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

arch/arm64/boot/dts/qcom/qcs404-evb.dtsi

+45
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/ {
88
aliases {
99
serial0 = &blsp1_uart2;
10+
serial1 = &blsp1_uart3;
1011
};
1112

1213
chosen {
@@ -19,6 +20,32 @@
1920
regulator-always-on;
2021
regulator-boot-on;
2122
};
23+
24+
vdd_ch0_3p3:
25+
vdd_esmps3_3p3: vdd-esmps3-3p3-regulator {
26+
compatible = "regulator-fixed";
27+
regulator-name = "eSMPS3_3P3";
28+
29+
regulator-min-microvolt = <3300000>;
30+
regulator-max-microvolt = <3300000>;
31+
regulator-always-on;
32+
};
33+
};
34+
35+
&blsp1_uart3 {
36+
status = "okay";
37+
38+
bluetooth {
39+
compatible = "qcom,wcn3990-bt";
40+
vddio-supply = <&vreg_l6_1p8>;
41+
vddxo-supply = <&vreg_l5_1p8>;
42+
vddrf-supply = <&vreg_l1_1p3>;
43+
vddch0-supply = <&vdd_ch0_3p3>;
44+
45+
local-bd-address = [ 02 00 00 00 5a ad ];
46+
47+
max-speed = <3200000>;
48+
};
2249
};
2350

2451
&blsp1_dma {
@@ -225,3 +252,21 @@
225252
bias-disable;
226253
};
227254
};
255+
256+
&blsp1_uart3_default {
257+
cts {
258+
pins = "gpio84";
259+
bias-disable;
260+
};
261+
262+
rts-tx {
263+
pins = "gpio85", "gpio82";
264+
drive-strength = <2>;
265+
bias-disable;
266+
};
267+
268+
rx {
269+
pins = "gpio83";
270+
bias-pull-up;
271+
};
272+
};

0 commit comments

Comments
 (0)