diff options
author | Chen-Yu Tsai <wens@csie.org> | 2021-07-12 21:59:19 +0800 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2021-07-26 09:58:49 +0200 |
commit | 46f2735c17d215fd76c54d7bfc4d7ca5ec206eb2 (patch) | |
tree | e777a475b587962c8187b4a1c1166bfc4da75b6a /arch/arm64 | |
parent | e73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff) | |
download | linux-stable-46f2735c17d215fd76c54d7bfc4d7ca5ec206eb2.tar.gz linux-stable-46f2735c17d215fd76c54d7bfc4d7ca5ec206eb2.tar.bz2 linux-stable-46f2735c17d215fd76c54d7bfc4d7ca5ec206eb2.zip |
arm64: dts: meson-gxbb: nanopi-k2: Enable Bluetooth
The NanoPi K2 has a AP6212 WiFi+BT combo module. The WiFi portion is
already enabled. The BT part is connected via UART and I2S.
Enable the UART and add a device node describing the Bluetooth portion
of the module.
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20210712135919.32059-1-wens@kernel.org
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts index 7273eed5292c..7d94160f5802 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts @@ -385,9 +385,20 @@ /* Bluetooth on AP6212 */ &uart_A { - status = "disabled"; + status = "okay"; pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; pinctrl-names = "default"; + uart-has-rtscts; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + clocks = <&wifi_32k>; + clock-names = "lpo"; + vbat-supply = <&vddio_ao3v3>; + vddio-supply = <&vddio_ao18>; + host-wakeup-gpios = <&gpio GPIOX_21 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&gpio GPIOX_20 GPIO_ACTIVE_HIGH>; + }; }; /* 40-pin CON1 */ |