* Linux: Update kernel 6.1.12 * Update generic_raw_uart to build with Linux 6.1 * Update Realtek rtl8821cu/rtl88x2bu to build with Linux 6.1 * Bump buildroot * buildroot 43f82f01b9...90aa1a6daa (1): > rtl8812au-aircrack-ng: bump to latest rev d98018 * Fix eq3_char_loop to build with Linux 6.1 * rtl8821cu: make sure -Werror is disabled for the kernel build * generic_raw_uart: make sure -Werror is disabled for the kernel build
64 lines
1.9 KiB
Diff
64 lines
1.9 KiB
Diff
From 479e2acb95c09b15382b3766391294790ebd200b Mon Sep 17 00:00:00 2001
|
|
Message-Id: <479e2acb95c09b15382b3766391294790ebd200b.1676488094.git.stefan@agner.ch>
|
|
In-Reply-To: <3553f8a938dbb498aa1846a37ea343b7f53739da.1676488094.git.stefan@agner.ch>
|
|
References: <3553f8a938dbb498aa1846a37ea343b7f53739da.1676488094.git.stefan@agner.ch>
|
|
From: Stefan Agner <stefan@agner.ch>
|
|
Date: Tue, 10 May 2022 22:57:26 +0200
|
|
Subject: [PATCH] ARM: dts: rockchip: Add Bluetooth to rk3288-tinker
|
|
|
|
Enable Bluetooth support via UART0. Use the existing bindings
|
|
for Realtek rtl8723bs Bluetooth device.
|
|
|
|
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
|
---
|
|
arch/arm/boot/dts/rk3288-tinker.dtsi | 26 ++++++++++++++++++++++++++
|
|
1 file changed, 26 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/rk3288-tinker.dtsi b/arch/arm/boot/dts/rk3288-tinker.dtsi
|
|
index c7e79e594720..5d261fae6e72 100644
|
|
--- a/arch/arm/boot/dts/rk3288-tinker.dtsi
|
|
+++ b/arch/arm/boot/dts/rk3288-tinker.dtsi
|
|
@@ -386,6 +386,20 @@ bl_en: bl-en {
|
|
};
|
|
};
|
|
|
|
+ bluetooth {
|
|
+ bt_enable_pin: bt-enable-pin {
|
|
+ rockchip,pins = <4 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
+ };
|
|
+
|
|
+ bt_device_wake_pin: bt-device-wake-pin {
|
|
+ rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
+ };
|
|
+
|
|
+ bt_host_wake_pin: bt-host-wake-pin {
|
|
+ rockchip,pins = <4 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
+ };
|
|
+ };
|
|
+
|
|
buttons {
|
|
pwrbtn: pwrbtn {
|
|
rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
|
|
@@ -518,6 +532,18 @@ &tsadc {
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
|
|
+ uart-has-rtscts;
|
|
+
|
|
+ bluetooth {
|
|
+ compatible = "realtek,rtl8723bs-bt";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&bt_device_wake_pin &bt_host_wake_pin &bt_enable_pin>;
|
|
+ enable-gpios = <&gpio4 RK_PD5 GPIO_ACTIVE_HIGH>;
|
|
+ device-wake-gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
|
|
+ host-wake-gpios = <&gpio4 RK_PD7 GPIO_ACTIVE_HIGH>;
|
|
+ };
|
|
};
|
|
|
|
&uart1 {
|
|
--
|
|
2.39.1
|
|
|