ramips: Xiaomi MIR3G: detect board name from DTS

- Former "mir3g" board name becomes "xiaomi,mir3g".
- Reorder some entries to maintain alphabetical order.
- Change DTS so status LEDs (yellow/red/blue) mimic
  Xiaomi stock firmware: (Section Indicator)
<http://files.xiaomi-mi.co.uk/files/router_pro/router%20PRO%20EN.pdf>
<http://files.xiaomi-mi.co.uk/files/Mi_WiFi_router_3/MiWiFi_router3_EN.pdf>
|Yellow: Update (LED flickering), the launch of the system (steady light);
|Blue: during normal operation (steady light);
|Red: Safe mode (display flicker), system failure (steady light);

Signed-off-by: Ozgur Can Leonard <ozgurcan@gmail.com>
[Added link to similar Router 3 model]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
Ozgur Can Leonard
2019-03-19 10:04:27 +03:00
committed by Christian Lamparter
parent f22c33b40c
commit 201d3d1a82
7 changed files with 31 additions and 33 deletions

View File

@@ -37,11 +37,11 @@ platform_do_upgrade() {
case "$board" in
hc5962|\
mir3g|\
r6220|\
netgear,r6350|\
ubnt-erx|\
ubnt-erx-sfp|\
xiaomi,mir3g|\
xiaomi,mir3p)
nand_do_upgrade "$ARGV"
;;