From 7bf1db0dcb625f1e20728eeb57e2f62ec8a75c84 Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Mon, 17 Aug 2015 05:58:20 +0000
Subject: [PATCH] ramips: fix UPVEL model names

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>

SVN-Revision: 46618
---
 target/linux/ramips/base-files/lib/ramips.sh | 4 ++--
 target/linux/ramips/dts/UR-326N4G.dts        | 2 +-
 target/linux/ramips/dts/UR-336UN.dts         | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index fa90243193..9e7f4e5988 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -370,10 +370,10 @@ ramips_board_detect() {
 	*"WR512-3GN-like router")
 		name="wr512-3gn"
 		;;
-	*"UR-326N4G Wireless N router")
+	*"UPVEL UR-326N4G")
 		name="ur-326n4g"
 		;;
-	*"UR-336UN Wireless N router")
+	*"UPVEL UR-336UN")
 		name="ur-336un"
 		;;
 	*"AWB WR6202")
diff --git a/target/linux/ramips/dts/UR-326N4G.dts b/target/linux/ramips/dts/UR-326N4G.dts
index 6350bd7a00..92a7a57a62 100644
--- a/target/linux/ramips/dts/UR-326N4G.dts
+++ b/target/linux/ramips/dts/UR-326N4G.dts
@@ -4,7 +4,7 @@
 
 / {
 	compatible = "UR-326N4G", "ralink,rt3052-soc";
-	model = "UR-326N4G Wireless N router";
+	model = "UPVEL UR-326N4G";
 
 	pinctrl {
 		state_default: pinctrl0 {
diff --git a/target/linux/ramips/dts/UR-336UN.dts b/target/linux/ramips/dts/UR-336UN.dts
index 896b6e6542..a6ef6cdc7e 100644
--- a/target/linux/ramips/dts/UR-336UN.dts
+++ b/target/linux/ramips/dts/UR-336UN.dts
@@ -4,7 +4,7 @@
 
 / {
 	compatible = "UR-336UN", "ralink,rt3052-soc";
-	model = "UR-336UN Wireless N router";
+	model = "UPVEL UR-336UN";
 
 	pinctrl {
 		state_default: pinctrl0 {
-- 
2.30.2