ramips: mt76x8: sync Cudy TR1200 v1 naming

Cudy assigns hardware versions to its devices on its website, and
the Cudy TR1200 router is now Cudy TR1200 v1.
OpenWrt currently uses both variants, and this commit removes
inconsistencies using only the new name.

Signed-off-by: Luis Mita <luis@luismita.com>
This commit is contained in:
Luis Mita 2024-06-06 16:43:19 -04:00 committed by Nick Hainke
parent 0397932fdd
commit d780d530dd
2 changed files with 3 additions and 3 deletions

View File

@ -7,8 +7,8 @@
#include <dt-bindings/leds/common.h> #include <dt-bindings/leds/common.h>
/ { / {
compatible = "cudy,tr1200", "mediatek,mt7628an-soc"; compatible = "cudy,tr1200-v1", "mediatek,mt7628an-soc";
model = "Cudy TR1200"; model = "Cudy TR1200 v1";
aliases { aliases {
led-boot = &led_status; led-boot = &led_status;

View File

@ -94,7 +94,7 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"4:lan" "6@eth0" "4:lan" "6@eth0"
;; ;;
cudy,tr1200) cudy,tr1200-v1)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan" "1:wan" "6@eth0" "0:lan" "1:wan" "6@eth0"
;; ;;