]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ramips: dts: adjust mt7621 peripherals address range 22467/head
authorShiji Yang <yangshiji66@outlook.com>
Tue, 17 Mar 2026 13:32:53 +0000 (21:32 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 23 Mar 2026 01:17:57 +0000 (02:17 +0100)
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 <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22467
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ramips/dts/mt7621.dtsi
target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts

index 24e80835dd98c82150cd9276bb1e35ca93026ab9..64a2982137c8bff33f9ae7ee8e0d9b3532333047 100644 (file)
 
        sdhci: mmc@1e130000 {
                compatible = "mediatek,mt7620-mmc", "ralink,mt7620-sdhci";
-               reg = <0x1e130000 0x4000>;
+               reg = <0x1e130000 0x8000>;
 
                bus-width = <4>;
                max-frequency = <50000000>;
 
        gic: interrupt-controller@1fbc0000 {
                compatible = "mti,gic";
-               reg = <0x1fbc0000 0x2000>;
+               reg = <0x1fbc0000 0x20000>;
 
                interrupt-controller;
                #interrupt-cells = <3>;
 
        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";
index 731dbde806749ca1be010245365e757a2f8af67c..05df828c82fd19e4ffc7a1125ca0ff47c36a28e7 100644 (file)
        };
 };
 
-&ethernet {
-       reg = <0x1e100000 0xe000>;
-};
-
 &spi0 {
        status = "okay";