.../bindings/pci/mediatek-pcie-gen3.yaml | 1 + .../boot/dts/mediatek/mt7981b-openwrt-one.dts | 125 ++++++++++++ arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 222 ++++++++++++++++++++- 3 files changed, 346 insertions(+), 2 deletions(-)
Significant changes in V5:
* Rebase against linux v6.19-rc2, dropping merged patches
* Drop note about disable pci_aspm in cover letter, not required anymore
Significant changes in V4:
* Drop patches that were picked up
* Improve mediatek,net dt bindings:
- 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
Significant changes in V3:
* Drop patches that were picked up
* Re-order patches so changes that don't require dt binding changes
come first (Requested by Angelo)
* Specify drive power directly rather then using MTK_DRIVE_...
* Simply mediatek,net binding changes to avoid accidental changes to
other compatibles then mediatek,mt7981-eth
Significant changes in V2:
* https://lore.kernel.org/lkml/20251016-openwrt-one-network-v1-0-de259719b6f2@collabora.com/
* Only introduce labels in mt7981b.dtsi when required
* Switch Airoha EN8811H phy irq to level rather then edge triggered
* Move uart0 pinctrl from board dts to soc dtsi
* Only overwrite constraints with non-default values in MT7981 bindings
* Make SPI NOR nvmem cell labels more meaningfull
* Seperate fixing and disable-by-default for the mt7981 in seperate
patches
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.
Patches are against linux v6.19-rc2
Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
---
Sjoerd Simons (8):
dt-bindings: PCI: mediatek-gen3: Add MT7981 PCIe compatible
arm64: dts: mediatek: mt7981b: Add PCIe and USB support
arm64: dts: mediatek: mt7981b-openwrt-one: Enable PCIe and USB
arm64: dts: mediatek: mt7981b: Add Ethernet and WiFi offload support
arm64: dts: mediatek: mt7981b-openwrt-one: Enable Ethernet
arm64: dts: mediatek: mt7981b: Disable wifi by default
arm64: dts: mediatek: mt7981b: Add wifi memory region
arm64: dts: mediatek: mt7981b-openwrt-one: Enable wifi
.../bindings/pci/mediatek-pcie-gen3.yaml | 1 +
.../boot/dts/mediatek/mt7981b-openwrt-one.dts | 125 ++++++++++++
arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 222 ++++++++++++++++++++-
3 files changed, 346 insertions(+), 2 deletions(-)
---
base-commit: b927546677c876e26eba308550207c2ddf812a43
change-id: 20251016-openwrt-one-network-40bc9ac1b25c
Best regards,
--
Sjoerd Simons <sjoerd@collabora.com>
On Tue, 23 Dec 2025 13:37:50 +0100, Sjoerd Simons wrote:
> Significant changes in V5:
> * Rebase against linux v6.19-rc2, dropping merged patches
> * Drop note about disable pci_aspm in cover letter, not required anymore
> Significant changes in V4:
> * Drop patches that were picked up
> * Improve mediatek,net dt bindings:
> - 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
> Significant changes in V3:
> * Drop patches that were picked up
> * Re-order patches so changes that don't require dt binding changes
> come first (Requested by Angelo)
> * Specify drive power directly rather then using MTK_DRIVE_...
> * Simply mediatek,net binding changes to avoid accidental changes to
> other compatibles then mediatek,mt7981-eth
> Significant changes in V2:
> * https://lore.kernel.org/lkml/20251016-openwrt-one-network-v1-0-de259719b6f2@collabora.com/
> * Only introduce labels in mt7981b.dtsi when required
> * Switch Airoha EN8811H phy irq to level rather then edge triggered
> * Move uart0 pinctrl from board dts to soc dtsi
> * Only overwrite constraints with non-default values in MT7981 bindings
> * Make SPI NOR nvmem cell labels more meaningfull
> * Seperate fixing and disable-by-default for the mt7981 in seperate
> patches
>
> [...]
Applied to v6.19-next/dts64, thanks!
[2/8] arm64: dts: mediatek: mt7981b: Add PCIe and USB support
commit: b82833f94f48047b5bf34077d55545ebc67b26a6
[3/8] arm64: dts: mediatek: mt7981b-openwrt-one: Enable PCIe and USB
commit: 39838919ff0e4ce036c733b62e6e3afb23523484
[4/8] arm64: dts: mediatek: mt7981b: Add Ethernet and WiFi offload support
commit: 8b5883ab03eb6f35362b94985d81ff6bf999e1f2
[5/8] arm64: dts: mediatek: mt7981b-openwrt-one: Enable Ethernet
commit: dd8be279b0c229fadb794b452c1172661e4b122a
[6/8] arm64: dts: mediatek: mt7981b: Disable wifi by default
commit: a6a0280c9f4fb5869d78148320403e703ce86c12
[7/8] arm64: dts: mediatek: mt7981b: Add wifi memory region
commit: 973a626e940989b58b8b2623ce0d45aa19773c73
[8/8] arm64: dts: mediatek: mt7981b-openwrt-one: Enable wifi
commit: 7c6088a69fab4f6a2f5552ac61cc480f832f74ba
Cheers,
Angelo
On Tue, 23 Dec 2025 13:37:50 +0100, Sjoerd Simons wrote:
> Significant changes in V5:
> * Rebase against linux v6.19-rc2, dropping merged patches
> * Drop note about disable pci_aspm in cover letter, not required anymore
> Significant changes in V4:
> * Drop patches that were picked up
> * Improve mediatek,net dt bindings:
> - 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
> Significant changes in V3:
> * Drop patches that were picked up
> * Re-order patches so changes that don't require dt binding changes
> come first (Requested by Angelo)
> * Specify drive power directly rather then using MTK_DRIVE_...
> * Simply mediatek,net binding changes to avoid accidental changes to
> other compatibles then mediatek,mt7981-eth
> Significant changes in V2:
> * https://lore.kernel.org/lkml/20251016-openwrt-one-network-v1-0-de259719b6f2@collabora.com/
> * Only introduce labels in mt7981b.dtsi when required
> * Switch Airoha EN8811H phy irq to level rather then edge triggered
> * Move uart0 pinctrl from board dts to soc dtsi
> * Only overwrite constraints with non-default values in MT7981 bindings
> * Make SPI NOR nvmem cell labels more meaningfull
> * Seperate fixing and disable-by-default for the mt7981 in seperate
> patches
>
> [...]
Applied, thanks!
[1/8] dt-bindings: PCI: mediatek-gen3: Add MT7981 PCIe compatible
commit: 407cc7ff3e99f6bca9b4ca2561d3f9e7192652fe
Best regards,
--
Manivannan Sadhasivam <mani@kernel.org>
© 2016 - 2026 Red Hat, Inc.