From: Luis Mita Date: Thu, 6 Jun 2024 20:43:19 +0000 (-0400) Subject: ramips: mt76x8: sync Cudy TR1200 v1 naming X-Git-Tag: v23.05.4~69 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15875%2Fhead;p=thirdparty%2Fopenwrt.git 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 (cherry picked from commit d780d530dd89d135fffc6fb6598e6f7b28cd3921) Link: https://github.com/openwrt/openwrt/pull/15875 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/ramips/dts/mt7628an_cudy_tr1200-v1.dts b/target/linux/ramips/dts/mt7628an_cudy_tr1200-v1.dts index d0875307829..ae2bdd8a1c7 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 / { - 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 504f69ece33..e77bc82c930 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 @@ -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" ;;