[1/2] mediatek: dts: correct sram size of eth

Chris.Chou at mediatek.com Chris.Chou at mediatek.com
Mon Feb 17 00:08:36 PST 2025


From: Chris Chou <chris.chou at mediatek.com>

Original memory size for eth has overlap the region for eip197.
Without this patch, inside-secure driver for eip197 will fail at
devm_ioremap_resource. It's because ethernet driver request same memory
region first.
Correct the memory size for ethernet in this patch.

Signed-off-by: Chris Chou <chris.chou at mediatek.com>
---
 .../files-6.6/arch/arm64/boot/dts/mediatek/mt7988a.dtsi         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
index 39f8fd2..2be16aa 100644
--- a/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
+++ b/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
@@ -1463,7 +1463,7 @@
 		eth: ethernet at 15100000 {
 			compatible = "mediatek,mt7988-eth";
 			reg = <0 0x15100000 0 0x80000>,
-			      <0 0x15400000 0 0x380000>;
+			      <0 0x15400000 0 0x200000>;
 			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
-- 
2.45.2




More information about the openwrt-devel mailing list