]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ramips: mt76x8: sync Cudy TR1200 v1 naming 15875/head
authorLuis Mita <luis@luismita.com>
Thu, 6 Jun 2024 20:43:19 +0000 (16:43 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 7 Jul 2024 21:53:30 +0000 (23:53 +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>
(cherry picked from commit d780d530dd89d135fffc6fb6598e6f7b28cd3921)
Link: https://github.com/openwrt/openwrt/pull/15875
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
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 504f69ece33d7b6359931ddc98d54e9faf94f820..e77bc82c930d76896f9fd3e4c577c3ed71af1f3b 100644 (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"
                ;;