public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: rockchip: add rfkill node for M.2 E wifi on orangepi-5-plus
@ 2024-08-07 16:20 Florian Klink
  2024-08-07 16:26 ` Dragan Simic
  2024-08-07 17:00 ` [PATCH v2] " Florian Klink
  0 siblings, 2 replies; 14+ messages in thread
From: Florian Klink @ 2024-08-07 16:20 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Sebastian Reichel, Dragan Simic, Florian Klink, Kever Yang,
	Muhammed Efe Cetin, FUKAUMI Naoki, Tamás Szűcs,
	devicetree, linux-arm-kernel, linux-rockchip, linux-kernel

This follows the same logic as 82d40b141a4c7ab66, which did the same
for rock-5b.

The GPIO pin connecting the WiFi enable signal inside the M.2 Key E slot
is the same as there.

This can be validated in
arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dtsi from Armbian
rk-5.10-rkr4 kernel, which contains a `wifi_disable` node with that same
GPIO pin.

Signed-off-by: Florian Klink <flokli@flokli.de>
Tested-by: Florian Klink <flokli@flokli.de>
---
 arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
index e74871491ef5..c3a6812cc93a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
@@ -105,6 +105,13 @@ led {
 		};
 	};
 
+	rfkill {
+		compatible = "rfkill-gpio";
+		label = "rfkill-pcie-wlan";
+		radio-type = "wlan";
+		shutdown-gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>;
+	};
+
 	sound {
 		compatible = "simple-audio-card";
 		pinctrl-names = "default";
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-08-08 10:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-07 16:20 [PATCH] arm64: dts: rockchip: add rfkill node for M.2 E wifi on orangepi-5-plus Florian Klink
2024-08-07 16:26 ` Dragan Simic
2024-08-07 17:00 ` [PATCH v2] " Florian Klink
2024-08-07 17:15   ` Dragan Simic
2024-08-07 17:17     ` Heiko Stübner
2024-08-07 17:28       ` Florian Klink
2024-08-07 17:32         ` Dragan Simic
2024-08-07 17:24   ` Dragan Simic
2024-08-07 18:14     ` Florian Klink
2024-08-07 18:24       ` Heiko Stübner
2024-08-07 18:32       ` Dragan Simic
2024-08-07 21:12         ` Alexey Charkov
2024-08-07 21:30           ` Dragan Simic
2024-08-08 10:31             ` Florian Klink

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox