From 40f8275918b7386aad41ffb1ac3cc31398198a07 Mon Sep 17 00:00:00 2001
From: "J. Burfeind" <git@aiyionpri.me>
Date: Thu, 5 May 2022 01:19:29 +0200
Subject: [PATCH] ath79-generic: (re)add Archer C7 v4 (#2497)

Gone due to
commit 45c84a117bf8 ("ar71xx: drop target")
---
 docs/user/supported_devices.rst | 2 +-
 targets/ath79-generic           | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst
index 389bb5757..89d93d232 100644
--- a/docs/user/supported_devices.rst
+++ b/docs/user/supported_devices.rst
@@ -82,7 +82,7 @@ ath79-generic
   - Archer A7 (v5)
   - Archer C5 (v1)
   - Archer C6 (v2)
-  - Archer C7 (v2, v5)
+  - Archer C7 (v2, v4, v5)
   - Archer C59 (v1)
   - CPE210 (v1.0, v1.1, v2.0)
   - CPE220 (v3.0)
diff --git a/targets/ath79-generic b/targets/ath79-generic
index 3f9be60e0..d43224f39 100644
--- a/targets/ath79-generic
+++ b/targets/ath79-generic
@@ -319,6 +319,10 @@ device('tp-link-archer-c7-v2', 'tplink_archer-c7-v2', {
 	packages = ATH10K_PACKAGES_QCA9880,
 })
 
+device('tp-link-archer-c7-v4', 'tplink_archer-c7-v4', {
+	packages = ATH10K_PACKAGES_QCA9880,
+})
+
 device('tp-link-archer-c7-v5', 'tplink_archer-c7-v5', {
 	packages = ATH10K_PACKAGES_QCA9880,
 })
-- 
GitLab