[PATCH v2 2/2] riscv: dts: spacemit: enable Bluetooth on BPI-F3
Troy Mitchell
troy.mitchell at linux.spacemit.com
Wed Nov 11 01:52:01 PST 2026
On Wed Nov 11, 2026 at 9:45 AM GMT, Frédéric Mahé wrote:
> The BPI-F3 has an RTL8852BS module whose Bluetooth part is on UART2,
> with hardware flow control. GPIO 63 powers Bluetooth on and GPIO 64
> is the device wake line.
>
> The firmware config switches the UART to 1.5 Mbaud, so take the UART2
> clock from slow_uart2, set to 48 MHz.
>
> Tested with a laptop: scan, pairing, and l2ping in both directions,
> including incoming connections while the UART is runtime suspended.
> An 8-hour soak (an HCI command every 20 s) showed no errors.
>
> This patch was prepared with the help of an AI assistant (Claude),
> which also ran the tests.
>
> Signed-off-by: Frédéric Mahé <frederic.mahe at cirad.fr>
Reviewed-by: Troy Mitchell <troy.mitchell at linux.spacemit.com>
--
Troy Mitchell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20261111/0832e485/attachment.sig>
More information about the linux-riscv
mailing list