From 5feb0df9bb3bd83ec49af17d2abc261fc58e2551 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Mon, 27 Apr 2020 20:20:08 +0800 Subject: [PATCH] ramips: remove memory node for ZBT MT7621 devices It's known that ZBT sells 256M variants of these routers. As a result, our images won't be able to boot on these routers. This commit removes memory node for them. With previously backported memory detection patch, kernel is able to detect memory size itself. Fixes: FS#3053 Signed-off-by: Chuanhong Guo --- target/linux/ramips/dts/ZBT-WE3526.dts | 5 ----- target/linux/ramips/dts/ZBT-WG2626.dts | 5 ----- target/linux/ramips/dts/ZBT-WG3526.dtsi | 5 ----- 3 files changed, 15 deletions(-) diff --git a/target/linux/ramips/dts/ZBT-WE3526.dts b/target/linux/ramips/dts/ZBT-WE3526.dts index 30c941c9c8d..7973626fade 100644 --- a/target/linux/ramips/dts/ZBT-WE3526.dts +++ b/target/linux/ramips/dts/ZBT-WE3526.dts @@ -9,11 +9,6 @@ compatible = "zbtlink,zbt-we3526", "mediatek,mt7621-soc"; model = "ZBT-WE3526"; - memory@0 { - device_type = "memory"; - reg = <0x0 0x1c000000>, <0x20000000 0x4000000>; - }; - chosen { bootargs = "console=ttyS0,115200"; }; diff --git a/target/linux/ramips/dts/ZBT-WG2626.dts b/target/linux/ramips/dts/ZBT-WG2626.dts index 4ceee9bd6f0..ca2044f73ee 100644 --- a/target/linux/ramips/dts/ZBT-WG2626.dts +++ b/target/linux/ramips/dts/ZBT-WG2626.dts @@ -16,11 +16,6 @@ led-upgrade = &led_status; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x1c000000>, <0x20000000 0x4000000>; - }; - chosen { bootargs = "console=ttyS0,115200"; }; diff --git a/target/linux/ramips/dts/ZBT-WG3526.dtsi b/target/linux/ramips/dts/ZBT-WG3526.dtsi index 0cf94d57d26..87999b1e46e 100644 --- a/target/linux/ramips/dts/ZBT-WG3526.dtsi +++ b/target/linux/ramips/dts/ZBT-WG3526.dtsi @@ -13,11 +13,6 @@ led-upgrade = &led_status; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x1c000000>, <0x20000000 0x4000000>; - }; - chosen { bootargs = "console=ttyS0,115200"; };