]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: amlogic: meson-s4-s905y4-khadas-vim1s: enable bluetooth
authorNick Xie <nick@khadas.com>
Sat, 28 Feb 2026 06:37:48 +0000 (14:37 +0800)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 21 Apr 2026 13:55:20 +0000 (15:55 +0200)
The Khadas VIM1S board uses the Ampak AP6256 Wi-Fi/Bluetooth module.
The Bluetooth controller is connected via UART_A and requires the
external 32k clock (LPO).

Enable the UART_A node and add the bluetooth child node to support it.

Signed-off-by: Nick Xie <nick@khadas.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://patch.msgid.link/20260228063750.701887-3-nick@khadas.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm64/boot/dts/amlogic/meson-s4-s905y4-khadas-vim1s.dts

index 27d0f6134ea9ddaf9e999698f7bc3d0901b34aa9..d36533f5559a8cfd29d3f87da2584acba7af4207 100644 (file)
        cs-gpios = <&gpio GPIOX_10 GPIO_ACTIVE_LOW>;
 };
 
+&uart_a {
+       status = "okay";
+       pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
+       pinctrl-names = "default";
+       uart-has-rtscts;
+
+       bluetooth {
+               compatible = "brcm,bcm4345c5";
+               shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
+               max-speed = <2000000>;
+               clocks = <&sdio_32k>;
+               clock-names = "lpo";
+       };
+};
+
 &uart_b {
        status = "okay";
 };