From nobody Sun Feb 8 19:03:41 2026 Received: from mail.flokli.de (mail.flokli.de [116.203.226.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 519BA13C9CF; Wed, 7 Aug 2024 17:28:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.226.116 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723051740; cv=none; b=TAQtypYvP4g5xLBq3P3pvSqVAzmIlPrWVgTAsphw5MZTHBpKJr5iWhHZ3ihjJ9jrsOp9MRnnm/Ff/nscIhV2V8dOl4hpyHDntcWEA78S9fOJ7PoLmtjZy3oq44thaCsw8IKWlAJAGko6O9HcieqmQJ4qHOaIl4tNU5KmWKGoa+4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723051740; c=relaxed/simple; bh=oZ9aGGlUv4z4wuiJWMpCrFqlBcUAjg5u/3QlAuIpBlU=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=FJaiKaaVp6aOr1buGnw9ufzSo098AhlENWD3XRyk1Qx2B7Tav2V5l2g93LykiSgeUq/UpmP/ZEFPZKBGRZ2R10WNKK8OrJNK9X2Yp0Tmi1WFxYqEsQzsb/pXWOq6bGKAH1AB8PRAm5D7HErhiVZ3XL67stDFfjt6iukrWO4wm1Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=flokli.de; spf=pass smtp.mailfrom=flokli.de; dkim=pass (1024-bit key) header.d=flokli.de header.i=@flokli.de header.b=RC7lOaEk; arc=none smtp.client-ip=116.203.226.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=flokli.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flokli.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=flokli.de header.i=@flokli.de header.b="RC7lOaEk" From: Florian Klink DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flokli.de; s=mail; t=1723051734; bh=kdDUdUvOsprG0d3u0aTFhxssbCBQ2VTP6Ekl1OBlv2Y=; h=From:To:Subject:Date; b=RC7lOaEkzUje5SAKaMPKYTyam9/+jtIAv+4cXiZOLzIoZWkHclrDvZHdLSj/7Hrnp Bbow9Q+VD2dYVr2BvdfFQJ3GiwSaAK8PGJ9Xe0ARF+M4I3jTXeUj8lyBrYYbahbZVD YtPXz2vbEV73s0TARCEPtM9+eA4fPCQMcHcUVNr4= To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Sebastian Reichel , Dragan Simic , Florian Klink , Kever Yang , Muhammed Efe Cetin , FUKAUMI Naoki , =?UTF-8?q?Tam=C3=A1s=20Sz=C5=B1cs?= , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3] arm64: dts: rockchip: add rfkill node for M.2 E wifi on orangepi-5-plus Date: Wed, 7 Aug 2024 20:23:55 +0300 Message-ID: <20240807172357.1751312-1-flokli@flokli.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This follows the same logic as 82d40b141a4c ("arm64: dts: rockchip: add rfkill node for M.2 Key E WiFi on rock-5b"). On the orangepi-5-plus, there's also a GPIO pin connecting the WiFi enable signal inside the M.2 Key E slot. The exact GPIO PIN can be validated in the Armbian rk-5.10-rkr4 kernel rk3588-orangepi-5-plus.dtsi file [1], which contains a `wifi_disable` node referencing RK_PC4 on &gpio0. [1] https://github.com/armbian/linux-rockchip/blob/9fbe23c9da24f236c6009f42= d3f02c1ffb84c169/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts Signed-off-by: Florian Klink Tested-by: Florian Klink --- 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 { }; }; =20 + rfkill { + compatible =3D "rfkill-gpio"; + label =3D "rfkill-pcie-wlan"; + radio-type =3D "wlan"; + shutdown-gpios =3D <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; + }; + sound { compatible =3D "simple-audio-card"; pinctrl-names =3D "default"; --=20 2.45.2