summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiji Yang2025-08-08 13:10:24 +0000
committerHauke Mehrtens2025-08-24 11:22:09 +0000
commit9688f035b0af0d9ef7784bd1568e416b65dfe1b7 (patch)
tree465433ccb1d8b1756b96908d09e43878032562be
parentf3ce0c29ea0ec56b702a38f3aca84fb6648008ba (diff)
downloadopenwrt-9688f035b0af0d9ef7784bd1568e416b65dfe1b7.tar.gz
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@outlook.com> Link: https://github.com/openwrt/openwrt/pull/19741 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/mediatek/patches-6.12/117-complete-mt7981b-dtsi.patch8
1 files 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@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 = <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>;
};