From 0f3f4bc8971c9c4ab60d39c2f3b558b69835f80a Mon Sep 17 00:00:00 2001
From: "aiyion.prime" <git@aiyionpri.me>
Date: Fri, 24 Apr 2020 13:34:17 +0200
Subject: [PATCH] ramips-mt76x8: add support for Cudy WR1000

v2 is available on the market, but apparently has no upstream support, yet:
https://forum.openwrt.org/t/v2-of-cudy-wr1000/56965
---
 docs/user/supported_devices.rst | 4 ++++
 targets/ramips-mt76x8           | 5 +++++
 2 files changed, 9 insertions(+)

diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst
index 9f3eb037c..05e72a2db 100644
--- a/docs/user/supported_devices.rst
+++ b/docs/user/supported_devices.rst
@@ -354,6 +354,10 @@ ramips-mt7621
 ramips-mt76x8
 -------------
 
+* Cudy
+
+  - WR1000 (v1)
+
 * GL.iNet
 
   - GL-MT300N (v2)
diff --git a/targets/ramips-mt76x8 b/targets/ramips-mt76x8
index c1e0354f9..ccc83143f 100644
--- a/targets/ramips-mt76x8
+++ b/targets/ramips-mt76x8
@@ -1,3 +1,8 @@
+-- Cudy
+
+device('cudy-wr1000', 'cudy_wr1000')
+
+
 -- GL.iNet
 
 device('gl-mt300n-v2', 'gl-mt300n-v2', {
-- 
GitLab