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>
(cherry picked from commit d780d530dd)
Link: https://github.com/openwrt/openwrt/pull/15875
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Luis Mita
2024-06-06 16:43:19 -04:00
committed by Hauke Mehrtens
parent 7be58ccacc
commit 3fcf619e76
2 changed files with 3 additions and 3 deletions

View File

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

View File

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