[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251016-openwrt-one-network-v1-0-de259719b6f2@collabora.com>
Date: Thu, 16 Oct 2025 12:08:36 +0200
From: Sjoerd Simons <sjoerd@...labora.com>
To: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Ryder Lee <ryder.lee@...iatek.com>,
Jianjun Wang <jianjun.wang@...iatek.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Krzysztof WilczyĆski <kwilczynski@...nel.org>,
Manivannan Sadhasivam <mani@...nel.org>,
Chunfeng Yun <chunfeng.yun@...iatek.com>, Vinod Koul <vkoul@...nel.org>,
Kishon Vijay Abraham I <kishon@...nel.org>, Lee Jones <lee@...nel.org>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Lorenzo Bianconi <lorenzo@...nel.org>, Felix Fietkau <nbd@....name>
Cc: kernel@...labora.com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-pci@...r.kernel.org,
linux-phy@...ts.infradead.org, netdev@...r.kernel.org,
Daniel Golle <daniel@...rotopia.org>, Bryan Hinton <bryan@...anhinton.com>,
Sjoerd Simons <sjoerd@...labora.com>
Subject: [PATCH 00/15] arm64: dts: mediatek: Add Openwrt One AP
functionality
This series add various peripherals to the Openwrt One, to make it
actually useful an access point:
* Pcie express (tested with nvme storage)
* Wired network interfaces
* Wireless network interfaces (2.4g, 5ghz wifi)
* Status leds
* SPI NOR for factory data
Unsurprisingly the series is a mix of dt binding updates, extensions of
the mt7981b and the openwrt one dtb. All driver support required is
already available.
Sadly during testing i've found various quirks requiring kernel
arguments. Documenting those here both as note to self and making it
easier for others to test :)
* fw_devlink=permissive: the nvmem fixed-layout doesn't create a layout
device, so doesn't trigger fw_devlink
* clk_ignore_unused: Needed when building CONFIG_NET_MEDIATEK_SOC as a
module. If the ethernet related clocks (gp1/gp2) get disabled the
mac ends up in a weird state causing it not to function correctly.
* pcie_aspm: ASPM is forced to enabled in 6.18-rc1, unfortunately
enabling ASPM L1.1 ends up triggering unrecoverable AERs.
Patches are against the mediatek trees for-next branch
Signed-off-by: Sjoerd Simons <sjoerd@...labora.com>
---
Sjoerd Simons (15):
arm64: dts: mediatek: mt7981b: Add labels to commonly referenced nodes
arm64: dts: mediatek: mt7981b-openwrt-one: Configure UART0 pinmux
arm64: dts: mediatek: mt7981b: Add reserved memory for TF-A
dt-bindings: mfd: syscon: Add mt7981-topmisc
dt-bindings: pci: mediatek-pcie-gen3: Add MT7981 PCIe compatible
dt-bindings: phy: mediatek,tphy: Add support for MT7981
arm64: dts: mediatek: mt7981b: Add PCIe and USB support
arm64: dts: mediatek: mt7981b-openwrt-one: Enable PCIe and USB
dt-bindings: net: mediatek,net: Correct bindings for MT7981
arm64: dts: mediatek: mt7981b: Add Ethernet and WiFi offload support
arm64: dts: mediatek: mt7981b-openwrt-one: Enable SPI NOR
arm64: dts: mediatek: mt7981b-openwrt-one: Enable Ethernet
arm64: dts: mediatek: mt7981b: Add wifi memory region
arm64: dts: mediatek: mt7981b-openwrt-one: Enable wifi
arm64: dts: mediatek: mt7981b-openwrt-one: Enable leds
Documentation/devicetree/bindings/mfd/syscon.yaml | 1 +
.../devicetree/bindings/net/mediatek,net.yaml | 16 +-
.../bindings/pci/mediatek-pcie-gen3.yaml | 1 +
.../devicetree/bindings/phy/mediatek,tphy.yaml | 1 +
.../boot/dts/mediatek/mt7981b-openwrt-one.dts | 276 +++++++++++++++++++++
arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 258 ++++++++++++++++++-
6 files changed, 538 insertions(+), 15 deletions(-)
---
base-commit: de8df7a4c881bd0df691458680ab1e22d63d60f4
change-id: 20251016-openwrt-one-network-40bc9ac1b25c
Best regards,
--
Sjoerd Simons <sjoerd@...labora.com>
Powered by blists - more mailing lists