Skip to content

Commit 82d40b1

Browse files
alcharkmmind
authored andcommitted
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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent d235e65 commit 82d40b1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@
5858
#cooling-cells = <2>;
5959
};
6060

61+
rfkill {
62+
compatible = "rfkill-gpio";
63+
label = "rfkill-pcie-wlan";
64+
radio-type = "wlan";
65+
shutdown-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
66+
};
67+
6168
vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator {
6269
compatible = "regulator-fixed";
6370
enable-active-high;

0 commit comments

Comments
 (0)