[openwrt/openwrt] ramips: fix LAN LED trigger assignment for Xiaomi Router 3 Pro
LEDE Commits
lede-commits at lists.infradead.org
Sat Jun 12 02:02:23 PDT 2021
adrian pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/8078d953b8170260eb6fb1fe6b9ea0d5283acb70
commit 8078d953b8170260eb6fb1fe6b9ea0d5283acb70
Author: Adam Elyas <adamelyas at outlook.com>
AuthorDate: Tue Jun 8 08:09:18 2021 +0800
ramips: fix LAN LED trigger assignment for Xiaomi Router 3 Pro
The default trigger for the amber lights on lan1 and lan3 were
mistakenly swapped after the device's migration to DSA. This
caused activity on one port to trigger the amber light on the
other port. Swapping their default trigger in the DTS file
fixes that.
Signed-off-by: Adam Elyas <adamelyas at outlook.com>
[minor commit title adjustment, wrap commit message]
Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
(cherry picked from commit edaf432bf411767f3e8a9e5effc3a416bcac46c7)
---
target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts
index b9101b7ccb..e8f3a50dbe 100644
--- a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts
+++ b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts
@@ -48,7 +48,7 @@
lan3_amber {
label = "amber:lan3";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "dsa-0.0:01:1Gbps";
+ linux,default-trigger = "dsa-0.0:03:1Gbps";
};
lan2_amber {
@@ -60,7 +60,7 @@
lan1_amber {
label = "amber:lan1";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "dsa-0.0:03:1Gbps";
+ linux,default-trigger = "dsa-0.0:01:1Gbps";
};
};
More information about the lede-commits
mailing list