ramips: mt76x8: sync Cudy TR1200 v1 naming main master
authorLuis Mita <luis@luismita.com>
Thu, 6 Jun 2024 20:43:19 +0000 (16:43 -0400)
committerNick Hainke <vincent@systemli.org>
Mon, 10 Jun 2024 08:13:56 +0000 (10:13 +0200)
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>
target/linux/ramips/dts/mt7628an_cudy_tr1200-v1.dts
target/linux/ramips/mt76x8/base-files/etc/board.d/02_network

index d08753078294afe847c9c41ec7623c5d26ec04f9..ae2bdd8a1c7529e66c8a1b0a562920ea31457489 100644 (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;
index bec8e9e3df173fd7c0e9444f8a773cc268a886d7..96381b88b02e8b0b6f08fc8fdb3b22bb85f5a4f6 100644 (file)
@@ -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"
                ;;