From 2ea793f9b2c4cb91e66313cd1a039355a32f22df Mon Sep 17 00:00:00 2001
From: "Manu.WTF" <43337106+Dark4MD@users.noreply.github.com>
Date: Mon, 4 Apr 2022 19:08:38 +0200
Subject: [PATCH]  ath79-generic: (re)add support for avm_fritz4020 (#2435)

---
 docs/user/supported_devices.rst | 1 +
 targets/ath79-generic           | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst
index 1cba2c9c..1ba53c7b 100644
--- a/docs/user/supported_devices.rst
+++ b/docs/user/supported_devices.rst
@@ -7,6 +7,7 @@ ath79-generic
 * AVM
 
   - Fritz!WLAN Repeater 450E [#avmflash]_
+  - Fritz!Box 4020 [#avmflash]_
 
 * devolo
 
diff --git a/targets/ath79-generic b/targets/ath79-generic
index e2807837..0bfb0aba 100644
--- a/targets/ath79-generic
+++ b/targets/ath79-generic
@@ -24,6 +24,10 @@ local ATH10K_PACKAGES_QCA9888 = {
 
 -- AVM
 
+device('avm-fritz-box-4020', 'avm_fritz4020', {
+	factory = false,
+})
+
 device('avm-fritz-wlan-repeater-450e', 'avm_fritz450e', {
 	factory = false,
 })
-- 
GitLab