[openwrt/openwrt] mediatek: dts: mt7981: add mediatek,wed-pcie syscon phandle

LEDE Commits lede-commits at lists.infradead.org
Wed Jan 21 15:13:22 PST 2026


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c9cae03d3503eceb9892bb7d3c5b4963a9619a17

commit c9cae03d3503eceb9892bb7d3c5b4963a9619a17
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Fri Dec 19 19:39:55 2025 +0800

    mediatek: dts: mt7981: add mediatek,wed-pcie syscon phandle
    
    The PCIe NIC WED offload features depend on it. Also add the missing
    "syscon" compatible for the wed_pcie node as it's accessed by
    syscon_regmap_lookup_by_phandle().
    
    Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
    Link: https://github.com/openwrt/openwrt/pull/21108
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 .../linux/mediatek/patches-6.12/117-complete-mt7981b-dtsi.patch  | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/target/linux/mediatek/patches-6.12/117-complete-mt7981b-dtsi.patch b/target/linux/mediatek/patches-6.12/117-complete-mt7981b-dtsi.patch
index 5ad5f80cbb..f68b0d83c9 100644
--- a/target/linux/mediatek/patches-6.12/117-complete-mt7981b-dtsi.patch
+++ b/target/linux/mediatek/patches-6.12/117-complete-mt7981b-dtsi.patch
@@ -304,7 +304,7 @@ working:
  		};
  
  		efuse at 11f20000 {
-@@ -211,17 +387,300 @@
+@@ -211,17 +387,301 @@
  			reg = <0 0x11f20000 0 0x1000>;
  			#address-cells = <1>;
  			#size-cells = <1>;
@@ -395,6 +395,7 @@ working:
 +			mediatek,sgmiisys = <&sgmiisys0>, <&sgmiisys1>;
 +			mediatek,infracfg = <&topmisc>;
 +			mediatek,wed = <&wed>;
++			mediatek,wed-pcie = <&wed_pcie>;
 +			status = "disabled";
 +
 +			mdio_bus: mdio-bus {
@@ -510,7 +511,7 @@ working:
 +		};
 +
 +		wed_pcie: wed_pcie at 10003000 {
-+			compatible = "mediatek,wed_pcie";
++			compatible = "mediatek,wed_pcie", "syscon";
 +			reg = <0 0x10003000 0 0x10>;
 +		};
 +
@@ -607,7 +608,7 @@ working:
  			reg = <0 0x18000000 0 0x1000000>,
  			      <0 0x10003000 0 0x1000>,
  			      <0 0x11d10000 0 0x1000>;
-@@ -234,6 +693,67 @@
+@@ -234,6 +694,67 @@
  			clock-names = "mcu", "ap2conn";
  			resets = <&watchdog MT7986_TOPRGU_CONSYS_SW_RST>;
  			reset-names = "consys";
@@ -675,7 +676,7 @@ working:
  		};
  	};
  
-@@ -245,4 +765,8 @@
+@@ -245,4 +766,8 @@
  			     <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
  			     <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
  	};




More information about the lede-commits mailing list