[openwrt/openwrt] ramips: mt76x8: sync Cudy TR1200 v1 naming
LEDE Commits
lede-commits at lists.infradead.org
Sun Jul 7 14:54:47 PDT 2024
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/3fcf619e76b9ce5c3d43501923e5f4e11334c600
commit 3fcf619e76b9ce5c3d43501923e5f4e11334c600
Author: Luis Mita <luis at luismita.com>
AuthorDate: Thu Jun 6 16:43:19 2024 -0400
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 at luismita.com>
(cherry picked from commit d780d530dd89d135fffc6fb6598e6f7b28cd3921)
Link: https://github.com/openwrt/openwrt/pull/15875
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/ramips/dts/mt7628an_cudy_tr1200-v1.dts | 4 ++--
target/linux/ramips/mt76x8/base-files/etc/board.d/02_network | 2 +-
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 504f69ece3..e77bc82c93 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 at eth0"
;;
- cudy,tr1200)
+ cudy,tr1200-v1)
ucidef_add_switch "switch0" \
"0:lan" "1:wan" "6 at eth0"
;;
More information about the lede-commits
mailing list