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 CB5C7CCD1A1 for ; Thu, 16 Oct 2025 10:09:33 +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=haAKT3jsW3gtKdb7Kq3GKJvqiVyOUPqfsJ0H0+SgeVc=; b=1rtBF/sWiVul7zFfUF9X8u1Cms l1OVIdaxL93agr2tSsYHd6pEilFhUkdj1rCXBKG/tOGflbpVIuml8jSKTsQtv3bptA5iXKhlhqKOK 7O/q+oq0nMokiiMcO30dAIZ0sNuhUUGKOOzxkeOTq/2PUfqrxXlyy8RTwUvEMfgcUbDzJqb6/OwtT t+Cta5w0SpADg+MWPriu2HAOrHFQZMuKgD0jH1LAokrqNhaFUGLL1Q8/X6KoOriiuhPfQeaVlPUuH L4sc8s9K7rb6BnC309bWKEk9aQLrkPkiEZu5eHgHr42YZKitYU+NyL/p/1A/DS6EpyENRiptpQFA9 EZMZuqfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1v9KvH-00000004LVk-3d2E; Thu, 16 Oct 2025 10:09:27 +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 1v9Kur-00000004Kuc-49F8; Thu, 16 Oct 2025 10:09:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1760609335; bh=F9fawG1dTHERqo07t+5z+NJo3HhYUlGxKpLEWlNHroE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=Y2kTAhnhKvmN3531kyO7g4tqiihggZJ0XjB42+CeCYp6NYJMrg5UYToVq0CwHnLUB o6CiOwGfzzp8KTgOoqyPjEVhtm72+2izrD9KXm6xXsERvwj+S4V8maaiQ5vlT7Bhca KGcnESmVaKqy+RzjFxt6LaQQlKPSKZ9c5io/drbETOSVOcKkhH2HOSwLPsqDsD4HZX f2I6R/EMJWlNeQ1CEfOJWXXUTdoOlUiPB3pt8vWdM4Tahw8gj+y0D1xWbo/DP7io4C 80+lERU0zQp/Pj+H9XmSGiFQQamOHfjrCiONXquqhsDlrK9MzpZtor1TNd9kHVkxRa K/cqafSIOhjFA== 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 DD40717E1413; Thu, 16 Oct 2025 12:08:54 +0200 (CEST) Received: by beast.luon.net (Postfix, from userid 1000) id CC83F10C9C79A; Thu, 16 Oct 2025 12:08:53 +0200 (CEST) From: Sjoerd Simons Date: Thu, 16 Oct 2025 12:08:49 +0200 Subject: [PATCH 13/15] arm64: dts: mediatek: mt7981b: Add wifi memory region MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20251016-openwrt-one-network-v1-13-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_030902_311104_A74B1367 X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. 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 Add required memory region for the builtin wifi block. Disable the block by default as it won't function properly without at least pin muxing. Signed-off-by: Sjoerd Simons --- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi index c85fa0ddf2da8..fbccb63227e89 100644 --- a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi @@ -69,6 +69,11 @@ secmon_reserved: secmon@43000000 { no-map; }; + wmcpu_emi: wmcpu-reserved@47c80000 { + reg = <0 0x47c80000 0 0x100000>; + no-map; + }; + wo_emi0: wo-emi@47d80000 { reg = <0 0x47d80000 0 0x40000>; no-map; @@ -494,6 +499,8 @@ wifi: wifi@18000000 { clock-names = "mcu", "ap2conn"; resets = <&watchdog MT7986_TOPRGU_CONSYS_SW_RST>; reset-names = "consys"; + memory-region = <&wmcpu_emi>; + status = "disabled"; }; }; -- 2.51.0