2022-03-25 18:19:44

by Viacheslav

[permalink] [raw]
Subject: [PATCH 1/3] arm64: meson: add dts bluetooth node for JetHub H1

From: Vyacheslav Bocharov <[email protected]>

Add bluetooth node for RTL8822CS uart to JetHub H1 dts file.

Signed-off-by: Vyacheslav Bocharov <[email protected]>
---
.../boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts
index 6eafb908695f..a5ee7ed17efa 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts
@@ -213,6 +213,11 @@ &uart_A {
pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
pinctrl-names = "default";
uart-has-rtscts;
+ bluetooth {
+ compatible = "realtek,rtl8822cs-bt";
+ enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
+ host-wake-gpios = <&gpio GPIOX_18 GPIO_ACTIVE_HIGH>;
+ };
};

&uart_C {
--
2.30.2


2022-03-25 20:22:21

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH 1/3] arm64: meson: add dts bluetooth node for JetHub H1

Hi,

On 25/03/2022 17:54, Vyacheslav Bocharov wrote:
> From: Vyacheslav Bocharov <[email protected]>
>
> Add bluetooth node for RTL8822CS uart to JetHub H1 dts file.
>
> Signed-off-by: Vyacheslav Bocharov <[email protected]>
> ---
> .../boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts
> index 6eafb908695f..a5ee7ed17efa 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts
> @@ -213,6 +213,11 @@ &uart_A {
> pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
> pinctrl-names = "default";
> uart-has-rtscts;

Please add a blank here to match other DT files.

> + bluetooth {
> + compatible = "realtek,rtl8822cs-bt";
> + enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
> + host-wake-gpios = <&gpio GPIOX_18 GPIO_ACTIVE_HIGH>;
> + };
> };
>
> &uart_C {