NanoPi K2 add BT support
NanoPi K2 has built-in wifi/BT, add BT DT entry. Firmware has been added to armbian/firmware repo
This commit is contained in:
parent
abcfa76c9c
commit
2a78d51306
@ -0,0 +1,39 @@
|
||||
From 34102b1e56e764f185c2852d7dae4832f541fc56 Mon Sep 17 00:00:00 2001
|
||||
From: tonymac32 <tonymckahan@gmail.com>
|
||||
Date: Sun, 14 Nov 2021 18:43:37 -0500
|
||||
Subject: [PATCH] NanoPi K2 Enable Bluetooth
|
||||
|
||||
Signed-off-by: tonymac32 <tonymckahan@gmail.com>
|
||||
---
|
||||
.../arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 13 ++++++++++++-
|
||||
1 file changed, 12 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
|
||||
index 19706c7d7..3b2a57544 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
|
||||
@@ -409,9 +409,20 @@ &uart_AO {
|
||||
|
||||
/* Bluetooth on AP6212 */
|
||||
&uart_A {
|
||||
- status = "disabled";
|
||||
+ status = "okay";
|
||||
pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
|
||||
+ uart-has-rtscts;
|
||||
pinctrl-names = "default";
|
||||
+
|
||||
+ bluetooth {
|
||||
+ compatible = "brcm,bcm43438-bt";
|
||||
+ clocks = <&wifi_32k>;
|
||||
+ clock-names = "lpo";
|
||||
+ vbat-supply = <&vddio_ao3v3>;
|
||||
+ vddio-supply = <&vddio_ao18>;
|
||||
+ host-wakeup-gpios = <&gpio GPIOX_21 GPIO_ACTIVE_HIGH>;
|
||||
+ shutdown-gpios = <&gpio GPIOX_20 GPIO_ACTIVE_HIGH>;
|
||||
+ };
|
||||
};
|
||||
|
||||
/* 40-pin CON1 */
|
||||
--
|
||||
Created with Armbian build tools https://github.com/armbian/build
|
||||
|
||||
Loading…
Reference in New Issue
Block a user