aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorAdam Elyas <adamelyas@outlook.com>2021-06-08 08:09:18 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-06-09 22:44:00 +0200
commitedaf432bf411767f3e8a9e5effc3a416bcac46c7 (patch)
tree5afb14275849f1b6b21d00d8bf185d13a95c6dd7 /target/linux/ramips
parent2c97a02fef0c74b787fdf847e9e6b68457c67362 (diff)
downloadupstream-edaf432bf411767f3e8a9e5effc3a416bcac46c7.tar.gz
upstream-edaf432bf411767f3e8a9e5effc3a416bcac46c7.tar.bz2
upstream-edaf432bf411767f3e8a9e5effc3a416bcac46c7.zip
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@outlook.com> [minor commit title adjustment, wrap commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts4
1 files 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";
};
};