]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: monaco-arduino-monza: Add Bluetooth UART node
authorShuai Zhang <shuai.zhang@oss.qualcomm.com>
Wed, 29 Apr 2026 10:35:37 +0000 (18:35 +0800)
committerBjorn Andersson <andersson@kernel.org>
Fri, 22 May 2026 03:46:48 +0000 (22:46 -0500)
The QCA2066 Bluetooth chip is powered by a board-level 3.3 V supply
provided by the hardware. This change connects the Bluetooth
controller via UART10, and the corresponding GPIO is used to enable
the Bluetooth chip.

basic function test step:
 - bluetoothctl power on/off
 - bluetoothctl scan bredr/le
 - bluetoothctl pair <remote device address>
 - bluetoothctl connect <remote device address>

low-state test and state:
 - rtcwake -d /dev/rtc0 -m no -s 30 && systemctl suspend

cat /sys/kernel/debug/suspend_stats
success: 1
fail: 0
failed_freeze: 0
failed_prepare: 0
failed_suspend: 0
failed_suspend_late: 0
failed_suspend_noirq: 0
failed_resume: 0
failed_resume_early: 0
failed_resume_noirq: 0
failures:
  last_failed_dev:

  last_failed_errno:    0
                        0
  last_failed_step:

Signed-off-by: Shuai Zhang <shuai.zhang@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260429103537.1282497-1-shuai.zhang@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts

index ca14f0ea4dae60e5247cec796d76737db0654afd..379b796f261f4c8f6b7712c5d340b20be1b9217c 100644 (file)
@@ -21,6 +21,7 @@
                ethernet0 = &ethernet0;
                i2c1 = &i2c1;
                serial0 = &uart7;
+               serial1 = &uart10;
        };
 
        chosen {
        status = "okay";
 };
 
+&uart10 {
+       status = "okay";
+
+       bluetooth: bluetooth {
+               compatible = "qcom,qca2066-bt";
+               enable-gpios = <&tlmm 55 GPIO_ACTIVE_HIGH>;
+               clocks = <&sleep_clk>;
+       };
+};
+
 &usb_1 {
        status = "okay";
 };