From b40e6bc55ff15f567d4dc4eed407cc3f6716cdf4 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Thu, 25 Jun 2020 23:09:05 +0200 Subject: [PATCH] ath79: drop and consolidate redundant chosen/bootargs In ath79, for several SoCs the console bootargs are defined to the very same value in every device's DTS. Consolidate these definitions in the SoC dtsi files and drop further redundant definitions elsewhere. The only device without any bootargs set has been OpenMesh OM5P-AC V2. This will now inherit the setting from qca955x.dtsi While this is a cosmetic change, backporting it to 19.07 will be a major help for anyone doing backports of device support. Without it, every backporter would have to remember to manually add the chosen node to the device's DTS. Signed-off-by: Adrian Schmutzler (cherry picked from commit 635f111148c3f7ccb0ecc92863a3b1a142f6ebeb) --- target/linux/ath79/dts/ar7100.dtsi | 4 ++++ target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dts | 4 ---- target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts | 4 ---- target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi | 4 ---- target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi | 4 ---- target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi | 4 ---- target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts | 4 ---- target/linux/ath79/dts/qca9531_yuncore_a770.dts | 4 ---- target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi | 4 ---- target/linux/ath79/dts/qca9533_tplink_tl-wa801nd.dtsi | 4 ---- target/linux/ath79/dts/qca9533_tplink_tl-wr802n.dtsi | 4 ---- target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi | 4 ---- target/linux/ath79/dts/qca953x_tplink_tl-wr810n.dtsi | 4 ---- target/linux/ath79/dts/qca9557.dtsi | 4 ++++ target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts | 4 ---- target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi | 4 ---- target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi | 4 ---- target/linux/ath79/dts/qca9558_engenius_ecb1750.dts | 4 ---- target/linux/ath79/dts/qca9558_engenius_epg5000.dts | 4 ---- .../linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts | 4 ---- target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi | 4 ---- target/linux/ath79/dts/qca9558_ocedo_koala.dts | 4 ---- target/linux/ath79/dts/qca9558_ocedo_ursus.dts | 4 ---- target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi | 4 ---- target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts | 4 ---- target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts | 4 ---- target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi | 4 ---- target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts | 4 ---- target/linux/ath79/dts/qca9561_avm_fritz4020.dts | 4 ---- target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts | 4 ---- target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi | 4 ---- target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi | 4 ---- target/linux/ath79/dts/qca9561_xiaomi_mi-router-4q.dts | 4 ---- target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts | 4 ---- target/linux/ath79/dts/qca9563_elecom_wrc-ghbk2-i.dtsi | 4 ---- target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dts | 4 ---- target/linux/ath79/dts/qca9563_nec_wg1200cr.dts | 4 ---- target/linux/ath79/dts/qca9563_nec_wg800hp.dts | 4 ---- target/linux/ath79/dts/qca9563_phicomm_k2t.dts | 4 ---- target/linux/ath79/dts/qca9563_rosinson_wr818.dts | 4 ---- target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts | 4 ---- target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts | 4 ---- target/linux/ath79/dts/qca9563_tplink_archer-x6-v2.dtsi | 4 ---- target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi | 4 ---- target/linux/ath79/dts/qca9563_tplink_re450-v2.dts | 4 ---- target/linux/ath79/dts/qca9563_tplink_tl-wr1043n.dtsi | 4 ---- target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi | 4 ---- target/linux/ath79/dts/qca9563_yuncore_xd4200.dtsi | 4 ---- target/linux/ath79/dts/qca956x.dtsi | 4 ++++ target/linux/ath79/dts/tp9343_tplink_tl-wx.dtsi | 6 ------ 50 files changed, 12 insertions(+), 190 deletions(-) diff --git a/target/linux/ath79/dts/ar7100.dtsi b/target/linux/ath79/dts/ar7100.dtsi index e3f0edccff4..fe88cfab2d2 100644 --- a/target/linux/ath79/dts/ar7100.dtsi +++ b/target/linux/ath79/dts/ar7100.dtsi @@ -5,6 +5,10 @@ / { compatible = "qca,ar7100"; + chosen { + bootargs = "console=ttyS0,115200"; + }; + cpus { #address-cells = <1>; #size-cells = <0>; diff --git a/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dts b/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dts index df22eb8dc4c..25633cf284f 100644 --- a/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dts +++ b/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dts @@ -16,10 +16,6 @@ led-upgrade = &diag; }; - chosen { - bootargs = "console=ttyS0,115200"; - }; - extosc: ref { compatible = "fixed-clock"; #clock-cells = <0>; diff --git a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts index da199219736..c2fe040dcdb 100644 --- a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts +++ b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts @@ -17,10 +17,6 @@ led-upgrade = &orange_power; }; - chosen { - bootargs = "console=ttyS0,115200"; - }; - extosc: ref { compatible = "fixed-clock"; #clock-cells = <0>; diff --git a/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi b/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi index 3d256baa0e3..8f105b5db97 100644 --- a/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi +++ b/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi @@ -14,10 +14,6 @@ led-upgrade = &power_orange; }; - chosen { - bootargs = "console=ttyS0,115200"; - }; - extosc: ref { compatible = "fixed-clock"; #clock-cells = <0>; diff --git a/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi b/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi index 6e4361f10f2..ed01e991ff0 100644 --- a/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi +++ b/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi @@ -7,10 +7,6 @@ #include "ar7100.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200"; - }; - aliases { led-boot = &rf; led-failsafe = &rf; diff --git a/target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi b/target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi index b49d3458fe0..3b1b373cb38 100644 --- a/target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi +++ b/target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi @@ -7,10 +7,6 @@ #include "ar9344.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200"; - }; - keys { compatible = "gpio-keys"; diff --git a/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts b/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts index 25c1d050da9..d196cc7ea77 100644 --- a/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts +++ b/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts @@ -10,10 +10,6 @@ compatible = "tplink,archer-d50-v1", "qca,qca9531"; model = "TP-Link Archer D50 v1"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - gpio_leds: leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/qca9531_yuncore_a770.dts b/target/linux/ath79/dts/qca9531_yuncore_a770.dts index 18ad6307a1d..5af3dd6e67b 100644 --- a/target/linux/ath79/dts/qca9531_yuncore_a770.dts +++ b/target/linux/ath79/dts/qca9531_yuncore_a770.dts @@ -17,10 +17,6 @@ led-upgrade = &status; }; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - keys { compatible = "gpio-keys"; diff --git a/target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi b/target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi index ae9cb24aa01..35f17a41efe 100644 --- a/target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi +++ b/target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi @@ -7,10 +7,6 @@ #include "qca953x.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &led_link4; led-failsafe = &led_link4; diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wa801nd.dtsi b/target/linux/ath79/dts/qca9533_tplink_tl-wa801nd.dtsi index e1d0db87dd2..44c6394a260 100644 --- a/target/linux/ath79/dts/qca9533_tplink_tl-wa801nd.dtsi +++ b/target/linux/ath79/dts/qca9533_tplink_tl-wa801nd.dtsi @@ -13,10 +13,6 @@ led-upgrade = &led_system; }; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr802n.dtsi b/target/linux/ath79/dts/qca9533_tplink_tl-wr802n.dtsi index adf75c786e6..fa12e0386a9 100644 --- a/target/linux/ath79/dts/qca9533_tplink_tl-wr802n.dtsi +++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr802n.dtsi @@ -6,10 +6,6 @@ #include "qca953x.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &led_system; led-failsafe = &led_system; diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi b/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi index 34f242ac562..ee2441989a1 100644 --- a/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi +++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi @@ -7,10 +7,6 @@ #include "qca953x.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - gpio_leds: leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/qca953x_tplink_tl-wr810n.dtsi b/target/linux/ath79/dts/qca953x_tplink_tl-wr810n.dtsi index d4faee7506c..8047d89d9a5 100644 --- a/target/linux/ath79/dts/qca953x_tplink_tl-wr810n.dtsi +++ b/target/linux/ath79/dts/qca953x_tplink_tl-wr810n.dtsi @@ -7,10 +7,6 @@ #include "qca953x.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &led_system; led-failsafe = &led_system; diff --git a/target/linux/ath79/dts/qca9557.dtsi b/target/linux/ath79/dts/qca9557.dtsi index b29dfc72b26..24efb35fc50 100644 --- a/target/linux/ath79/dts/qca9557.dtsi +++ b/target/linux/ath79/dts/qca9557.dtsi @@ -8,6 +8,10 @@ #address-cells = <1>; #size-cells = <1>; + chosen { + bootargs = "console=ttyS0,115200n8"; + }; + cpus { #address-cells = <1>; #size-cells = <0>; diff --git a/target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts b/target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts index 995ecb3b737..c927fdeaf48 100644 --- a/target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts +++ b/target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts @@ -17,10 +17,6 @@ led-upgrade = &power; }; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi b/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi index 86b97437ea1..2c65882cf69 100644 --- a/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi +++ b/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi @@ -14,10 +14,6 @@ led-upgrade = &power; }; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - leds: leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi b/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi index 9937186b1ee..d50290b3a81 100644 --- a/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi +++ b/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi @@ -18,10 +18,6 @@ #include "qca9557.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - keys { compatible = "gpio-keys"; diff --git a/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts b/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts index 27f03130197..28d2e341fd1 100644 --- a/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts +++ b/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts @@ -10,10 +10,6 @@ compatible = "engenius,ecb1750", "qca,qca9557"; model = "EnGenius ECB1750"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &power_orange; led-failsafe = &power_orange; diff --git a/target/linux/ath79/dts/qca9558_engenius_epg5000.dts b/target/linux/ath79/dts/qca9558_engenius_epg5000.dts index 6179150fdb8..67b76ebcc5e 100644 --- a/target/linux/ath79/dts/qca9558_engenius_epg5000.dts +++ b/target/linux/ath79/dts/qca9558_engenius_epg5000.dts @@ -10,10 +10,6 @@ model = "EnGenius EPG5000"; compatible = "engenius,epg5000", "qca,qca9557"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &power; led-failsafe = &power; diff --git a/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts b/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts index 3b7e3aceda6..42c64b5bc3f 100644 --- a/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts +++ b/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts @@ -10,10 +10,6 @@ compatible = "librerouter,librerouter-v1", "qca,qca9558"; model = "LibreRouter v1"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &system; led-failsafe = &system; diff --git a/target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi b/target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi index 285601f3cf7..fe7e88ad434 100644 --- a/target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi +++ b/target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi @@ -7,10 +7,6 @@ #include "qca9557.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &power_green; led-failsafe = &power_amber; diff --git a/target/linux/ath79/dts/qca9558_ocedo_koala.dts b/target/linux/ath79/dts/qca9558_ocedo_koala.dts index 23835492a31..b2c97e1de20 100644 --- a/target/linux/ath79/dts/qca9558_ocedo_koala.dts +++ b/target/linux/ath79/dts/qca9558_ocedo_koala.dts @@ -10,10 +10,6 @@ compatible = "ocedo,koala", "qca,qca9557"; model = "OCEDO Koala"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &system; led-failsafe = &system; diff --git a/target/linux/ath79/dts/qca9558_ocedo_ursus.dts b/target/linux/ath79/dts/qca9558_ocedo_ursus.dts index 4914e03ba27..9f1924ee418 100644 --- a/target/linux/ath79/dts/qca9558_ocedo_ursus.dts +++ b/target/linux/ath79/dts/qca9558_ocedo_ursus.dts @@ -10,10 +10,6 @@ compatible = "ocedo,ursus", "qca,qca9558"; model = "OCEDO Ursus"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi b/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi index 343d318e0b4..fa3069b764d 100644 --- a/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi +++ b/target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi @@ -7,10 +7,6 @@ #include "qca9557.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &system; led-failsafe = &system; diff --git a/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts b/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts index 056b513d7e0..adeea716e20 100644 --- a/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts +++ b/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts @@ -18,10 +18,6 @@ mdio-gpio0 = &mdio2; }; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - keys { compatible = "gpio-keys"; diff --git a/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts b/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts index 3cc2d790d4a..cbc64dbf85a 100644 --- a/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts +++ b/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts @@ -10,10 +10,6 @@ compatible = "tplink,tl-wdr4900-v2", "qca,qca9558"; model = "TP-Link TL-WDR4900 v2"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &led_system; led-failsafe = &led_system; diff --git a/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi b/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi index 61d4aec6243..35a866ebea8 100644 --- a/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi +++ b/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi @@ -7,10 +7,6 @@ #include "qca9557.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &system; led-failsafe = &system; diff --git a/target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts b/target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts index c33fe7404ac..770e6cdb10b 100644 --- a/target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts +++ b/target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts @@ -10,10 +10,6 @@ compatible = "tplink,tl-wr941n-v7-cn", "qca,qca9558"; model = "TP-Link TL-WR941N v7 (CN)"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &led_system; led-failsafe = &led_system; diff --git a/target/linux/ath79/dts/qca9561_avm_fritz4020.dts b/target/linux/ath79/dts/qca9561_avm_fritz4020.dts index 9d548353efd..72962c1cd1b 100644 --- a/target/linux/ath79/dts/qca9561_avm_fritz4020.dts +++ b/target/linux/ath79/dts/qca9561_avm_fritz4020.dts @@ -17,10 +17,6 @@ led-upgrade = &info_red; }; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - led_spi { compatible = "spi-gpio"; #address-cells = <1>; diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts b/target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts index 3c971b54640..5cbbbdbbc96 100644 --- a/target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts +++ b/target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts @@ -10,10 +10,6 @@ compatible = "tplink,archer-c25-v1", "qca,qca9561"; model = "TP-Link Archer C25 v1"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - led_spi { compatible = "spi-gpio"; #address-cells = <1>; diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi b/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi index dc56bf682a0..3e63317ce00 100644 --- a/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi +++ b/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi @@ -8,10 +8,6 @@ / { compatible = "tplink,archer-c5x", "qca,qca9560"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - led_spi { compatible = "spi-gpio"; #address-cells = <1>; diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi b/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi index 6c015fcdd9c..65f209e9b02 100644 --- a/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi +++ b/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi @@ -6,10 +6,6 @@ #include "qca956x.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &led_power; led-failsafe = &led_power; diff --git a/target/linux/ath79/dts/qca9561_xiaomi_mi-router-4q.dts b/target/linux/ath79/dts/qca9561_xiaomi_mi-router-4q.dts index 8b8818c82fb..51f232ccf60 100644 --- a/target/linux/ath79/dts/qca9561_xiaomi_mi-router-4q.dts +++ b/target/linux/ath79/dts/qca9561_xiaomi_mi-router-4q.dts @@ -17,10 +17,6 @@ led-upgrade = &led_red; }; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - keys { compatible = "gpio-keys-polled"; poll-interval = <100>; diff --git a/target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts b/target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts index c0e0cc74734..fe59f2fd1c0 100644 --- a/target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts +++ b/target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts @@ -17,10 +17,6 @@ led-upgrade = &power; }; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/qca9563_elecom_wrc-ghbk2-i.dtsi b/target/linux/ath79/dts/qca9563_elecom_wrc-ghbk2-i.dtsi index 2f5c2c4aac8..34f004832a5 100644 --- a/target/linux/ath79/dts/qca9563_elecom_wrc-ghbk2-i.dtsi +++ b/target/linux/ath79/dts/qca9563_elecom_wrc-ghbk2-i.dtsi @@ -7,10 +7,6 @@ #include "qca956x.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &power; led-failsafe = &power; diff --git a/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dts b/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dts index 0145a24fbae..03922bcd1fe 100644 --- a/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dts +++ b/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dts @@ -10,10 +10,6 @@ compatible = "glinet,gl-ar750s", "qca,qca9563"; model = "GL.iNet GL-AR750S"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &power; led-failsafe = &power; diff --git a/target/linux/ath79/dts/qca9563_nec_wg1200cr.dts b/target/linux/ath79/dts/qca9563_nec_wg1200cr.dts index 8c356bd7542..03aaceb4280 100644 --- a/target/linux/ath79/dts/qca9563_nec_wg1200cr.dts +++ b/target/linux/ath79/dts/qca9563_nec_wg1200cr.dts @@ -10,10 +10,6 @@ model = "NEC Aterm WG1200CR"; compatible = "nec,wg1200cr", "qca,qca9563"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &power_green; led-failsafe = &power_red; diff --git a/target/linux/ath79/dts/qca9563_nec_wg800hp.dts b/target/linux/ath79/dts/qca9563_nec_wg800hp.dts index 9cba99b6a6e..f4d1ce10d18 100644 --- a/target/linux/ath79/dts/qca9563_nec_wg800hp.dts +++ b/target/linux/ath79/dts/qca9563_nec_wg800hp.dts @@ -10,10 +10,6 @@ model = "NEC Aterm WG800HP"; compatible = "nec,wg800hp", "qca,qca9563"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &power_green; led-failsafe = &power_red; diff --git a/target/linux/ath79/dts/qca9563_phicomm_k2t.dts b/target/linux/ath79/dts/qca9563_phicomm_k2t.dts index d819a76fd24..9a12665397e 100644 --- a/target/linux/ath79/dts/qca9563_phicomm_k2t.dts +++ b/target/linux/ath79/dts/qca9563_phicomm_k2t.dts @@ -17,10 +17,6 @@ led-upgrade = &status_red; }; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/qca9563_rosinson_wr818.dts b/target/linux/ath79/dts/qca9563_rosinson_wr818.dts index faa8105e8c1..31e19dda4ba 100644 --- a/target/linux/ath79/dts/qca9563_rosinson_wr818.dts +++ b/target/linux/ath79/dts/qca9563_rosinson_wr818.dts @@ -10,10 +10,6 @@ model = "ROSINSON WR818"; compatible = "rosinson,wr818", "qca,qca9563"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &system; led-failsafe = &system; diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts b/target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts index 782a581acaf..c0dbf995be0 100644 --- a/target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts +++ b/target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts @@ -10,10 +10,6 @@ compatible = "tplink,archer-c2-v3", "qca,qca9563"; model = "TP-Link Archer C2 v3"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &system; led-failsafe = &system; diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts index 24588d82167..b6425e21c85 100644 --- a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts +++ b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts @@ -10,10 +10,6 @@ compatible = "tplink,archer-c7-v4", "qca,qca9563"; model = "TP-Link Archer C7 v4"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &system; led-failsafe = &system; diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-x6-v2.dtsi b/target/linux/ath79/dts/qca9563_tplink_archer-x6-v2.dtsi index ac10d9134a6..203c5bdb217 100644 --- a/target/linux/ath79/dts/qca9563_tplink_archer-x6-v2.dtsi +++ b/target/linux/ath79/dts/qca9563_tplink_archer-x6-v2.dtsi @@ -7,10 +7,6 @@ #include "qca956x.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &power; led-failsafe = &power; diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi b/target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi index 324d8312492..002a71850c7 100644 --- a/target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi +++ b/target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi @@ -7,10 +7,6 @@ #include "qca956x.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &system; led-failsafe = &system; diff --git a/target/linux/ath79/dts/qca9563_tplink_re450-v2.dts b/target/linux/ath79/dts/qca9563_tplink_re450-v2.dts index 36e5ef81db7..fcf861a7c69 100644 --- a/target/linux/ath79/dts/qca9563_tplink_re450-v2.dts +++ b/target/linux/ath79/dts/qca9563_tplink_re450-v2.dts @@ -10,10 +10,6 @@ compatible = "tplink,re450-v2", "qca,qca9563"; model = "TP-Link RE450 v2"; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &system; led-failsafe = &system; diff --git a/target/linux/ath79/dts/qca9563_tplink_tl-wr1043n.dtsi b/target/linux/ath79/dts/qca9563_tplink_tl-wr1043n.dtsi index 42b4b6b8c67..c66f541d0ac 100644 --- a/target/linux/ath79/dts/qca9563_tplink_tl-wr1043n.dtsi +++ b/target/linux/ath79/dts/qca9563_tplink_tl-wr1043n.dtsi @@ -7,10 +7,6 @@ #include "qca956x.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - aliases { led-boot = &system; led-failsafe = &system; diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi index fdd4a01d867..7f72155c0f1 100644 --- a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi +++ b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi @@ -13,10 +13,6 @@ led-upgrade = &led_blue; }; - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/qca9563_yuncore_xd4200.dtsi b/target/linux/ath79/dts/qca9563_yuncore_xd4200.dtsi index e336cca0e0c..67d5f908302 100644 --- a/target/linux/ath79/dts/qca9563_yuncore_xd4200.dtsi +++ b/target/linux/ath79/dts/qca9563_yuncore_xd4200.dtsi @@ -7,10 +7,6 @@ #include "qca956x.dtsi" / { - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - keys { compatible = "gpio-keys"; diff --git a/target/linux/ath79/dts/qca956x.dtsi b/target/linux/ath79/dts/qca956x.dtsi index ee645aa02f0..83fb27b8378 100644 --- a/target/linux/ath79/dts/qca956x.dtsi +++ b/target/linux/ath79/dts/qca956x.dtsi @@ -8,6 +8,10 @@ #address-cells = <1>; #size-cells = <1>; + chosen { + bootargs = "console=ttyS0,115200n8"; + }; + cpus { #address-cells = <1>; #size-cells = <0>; diff --git a/target/linux/ath79/dts/tp9343_tplink_tl-wx.dtsi b/target/linux/ath79/dts/tp9343_tplink_tl-wx.dtsi index c497860f116..1b4a547cc68 100644 --- a/target/linux/ath79/dts/tp9343_tplink_tl-wx.dtsi +++ b/target/linux/ath79/dts/tp9343_tplink_tl-wx.dtsi @@ -5,12 +5,6 @@ #include "qca956x.dtsi" -/ { - chosen { - bootargs = "console=ttyS0,115200n8"; - }; -}; - &spi { status = "okay";