From 52dfe84d4a5018934ef50063925edcf3f75ba21d Mon Sep 17 00:00:00 2001
From: Felix Baumann <felix.bau@gmx.de>
Date: Wed, 3 May 2023 04:48:56 +0200
Subject: [PATCH] ramips: add support for Cudy X6 v2

(cherry picked from commit 5328f17b09319e5371e0c42931f15fb3a14eb4af)
---
 docs/user/supported_devices.rst | 2 +-
 targets/ramips-mt7621           | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst
index 0131c5781..f7a93d270 100644
--- a/docs/user/supported_devices.rst
+++ b/docs/user/supported_devices.rst
@@ -358,7 +358,7 @@ ramips-mt7621
 * Cudy
 
   - WR2100
-  - X6 (v1)
+  - X6 (v1, v2)
 
 * D-Link
 
diff --git a/targets/ramips-mt7621 b/targets/ramips-mt7621
index ad76b2468..2338ffa55 100644
--- a/targets/ramips-mt7621
+++ b/targets/ramips-mt7621
@@ -15,6 +15,10 @@ device('cudy-x6-v1', 'cudy_x6-v1', {
 	factory = false,
 })
 
+device('cudy-x6-v2', 'cudy_x6-v2', {
+	factory = false,
+})
+
 
 -- D-Link
 
-- 
GitLab