From 8940cc3919858752023fe10437376c83b2098586 Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Thu, 20 Mar 2025 01:26:35 +0800 Subject: [PATCH] ramips: dts: remove redundant console bootargs `bootargs = "console=ttyS0,57600";` is already defined on all ramips target SoCs' dtsi. We don't need to override it with the same value. Signed-off-by: Shiji Yang Link: https://github.com/openwrt/openwrt/pull/18303 Signed-off-by: Robert Marko --- target/linux/ramips/dts/mt7620a_bolt_bl100.dts | 4 ---- target/linux/ramips/dts/mt7621_confiabits_mt7621-v1.dts | 4 ---- target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts | 5 ----- target/linux/ramips/dts/mt7628an_yuncore_cpe200.dts | 4 ---- target/linux/ramips/dts/mt7628an_yuncore_m300.dts | 4 ---- 5 files changed, 21 deletions(-) diff --git a/target/linux/ramips/dts/mt7620a_bolt_bl100.dts b/target/linux/ramips/dts/mt7620a_bolt_bl100.dts index d12933a81f6..09f3123b4fc 100644 --- a/target/linux/ramips/dts/mt7620a_bolt_bl100.dts +++ b/target/linux/ramips/dts/mt7620a_bolt_bl100.dts @@ -19,10 +19,6 @@ label-mac-device = ðernet; }; - chosen { - bootargs = "console=ttyS0,57600"; - }; - leds { compatible = "gpio-leds"; diff --git a/target/linux/ramips/dts/mt7621_confiabits_mt7621-v1.dts b/target/linux/ramips/dts/mt7621_confiabits_mt7621-v1.dts index 858747ecada..8758aeb368a 100644 --- a/target/linux/ramips/dts/mt7621_confiabits_mt7621-v1.dts +++ b/target/linux/ramips/dts/mt7621_confiabits_mt7621-v1.dts @@ -17,10 +17,6 @@ led-upgrade = &led_power_green; }; - chosen { - bootargs = "console=ttyS0,57600"; - }; - keys { compatible = "gpio-keys"; diff --git a/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts b/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts index 2a556190d0b..398a1a11804 100644 --- a/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts +++ b/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts @@ -17,11 +17,6 @@ led-upgrade = &led_power; }; - - chosen { - bootargs = "console=ttyS0,57600"; - }; - gpio_export { compatible = "gpio-export"; #size-cells = <0>; diff --git a/target/linux/ramips/dts/mt7628an_yuncore_cpe200.dts b/target/linux/ramips/dts/mt7628an_yuncore_cpe200.dts index 6e6202f02be..f6c26a7bd92 100644 --- a/target/linux/ramips/dts/mt7628an_yuncore_cpe200.dts +++ b/target/linux/ramips/dts/mt7628an_yuncore_cpe200.dts @@ -8,10 +8,6 @@ compatible = "yuncore,cpe200", "mediatek,mt7628an-soc"; model = "Yuncore CPE200"; - chosen { - bootargs = "console=ttyS0,57600"; - }; - aliases { label-mac = ðernet; led-boot = &led_power; diff --git a/target/linux/ramips/dts/mt7628an_yuncore_m300.dts b/target/linux/ramips/dts/mt7628an_yuncore_m300.dts index 8897c11d67a..b8ea61492a9 100644 --- a/target/linux/ramips/dts/mt7628an_yuncore_m300.dts +++ b/target/linux/ramips/dts/mt7628an_yuncore_m300.dts @@ -8,10 +8,6 @@ compatible = "yuncore,m300", "mediatek,mt7628an-soc"; model = "Yuncore M300"; - chosen { - bootargs = "console=ttyS0,57600"; - }; - keys { compatible = "gpio-keys"; -- 2.47.2