summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Mita2024-06-06 20:43:19 +0000
committerNick Hainke2024-06-10 08:13:56 +0000
commitd780d530dd89d135fffc6fb6598e6f7b28cd3921 (patch)
tree6e06c87d5d6ac67a060d7a4554cd021e40cb89a3
parent0397932fdd3fedabbba095445e5a5a5057a40538 (diff)
downloadopenwrt-d780d530dd89d135fffc6fb6598e6f7b28cd3921.tar.gz
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>
-rw-r--r--target/linux/ramips/dts/mt7628an_cudy_tr1200-v1.dts4
-rw-r--r--target/linux/ramips/mt76x8/base-files/etc/board.d/02_network2
2 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/mt7628an_cudy_tr1200-v1.dts b/target/linux/ramips/dts/mt7628an_cudy_tr1200-v1.dts
index d087530782..ae2bdd8a1c 100644
--- a/target/linux/ramips/dts/mt7628an_cudy_tr1200-v1.dts
+++ b/target/linux/ramips/dts/mt7628an_cudy_tr1200-v1.dts
@@ -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;
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
index bec8e9e3df..96381b88b0 100644
--- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
@@ -94,7 +94,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"
;;