From nobody Sun Feb 8 05:53:31 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 8F5B013AD32; Wed, 7 Aug 2024 17:00:49 +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=1723050052; cv=none; b=X2hBPNnt3s3AVxJ+86VN/u6a6ITaWOkAywkFlohs8kYF/Xpn8uj6HuXFhzHHeCA8kBkJ19lJoeOvkCsIXu6Is1enJ6+bUYAWdUpQtY0mfwfXtcEQ5o3FmuaTBwGSopU1YyrVNo/WXWvjV8Glt4FTPJ8+5tWjsodryoE/jdG2uOQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723050052; c=relaxed/simple; bh=wN+ULY68P2cEW6vX9Qaf6NJvoClPhdMM9VDWSqsqllM=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VUSWBOsKBXMSyXI1IrB2EN32StCVGwHYgZEbu36UCYk8O4buU72tphkFJwFp/wMsmkXfka0HYh61OBuBHwE1kg7iP9o8pkYK39NDHDuTcl9VQ0Uv0LlzB/IE1rpeiAgwOVp3tyJBQ1Ao5tbP2VYYbpogNDsTwp2YhoFTCwKP6hg= 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=LdfSJ7Gr; 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="LdfSJ7Gr" From: Florian Klink DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flokli.de; s=mail; t=1723050046; bh=/RFk5++xISD2w7ZR9m6Kr5hjptqHJpE5fLiKs0wQOkY=; h=From:To:Subject:Date:In-Reply-To:References; b=LdfSJ7GrVCw9bboxPX0YrmXSKan5A1u5fU5rIVVaG78lOZTGQOlW5nIOeYcFbDnSh mg/obh6f7Msy9R++3EVh/ovVRW7JkdFUZPaYTUhPlGH/gzF5oekk8rSDCy5BmzJHd1 2hlqWd9t6/EQYknG7OlRVl8snJx1GRpwyZQ1E2ko= 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 v2] arm64: dts: rockchip: add rfkill node for M.2 E wifi on orangepi-5-plus Date: Wed, 7 Aug 2024 20:00:21 +0300 Message-ID: <20240807170030.1747381-1-flokli@flokli.de> In-Reply-To: <20240807162001.1737829-1-flokli@flokli.de> References: <20240807162001.1737829-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. Signed-off-by: Florian Klink Tested-by: Florian Klink Link: https://github.com/armbian/linux-rockchip/blob/9fbe23c9da24f236c6009f= 42d3f02c1ffb84c169/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts = [1] --- 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