aboutsummaryrefslogtreecommitdiff
path: root/pkgs/linux-openwrt-one-mediatek.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/linux-openwrt-one-mediatek.patch')
-rw-r--r--pkgs/linux-openwrt-one-mediatek.patch1958
1 files changed, 0 insertions, 1958 deletions
diff --git a/pkgs/linux-openwrt-one-mediatek.patch b/pkgs/linux-openwrt-one-mediatek.patch
deleted file mode 100644
index 5c5a516..0000000
--- a/pkgs/linux-openwrt-one-mediatek.patch
+++ /dev/null
@@ -1,1958 +0,0 @@
-From patchwork Sat Nov 15 20:58:04 2025
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Sjoerd Simons <sjoerd@collabora.com>
-X-Patchwork-Id: 14315817
-Return-Path:
- <linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org>
-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 87133CEBF87
- for <linux-mediatek@archiver.kernel.org>;
- Sat, 15 Nov 2025 20:58:48 +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=YTHvtBL+VZnUTHjrz6ClSw7+XPBkv6t8SxYxsbAo8Ew=; b=DH1ulSz1P48SAm2zAuEzX6AiuW
- i+Xb+boNBxdlgsK3sqlTIf6mn31nXf2NKTODWn5xR9F7OxwhS0V+8Iz/1bwePbus3Z/8RFUm26ehd
- zSFSuzBO6tYAiPaB6AeAx97zb2+w+aT/0+bpDXE9gCmOBioPoFt6lXBGy1wojO8S/u+Jo4GaMCe0N
- QySoWkbYLCnAE2wllpuVDlZKUWN39RVbthKIF5Q5XgEUj7x7W3x7KTLz+Uq9Gl4IszSclQiBfOvdo
- YffKTNrPb/AfDtwo8UGk0iqaOZRClkJUbmWqw8yh31fxS8UffywXF9SdwytoAygFT4T4ZDoLCUD1L
- 3BerwY2w==;
-Received: from localhost ([::1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNM7-0000000E5Fz-3FnD;
- Sat, 15 Nov 2025 20:58:47 +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 1vKNLw-0000000E56g-1nGv;
- Sat, 15 Nov 2025 20:58:39 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com;
- s=mail; t=1763240312;
- bh=BNloXSmxfui+A+UD0vb6639VkVLh4h7qFS1iqqJUbUo=;
- h=From:Date:Subject:References:In-Reply-To:To:Cc:From;
- b=d6IFiUNqQD+93pkq4ov86+rPsBtqWuNo+o78OoQQeHDVPP6RnQvqLT0il8ol+tsgU
- YMhKX0Dz+TVcC3EtyHF7Ck6JT2/94g3FzZeYYCK8zWmMpsh5DSSZjwm9ME60o3QjoV
- aOlfgrFV808O7OmvfGCGPaouspC95qn7GlhLeK8hX25M45q2CTlbc8uP12FRDKPVwK
- LBDVWjUfhgIZz3+HIzzg0OF6DEGWUKypIn05PzcPlXgp4iu/wxaIF0yTtyjJD/dJgg
- u/IO3GbZ5fekm38/cTda66Kaxq1x5qkpojvKA3nkAb/chsHnprCZNbOK1OnknsJ9O0
- ypAexouToZ05Q==
-Received: from beast.luon.net (simons.connected.by.freedominter.net
- [45.83.240.172])
- (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
- key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest
- SHA256)
- (No client certificate requested)
- (Authenticated sender: sjoerd)
- by bali.collaboradmins.com (Postfix) with ESMTPSA id 6FCE517E00B0;
- Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-Received: by beast.luon.net (Postfix, from userid 1000)
- id 11F6A110527D9; Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-From: Sjoerd Simons <sjoerd@collabora.com>
-Date: Sat, 15 Nov 2025 21:58:04 +0100
-Subject: [PATCH v4 01/11] dt-bindings: mfd: syscon: Add mt7981-topmisc
-MIME-Version: 1.0
-Message-Id: <20251115-openwrt-one-network-v4-1-48cbda2969ac@collabora.com>
-References: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-In-Reply-To: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,
- Conor Dooley <conor+dt@kernel.org>,
- Matthias Brugger <matthias.bgg@gmail.com>,
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,
- Ryder Lee <ryder.lee@mediatek.com>,
- Jianjun Wang <jianjun.wang@mediatek.com>,
- Bjorn Helgaas <bhelgaas@google.com>,
- Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?=
- =?utf-8?q?=C5=84ski?= <kwilczynski@kernel.org>,
- Manivannan Sadhasivam <mani@kernel.org>,
- Chunfeng Yun <chunfeng.yun@mediatek.com>, Vinod Koul <vkoul@kernel.org>,
- Kishon Vijay Abraham I <kishon@kernel.org>, Lee Jones <lee@kernel.org>,
- Andrew Lunn <andrew+netdev@lunn.ch>,
- "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>,
- Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
- Lorenzo Bianconi <lorenzo@kernel.org>, Felix Fietkau <nbd@nbd.name>
-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 <daniel@makrotopia.org>, Bryan Hinton <bryan@bryanhinton.com>,
- Sjoerd Simons <sjoerd@collabora.com>,
- Conor Dooley <conor.dooley@microchip.com>
-X-Mailer: b4 0.14.3
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20251115_125836_635252_F7CBC235
-X-CRM114-Status: UNSURE ( 8.47 )
-X-CRM114-Notice: Please train this message.
-X-BeenThere: linux-mediatek@lists.infradead.org
-X-Mailman-Version: 2.1.34
-Precedence: list
-List-Id: <linux-mediatek.lists.infradead.org>
-List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/>
-List-Post: <mailto:linux-mediatek@lists.infradead.org>
-List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help>
-List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe>
-Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org>
-Errors-To:
- linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org
-
-This hardware block amongst other things includes a multiplexer for a
-high-speed Combo-Phy. This binding allows exposing the multiplexer
-
-Acked-by: Conor Dooley <conor.dooley@microchip.com>
-Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
-Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
----
- Documentation/devicetree/bindings/mfd/syscon.yaml | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
-index 657c38175fba2..51511078c4c3b 100644
---- a/Documentation/devicetree/bindings/mfd/syscon.yaml
-+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
-@@ -193,6 +193,7 @@ properties:
- - mediatek,mt2701-pctl-a-syscfg
- - mediatek,mt2712-pctl-a-syscfg
- - mediatek,mt6397-pctl-pmic-syscfg
-+ - mediatek,mt7981-topmisc
- - mediatek,mt7988-topmisc
- - mediatek,mt8135-pctl-a-syscfg
- - mediatek,mt8135-pctl-b-syscfg
-
-From patchwork Sat Nov 15 20:58:05 2025
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Sjoerd Simons <sjoerd@collabora.com>
-X-Patchwork-Id: 14315818
-Return-Path:
- <linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org>
-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 51A19CEBF91
- for <linux-mediatek@archiver.kernel.org>;
- Sat, 15 Nov 2025 20:58:49 +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=j/r2anqRW+90VM9McPY+HL40VXbPRjGoaWqnMpIZ0Fs=; b=LzxtwLOLzukTwsjgNKokmUHiAP
- E+MMsDIqRuSTrc0KP326+ESa+sxMAL++DfvflnutJuJJw+2LyT/tlhXLCT+4kDKd93fXJl3rbFA/8
- znNtJAAflN80Irlc2ZWgvABiLaGpnzV4ZcR0fBki1ENa9R9SXLZXeC0gnfc1bxD8fQ+d/M4dbBFwi
- 7UPdXETna447WPghK5sr8wMRJAIqw/hl8JIrd9lSwOzJtMfVp9JvKjAzQ9axdqt5+LTWgP5lC9UYN
- dyV5C0SH9dOizniOYHESFro5Osy9xbcIfB0uvIo7lx4b1SbnUOKDOtAAgLEGzY5ZOXAlEIr4vyZP4
- 4jEp3gVA==;
-Received: from localhost ([::1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNM8-0000000E5Gd-1VH2;
- Sat, 15 Nov 2025 20:58:48 +0000
-Received: from bali.collaboradmins.com ([148.251.105.195])
- by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNLw-0000000E56f-2xAa;
- Sat, 15 Nov 2025 20:58:39 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com;
- s=mail; t=1763240312;
- bh=JdKvpThqp3TDs4o0pkrFusvXBPtE9LtpoPmwO6qXgiM=;
- h=From:Date:Subject:References:In-Reply-To:To:Cc:From;
- b=SRtp7rTMzwbGSe7WBPL0JooFZ9MC1NaN0wdOyoTLxb7QDCJyG8qYLDo8LnLl6Jcmb
- /OXnw8pz4g1m2BZnlPg4zGJ/arOYZUxhiH9GpqZWWaVngrMs1GSZR2elktYm7v3QHS
- YjErx28KgjfJeTUV9fvRXSpTIeO6TwTPDSueAaH7FnHqPnBRFD+H3VBlfDM16Qto2Y
- 1xtK8UKg8qJkN6usUZ5Amdb6P5hM8ZiJpvf8Phn8NDxhBbG7qFcWe99IgU+Ibvdni+
- gNqBYbv0Y5bFf1jLmW7mL5kl9LhhuI3ZqxTL74Mypm3V2ZlK7BZ1pgJn82afW2SXpo
- z0iWQVf1AWNow==
-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) server-digest
- SHA256)
- (No client certificate requested)
- (Authenticated sender: sjoerd)
- by bali.collaboradmins.com (Postfix) with ESMTPSA id 7138F17E0202;
- Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-Received: by beast.luon.net (Postfix, from userid 1000)
- id 175EF110527DB; Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-From: Sjoerd Simons <sjoerd@collabora.com>
-Date: Sat, 15 Nov 2025 21:58:05 +0100
-Subject: [PATCH v4 02/11] dt-bindings: PCI: mediatek-gen3: Add MT7981 PCIe
- compatible
-MIME-Version: 1.0
-Message-Id: <20251115-openwrt-one-network-v4-2-48cbda2969ac@collabora.com>
-References: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-In-Reply-To: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,
- Conor Dooley <conor+dt@kernel.org>,
- Matthias Brugger <matthias.bgg@gmail.com>,
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,
- Ryder Lee <ryder.lee@mediatek.com>,
- Jianjun Wang <jianjun.wang@mediatek.com>,
- Bjorn Helgaas <bhelgaas@google.com>,
- Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?=
- =?utf-8?q?=C5=84ski?= <kwilczynski@kernel.org>,
- Manivannan Sadhasivam <mani@kernel.org>,
- Chunfeng Yun <chunfeng.yun@mediatek.com>, Vinod Koul <vkoul@kernel.org>,
- Kishon Vijay Abraham I <kishon@kernel.org>, Lee Jones <lee@kernel.org>,
- Andrew Lunn <andrew+netdev@lunn.ch>,
- "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>,
- Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
- Lorenzo Bianconi <lorenzo@kernel.org>, Felix Fietkau <nbd@nbd.name>
-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 <daniel@makrotopia.org>, Bryan Hinton <bryan@bryanhinton.com>,
- Sjoerd Simons <sjoerd@collabora.com>,
- Conor Dooley <conor.dooley@microchip.com>
-X-Mailer: b4 0.14.3
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20251115_125836_895114_1999B926
-X-CRM114-Status: UNSURE ( 8.81 )
-X-CRM114-Notice: Please train this message.
-X-BeenThere: linux-mediatek@lists.infradead.org
-X-Mailman-Version: 2.1.34
-Precedence: list
-List-Id: <linux-mediatek.lists.infradead.org>
-List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/>
-List-Post: <mailto:linux-mediatek@lists.infradead.org>
-List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help>
-List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe>
-Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org>
-Errors-To:
- linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org
-
-Add compatible string for MediaTek MT7981 PCIe Gen3 controller.
-The MT7981 PCIe controller is compatible with the MT8192 PCIe
-controller.
-
-Acked-by: Conor Dooley <conor.dooley@microchip.com>
-Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
-Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
----
-V1 -> V2: Improve commit subject
----
- Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
-index 0278845701ce8..4db700fc36ba7 100644
---- a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
-+++ b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
-@@ -48,6 +48,7 @@ properties:
- oneOf:
- - items:
- - enum:
-+ - mediatek,mt7981-pcie
- - mediatek,mt7986-pcie
- - mediatek,mt8188-pcie
- - mediatek,mt8195-pcie
-
-From patchwork Sat Nov 15 20:58:06 2025
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Sjoerd Simons <sjoerd@collabora.com>
-X-Patchwork-Id: 14315816
-Return-Path:
- <linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org>
-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 75078CEBF88
- for <linux-mediatek@archiver.kernel.org>;
- Sat, 15 Nov 2025 20:58:47 +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=ksghHQTQZO35rk2pD4ByHO3UcRzFD5f5eXAve+3bdKg=; b=3tGsceyjX6cXTdiASs8XE/DvFl
- PWUXrsvY6QlEvPMj1Ezj9rAIv0bn+EEOrlvzcX1sI7+8PhfFxgpfZNnUfQT3Nk757MZrrHlG9IXgQ
- WT9ukbjZ8mv/YwglhZpgFhWf4kD74SUAco0WbS6gexWVh9sSLBBw+FoHNgb/WOFnZJY7GoqUY/0wa
- l0RBPxwb7pYWOtYzy4VBgo1Bu/HdbcL75f8nF1K6iyHGcDlW6Jp++Mw6XncwpPvHK1U+HmE7IWcg4
- OjAfy4qX9PsPfFDVCkFKX+usBeWG1YaQxD/75ZLckgUgFeYYfkzDRfsRL3Aw6YmXxGZeto3+W7w1N
- 8Iy6mKvw==;
-Received: from localhost ([::1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNM6-0000000E5E8-2k63;
- Sat, 15 Nov 2025 20:58:46 +0000
-Received: from bali.collaboradmins.com ([148.251.105.195])
- by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNLw-0000000E56j-0q7p;
- Sat, 15 Nov 2025 20:58:38 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com;
- s=mail; t=1763240312;
- bh=0HQMjZYjWvOC8AwZB4R1t/Hz5V/fyYneHN+5PdUNP20=;
- h=From:Date:Subject:References:In-Reply-To:To:Cc:From;
- b=DKCS9RPUbiAUYzBlJzJKWw4qPry+26xTEWZ10gp5WbW8ypD0H/Vu1AQmgNIE8YFk+
- /VmTDj8RffLNvduOmHnqKehMFLVwQ4epLwgPD+eSKyFT315b+X0ST3DK1R1KkOxZst
- FhtmPwMw2u29bhVO7KLGIP9cOq0WQezCx9gAOrKpraS65Mk4prB5LhmWaA4mD6PjZJ
- 8hgy3qUbGWwTVKFM64vhRPQ9b2ogdKONE8r+JeWzHFu7QopxwBDyThZpSZqA+6Wk/M
- FRvF81p9BTAO4rm4JDuiLdugk9lbrNs7i2swbRx/dE0BHXqmlZWJzslBO1WXWNf7tH
- 8xZgyAWt0T2jQ==
-Received: from beast.luon.net (simons.connected.by.freedominter.net
- [45.83.240.172])
- (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
- key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest
- SHA256)
- (No client certificate requested)
- (Authenticated sender: sjoerd)
- by bali.collaboradmins.com (Postfix) with ESMTPSA id 74A1517E0610;
- Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-Received: by beast.luon.net (Postfix, from userid 1000)
- id 1AE68110527DD; Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-From: Sjoerd Simons <sjoerd@collabora.com>
-Date: Sat, 15 Nov 2025 21:58:06 +0100
-Subject: [PATCH v4 03/11] dt-bindings: phy: mediatek,tphy: Add support for
- MT7981
-MIME-Version: 1.0
-Message-Id: <20251115-openwrt-one-network-v4-3-48cbda2969ac@collabora.com>
-References: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-In-Reply-To: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,
- Conor Dooley <conor+dt@kernel.org>,
- Matthias Brugger <matthias.bgg@gmail.com>,
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,
- Ryder Lee <ryder.lee@mediatek.com>,
- Jianjun Wang <jianjun.wang@mediatek.com>,
- Bjorn Helgaas <bhelgaas@google.com>,
- Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?=
- =?utf-8?q?=C5=84ski?= <kwilczynski@kernel.org>,
- Manivannan Sadhasivam <mani@kernel.org>,
- Chunfeng Yun <chunfeng.yun@mediatek.com>, Vinod Koul <vkoul@kernel.org>,
- Kishon Vijay Abraham I <kishon@kernel.org>, Lee Jones <lee@kernel.org>,
- Andrew Lunn <andrew+netdev@lunn.ch>,
- "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>,
- Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
- Lorenzo Bianconi <lorenzo@kernel.org>, Felix Fietkau <nbd@nbd.name>
-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 <daniel@makrotopia.org>, Bryan Hinton <bryan@bryanhinton.com>,
- Sjoerd Simons <sjoerd@collabora.com>,
- Conor Dooley <conor.dooley@microchip.com>
-X-Mailer: b4 0.14.3
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20251115_125836_406913_BA71748C
-X-CRM114-Status: UNSURE ( 8.92 )
-X-CRM114-Notice: Please train this message.
-X-BeenThere: linux-mediatek@lists.infradead.org
-X-Mailman-Version: 2.1.34
-Precedence: list
-List-Id: <linux-mediatek.lists.infradead.org>
-List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/>
-List-Post: <mailto:linux-mediatek@lists.infradead.org>
-List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help>
-List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe>
-Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org>
-Errors-To:
- linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org
-
-Add a compatible string for Filogic 820, this chip integrates a MediaTek
-generic T-PHY version 2
-
-Acked-by: Conor Dooley <conor.dooley@microchip.com>
-Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
-Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
----
- Documentation/devicetree/bindings/phy/mediatek,tphy.yaml | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
-index b2218c1519391..ff5c77ef11765 100644
---- a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
-+++ b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
-@@ -80,6 +80,7 @@ properties:
- - mediatek,mt2712-tphy
- - mediatek,mt6893-tphy
- - mediatek,mt7629-tphy
-+ - mediatek,mt7981-tphy
- - mediatek,mt7986-tphy
- - mediatek,mt8183-tphy
- - mediatek,mt8186-tphy
-
-From patchwork Sat Nov 15 20:58:07 2025
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Sjoerd Simons <sjoerd@collabora.com>
-X-Patchwork-Id: 14315815
-Return-Path:
- <linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org>
-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 197BFCEBF86
- for <linux-mediatek@archiver.kernel.org>;
- Sat, 15 Nov 2025 20:58:45 +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=OewVkhzvg4trcmQP7/dgtYYz1ryrPP/rqMADz2pCeIY=; b=EvyjEIEBQKhelqkgH3LIbqPY63
- cFIr5zcv018sfc+NcAG3NehHT6qpqmU0KSG0q+0BFq2yZn3//5IqU88heeYn3k7VS7w7Pe3cJr5Gr
- 1RIwczzUzDW44SniH3h8E73lOsLILlL0y7sh493XAroJWrv0E6M+LsrRGdAq4kPJXoHvNaoJSoREh
- Wsp+mzEpIpi57bC5uZKp0hA18drP2nK0z8VOpJ7k63D6sUmUWVL2ck+id1nKjqaQ9VjgwKKi91GE3
- FXAEinedGgwiEaT3FrDdCkYfVX/zjrBLLJnKf36DmMWnwXOENj65nCtMXfYHR76gy49/ECfOxrTf7
- 56/iq3IQ==;
-Received: from localhost ([::1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNM0-0000000E59L-3Ntw;
- Sat, 15 Nov 2025 20:58:40 +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 1vKNLw-0000000E56i-1H3s;
- Sat, 15 Nov 2025 20:58:37 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com;
- s=mail; t=1763240312;
- bh=USBTzS5LeZooJ42tEMhi7N85ITpVvJxHo6le5MQpsP8=;
- h=From:Date:Subject:References:In-Reply-To:To:Cc:From;
- b=J/52ZUFHclPFqDSg6mnAkchEl1Asf4QNTWvVn9L4iss5+uSMlpHYvWIRMBd6OO+v+
- eotX3qF03b7wdTt0OPyHf3k98vzDyOifpXrPgXwIY50eWoaiBp5jIqvExz1z4F2ajz
- AiP287jfiZgBsu5wWVAVcMmmfGz3qRKZNTMLvRZGWQKDBVhw0RzCkWyQvHS/zbU/nd
- GENWs8LgN/0KxUvdB1I0O0RmKxfYJStgNcmG+nqUPIu5f235k5eB2O67B1ZsLd6X/E
- ixhYPKate1Y9TLSCSYtyc69oML0nwgJESVB+G+MNCj/IRNqcTvS+5TmoSUTfvoH/eB
- XZFhBNFdgJzIw==
-Received: from beast.luon.net (simons.connected.by.freedominter.net
- [45.83.240.172])
- (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 82B2F17E0B46;
- Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-Received: by beast.luon.net (Postfix, from userid 1000)
- id 239DA110527DF; Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-From: Sjoerd Simons <sjoerd@collabora.com>
-Date: Sat, 15 Nov 2025 21:58:07 +0100
-Subject: [PATCH v4 04/11] arm64: dts: mediatek: mt7981b: Add PCIe and USB
- support
-MIME-Version: 1.0
-Message-Id: <20251115-openwrt-one-network-v4-4-48cbda2969ac@collabora.com>
-References: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-In-Reply-To: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,
- Conor Dooley <conor+dt@kernel.org>,
- Matthias Brugger <matthias.bgg@gmail.com>,
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,
- Ryder Lee <ryder.lee@mediatek.com>,
- Jianjun Wang <jianjun.wang@mediatek.com>,
- Bjorn Helgaas <bhelgaas@google.com>,
- Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?=
- =?utf-8?q?=C5=84ski?= <kwilczynski@kernel.org>,
- Manivannan Sadhasivam <mani@kernel.org>,
- Chunfeng Yun <chunfeng.yun@mediatek.com>, Vinod Koul <vkoul@kernel.org>,
- Kishon Vijay Abraham I <kishon@kernel.org>, Lee Jones <lee@kernel.org>,
- Andrew Lunn <andrew+netdev@lunn.ch>,
- "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>,
- Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
- Lorenzo Bianconi <lorenzo@kernel.org>, Felix Fietkau <nbd@nbd.name>
-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 <daniel@makrotopia.org>, Bryan Hinton <bryan@bryanhinton.com>,
- Sjoerd Simons <sjoerd@collabora.com>
-X-Mailer: b4 0.14.3
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20251115_125836_493398_5613042F
-X-CRM114-Status: GOOD ( 12.77 )
-X-BeenThere: linux-mediatek@lists.infradead.org
-X-Mailman-Version: 2.1.34
-Precedence: list
-List-Id: <linux-mediatek.lists.infradead.org>
-List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/>
-List-Post: <mailto:linux-mediatek@lists.infradead.org>
-List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help>
-List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe>
-Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org>
-Errors-To:
- linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org
-
-Add device tree nodes for PCIe controller and USB3 XHCI host
-controller on MT7981B SoC. Both controllers share the USB3 PHY
-which can be configured for either USB3 or PCIe operation.
-
-The USB3 XHCI controller supports USB 2.0 and USB 3.0 SuperSpeed
-operation. The PCIe controller is compatible with PCIe Gen2
-specifications.
-
-Also add the topmisc syscon node required for USB/PCIe PHY
-multiplexing.
-
-Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
-Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
----
-V1 -> V2: Keep xhci reg and phys properties in single lines
----
- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 80 +++++++++++++++++++++++++++++++
- 1 file changed, 80 insertions(+)
-
-diff --git a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
-index 416096b80770c..d3f37413413e2 100644
---- a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
-+++ b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
-@@ -2,6 +2,7 @@
-
- #include <dt-bindings/clock/mediatek,mt7981-clk.h>
- #include <dt-bindings/interrupt-controller/arm-gic.h>
-+#include <dt-bindings/phy/phy.h>
- #include <dt-bindings/reset/mt7986-resets.h>
-
- / {
-@@ -223,6 +224,55 @@ auxadc: adc@1100d000 {
- status = "disabled";
- };
-
-+ xhci: usb@11200000 {
-+ compatible = "mediatek,mt7986-xhci", "mediatek,mtk-xhci";
-+ reg = <0 0x11200000 0 0x2e00>, <0 0x11203e00 0 0x0100>;
-+ reg-names = "mac", "ippc";
-+ clocks = <&infracfg CLK_INFRA_IUSB_SYS_CK>,
-+ <&infracfg CLK_INFRA_IUSB_CK>,
-+ <&infracfg CLK_INFRA_IUSB_133_CK>,
-+ <&infracfg CLK_INFRA_IUSB_66M_CK>,
-+ <&topckgen CLK_TOP_U2U3_XHCI_SEL>;
-+ clock-names = "sys_ck", "ref_ck", "mcu_ck", "dma_ck", "xhci_ck";
-+ interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
-+ phys = <&u2port0 PHY_TYPE_USB2>, <&u3port0 PHY_TYPE_USB3>;
-+ status = "disabled";
-+ };
-+
-+ pcie: pcie@11280000 {
-+ compatible = "mediatek,mt7981-pcie",
-+ "mediatek,mt8192-pcie";
-+ reg = <0 0x11280000 0 0x4000>;
-+ reg-names = "pcie-mac";
-+ ranges = <0x82000000 0 0x20000000
-+ 0x0 0x20000000 0 0x10000000>;
-+ bus-range = <0x00 0xff>;
-+ clocks = <&infracfg CLK_INFRA_IPCIE_CK>,
-+ <&infracfg CLK_INFRA_IPCIE_PIPE_CK>,
-+ <&infracfg CLK_INFRA_IPCIER_CK>,
-+ <&infracfg CLK_INFRA_IPCIEB_CK>;
-+ clock-names = "pl_250m", "tl_26m", "peri_26m", "top_133m";
-+ device_type = "pci";
-+ phys = <&u3port0 PHY_TYPE_PCIE>;
-+ phy-names = "pcie-phy";
-+ interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
-+ interrupt-map-mask = <0 0 0 7>;
-+ interrupt-map = <0 0 0 1 &pcie_intc 0>,
-+ <0 0 0 2 &pcie_intc 1>,
-+ <0 0 0 3 &pcie_intc 2>,
-+ <0 0 0 4 &pcie_intc 3>;
-+ #address-cells = <3>;
-+ #interrupt-cells = <1>;
-+ #size-cells = <2>;
-+ status = "disabled";
-+
-+ pcie_intc: interrupt-controller {
-+ interrupt-controller;
-+ #address-cells = <0>;
-+ #interrupt-cells = <1>;
-+ };
-+ };
-+
- pio: pinctrl@11d00000 {
- compatible = "mediatek,mt7981-pinctrl";
- reg = <0 0x11d00000 0 0x1000>,
-@@ -252,6 +302,36 @@ mux {
- };
- };
-
-+ topmisc: topmisc@11d10000 {
-+ compatible = "mediatek,mt7981-topmisc", "syscon";
-+ reg = <0 0x11d10000 0 0x10000>;
-+ #clock-cells = <1>;
-+ };
-+
-+ usb_phy: t-phy@11e10000 {
-+ compatible = "mediatek,mt7981-tphy",
-+ "mediatek,generic-tphy-v2";
-+ ranges = <0 0 0x11e10000 0x1700>;
-+ #address-cells = <1>;
-+ #size-cells = <1>;
-+ status = "disabled";
-+
-+ u2port0: usb-phy@0 {
-+ reg = <0x0 0x700>;
-+ clocks = <&topckgen CLK_TOP_USB_FRMCNT_SEL>;
-+ clock-names = "ref";
-+ #phy-cells = <1>;
-+ };
-+
-+ u3port0: usb-phy@700 {
-+ reg = <0x700 0x900>;
-+ clocks = <&topckgen CLK_TOP_USB3_PHY_SEL>;
-+ clock-names = "ref";
-+ #phy-cells = <1>;
-+ mediatek,syscon-type = <&topmisc 0x218 0>;
-+ };
-+ };
-+
- efuse@11f20000 {
- compatible = "mediatek,mt7981-efuse", "mediatek,efuse";
- reg = <0 0x11f20000 0 0x1000>;
-
-From patchwork Sat Nov 15 20:58:08 2025
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Sjoerd Simons <sjoerd@collabora.com>
-X-Patchwork-Id: 14315825
-Return-Path:
- <linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org>
-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 2AE33CEBF93
- for <linux-mediatek@archiver.kernel.org>;
- Sat, 15 Nov 2025 20:59:00 +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=5LeoqZv3J6t2Lu06YdrFLcmlUA455lKj3p+A2h/ypu8=; b=SQ3o2kxzmKUUqGCfhAK/EcvRA8
- CU4AR190oM9Rhyz5SGy7HNTZqcj1adzIrl1yi8SONGnUfRK2T+lGxH+YEFvfTCPVyGYBzvWUjbbFj
- W/IFCKaN8ORcWYGZF61UBseu6lP9stKcMcm+37t7OKGwME9S1A6ECmG5Y/vLCBjXxjKWeQeOedj6p
- TPuMUlR5fPu+uV13+I6oZt4SdckwQ8sjvKgug53e9pDteeASbz3FpbjgfP4gFsF3KpxF4V6p5nDke
- qbn6ypgZLZ+FYZshT7WLMakkn2zPEwbNCt1AyzZZnX+BickNvgbFp8z5WSYKWBnsX2ivGpgPqkdyc
- gExEcT2Q==;
-Received: from localhost ([::1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNMI-0000000E5bD-3svU;
- Sat, 15 Nov 2025 20:58:58 +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 1vKNM2-0000000E58z-1yGX;
- Sat, 15 Nov 2025 20:58:45 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com;
- s=mail; t=1763240313;
- bh=qtE8TxX+bp4mVeKXXycM622mPKaw8qoe/nGz0YEjV0g=;
- h=From:Date:Subject:References:In-Reply-To:To:Cc:From;
- b=OMTrMedcu0AeQXazVdUg3cIgK7psG/6TTE91XDJScFPQcInb7moqAzzyqBzWMDPmz
- NmMaHV1wu9Nz42zxajQAQ/OVT8yEz6+nRjUBVO0ryHzqc6UPNqfoRDKxlmdJRbZLcU
- f0fP/rJJ0iF9d1BTMgPkvJIdlO6HtcKXqiaUQDCdE2NH5V72CUyGVwg7ypj0I+Z9GC
- fFvUrGEWkzCZDiDsT+KmQcAyXF5jp7wnfitEFNwXJa7RSjYWUDWHDsdc3lxG0KbE37
- wzquvJyfv+Jf3MLJJYQ3W39I+pp3wpzIuUkR6xJ1gbJmGI8O67yR+rLPlahzQL2Tbk
- Vp1ipOawKNEUA==
-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 47C3217E1401;
- Sat, 15 Nov 2025 21:58:33 +0100 (CET)
-Received: by beast.luon.net (Postfix, from userid 1000)
- id 29442110527E1; Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-From: Sjoerd Simons <sjoerd@collabora.com>
-Date: Sat, 15 Nov 2025 21:58:08 +0100
-Subject: [PATCH v4 05/11] arm64: dts: mediatek: mt7981b-openwrt-one: Enable
- PCIe and USB
-MIME-Version: 1.0
-Message-Id: <20251115-openwrt-one-network-v4-5-48cbda2969ac@collabora.com>
-References: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-In-Reply-To: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,
- Conor Dooley <conor+dt@kernel.org>,
- Matthias Brugger <matthias.bgg@gmail.com>,
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,
- Ryder Lee <ryder.lee@mediatek.com>,
- Jianjun Wang <jianjun.wang@mediatek.com>,
- Bjorn Helgaas <bhelgaas@google.com>,
- Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?=
- =?utf-8?q?=C5=84ski?= <kwilczynski@kernel.org>,
- Manivannan Sadhasivam <mani@kernel.org>,
- Chunfeng Yun <chunfeng.yun@mediatek.com>, Vinod Koul <vkoul@kernel.org>,
- Kishon Vijay Abraham I <kishon@kernel.org>, Lee Jones <lee@kernel.org>,
- Andrew Lunn <andrew+netdev@lunn.ch>,
- "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>,
- Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
- Lorenzo Bianconi <lorenzo@kernel.org>, Felix Fietkau <nbd@nbd.name>
-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 <daniel@makrotopia.org>, Bryan Hinton <bryan@bryanhinton.com>,
- Sjoerd Simons <sjoerd@collabora.com>
-X-Mailer: b4 0.14.3
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20251115_125844_876976_31568B83
-X-CRM114-Status: GOOD ( 11.36 )
-X-BeenThere: linux-mediatek@lists.infradead.org
-X-Mailman-Version: 2.1.34
-Precedence: list
-List-Id: <linux-mediatek.lists.infradead.org>
-List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/>
-List-Post: <mailto:linux-mediatek@lists.infradead.org>
-List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help>
-List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe>
-Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org>
-Errors-To:
- linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org
-
-Enable the PCIe controller and USB3 XHCI host on the OpenWrt One
-board. The USB controller is configured for USB 2.0 only mode, as the
-shared USB3/PCIe PHY is dedicated to PCIe functionality on this board.
-
-Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
----
- .../boot/dts/mediatek/mt7981b-openwrt-one.dts | 43 ++++++++++++++++++++++
- 1 file changed, 43 insertions(+)
-
-diff --git a/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts b/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts
-index 2e39e72877301..7382599cfea29 100644
---- a/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts
-+++ b/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts
-@@ -67,9 +67,40 @@ led-2 {
- linux,default-trigger = "netdev";
- };
- };
-+
-+ reg_3p3v: regulator-3p3v {
-+ compatible = "regulator-fixed";
-+ regulator-name = "fixed-3.3V";
-+ regulator-min-microvolt = <3300000>;
-+ regulator-max-microvolt = <3300000>;
-+ regulator-boot-on;
-+ regulator-always-on;
-+ };
-+
-+ reg_5v: regulator-5v {
-+ compatible = "regulator-fixed";
-+ regulator-name = "fixed-5V";
-+ regulator-min-microvolt = <5000000>;
-+ regulator-max-microvolt = <5000000>;
-+ regulator-boot-on;
-+ regulator-always-on;
-+ };
-+};
-+
-+&pcie {
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&pcie_pins>;
-+ status = "okay";
- };
-
- &pio {
-+ pcie_pins: pcie-pins {
-+ mux {
-+ function = "pcie";
-+ groups = "pcie_pereset";
-+ };
-+ };
-+
- pwm_pins: pwm-pins {
- mux {
- function = "pwm";
-@@ -163,3 +194,15 @@ partition@180000 {
- &uart0 {
- status = "okay";
- };
-+
-+&usb_phy {
-+ status = "okay";
-+};
-+
-+&xhci {
-+ phys = <&u2port0 PHY_TYPE_USB2>;
-+ vusb33-supply = <&reg_3p3v>;
-+ vbus-supply = <&reg_5v>;
-+ mediatek,u3p-dis-msk = <0x01>;
-+ status = "okay";
-+};
-
-From patchwork Sat Nov 15 20:58:09 2025
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Sjoerd Simons <sjoerd@collabora.com>
-X-Patchwork-Id: 14315823
-Return-Path:
- <linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org>
-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 03A8BCEBF87
- for <linux-mediatek@archiver.kernel.org>;
- Sat, 15 Nov 2025 20:58:56 +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=C2bjGxQ6HoZ8TwnWzdhU4ymJp6VMNPaTXtRwAbzTLT0=; b=jgXpD9wclS0/S726cJ5b1Xedf0
- +w+meVYFpyZhECkfp/kMXtI2jXmEMmENlr1iiCZhE1Jw5m5dOvA4M+TVdJ6QDYRokVT3hX5UWqVxe
- 1qOHCR+3RSjhP31JvQBtZ2yuzK56TbpKtFbsw8g91Iepmlfzzm9t2I5QVtEHw7kvR87II+xNu7I0F
- EX1URTMIx718uoBqEVa9m17M2FrjzypdpwmQQa9LV++tF7KLKZEgWMiC/0qozBz/G+ONw0ksHxqdI
- u73OHdnP4DHev+AvRWudxFHjXahgEsa5cHg31v52/5RD0SdNN+B1xqzldPB2/UhGqsO1GlkGXViEI
- +k6sU7NQ==;
-Received: from localhost ([::1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNMF-0000000E5UH-2fCE;
- Sat, 15 Nov 2025 20:58:55 +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 1vKNM1-0000000E58I-1TWC;
- Sat, 15 Nov 2025 20:58:45 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com;
- s=mail; t=1763240313;
- bh=hw3ZAW2zOtXRACUrBJfwNwFWR2lDq8YE4T88GaAFI9E=;
- h=From:Date:Subject:References:In-Reply-To:To:Cc:From;
- b=AJKfCLLDEVZ2vLVs5c4AQth3HKWTJxWUAschvzx7UK7egad+wwIbwyP1CfqB9qheJ
- ZyhUpaxUENHwiP6RELESKammjVBDat8g/h6kbAfXTsVWZqZ5VhUrZ1zhBxcLNFeJZj
- ZRdm6VO7LpKhwNJdRtFbDq17VQNNznRUEGwPNqWKM7q2GyD04oHQ1i4XNpFJ/SLrji
- Q0U63jm2Ka7oGMw010OayNXjsMEFItBFD9F6TTooNmZOa1F9SleM+Pq/tXp3S9tmV+
- ps3pDTFG7xEOWoLvTkIAQnTXDaa5RItxdanzGh7Z8mDHqVJWDkxB3gtgN+6qSyjvyv
- OmxOFYVPaqomw==
-Received: from beast.luon.net (simons.connected.by.freedominter.net
- [45.83.240.172])
- (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 E8E6017E13D6;
- Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-Received: by beast.luon.net (Postfix, from userid 1000)
- id 2CCF8110527E3; Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-From: Sjoerd Simons <sjoerd@collabora.com>
-Date: Sat, 15 Nov 2025 21:58:09 +0100
-Subject: [PATCH v4 06/11] dt-bindings: net: mediatek,net: Correct bindings
- for MT7981
-MIME-Version: 1.0
-Message-Id: <20251115-openwrt-one-network-v4-6-48cbda2969ac@collabora.com>
-References: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-In-Reply-To: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,
- Conor Dooley <conor+dt@kernel.org>,
- Matthias Brugger <matthias.bgg@gmail.com>,
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,
- Ryder Lee <ryder.lee@mediatek.com>,
- Jianjun Wang <jianjun.wang@mediatek.com>,
- Bjorn Helgaas <bhelgaas@google.com>,
- Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?=
- =?utf-8?q?=C5=84ski?= <kwilczynski@kernel.org>,
- Manivannan Sadhasivam <mani@kernel.org>,
- Chunfeng Yun <chunfeng.yun@mediatek.com>, Vinod Koul <vkoul@kernel.org>,
- Kishon Vijay Abraham I <kishon@kernel.org>, Lee Jones <lee@kernel.org>,
- Andrew Lunn <andrew+netdev@lunn.ch>,
- "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>,
- Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
- Lorenzo Bianconi <lorenzo@kernel.org>, Felix Fietkau <nbd@nbd.name>
-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 <daniel@makrotopia.org>, Bryan Hinton <bryan@bryanhinton.com>,
- Sjoerd Simons <sjoerd@collabora.com>
-X-Mailer: b4 0.14.3
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20251115_125841_568173_8F06F4C0
-X-CRM114-Status: UNSURE ( 9.74 )
-X-CRM114-Notice: Please train this message.
-X-BeenThere: linux-mediatek@lists.infradead.org
-X-Mailman-Version: 2.1.34
-Precedence: list
-List-Id: <linux-mediatek.lists.infradead.org>
-List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/>
-List-Post: <mailto:linux-mediatek@lists.infradead.org>
-List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help>
-List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe>
-Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org>
-Errors-To:
- linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org
-
-Different SoCs have different numbers of Wireless Ethernet
-Dispatch (WED) units:
-- MT7981: Has 1 WED unit
-- MT7986: Has 2 WED units
-- MT7988: Has 2 WED units
-
-Update the binding to reflect these hardware differences. The MT7981
-also uses infracfg for PHY switching, so allow that property.
-
-Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
-Acked-by: Conor Dooley <conor.dooley@microchip.com>
----
-V4:
- - Move back to V2 version (widening global constraint, constraining
- per compatible)
- - Ensure all compatibles are constraint in the amount of WEDs (2 for
- everything apart from mt7981). Specifically adding constraints for
- mediatek,mt7622-eth and ralink,rt5350-eth
-V2 -> V3: Only update MT7981 constraints rather then defaults
-V2: Only overwrite properties that are different from the default
----
- .../devicetree/bindings/net/mediatek,net.yaml | 26 +++++++++++++++++++---
- 1 file changed, 23 insertions(+), 3 deletions(-)
-
-diff --git a/Documentation/devicetree/bindings/net/mediatek,net.yaml b/Documentation/devicetree/bindings/net/mediatek,net.yaml
-index b45f67f92e80d..cc346946291af 100644
---- a/Documentation/devicetree/bindings/net/mediatek,net.yaml
-+++ b/Documentation/devicetree/bindings/net/mediatek,net.yaml
-@@ -112,7 +112,7 @@ properties:
-
- mediatek,wed:
- $ref: /schemas/types.yaml#/definitions/phandle-array
-- minItems: 2
-+ minItems: 1
- maxItems: 2
- items:
- maxItems: 1
-@@ -249,6 +249,9 @@ allOf:
- minItems: 1
- maxItems: 1
-
-+ mediatek,wed:
-+ minItems: 2
-+
- mediatek,wed-pcie: false
- else:
- properties:
-@@ -338,12 +341,13 @@ allOf:
- - const: netsys0
- - const: netsys1
-
-- mediatek,infracfg: false
--
- mediatek,sgmiisys:
- minItems: 2
- maxItems: 2
-
-+ mediatek,wed:
-+ maxItems: 1
-+
- - if:
- properties:
- compatible:
-@@ -385,6 +389,9 @@ allOf:
- minItems: 2
- maxItems: 2
-
-+ mediatek,wed:
-+ minItems: 2
-+
- - if:
- properties:
- compatible:
-@@ -429,6 +436,19 @@ allOf:
- - const: xgp2
- - const: xgp3
-
-+ mediatek,wed:
-+ minItems: 2
-+
-+ - if:
-+ properties:
-+ compatible:
-+ contains:
-+ const: ralink,rt5350-eth
-+ then:
-+ properties:
-+ mediatek,wed:
-+ minItems: 2
-+
- patternProperties:
- "^mac@[0-2]$":
- type: object
-
-From patchwork Sat Nov 15 20:58:10 2025
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Sjoerd Simons <sjoerd@collabora.com>
-X-Patchwork-Id: 14315820
-Return-Path:
- <linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org>
-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 9FCECCEBF93
- for <linux-mediatek@archiver.kernel.org>;
- Sat, 15 Nov 2025 20:58:53 +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=ueCHoKYMg9K7QpsQLRQi0Sc30bMhBHa09ApzlEJfMVY=; b=f65hzIYkZWQxPQiFkbXL+XS5yZ
- kHKrJv5XISb/3OZ7MrD5/y3j8VxdD9TFeAmEnHaWhFy8WWE/FfcOUvlbEMZXvVK+ZqtgMDjOz+Sms
- gPmv1QmrxjH8K/FEqAayZQ/RV2C6pmhlzfyb1zfTNI5/0PvnqjAE0P4OyvKpFn2XRbae66EeuiA0q
- Kg+ocXqU4f2vajquQSv7djiJksGmy5qPaU3AEkRoAob5et8ktMl5o1JaF9hMg3F8RUqzj2QmBFBND
- bS6TPxR1QCLAIJowA4q4et2YAPPiNHem3Yvzt25SIbMKf4ANCZRWoibEMlgChbuu4bZJrNyqM63kD
- k1hHYDww==;
-Received: from localhost ([::1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNMC-0000000E5Ny-2dlS;
- Sat, 15 Nov 2025 20:58:52 +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 1vKNM0-0000000E58G-2xVt;
- Sat, 15 Nov 2025 20:58:42 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com;
- s=mail; t=1763240312;
- bh=BQ/4Q4O4iwtOMxBPtuM66Fi5zxdH24aH3c3Edh+F6Gw=;
- h=From:Date:Subject:References:In-Reply-To:To:Cc:From;
- b=DSjV0V1+pdTcThXzfMFVFxo3AXV/sO/vdOgnuumLXA/McJRmPAAXKSP1q7jizRTcD
- d3EYyfDdqRvo5GEp8XZFCsJkQF7jrT7msKMHKMPHXzMx0GrBVxI7uRizgYtf5EOqrj
- WSsM8brRdXl9o3g9hU+6oWsWVoQIry5k7OCd0HrYIcgfWzMTBQjedpytCbfrqT8UM2
- yScTd+eEA3Z/sJ/R+8t7hLirwdPAe5OS/1h+w6lmm2Ww99zTZJVraRVfX+X4054Kcs
- 0Ig3cE5js9Xu+EF3ozrRoz4n6SWCm6OIcmF7/9Pwxtqo/zqcuBhSqHrYR4i2iKjtIF
- vBA3IAlVcFsBw==
-Received: from beast.luon.net (simons.connected.by.freedominter.net
- [45.83.240.172])
- (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 D99D217E129C;
- Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-Received: by beast.luon.net (Postfix, from userid 1000)
- id 3443C110527E5; Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-From: Sjoerd Simons <sjoerd@collabora.com>
-Date: Sat, 15 Nov 2025 21:58:10 +0100
-Subject: [PATCH v4 07/11] arm64: dts: mediatek: mt7981b: Add Ethernet and
- WiFi offload support
-MIME-Version: 1.0
-Message-Id: <20251115-openwrt-one-network-v4-7-48cbda2969ac@collabora.com>
-References: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-In-Reply-To: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,
- Conor Dooley <conor+dt@kernel.org>,
- Matthias Brugger <matthias.bgg@gmail.com>,
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,
- Ryder Lee <ryder.lee@mediatek.com>,
- Jianjun Wang <jianjun.wang@mediatek.com>,
- Bjorn Helgaas <bhelgaas@google.com>,
- Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?=
- =?utf-8?q?=C5=84ski?= <kwilczynski@kernel.org>,
- Manivannan Sadhasivam <mani@kernel.org>,
- Chunfeng Yun <chunfeng.yun@mediatek.com>, Vinod Koul <vkoul@kernel.org>,
- Kishon Vijay Abraham I <kishon@kernel.org>, Lee Jones <lee@kernel.org>,
- Andrew Lunn <andrew+netdev@lunn.ch>,
- "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>,
- Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
- Lorenzo Bianconi <lorenzo@kernel.org>, Felix Fietkau <nbd@nbd.name>
-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 <daniel@makrotopia.org>, Bryan Hinton <bryan@bryanhinton.com>,
- Sjoerd Simons <sjoerd@collabora.com>
-X-Mailer: b4 0.14.3
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20251115_125840_935977_8532D838
-X-CRM114-Status: GOOD ( 12.89 )
-X-BeenThere: linux-mediatek@lists.infradead.org
-X-Mailman-Version: 2.1.34
-Precedence: list
-List-Id: <linux-mediatek.lists.infradead.org>
-List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/>
-List-Post: <mailto:linux-mediatek@lists.infradead.org>
-List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help>
-List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe>
-Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org>
-Errors-To:
- linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org
-
-Add device tree nodes for the Ethernet subsystem on MT7981B SoC,
-including:
-- Ethernet MAC controller with dual GMAC support
-- Wireless Ethernet Dispatch (WED)
-- SGMII PHY controllers for high-speed Ethernet interfaces
-- Reserved memory regions for WiFi offload processor
-
-Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
----
-V1 -> V2: Don't add unneeded interrupt-parent
----
- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 133 +++++++++++++++++++++++++++++-
- 1 file changed, 132 insertions(+), 1 deletion(-)
-
-diff --git a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
-index d3f37413413e2..6be588be3761a 100644
---- a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
-+++ b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
-@@ -2,6 +2,7 @@
-
- #include <dt-bindings/clock/mediatek,mt7981-clk.h>
- #include <dt-bindings/interrupt-controller/arm-gic.h>
-+#include <dt-bindings/leds/common.h>
- #include <dt-bindings/phy/phy.h>
- #include <dt-bindings/reset/mt7986-resets.h>
-
-@@ -47,11 +48,36 @@ reserved-memory {
- #size-cells = <2>;
- ranges;
-
-+ wo_boot: wo-boot@15194000 {
-+ reg = <0 0x15194000 0 0x1000>;
-+ no-map;
-+ };
-+
-+ wo_ilm0: wo-ilm@151e0000 {
-+ reg = <0 0x151e0000 0 0x8000>;
-+ no-map;
-+ };
-+
-+ wo_dlm0: wo-dlm@151e8000 {
-+ reg = <0 0x151e8000 0 0x2000>;
-+ no-map;
-+ };
-+
- /* 192 KiB reserved for ARM Trusted Firmware (BL31) */
- secmon_reserved: secmon@43000000 {
- reg = <0 0x43000000 0 0x30000>;
- no-map;
- };
-+
-+ wo_emi0: wo-emi@47d80000 {
-+ reg = <0 0x47d80000 0 0x40000>;
-+ no-map;
-+ };
-+
-+ wo_data: wo-data@47dc0000 {
-+ reg = <0 0x47dc0000 0 0x240000>;
-+ no-map;
-+ };
- };
-
- soc {
-@@ -107,6 +133,18 @@ pwm: pwm@10048000 {
- #pwm-cells = <2>;
- };
-
-+ sgmiisys0: syscon@10060000 {
-+ compatible = "mediatek,mt7981-sgmiisys_0", "syscon";
-+ reg = <0 0x10060000 0 0x1000>;
-+ #clock-cells = <1>;
-+ };
-+
-+ sgmiisys1: syscon@10070000 {
-+ compatible = "mediatek,mt7981-sgmiisys_1", "syscon";
-+ reg = <0 0x10070000 0 0x1000>;
-+ #clock-cells = <1>;
-+ };
-+
- uart0: serial@11002000 {
- compatible = "mediatek,mt7981-uart", "mediatek,mt6577-uart";
- reg = <0 0x11002000 0 0x100>;
-@@ -345,15 +383,108 @@ soc-uuid@140 {
- thermal_calibration: thermal-calib@274 {
- reg = <0x274 0xc>;
- };
-+
-+ phy_calibration: phy-calib@8dc {
-+ reg = <0x8dc 0x10>;
-+ };
- };
-
-- clock-controller@15000000 {
-+ ethsys: clock-controller@15000000 {
- compatible = "mediatek,mt7981-ethsys", "syscon";
- reg = <0 0x15000000 0 0x1000>;
- #clock-cells = <1>;
- #reset-cells = <1>;
- };
-
-+ wed: wed@15010000 {
-+ compatible = "mediatek,mt7981-wed",
-+ "syscon";
-+ reg = <0 0x15010000 0 0x1000>;
-+ interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
-+ memory-region = <&wo_emi0>, <&wo_ilm0>, <&wo_dlm0>,
-+ <&wo_data>, <&wo_boot>;
-+ memory-region-names = "wo-emi", "wo-ilm", "wo-dlm",
-+ "wo-data", "wo-boot";
-+ mediatek,wo-ccif = <&wo_ccif0>;
-+ };
-+
-+ eth: ethernet@15100000 {
-+ compatible = "mediatek,mt7981-eth";
-+ reg = <0 0x15100000 0 0x40000>;
-+ assigned-clocks = <&topckgen CLK_TOP_NETSYS_2X_SEL>,
-+ <&topckgen CLK_TOP_SGM_325M_SEL>;
-+ assigned-clock-parents = <&topckgen CLK_TOP_CB_NET2_800M>,
-+ <&topckgen CLK_TOP_CB_SGM_325M>;
-+ clocks = <&ethsys CLK_ETH_FE_EN>,
-+ <&ethsys CLK_ETH_GP2_EN>,
-+ <&ethsys CLK_ETH_GP1_EN>,
-+ <&ethsys CLK_ETH_WOCPU0_EN>,
-+ <&topckgen CLK_TOP_SGM_REG>,
-+ <&sgmiisys0 CLK_SGM0_TX_EN>,
-+ <&sgmiisys0 CLK_SGM0_RX_EN>,
-+ <&sgmiisys0 CLK_SGM0_CK0_EN>,
-+ <&sgmiisys0 CLK_SGM0_CDR_CK0_EN>,
-+ <&sgmiisys1 CLK_SGM1_TX_EN>,
-+ <&sgmiisys1 CLK_SGM1_RX_EN>,
-+ <&sgmiisys1 CLK_SGM1_CK1_EN>,
-+ <&sgmiisys1 CLK_SGM1_CDR_CK1_EN>,
-+ <&topckgen CLK_TOP_NETSYS_SEL>,
-+ <&topckgen CLK_TOP_NETSYS_500M_SEL>;
-+ clock-names = "fe", "gp2", "gp1", "wocpu0",
-+ "sgmii_ck",
-+ "sgmii_tx250m", "sgmii_rx250m",
-+ "sgmii_cdr_ref", "sgmii_cdr_fb",
-+ "sgmii2_tx250m", "sgmii2_rx250m",
-+ "sgmii2_cdr_ref", "sgmii2_cdr_fb",
-+ "netsys0", "netsys1";
-+ interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
-+ <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>,
-+ <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
-+ <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>,
-+ <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
-+ <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
-+ <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
-+ <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
-+ interrupt-names = "fe0", "fe1", "fe2", "fe3", "pdma0",
-+ "pdma1", "pdma2", "pdma3";
-+ sram = <&eth_sram>;
-+ #address-cells = <1>;
-+ #size-cells = <0>;
-+ mediatek,ethsys = <&ethsys>;
-+ mediatek,sgmiisys = <&sgmiisys0>, <&sgmiisys1>;
-+ mediatek,infracfg = <&topmisc>;
-+ mediatek,wed = <&wed>;
-+ status = "disabled";
-+
-+ mdio_bus: mdio-bus {
-+ #address-cells = <1>;
-+ #size-cells = <0>;
-+
-+ int_gbe_phy: ethernet-phy@0 {
-+ compatible = "ethernet-phy-ieee802.3-c22";
-+ reg = <0>;
-+ phy-mode = "gmii";
-+ phy-is-integrated;
-+ nvmem-cells = <&phy_calibration>;
-+ nvmem-cell-names = "phy-cal-data";
-+ };
-+ };
-+ };
-+
-+ eth_sram: sram@15140000 {
-+ compatible = "mmio-sram";
-+ reg = <0 0x15140000 0 0x40000>;
-+ ranges = <0 0x15140000 0 0x40000>;
-+ #address-cells = <1>;
-+ #size-cells = <1>;
-+ };
-+
-+ wo_ccif0: syscon@151a5000 {
-+ compatible = "mediatek,mt7986-wo-ccif", "syscon";
-+ reg = <0 0x151a5000 0 0x1000>;
-+ interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
-+ };
-+
- wifi@18000000 {
- compatible = "mediatek,mt7981-wmac";
- reg = <0 0x18000000 0 0x1000000>,
-
-From patchwork Sat Nov 15 20:58:11 2025
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Sjoerd Simons <sjoerd@collabora.com>
-X-Patchwork-Id: 14315821
-Return-Path:
- <linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org>
-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 B943ACEBF8E
- for <linux-mediatek@archiver.kernel.org>;
- Sat, 15 Nov 2025 20:58:54 +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=VGCX3mgdLYE3ZtU21iczIBrppRvsmuNEB9MXEkOTjzE=; b=LUIcJFboEZjACmWWWdt0hcAX4l
- WcRzv0N63RZgr44LTOf7TZYhkDpb78uM3+XEoaGCud4OfzKSpypUT97CxQG5/seVByl6wm5v5wV1n
- rBNFM5FTN9aBGtbH2sXav2qjKsGVfsTEdFIw/gEiAkSrTA8vVenI1k2eJhDt582ngOsVxCoTtgk/O
- XlnQMerfoIiikumRCpc1bxII0/j0sWC2P1NbyvdzrF7k7dd3KFmoZ1Pk+DH9ChlQUf2fyzZpd+x8+
- nxhUHPW8CHQGJ/TWZ27ThwFWcLeC408X+5yZan5QRwf33Hrr5wiBgZ6pHfapFIQazI2TWK5IMP7AG
- IUIyhrzg==;
-Received: from localhost ([::1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNMD-0000000E5QA-2g9l;
- Sat, 15 Nov 2025 20:58:53 +0000
-Received: from bali.collaboradmins.com ([148.251.105.195])
- by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNM0-0000000E58H-3gfI;
- Sat, 15 Nov 2025 20:58:44 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com;
- s=mail; t=1763240313;
- bh=8iJNPpI85EcL2zA7omSQYgyHFc03BY1+Hwd6GqmpZ7c=;
- h=From:Date:Subject:References:In-Reply-To:To:Cc:From;
- b=bWdQNyPtiD6YGJ5U1tblDalUMjPSFWlLTCVs1FJNg3aM1LzTzH3lOqijc0PR27Mo1
- KP1MmZ0ABQCv2JiSVy45PlI72oyWvYp2oCHe+JKj55k9iN1/R875ODl9Wz+N1pUS9T
- tyBqPNG7xr6FgkKbsvN9B8sEi+f0/0TR5e8S1KcoKlzrU8RNl3UHDVUXUsIVTOUlub
- AY+RBAnqeyxJCZ95XnzdLRF04IJJtCbw23HDlPLkLOLj4KZ1Q/G+STRfg41qoeN6WW
- +KdLLAvUTmF1m2+nvnk2JeBN5EaFsBZJaGfWmgPDFmH1iSJF2SImhGkwVXcI8dsdEM
- tZxY2LYuM8Cnw==
-Received: from beast.luon.net (simons.connected.by.freedominter.net
- [45.83.240.172])
- (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 E66F717E1340;
- Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-Received: by beast.luon.net (Postfix, from userid 1000)
- id 37FA8110527E7; Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-From: Sjoerd Simons <sjoerd@collabora.com>
-Date: Sat, 15 Nov 2025 21:58:11 +0100
-Subject: [PATCH v4 08/11] arm64: dts: mediatek: mt7981b-openwrt-one: Enable
- Ethernet
-MIME-Version: 1.0
-Message-Id: <20251115-openwrt-one-network-v4-8-48cbda2969ac@collabora.com>
-References: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-In-Reply-To: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,
- Conor Dooley <conor+dt@kernel.org>,
- Matthias Brugger <matthias.bgg@gmail.com>,
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,
- Ryder Lee <ryder.lee@mediatek.com>,
- Jianjun Wang <jianjun.wang@mediatek.com>,
- Bjorn Helgaas <bhelgaas@google.com>,
- Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?=
- =?utf-8?q?=C5=84ski?= <kwilczynski@kernel.org>,
- Manivannan Sadhasivam <mani@kernel.org>,
- Chunfeng Yun <chunfeng.yun@mediatek.com>, Vinod Koul <vkoul@kernel.org>,
- Kishon Vijay Abraham I <kishon@kernel.org>, Lee Jones <lee@kernel.org>,
- Andrew Lunn <andrew+netdev@lunn.ch>,
- "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>,
- Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
- Lorenzo Bianconi <lorenzo@kernel.org>, Felix Fietkau <nbd@nbd.name>
-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 <daniel@makrotopia.org>, Bryan Hinton <bryan@bryanhinton.com>,
- Sjoerd Simons <sjoerd@collabora.com>
-X-Mailer: b4 0.14.3
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20251115_125841_092912_3F31D9ED
-X-CRM114-Status: GOOD ( 11.48 )
-X-BeenThere: linux-mediatek@lists.infradead.org
-X-Mailman-Version: 2.1.34
-Precedence: list
-List-Id: <linux-mediatek.lists.infradead.org>
-List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/>
-List-Post: <mailto:linux-mediatek@lists.infradead.org>
-List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help>
-List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe>
-Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org>
-Errors-To:
- linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org
-
-Enable the Ethernet subsystem on OpenWrt One board with dual-MAC
-configuration:
-- GMAC0: Connected to external Airoha EN8811H 2.5GbE PHY via SGMII
- (2500base-x mode) for WAN connectivity with LED indicators
-- GMAC1: Connected to internal MT7981 1GbE PHY (GMII mode) for LAN
-
-Ethernet aliases are defined to provide consistent network interface
-naming (ethernet0 = LAN, ethernet1 = WAN).
-
-Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
----
-V1 -> V2:
- - Switch gmac0 phy irq to Level
- - Update mac nvmem label name
----
- .../boot/dts/mediatek/mt7981b-openwrt-one.dts | 58 ++++++++++++++++++++++
- 1 file changed, 58 insertions(+)
-
-diff --git a/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts b/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts
-index 7382599cfea29..2aea899006453 100644
---- a/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts
-+++ b/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts
-@@ -12,6 +12,8 @@ / {
- model = "OpenWrt One";
-
- aliases {
-+ ethernet0 = &gmac1;
-+ ethernet1 = &gmac0;
- serial0 = &uart0;
- };
-
-@@ -87,6 +89,58 @@ reg_5v: regulator-5v {
- };
- };
-
-+&eth {
-+ status = "okay";
-+
-+ /* WAN interface */
-+ gmac0: mac@0 {
-+ compatible = "mediatek,eth-mac";
-+ reg = <0>;
-+ nvmem-cells = <&wan_factory_mac 0>;
-+ nvmem-cell-names = "mac-address";
-+ phy-mode = "2500base-x";
-+ phy-handle = <&phy15>;
-+ };
-+
-+ /* LAN interface */
-+ gmac1: mac@1 {
-+ compatible = "mediatek,eth-mac";
-+ reg = <1>;
-+ phy-mode = "gmii";
-+ phy-handle = <&int_gbe_phy>;
-+ };
-+};
-+
-+&mdio_bus {
-+ phy15: ethernet-phy@f {
-+ compatible = "ethernet-phy-id03a2.a411";
-+ reg = <0xf>;
-+ interrupt-parent = <&pio>;
-+ interrupts = <38 IRQ_TYPE_LEVEL_LOW>;
-+ reset-gpios = <&pio 39 GPIO_ACTIVE_LOW>;
-+ reset-assert-us = <10000>;
-+ reset-deassert-us = <20000>;
-+ airoha,pnswap-rx;
-+
-+ leds {
-+ #address-cells = <1>;
-+ #size-cells = <0>;
-+
-+ led@0 {
-+ reg = <0>;
-+ function = LED_FUNCTION_WAN;
-+ color = <LED_COLOR_ID_AMBER>;
-+ };
-+
-+ led@1 {
-+ reg = <1>;
-+ function = LED_FUNCTION_WAN;
-+ color = <LED_COLOR_ID_GREEN>;
-+ };
-+ };
-+ };
-+};
-+
- &pcie {
- pinctrl-names = "default";
- pinctrl-0 = <&pcie_pins>;
-@@ -191,6 +245,10 @@ partition@180000 {
- };
- };
-
-+&sgmiisys0 {
-+ mediatek,pnswap;
-+};
-+
- &uart0 {
- status = "okay";
- };
-
-From patchwork Sat Nov 15 20:58:12 2025
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Sjoerd Simons <sjoerd@collabora.com>
-X-Patchwork-Id: 14315822
-Return-Path:
- <linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org>
-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 72EFDCEBF86
- for <linux-mediatek@archiver.kernel.org>;
- Sat, 15 Nov 2025 20:58:56 +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=dp/5wNhrbtwapW+ZRZXWBO5in38eZanyORlRgzGBhBc=; b=Fwbv89q7a4W83v5OexqaPCKxV1
- suRDN++YNV+tTGixYfuFsPY4NML93zstLE6//XEqUBSvOnQYz4/2n63iL6iSMyvVyWGASv4s3FYgP
- MdRLr5Y40kAJ0dtXyw7Z4VHRlXP4IMJfSDGvGVfu79kXF8pdHwdBGQ1246khAcpw+FexTm2w/xq4g
- gTnbTIacarL5c8UO7UcscNW62VAyDPj9jYG+QVKP8TwmhOoZkz9XHNDJRhg4mhbVFOX0dQJN1M1Jq
- yo2XVnZGFCpsDLGyVeBfPRFkrI0xizA+alanbqnAGGp48910pyj+yZ1lSkCSUoekyIUD5+p1W9wAg
- Qa25H4eg==;
-Received: from localhost ([::1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNMF-0000000E5Tc-13xy;
- Sat, 15 Nov 2025 20:58:55 +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 1vKNM1-0000000E58h-40C6;
- Sat, 15 Nov 2025 20:58:45 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com;
- s=mail; t=1763240314;
- bh=haXHZnrCQw87Hh0XlwT4Nqlq0lDr5SGoeyDsPgAcJ6c=;
- h=From:Date:Subject:References:In-Reply-To:To:Cc:From;
- b=TOoV/J7cx5DpMaFvAYsYvaD9LPvgXxNp7YzX6WYjs3cvvv0YO0wkhBXGgOmqU/Ik7
- citiTlK3d5z1LTbYuHmb6MUtRogL7OxbF6U0iWhIn6Y4MvG2zgv3D7DL0apFPvVNzW
- BPaVnpgrMw1xz2XZajY8//z15GGj207k1X6yywHUMOTQab6fKfaJi5WtX/PrgK4nC1
- /HZAdkTMK0OCovro7ffLfFUPelI1Dr3XCSA48/7lOpabn8tVXe3lA3tYWXZpkwiwmJ
- qPKcMyPXAONT/3J0p/TPOe38lIR5eCa/W59LppUe1I2oE0djAJ6RZheKd5/xiQ/XHK
- by8Tbx2CrPd5Q==
-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 D5C9D17E141E;
- Sat, 15 Nov 2025 21:58:33 +0100 (CET)
-Received: by beast.luon.net (Postfix, from userid 1000)
- id 3FC51110527E9; Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-From: Sjoerd Simons <sjoerd@collabora.com>
-Date: Sat, 15 Nov 2025 21:58:12 +0100
-Subject: [PATCH v4 09/11] arm64: dts: mediatek: mt7981b: Disable wifi by
- default
-MIME-Version: 1.0
-Message-Id: <20251115-openwrt-one-network-v4-9-48cbda2969ac@collabora.com>
-References: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-In-Reply-To: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,
- Conor Dooley <conor+dt@kernel.org>,
- Matthias Brugger <matthias.bgg@gmail.com>,
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,
- Ryder Lee <ryder.lee@mediatek.com>,
- Jianjun Wang <jianjun.wang@mediatek.com>,
- Bjorn Helgaas <bhelgaas@google.com>,
- Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?=
- =?utf-8?q?=C5=84ski?= <kwilczynski@kernel.org>,
- Manivannan Sadhasivam <mani@kernel.org>,
- Chunfeng Yun <chunfeng.yun@mediatek.com>, Vinod Koul <vkoul@kernel.org>,
- Kishon Vijay Abraham I <kishon@kernel.org>, Lee Jones <lee@kernel.org>,
- Andrew Lunn <andrew+netdev@lunn.ch>,
- "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>,
- Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
- Lorenzo Bianconi <lorenzo@kernel.org>, Felix Fietkau <nbd@nbd.name>
-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 <daniel@makrotopia.org>, Bryan Hinton <bryan@bryanhinton.com>,
- Sjoerd Simons <sjoerd@collabora.com>
-X-Mailer: b4 0.14.3
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20251115_125842_182365_C62C650B
-X-CRM114-Status: UNSURE ( 9.83 )
-X-CRM114-Notice: Please train this message.
-X-BeenThere: linux-mediatek@lists.infradead.org
-X-Mailman-Version: 2.1.34
-Precedence: list
-List-Id: <linux-mediatek.lists.infradead.org>
-List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/>
-List-Post: <mailto:linux-mediatek@lists.infradead.org>
-List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help>
-List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe>
-Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org>
-Errors-To:
- linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org
-
-Disable the wifi block by default as it won't function properly without
-at least pin muxing.
-
-This doesn't enable wifi on any of the existing mt7981b devices as a
-required memory-region property is missing, causing the driver to fail
-probing anyway.
-
-Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
----
-V2: Newly introduced patch
----
- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
-index 6be588be3761a..1f4c114354660 100644
---- a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
-+++ b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
-@@ -499,6 +499,7 @@ wifi@18000000 {
- clock-names = "mcu", "ap2conn";
- resets = <&watchdog MT7986_TOPRGU_CONSYS_SW_RST>;
- reset-names = "consys";
-+ status = "disabled";
- };
- };
-
-
-From patchwork Sat Nov 15 20:58:13 2025
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Sjoerd Simons <sjoerd@collabora.com>
-X-Patchwork-Id: 14315819
-Return-Path:
- <linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org>
-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 61E1FCEBF86
- for <linux-mediatek@archiver.kernel.org>;
- Sat, 15 Nov 2025 20:58:52 +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=nah67Wz58HCqfn8dBCUyWhoscQpKpdn3omH+G+6PS0A=; b=o/TBpCi/Vf2cLUI+X8tmLxdQOC
- ZHhNpJngzvb+EbsrBgccoFpN73IW6QBtYtuyK4nfkdxQLBm/k4J/CE636iHJXrJfXkrOvlPjmvVt4
- YYWoYQiX7pw34Ni+0o9yOBZquix7D95A48EeA1WSNPlTCEcjZSI7E2YwTqZTnM79hTpaqOqlmhqQx
- 8JlCkv7urbesb/exgDI1CEwLt3gHzby1QrTedAO/xRluCQA6zTdcNGozZ7/pwlrfrRko6jQmAAjCs
- 3xPnGa4uPouN73Y0Z0HAn+Z/Px0LtorkAQWVS75FKP7MJ5p3kQwhXWfHSNdH3TNdDNMYwRNo0mjVC
- 8psPK2tA==;
-Received: from localhost ([::1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNMB-0000000E5M4-2M9i;
- Sat, 15 Nov 2025 20:58:51 +0000
-Received: from bali.collaboradmins.com ([148.251.105.195])
- by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNM0-0000000E58F-1Zb8;
- Sat, 15 Nov 2025 20:58:41 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com;
- s=mail; t=1763240313;
- bh=HT2YugA6R+JpQglGJhQu+r3GtnpE3Srg2faLNwIOQZE=;
- h=From:Date:Subject:References:In-Reply-To:To:Cc:From;
- b=bNbPPnOfeO7/8uyPLu4g53QRCgM9HEXjJe5m9jizWuMqv1bd66GC3wXes4BqEafC7
- Er3IiDDMHRHx5VXemgCT3XA2w8NpEBmtnkt+13Ce9C/dFfvVFjOzvB3JJ6atzrG5jf
- 3RTcDVNis7UymlFmNM3uXkqEHaMopiO86GJigK9yLOZ15TPjHEqOh1FTQeWm9a1BKW
- wkBjK02V9e+V26wU+4SwzCgZ6VNGNlIalOapK+rQTOwzWkMzK9e7A+3A7HPurJB7rq
- En185h29EgsM4gR45oiOPHVh0HUTD2BTFrvDXMezknAOEHlhmZGYHTuEvLcxDFnlUf
- Fa4myJOYCl5VQ==
-Received: from beast.luon.net (simons.connected.by.freedominter.net
- [45.83.240.172])
- (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 E210917E12FB;
- Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-Received: by beast.luon.net (Postfix, from userid 1000)
- id 450EE110527EB; Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-From: Sjoerd Simons <sjoerd@collabora.com>
-Date: Sat, 15 Nov 2025 21:58:13 +0100
-Subject: [PATCH v4 10/11] arm64: dts: mediatek: mt7981b: Add wifi memory
- region
-MIME-Version: 1.0
-Message-Id: <20251115-openwrt-one-network-v4-10-48cbda2969ac@collabora.com>
-References: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-In-Reply-To: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,
- Conor Dooley <conor+dt@kernel.org>,
- Matthias Brugger <matthias.bgg@gmail.com>,
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,
- Ryder Lee <ryder.lee@mediatek.com>,
- Jianjun Wang <jianjun.wang@mediatek.com>,
- Bjorn Helgaas <bhelgaas@google.com>,
- Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?=
- =?utf-8?q?=C5=84ski?= <kwilczynski@kernel.org>,
- Manivannan Sadhasivam <mani@kernel.org>,
- Chunfeng Yun <chunfeng.yun@mediatek.com>, Vinod Koul <vkoul@kernel.org>,
- Kishon Vijay Abraham I <kishon@kernel.org>, Lee Jones <lee@kernel.org>,
- Andrew Lunn <andrew+netdev@lunn.ch>,
- "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>,
- Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
- Lorenzo Bianconi <lorenzo@kernel.org>, Felix Fietkau <nbd@nbd.name>
-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 <daniel@makrotopia.org>, Bryan Hinton <bryan@bryanhinton.com>,
- Sjoerd Simons <sjoerd@collabora.com>
-X-Mailer: b4 0.14.3
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20251115_125840_614401_F45684EF
-X-CRM114-Status: UNSURE ( 9.80 )
-X-CRM114-Notice: Please train this message.
-X-BeenThere: linux-mediatek@lists.infradead.org
-X-Mailman-Version: 2.1.34
-Precedence: list
-List-Id: <linux-mediatek.lists.infradead.org>
-List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/>
-List-Post: <mailto:linux-mediatek@lists.infradead.org>
-List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help>
-List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe>
-Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org>
-Errors-To:
- linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org
-
-Add required memory region for the builtin wifi block.
-
-Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
----
-V1 -> V2: Don't set status to in this patch
----
- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
-index 1f4c114354660..a7be3670e0059 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;
-@@ -497,6 +502,7 @@ wifi@18000000 {
- clocks = <&topckgen CLK_TOP_NETSYS_MCU_SEL>,
- <&topckgen CLK_TOP_AP2CNN_HOST_SEL>;
- clock-names = "mcu", "ap2conn";
-+ memory-region = <&wmcpu_emi>;
- resets = <&watchdog MT7986_TOPRGU_CONSYS_SW_RST>;
- reset-names = "consys";
- status = "disabled";
-
-From patchwork Sat Nov 15 20:58:14 2025
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 7bit
-X-Patchwork-Submitter: Sjoerd Simons <sjoerd@collabora.com>
-X-Patchwork-Id: 14315824
-Return-Path:
- <linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org>
-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 D42F4CEBF8E
- for <linux-mediatek@archiver.kernel.org>;
- Sat, 15 Nov 2025 20:58:58 +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=AX63OyLy843bMJU2Vw7R714gkAf6ineUAbu3ZUG0cdE=; b=CFP7+dUXpRGexflyTMYspnXZ3n
- sylQlHoSJrbFJM9D3Gr5O5VC/0qmC/HokKEtj0O2UxEYP4nyMyNmmd7Z1ngF5fOKBRv3AwE1W/qDE
- HfBu/nlHGZo4C37qRUFaH1NyrJFwoBIXu8Og7whtaEZh2pMn5XGN88I7Ea8vBZNYtE5EJZvic+iLR
- YycvmTl/DdfW9JnpVYazqERVD9mETdNc+KoE5HKPxvgXB4x52P4FQtXhLlwaP5QrKzk6Q5+I9xx8F
- X74wY6M48if8l1csM70Avt4BNIX5HlMDdevb49MX4SkzYSdenPFrtuYJN4u2nfM0IGut41wHuuIJf
- +zxqG4Gw==;
-Received: from localhost ([::1] helo=bombadil.infradead.org)
- by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNMH-0000000E5YY-37mo;
- Sat, 15 Nov 2025 20:58:57 +0000
-Received: from bali.collaboradmins.com ([148.251.105.195])
- by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))
- id 1vKNM2-0000000E58i-0IDV;
- Sat, 15 Nov 2025 20:58:45 +0000
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com;
- s=mail; t=1763240313;
- bh=l3tEWhRqP4lk80hQap0vJX2rjpGnZh5LT9KfShignVs=;
- h=From:Date:Subject:References:In-Reply-To:To:Cc:From;
- b=ilgjpPSUMlDtGSpNEMVv3z06Af98BhAOQ0MswiSL4weOeq+OEsNFpxJcr1BcQXAzV
- jcGlkhNxeuslcmqHhWBUfjNOEvlBz9un+WqLaKJlwi39zf6uBQMQ1yFpa9N7y6/982
- LIfqQ8EPV9nOvXdJA6r5QbJhG6CBsDwcuqXRrZkkOk/9f/ex7ghOeTbpnc4Obp3Bhi
- JVuwMqqvSDTvL/C1RG9KBgu54buk+6HnkGCioHGqjeXGlJooCbthCFrszSYtAffEDV
- quXKbGwUj0NUYVSK0y71hnH7HkMOIq2b91zM5rL71rpqy+dnFy9I9VnIVKcEy3K8rk
- b9SRJW/XnAFNA==
-Received: from beast.luon.net (simons.connected.by.freedominter.net
- [45.83.240.172])
- (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 16F1F17E13DE;
- Sat, 15 Nov 2025 21:58:33 +0100 (CET)
-Received: by beast.luon.net (Postfix, from userid 1000)
- id 48258110527ED; Sat, 15 Nov 2025 21:58:32 +0100 (CET)
-From: Sjoerd Simons <sjoerd@collabora.com>
-Date: Sat, 15 Nov 2025 21:58:14 +0100
-Subject: [PATCH v4 11/11] arm64: dts: mediatek: mt7981b-openwrt-one: Enable
- wifi
-MIME-Version: 1.0
-Message-Id: <20251115-openwrt-one-network-v4-11-48cbda2969ac@collabora.com>
-References: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-In-Reply-To: <20251115-openwrt-one-network-v4-0-48cbda2969ac@collabora.com>
-To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,
- Conor Dooley <conor+dt@kernel.org>,
- Matthias Brugger <matthias.bgg@gmail.com>,
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,
- Ryder Lee <ryder.lee@mediatek.com>,
- Jianjun Wang <jianjun.wang@mediatek.com>,
- Bjorn Helgaas <bhelgaas@google.com>,
- Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?=
- =?utf-8?q?=C5=84ski?= <kwilczynski@kernel.org>,
- Manivannan Sadhasivam <mani@kernel.org>,
- Chunfeng Yun <chunfeng.yun@mediatek.com>, Vinod Koul <vkoul@kernel.org>,
- Kishon Vijay Abraham I <kishon@kernel.org>, Lee Jones <lee@kernel.org>,
- Andrew Lunn <andrew+netdev@lunn.ch>,
- "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>,
- Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
- Lorenzo Bianconi <lorenzo@kernel.org>, Felix Fietkau <nbd@nbd.name>
-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 <daniel@makrotopia.org>, Bryan Hinton <bryan@bryanhinton.com>,
- Sjoerd Simons <sjoerd@collabora.com>
-X-Mailer: b4 0.14.3
-X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
-X-CRM114-CacheID: sfid-20251115_125842_340042_B6F8A55A
-X-CRM114-Status: GOOD ( 11.54 )
-X-BeenThere: linux-mediatek@lists.infradead.org
-X-Mailman-Version: 2.1.34
-Precedence: list
-List-Id: <linux-mediatek.lists.infradead.org>
-List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe>
-List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/>
-List-Post: <mailto:linux-mediatek@lists.infradead.org>
-List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help>
-List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>,
- <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe>
-Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org>
-Errors-To:
- linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org
-
-Enable Dual-band WiFI 6 functionality on the Openwrt One
-
-Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
----
-V2 -> V3: replace MTK_DRIVE_4mA with direct value
-V1 -> V2: Update eeprom node label
----
- .../boot/dts/mediatek/mt7981b-openwrt-one.dts | 24 ++++++++++++++++++++++
- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 2 +-
- 2 files changed, 25 insertions(+), 1 deletion(-)
-
-diff --git a/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts b/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts
-index 2aea899006453..3de368c73bc81 100644
---- a/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts
-+++ b/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts
-@@ -180,6 +180,22 @@ conf-pd {
- pins = "SPI2_CLK", "SPI2_MOSI", "SPI2_MISO";
- };
- };
-+
-+ 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 = <4>;
-+ };
-+ };
- };
-
- &pwm {
-@@ -257,6 +273,14 @@ &usb_phy {
- status = "okay";
- };
-
-+&wifi {
-+ nvmem-cells = <&wifi_factory_calibration>;
-+ nvmem-cell-names = "eeprom";
-+ pinctrl-names = "dbdc";
-+ pinctrl-0 = <&wifi_dbdc_pins>;
-+ status = "okay";
-+};
-+
- &xhci {
- phys = <&u2port0 PHY_TYPE_USB2>;
- vusb33-supply = <&reg_3p3v>;
-diff --git a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
-index a7be3670e0059..66d89495bac52 100644
---- a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
-+++ b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
-@@ -490,7 +490,7 @@ wo_ccif0: syscon@151a5000 {
- interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
- };
-
-- wifi@18000000 {
-+ wifi: wifi@18000000 {
- compatible = "mediatek,mt7981-wmac";
- reg = <0 0x18000000 0 0x1000000>,
- <0 0x10003000 0 0x1000>,