diff options
author | Alexey Charkov <alchark@gmail.com> | 2024-05-17 16:25:08 +0400 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2024-05-28 17:07:26 +0200 |
commit | 1d3ac84d6a960baa50da4163160ae82f8dc74af6 (patch) | |
tree | 8d59244befb1dd6ac448ee031b0d8a464e0365e5 | |
parent | adeb5d2a4ba47910238b3c4f5fd960cc0c26a98b (diff) | |
download | linux-stable-1d3ac84d6a960baa50da4163160ae82f8dc74af6.tar.gz linux-stable-1d3ac84d6a960baa50da4163160ae82f8dc74af6.tar.bz2 linux-stable-1d3ac84d6a960baa50da4163160ae82f8dc74af6.zip |
arm64: dts: rockchip: add rfkill node for M.2 Key E Bluetooth on Rock 5B
By default the BT WAKE signal inside the M.2 key E connector on Radxa
Rock 5B is driven low, which results in the Bluetooth function being
disabled even if the inserted M.2 card supports it. Expose this signal
as an RFKILL device so that it can be enabled by the userspace.
Tested with an Intel AX210 card, which connects a Bluetooth device over
the USB 2.0 bus.
Signed-off-by: Alexey Charkov <alchark@gmail.com>
Link: https://lore.kernel.org/r/20240517122509.4626-1-alchark@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts index b8e15b76a8a6..4e2bf4eaef2b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts @@ -65,6 +65,13 @@ shutdown-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>; }; + rfkill-bt { + compatible = "rfkill-gpio"; + label = "rfkill-m2-bt"; + radio-type = "bluetooth"; + shutdown-gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; + }; + vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator { compatible = "regulator-fixed"; enable-active-high; |