aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
diff options
context:
space:
mode:
authorAlexey Charkov <alchark@gmail.com>2024-01-07 00:26:45 +0400
committerHeiko Stuebner <heiko@sntech.de>2024-01-25 21:35:32 +0100
commit82d40b141a4c7ab6608a84a5ce0c58b747cb7163 (patch)
tree98df4dce3c3f497dc77eed7a532ebc0574c9a241 /arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
parentarm64: dts: rockchip: enable NanoPC-T6 MiniPCIe power (diff)
downloadwireguard-linux-82d40b141a4c7ab6608a84a5ce0c58b747cb7163.tar.xz
wireguard-linux-82d40b141a4c7ab6608a84a5ce0c58b747cb7163.zip
arm64: dts: rockchip: add rfkill node for M.2 Key E WiFi on rock-5b
By default the GPIO pin that connects to the WiFi enable signal inside the M.2 Key E slot is driven low, resulting in impossibility to connect to any network. Add a DT node to expose it as an RFKILL device, which lets the WiFi driver or userspace toggle it as required. Signed-off-by: Alexey Charkov <alchark@gmail.com> Link: https://lore.kernel.org/r/20240106202650.22310-1-alchark@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts7
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 a0e303c3a1dc..9b7bf6cec8bd 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
@@ -58,6 +58,13 @@
#cooling-cells = <2>;
};
+ rfkill {
+ compatible = "rfkill-gpio";
+ label = "rfkill-pcie-wlan";
+ radio-type = "wlan";
+ shutdown-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
+ };
+
vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator {
compatible = "regulator-fixed";
enable-active-high;