diff mbox

[08/12] arm64: dts: hikey960: add WL1837 Bluetooth device node

Message ID 20170517083745.24479-9-guodong.xu@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Guodong Xu May 17, 2017, 8:37 a.m. UTC
This adds the serial slave device for the WL1837 Bluetooth interface.

Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
---
 arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Rob Herring (Arm) May 23, 2017, 12:45 a.m. UTC | #1
On Wed, May 17, 2017 at 04:37:41PM +0800, Guodong Xu wrote:
> This adds the serial slave device for the WL1837 Bluetooth interface.
> 
> Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
> ---
>  arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
> index 513c496..69aa207 100644
> --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
> +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
> @@ -9,6 +9,7 @@
>  
>  #include "hi3660.dtsi"
>  #include "hikey960-pinctrl.dtsi"
> +#include <dt-bindings/gpio/gpio.h>
>  
>  / {
>  	model = "HiKey960";
> @@ -55,6 +56,16 @@
>  	status = "okay";
>  };
>  
> +&uart4 {
> +	status = "okay";
> +	max-speed = <921600>;

This goes in the bluetooth node.

> +
> +	bluetooth {
> +		compatible = "ti,wl1837-st";
> +		enable-gpios = <&gpio15 6 GPIO_ACTIVE_HIGH>;
> +	};
> +};
> +
>  &uart6 {
>  	status = "okay";
>  };
> -- 
> 2.10.2
>
Guodong Xu May 23, 2017, 8:15 a.m. UTC | #2
On Tue, May 23, 2017 at 8:45 AM, Rob Herring <robh@kernel.org> wrote:
> On Wed, May 17, 2017 at 04:37:41PM +0800, Guodong Xu wrote:
>> This adds the serial slave device for the WL1837 Bluetooth interface.
>>
>> Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
>> ---
>>  arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 11 +++++++++++
>>  1 file changed, 11 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
>> index 513c496..69aa207 100644
>> --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
>> +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
>> @@ -9,6 +9,7 @@
>>
>>  #include "hi3660.dtsi"
>>  #include "hikey960-pinctrl.dtsi"
>> +#include <dt-bindings/gpio/gpio.h>
>>
>>  / {
>>       model = "HiKey960";
>> @@ -55,6 +56,16 @@
>>       status = "okay";
>>  };
>>
>> +&uart4 {
>> +     status = "okay";
>> +     max-speed = <921600>;
>
> This goes in the bluetooth node.

Yeah, thanks. I will fix.

-Guodong

>
>> +
>> +     bluetooth {
>> +             compatible = "ti,wl1837-st";
>> +             enable-gpios = <&gpio15 6 GPIO_ACTIVE_HIGH>;
>> +     };
>> +};
>> +
>>  &uart6 {
>>       status = "okay";
>>  };
>> --
>> 2.10.2
>>
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
index 513c496..69aa207 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
@@ -9,6 +9,7 @@ 
 
 #include "hi3660.dtsi"
 #include "hikey960-pinctrl.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
 	model = "HiKey960";
@@ -55,6 +56,16 @@ 
 	status = "okay";
 };
 
+&uart4 {
+	status = "okay";
+	max-speed = <921600>;
+
+	bluetooth {
+		compatible = "ti,wl1837-st";
+		enable-gpios = <&gpio15 6 GPIO_ACTIVE_HIGH>;
+	};
+};
+
 &uart6 {
 	status = "okay";
 };