[openwrt/openwrt] mediatek: dts: mt7981: add back #address-cells and #size-cells to eth node

LEDE Commits lede-commits at lists.infradead.org
Sun Aug 24 04:58:35 PDT 2025


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

commit 9688f035b0af0d9ef7784bd1568e416b65dfe1b7
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Fri Aug 8 21:10:24 2025 +0800

    mediatek: dts: mt7981: add back #address-cells and #size-cells to eth node
    
    They were lost when ported to the 6.12 kernel.
    
    Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
    Link: https://github.com/openwrt/openwrt/pull/19741
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 .../linux/mediatek/patches-6.12/117-complete-mt7981b-dtsi.patch   | 8 +++++---
 1 file changed, 5 insertions(+), 3 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 828fbc109b..373938f1e4 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,316 @@
+@@ -211,17 +387,318 @@
  			reg = <0 0x11f20000 0 0x1000>;
  			#address-cells = <1>;
  			#size-cells = <1>;
@@ -360,6 +360,8 @@ working:
 +		eth: ethernet at 15100000 {
 +			compatible = "mediatek,mt7981-eth";
 +			reg = <0 0x15100000 0 0x80000>;
++			#address-cells = <1>;
++			#size-cells = <0>;
 +			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
 +				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>,
 +				     <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
@@ -623,7 +625,7 @@ working:
  			reg = <0 0x18000000 0 0x1000000>,
  			      <0 0x10003000 0 0x1000>,
  			      <0 0x11d10000 0 0x1000>;
-@@ -234,6 +709,67 @@
+@@ -234,6 +711,67 @@
  			clock-names = "mcu", "ap2conn";
  			resets = <&watchdog MT7986_TOPRGU_CONSYS_SW_RST>;
  			reset-names = "consys";
@@ -691,7 +693,7 @@ working:
  		};
  	};
  
-@@ -245,4 +781,8 @@
+@@ -245,4 +783,8 @@
  			     <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
  			     <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
  	};




More information about the lede-commits mailing list