From: Shiji Yang Date: Fri, 8 Aug 2025 13:10:24 +0000 (+0800) Subject: mediatek: dts: mt7981: add back #address-cells and #size-cells to eth node X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9688f035b0af0d9ef7784bd1568e416b65dfe1b7;p=thirdparty%2Fopenwrt.git 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 Link: https://github.com/openwrt/openwrt/pull/19741 Signed-off-by: Hauke Mehrtens --- 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 828fbc109b8..373938f1e4a 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@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@15100000 { + compatible = "mediatek,mt7981-eth"; + reg = <0 0x15100000 0 0x80000>; ++ #address-cells = <1>; ++ #size-cells = <0>; + interrupts = , + , + , @@ -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 @@ , ; };