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 E719FCCD194 for ; Thu, 16 Oct 2025 10:09:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8wgv6vlZhKFrmpM0uQbFTE+ufe0srCnx3bmcMwqioJg=; b=v1fqkw958wmr9ymebGMMhQbLYl 4vk4oOCFBbC12ls6YekFs5PGYdcrXT+z/shDi2eKUSrFh389fJ5X9FDpANG6nWaOcJwCf4UUDSnt0 kVQNnGMEMrrAIHpLkcLeBvZjc3Pb1TFf95A3smTir95tW7Vc/xD2UyJtjLDWpHppNMdjuyBFn4/Ke cj3QDjlB/DyGzjkb1QhTmH3ZxGZsy+d/pctlLtl5tysJxLGbnbxEbnAohsfOhNeH/Ph7vK/fum0FX EQGJsNaslj4Y2Uie9BCvSSw1Ze0Oplp1VroxSzsouJ+0Ne7ars/g2+UNu5QN5rwej6/xcUdnyETco AX3Xxw9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1v9KvY-00000004LsU-2Mxx; Thu, 16 Oct 2025 10:09:44 +0000 Received: from bali.collaboradmins.com ([2a01:4f8:201:9162::2]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1v9Kus-00000004Kwo-3fsZ; Thu, 16 Oct 2025 10:09:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1760609335; bh=UGU216bzWdi/xPxp07gdtNKrrz/AaYQxRBv23FP8Dhc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=g3jThabVnbKEswmG8jUG6jHBK5NrGZmgTT1Ptq31SygSJjC6iq+YVqKGP5FiqgTD0 52Fm3l4c9TOJmMpwdmQvwUZGHwTlI3MAfFmcJScDC80nseHasED02f62nlIEDSNBPJ Ld/l+nzFrC+sV07Ox8pHbYEOl/5Pd029C19BTVClH2phRMzAug/NapUTkcYTuKNEN9 P6XmgqcIqODT9RhUPK/f5ZG25JsLWAUU/MwCbqrBnwu4j4oT+ACj7KS3lFLYtryF5r TzYuI0KreYB3htZ70xwIrPNd4QwuxWXVFEQo96FzNVgNMuLxYPJIhjhmGU9S60H84n EMCU7yZ8cEakg== Received: from beast.luon.net (unknown [IPv6:2a10:3781:2531::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sjoerd) by bali.collaboradmins.com (Postfix) with ESMTPSA id 5C4A817E1562; Thu, 16 Oct 2025 12:08:55 +0200 (CEST) Received: by beast.luon.net (Postfix, from userid 1000) id D28A310C9C79C; Thu, 16 Oct 2025 12:08:53 +0200 (CEST) From: Sjoerd Simons Date: Thu, 16 Oct 2025 12:08:50 +0200 Subject: [PATCH 14/15] arm64: dts: mediatek: mt7981b-openwrt-one: Enable wifi MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20251016-openwrt-one-network-v1-14-de259719b6f2@collabora.com> References: <20251016-openwrt-one-network-v1-0-de259719b6f2@collabora.com> In-Reply-To: <20251016-openwrt-one-network-v1-0-de259719b6f2@collabora.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Ryder Lee , Jianjun Wang , Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Manivannan Sadhasivam , Chunfeng Yun , Vinod Koul , Kishon Vijay Abraham I , Lee Jones , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Lorenzo Bianconi , Felix Fietkau Cc: kernel@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-pci@vger.kernel.org, linux-phy@lists.infradead.org, netdev@vger.kernel.org, Daniel Golle , Bryan Hinton , Sjoerd Simons X-Mailer: b4 0.14.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251016_030905_704935_32E3CFD9 X-CRM114-Status: GOOD ( 10.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable Dual-band WiFI 6 functionality on the Openwrt One Signed-off-by: Sjoerd Simons --- .../boot/dts/mediatek/mt7981b-openwrt-one.dts | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts b/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts index 6e6e4f1515f67..4d1653c336e71 100644 --- a/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts +++ b/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts @@ -134,6 +134,22 @@ mux { groups = "uart0"; }; }; + + wifi_dbdc_pins: wifi-dbdc-pins { + mux { + function = "eth"; + groups = "wf0_mode1"; + }; + + conf { + pins = "WF_HB1", "WF_HB2", "WF_HB3", "WF_HB4", + "WF_HB0", "WF_HB0_B", "WF_HB5", "WF_HB6", + "WF_HB7", "WF_HB8", "WF_HB9", "WF_HB10", + "WF_TOP_CLK", "WF_TOP_DATA", "WF_XO_REQ", + "WF_CBA_RESETB", "WF_DIG_RESETB"; + drive-strength = ; + }; + }; }; &spi2 { @@ -213,6 +229,14 @@ &usb_phy { status = "okay"; }; +&wifi { + nvmem-cells = <&eeprom_factory_0>; + nvmem-cell-names = "eeprom"; + pinctrl-names = "dbdc"; + pinctrl-0 = <&wifi_dbdc_pins>; + status = "okay"; +}; + &xhci { phys = <&u2port0 PHY_TYPE_USB2>; vusb33-supply = <®_3p3v>; -- 2.51.0