arm64: dts: rockchip: add rfkill node for M.2 Key E WiFi on rock-5b
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +7 -0
@@ -59,6 +59,13 @@ fan: pwm-fan { #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;
Signature · 1 line
2.43.0
Quoted 8 lines · Alexey Charkov
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.
[...]
Applied, thanks!
[1/1] arm64: dts: rockchip: add rfkill node for M.2 Key E WiFi on rock-5b
commit: 82d40b141a4c7ab6608a84a5ce0c58b747cb7163
Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>