linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v2] arm64: dts: allwinner: bluetooth for Emlid Neutis N5
  2019-11-01  9:43 [PATCH v2] arm64: dts: allwinner: bluetooth for Emlid Neutis N5 Georgii Staroselskii
@ 2019-11-01  9:12 ` Maxime Ripard
  0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2019-11-01  9:12 UTC (permalink / raw)
  To: Georgii Staroselskii
  Cc: devicetree, wens, robh+dt, linux-sunxi, linux-arm-kernel


[-- Attachment #1.1: Type: text/plain, Size: 395 bytes --]

On Fri, Nov 01, 2019 at 12:43:33PM +0300, Georgii Staroselskii wrote:
> The Emlid Neutis N5 board has AP6212 BT+WiFi chip. This patch is in
> line with 8558c6e21ceb ("ARM: dts: sun8i: h3: bluetooth for Banana Pi
> M2 Zero board") and other commits that add Bluetooth support for
> similar boards.
>
> Signed-off-by: Georgii Staroselskii <georgii.staroselskii@emlid.com>

Applied, thanks!
Maxime

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

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH v2] arm64: dts: allwinner: bluetooth for Emlid Neutis N5
@ 2019-11-01  9:43 Georgii Staroselskii
  2019-11-01  9:12 ` Maxime Ripard
  0 siblings, 1 reply; 2+ messages in thread
From: Georgii Staroselskii @ 2019-11-01  9:43 UTC (permalink / raw)
  To: mripard, robh+dt, wens
  Cc: devicetree, linux-sunxi, linux-arm-kernel, Georgii Staroselskii

The Emlid Neutis N5 board has AP6212 BT+WiFi chip. This patch is in
line with 8558c6e21ceb ("ARM: dts: sun8i: h3: bluetooth for Banana Pi
M2 Zero board") and other commits that add Bluetooth support for
similar boards.

Signed-off-by: Georgii Staroselskii <georgii.staroselskii@emlid.com>
---
 .../arm64/boot/dts/allwinner/sun50i-h5-emlid-neutis-n5.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-emlid-neutis-n5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5-emlid-neutis-n5.dtsi
index 82f4b44..5bec574 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-emlid-neutis-n5.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-emlid-neutis-n5.dtsi
@@ -23,6 +23,8 @@
 		compatible = "mmc-pwrseq-simple";
 		reset-gpios = <&pio 2 7 GPIO_ACTIVE_LOW>; /* PC7 */
 		post-power-on-delay-ms = <200>;
+		clocks = <&rtc 1>;
+		clock-names = "ext_clock";
 	};
 };
 
@@ -56,5 +58,16 @@
 &uart1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
+	uart-has-rtscts;
 	status = "okay";
+
+	bluetooth {
+		compatible = "brcm,bcm43438-bt";
+		clocks = <&rtc 1>;
+		clock-names = "lpo";
+		vbat-supply = <&reg_vcc3v3>;
+		vddio-supply = <&reg_vcc3v3>;
+		shutdown-gpios = <&pio 2 4 GPIO_ACTIVE_HIGH>; /* PC4 */
+		device-wakeup-gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */
+	};
 };
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-11-01  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-01  9:43 [PATCH v2] arm64: dts: allwinner: bluetooth for Emlid Neutis N5 Georgii Staroselskii
2019-11-01  9:12 ` 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).