From: Shiji Yang Date: Tue, 17 Mar 2026 13:32:53 +0000 (+0800) Subject: ramips: dts: adjust mt7621 peripherals address range X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=339e8fa25bbf05ffe2423c3a49e4c83a7e68a19a;p=thirdparty%2Fopenwrt.git ramips: dts: adjust mt7621 peripherals address range Adjust the memory remap range according to the mt7621 programming guide to ensure that the driver can correctly access the peripheral registers. Signed-off-by: Shiji Yang Link: https://github.com/openwrt/openwrt/pull/22467 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 24e80835dd9..64a2982137c 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -360,7 +360,7 @@ sdhci: mmc@1e130000 { compatible = "mediatek,mt7620-mmc", "ralink,mt7620-sdhci"; - reg = <0x1e130000 0x4000>; + reg = <0x1e130000 0x8000>; bus-width = <4>; max-frequency = <50000000>; @@ -428,7 +428,7 @@ gic: interrupt-controller@1fbc0000 { compatible = "mti,gic"; - reg = <0x1fbc0000 0x2000>; + reg = <0x1fbc0000 0x20000>; interrupt-controller; #interrupt-cells = <3>; @@ -474,7 +474,7 @@ ethernet: ethernet@1e100000 { compatible = "mediatek,mt7621-eth"; - reg = <0x1e100000 0x10000>; + reg = <0x1e100000 0xe000>; clocks = <&sysc MT7621_CLK_FE>, <&sysc MT7621_CLK_ETH>; clock-names = "fe", "ethif"; diff --git a/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts b/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts index 731dbde8067..05df828c82f 100644 --- a/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts +++ b/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts @@ -59,10 +59,6 @@ }; }; -ðernet { - reg = <0x1e100000 0xe000>; -}; - &spi0 { status = "okay";