From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A7B9ACA5FA2 for ; Mon, 28 Sep 2026 20:51:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hY8S3EDQovRTlFosbvhrc84VE3+r+H5O5LPDDLY0IHc=; b=R+8X2Xf+EuOs6I DfjxsuUIqLUd1iVolF+t+A4AengOVEWOo4kZJetirnMjJcS/7PsMQCoXT4glpFQcvDccavx8QBL2R NrF/L4pvGcrmkSSAI/6ARPCdVHhHcDBRTnRT2YtB8LZqmxr71ciDFK7EdLtPUs3SmnLZnhLzkCNc2 lyaUkVianIn9HNpDFgYmaoYXdXbUVB9f9ifoaKJs2lJB5QXcjUvzVfnhAdL1H49jVOsFK/qJBJF+3 U/CDTfDs3kvoynbh0cG1vFy8r5B8HY5uhhvJRsY05fZ+kNBbYunA0ubLkW0JVtUM59I2VBPls+JVy IYwQZFZRqtSpBNysoxBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xBIJQ-00000001c6c-3Q51; Mon, 28 Sep 2026 20:51:00 +0000 Received: from hall.aurel32.net ([2001:bc8:30d7:100::1]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xBIJL-00000001c3q-2TGp for linux-riscv@lists.infradead.org; Mon, 28 Sep 2026 20:50:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=aurel32.net ; s=202004.hall; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Content-Type:From:Reply-To: Subject:Content-ID:Content-Description:X-Debbugs-Cc; bh=FjJnigpBeHIQ125/9YAb7UUdeqoXLLzRYVllv9SQ/2Y=; b=sWuB5onlYL2J6viw/vlLhohTgZ BXW3wnvb6UyofDDyRUtcjeqgmMAr74Tv0dwJ+V6GvbERvqkbmfBL/PYp8xmNpA1UUQbP8eKqTl1lf cnAhGnjCZI1ScptuHQBlYC20U/SbeWa7rjgC8hedG8BXfDAc7oBg4nfzjHehXiL2fz5mqeLQ7ap9o 3XwsLjodlzqDFSwAEcz+eKbFSUccSddq5h3325DwyfbPyXXCtzBvlZUjWMOwUeI2OXefLlNMItahK 3JtQoumPb64iCti1rYhK0+uwK7TJFlCUonLi3XLOz2pqTuN6AzzEGZErM+MPeTPgtpbdyNtpxnUg9 YGstiSGQ==; Received: from authenticated user by hall.aurel32.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xBIJH-0000000F7qh-3si9; Mon, 28 Sep 2026 22:50:51 +0200 From: Aurelien Jarno To: linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: Aurelien Jarno , Anirudh Srinivasan , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-riscv@lists.infradead.org (open list:RISC-V SPACEMIT SoC Support), spacemit@lists.linux.dev (open list:RISC-V SPACEMIT SoC Support) Subject: [PATCH v5 4/5] riscv: dts: spacemit: k3: add rfkill node for WLAN on the K3 Pico-ITX board Date: Mon, 28 Sep 2026 22:49:09 +0200 Message-ID: <20260928205012.3689405-5-aurelien@aurel32.net> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260928205012.3689405-1-aurelien@aurel32.net> References: <20260928205012.3689405-1-aurelien@aurel32.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260928_135055_683086_FFDA1697 X-CRM114-Status: UNSURE ( 9.00 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On the K3 Pico-ITX board, by default the GPIO pin that connects to the RTL8852BE WLAN enable signal 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 WLAN driver or userspace toggle it as required. Tested-by: Anirudh Srinivasan Signed-off-by: Aurelien Jarno --- arch/riscv/boot/dts/spacemit/k3-pico-itx.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts index d3f256dffb4fd..dda420900aa2c 100644 --- a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts +++ b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts @@ -44,6 +44,13 @@ reg_aux_vcc5v: regulator-aux-vcc5v { regulator-always-on; }; + rfkill-pcie-wlan { + compatible = "rfkill-gpio"; + label = "rfkill-pcie-wlan"; + radio-type = "wlan"; + shutdown-gpios = <&gpio 1 3 GPIO_ACTIVE_HIGH>; + }; + rfkill-usb-bt { compatible = "rfkill-gpio"; label = "rfkill-usb-bt"; -- 2.53.0 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv