[openwrt/openwrt] ramips: drop redundant definitions of serial0 in aliases

LEDE Commits lede-commits at lists.infradead.org
Mon Feb 22 12:50:14 EST 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/86a4d7802272707c19864ebb56518cc7aa64102f

commit 86a4d7802272707c19864ebb56518cc7aa64102f
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Mon Feb 22 18:43:58 2021 +0100

    ramips: drop redundant definitions of serial0 in aliases
    
    These were redefines of the same value already set in the SoC dtsi
    files.
    
    Reported-by: Shiji Yang <yangshiji66 at qq.com>
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/ramips/dts/mt7620a_phicomm_k2g.dts              | 1 -
 target/linux/ramips/dts/mt7620a_wavlink_wl-wn530hg4.dts      | 1 -
 target/linux/ramips/dts/mt7621_totolink_x5000r.dts           | 1 -
 target/linux/ramips/dts/rt5350_olimex_rt5350f-olinuxino.dtsi | 1 -
 4 files changed, 4 deletions(-)

diff --git a/target/linux/ramips/dts/mt7620a_phicomm_k2g.dts b/target/linux/ramips/dts/mt7620a_phicomm_k2g.dts
index e01c60a695..85d43468aa 100644
--- a/target/linux/ramips/dts/mt7620a_phicomm_k2g.dts
+++ b/target/linux/ramips/dts/mt7620a_phicomm_k2g.dts
@@ -12,7 +12,6 @@
 		led-failsafe = &led_blue;
 		led-running = &led_blue;
 		led-upgrade = &led_blue;
-		serial0 = &uartlite;
 	};
 
 	leds {
diff --git a/target/linux/ramips/dts/mt7620a_wavlink_wl-wn530hg4.dts b/target/linux/ramips/dts/mt7620a_wavlink_wl-wn530hg4.dts
index d8ce40c8d1..27fd2e2450 100644
--- a/target/linux/ramips/dts/mt7620a_wavlink_wl-wn530hg4.dts
+++ b/target/linux/ramips/dts/mt7620a_wavlink_wl-wn530hg4.dts
@@ -14,7 +14,6 @@
 		led-failsafe = &led_status_blue;
 		led-running = &led_status_blue;
 		led-upgrade = &led_status_blue;
-		serial0 = &uartlite;
 	};
 
 	leds {
diff --git a/target/linux/ramips/dts/mt7621_totolink_x5000r.dts b/target/linux/ramips/dts/mt7621_totolink_x5000r.dts
index b05d83978d..ef491087ef 100644
--- a/target/linux/ramips/dts/mt7621_totolink_x5000r.dts
+++ b/target/linux/ramips/dts/mt7621_totolink_x5000r.dts
@@ -15,7 +15,6 @@
 		led-running = &led_sys;
 		led-upgrade = &led_sys;
 		label-mac-device = &gmac0;
-		serial0 = &uartlite;
 	};
 
 	chosen {
diff --git a/target/linux/ramips/dts/rt5350_olimex_rt5350f-olinuxino.dtsi b/target/linux/ramips/dts/rt5350_olimex_rt5350f-olinuxino.dtsi
index 7d85109bec..8a8e5a92e1 100644
--- a/target/linux/ramips/dts/rt5350_olimex_rt5350f-olinuxino.dtsi
+++ b/target/linux/ramips/dts/rt5350_olimex_rt5350f-olinuxino.dtsi
@@ -4,7 +4,6 @@
 	compatible = "olimex,rt5350f-olinuxino", "ralink,rt5350-soc";
 
 	aliases {
-		serial0 = &uartlite;
 		serial1 = &uart;
 	};
 };



More information about the lede-commits mailing list