linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: allwinner: h6: PineH64 model B: Add bluetooth
@ 2021-01-10 21:16 Jernej Skrabec
  2021-01-13  8:51 ` [linux-sunxi] " Chen-Yu Tsai
  2021-01-13  8:57 ` Maxime Ripard
  0 siblings, 2 replies; 3+ messages in thread
From: Jernej Skrabec @ 2021-01-10 21:16 UTC (permalink / raw)
  To: mripard, wens
  Cc: robh+dt, jernej.skrabec, devicetree, linux-arm-kernel,
	linux-kernel, linux-sunxi

PineH64 model B has wifi+bt combo module. Wifi is already supported, so
lets add also bluetooth node.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
---
 .../dts/allwinner/sun50i-h6-pine-h64-model-b.dts  | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts
index 7fea1e4e2d49..645bd8761eb5 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts
@@ -34,3 +34,18 @@ &mmc1 {
 	non-removable;
 	status = "okay";
 };
+
+&uart1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
+	uart-has-rtscts;
+	status = "okay";
+
+	bluetooth {
+		compatible = "realtek,rtl8723bs-bt";
+		device-wakeup-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */
+		host-wakeup-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */
+		enable-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */
+		max-speed = <1500000>;
+	};
+};
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [linux-sunxi] [PATCH] arm64: dts: allwinner: h6: PineH64 model B: Add bluetooth
  2021-01-10 21:16 [PATCH] arm64: dts: allwinner: h6: PineH64 model B: Add bluetooth Jernej Skrabec
@ 2021-01-13  8:51 ` Chen-Yu Tsai
  2021-01-13  8:57 ` Maxime Ripard
  1 sibling, 0 replies; 3+ messages in thread
From: Chen-Yu Tsai @ 2021-01-13  8:51 UTC (permalink / raw)
  To: Jernej Skrabec
  Cc: Maxime Ripard, Rob Herring, devicetree, linux-arm-kernel,
	linux-kernel, linux-sunxi

On Mon, Jan 11, 2021 at 5:16 AM Jernej Skrabec <jernej.skrabec@siol.net> wrote:
>
> PineH64 model B has wifi+bt combo module. Wifi is already supported, so
> lets add also bluetooth node.
>
> Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>

Acked-by: Chen-Yu Tsai <wens@csie.org>

Looks good to me, though I couldn't find anything on the polarity
of the interrupt lines.

ChenYu

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: dts: allwinner: h6: PineH64 model B: Add bluetooth
  2021-01-10 21:16 [PATCH] arm64: dts: allwinner: h6: PineH64 model B: Add bluetooth Jernej Skrabec
  2021-01-13  8:51 ` [linux-sunxi] " Chen-Yu Tsai
@ 2021-01-13  8:57 ` Maxime Ripard
  1 sibling, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2021-01-13  8:57 UTC (permalink / raw)
  To: Jernej Skrabec
  Cc: wens, robh+dt, devicetree, linux-arm-kernel, linux-kernel, linux-sunxi

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]

On Sun, Jan 10, 2021 at 10:16:06PM +0100, Jernej Skrabec wrote:
> PineH64 model B has wifi+bt combo module. Wifi is already supported, so
> lets add also bluetooth node.
> 
> Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>

Applied, thanks
Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-13  8:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-10 21:16 [PATCH] arm64: dts: allwinner: h6: PineH64 model B: Add bluetooth Jernej Skrabec
2021-01-13  8:51 ` [linux-sunxi] " Chen-Yu Tsai
2021-01-13  8:57 ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).