From 4c10483ab24d153337482c38686e85a64a0c9e67 Mon Sep 17 00:00:00 2001
From: Nico <github@nicoboehr.de>
Date: Thu, 12 Sep 2024 21:23:20 +0000
Subject: [PATCH] ramips: add support for Cudy WR1300 v2 and v3

Signed-off-by: Nico <github@nicoboehr.de>
---
 docs/user/supported_devices.rst | 2 +-
 targets/ramips-mt7621           | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst
index 7fce36a64..1859a6aa2 100644
--- a/docs/user/supported_devices.rst
+++ b/docs/user/supported_devices.rst
@@ -306,7 +306,7 @@ mediatek-filogic
 
 * Cudy
 
-  - WR3000 (v1)
+  - WR3000 (v1, v2, v3)
 
 * GL.iNet
 
diff --git a/targets/ramips-mt7621 b/targets/ramips-mt7621
index 7d93ae026..8a241a921 100644
--- a/targets/ramips-mt7621
+++ b/targets/ramips-mt7621
@@ -19,6 +19,14 @@ device('cudy-wr1300-v1', 'cudy_wr1300-v1', {
 	},
 })
 
+device('cudy-wr1300-v2', 'cudy_wr1300-v2', {
+	factory = false,
+})
+
+device('cudy-wr1300-v3', 'cudy_wr1300-v3', {
+	factory = false,
+})
+
 device('cudy-wr2100', 'cudy_wr2100', {
 	factory = false,
 })
-- 
GitLab