arm64: dts: hikey960: add WL1837 Bluetooth device node
authorGuodong Xu <guodong.xu@linaro.org>
Thu, 15 Jun 2017 03:04:05 +0000 (11:04 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Thu, 15 Jun 2017 10:50:22 +0000 (11:50 +0100)
This adds the serial slave device for the WL1837 Bluetooth interface.

Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts

index 0a3f2e00eb7855d2cf21147352e3e132bab1a991..c25fff980b772015370c84615192dbe1ec85503a 100644 (file)
@@ -9,6 +9,7 @@
 
 #include "hi3660.dtsi"
 #include "hikey960-pinctrl.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
        model = "HiKey960";
        status = "okay";
 };
 
+&uart4 {
+       status = "okay";
+
+       bluetooth {
+               compatible = "ti,wl1837-st";
+               enable-gpios = <&gpio15 6 GPIO_ACTIVE_HIGH>;
+               max-speed = <921600>;
+       };
+};
+
 &uart6 {
        /* On Low speed expansion */
        label = "LS-UART1";