summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
diff options
context:
space:
mode:
authorThierry Escande <thierry.escande@linaro.org>2018-03-29 21:15:22 +0200
committerAndy Gross <andy.gross@linaro.org>2018-05-22 23:28:51 -0500
commit3e4cb73080d766b747af69decfc0efb4288a550f (patch)
treef590fd4cff875c113d47ba562231e3abc58c6562 /arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
parent5360394706fcc88e342e50af17dc64d8908ba475 (diff)
downloadlinux-stable-3e4cb73080d766b747af69decfc0efb4288a550f.tar.gz
linux-stable-3e4cb73080d766b747af69decfc0efb4288a550f.tar.bz2
linux-stable-3e4cb73080d766b747af69decfc0efb4288a550f.zip
arm64: dts: apq8096-db820c: enable bluetooth node
Add a new serial node for the Qualcomm BT controller QCA6174. This allows automatic probing and hci registration through the serdev framework instead of relying on the userspace helpers. Signed-off-by: Thierry Escande <thierry.escande@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi')
-rw-r--r--arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi30
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
index ee025ce36993..41be5004a3c9 100644
--- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
@@ -23,6 +23,7 @@
aliases {
serial0 = &blsp2_uart1;
serial1 = &blsp2_uart2;
+ serial2 = &blsp1_uart1;
i2c0 = &blsp1_i2c2;
i2c1 = &blsp2_i2c1;
i2c2 = &blsp2_i2c0;
@@ -34,7 +35,36 @@
stdout-path = "serial0:115200n8";
};
+ clocks {
+ divclk4: divclk4 {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <32768>;
+ clock-output-names = "divclk4";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&divclk4_pin_a>;
+ };
+ };
+
soc {
+ serial@7570000 {
+ label = "BT-UART";
+ status = "okay";
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&blsp1_uart1_default>;
+ pinctrl-1 = <&blsp1_uart1_sleep>;
+
+ bluetooth {
+ compatible = "qcom,qca6174-bt";
+
+ /* bt_disable_n gpio */
+ enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>;
+
+ clocks = <&divclk4>;
+ };
+ };
+
serial@75b0000 {
label = "LS-UART1";
status = "okay";