From: Shiji Yang Date: Wed, 19 Mar 2025 17:26:35 +0000 (+0800) Subject: ramips: dts: remove redundant console bootargs X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F18303%2Fhead;p=thirdparty%2Fopenwrt.git 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 --- 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";