public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Florian Klink <flokli@flokli.de>
To: "Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Heiko Stuebner" <heiko@sntech.de>,
	"Sebastian Reichel" <sebastian.reichel@collabora.com>,
	"Dragan Simic" <dsimic@manjaro.org>,
	"Florian Klink" <flokli@flokli.de>,
	"Kever Yang" <kever.yang@rock-chips.com>,
	"Muhammed Efe Cetin" <efectn@protonmail.com>,
	"FUKAUMI Naoki" <naoki@radxa.com>,
	"Tamás Szűcs" <tszucs@protonmail.ch>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH] arm64: dts: rockchip: add rfkill node for M.2 E wifi on orangepi-5-plus
Date: Wed,  7 Aug 2024 19:20:01 +0300	[thread overview]
Message-ID: <20240807162001.1737829-1-flokli@flokli.de> (raw)

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


             reply	other threads:[~2024-08-07 16:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-07 16:20 Florian Klink [this message]
2024-08-07 16:26 ` [PATCH] arm64: dts: rockchip: add rfkill node for M.2 E wifi on orangepi-5-plus 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240807162001.1737829-1-flokli@flokli.de \
    --to=flokli@flokli.de \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dsimic@manjaro.org \
    --cc=efectn@protonmail.com \
    --cc=heiko@sntech.de \
    --cc=kever.yang@rock-chips.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=naoki@radxa.com \
    --cc=robh@kernel.org \
    --cc=sebastian.reichel@collabora.com \
    --cc=tszucs@protonmail.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox