]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: meson-gxl-s905x-khadas-vim enable Bluetooth
authorChristian Hewitt <christianshewitt@gmail.com>
Sat, 13 Oct 2018 12:07:06 +0000 (16:07 +0400)
committerKevin Hilman <khilman@baylibre.com>
Thu, 29 Nov 2018 20:29:49 +0000 (12:29 -0800)
This enables Bluetooth support for the following models:

- Khadas VIM basic (AP6212) using firmware BCM43438A1.hcd
- Khadas VIM pro (AP6255) using firmware BCM4345C0.hcd

The AP6212 module used on the VIM basic has an ID clash with another
device. To get Bluetooth working you either need to apply a kernel
patch to drivers/bluetooth/btbcm.c so 0x2209 loads BCM43438A1 or the
BCM43438A1.hcd firmware must be renamed to BCM43430A1.hcd.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts

index d32cf384637022b8ee36287283be31c1091273ee..7e0717d982df6316ac1b41d4866fdd5ec39190d3 100644 (file)
@@ -187,6 +187,13 @@ brcmf: wifi@1 {
        };
 };
 
+&uart_A {
+       bluetooth {
+               compatible = "brcm,bcm43438-bt";
+               shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
+       };
+};
+
 /* This is brought out on the Linux_RX (18) and Linux_TX (19) pins: */
 &uart_AO {
        status = "okay";