From 61ee9227f02ea4e056047821956b2f003f3cd09d Mon Sep 17 00:00:00 2001
From: Christian Middendorf
 <132701936+ChristianMiddendorf@users.noreply.github.com>
Date: Mon, 1 Jul 2024 23:23:43 +0200
Subject: [PATCH] ramips-mt7621: add support for Xiaomi Mi Router 4a Gigabit
 Edition v2 (#3293)

(cherry picked from commit b50007d171321e87d6ceca5f983259093d25f1e2)
---
 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 819611298..5ae522385 100644
--- a/docs/user/supported_devices.rst
+++ b/docs/user/supported_devices.rst
@@ -462,7 +462,7 @@ ramips-mt7621
 * Xiaomi
 
   - Xiaomi Mi Router 3G (v1, v2)
-  - Xiaomi Mi Router 4A (Gigabit Edition v1)
+  - Xiaomi Mi Router 4A (Gigabit Edition v1, v2)
 
 * ZBT
 
diff --git a/targets/ramips-mt7621 b/targets/ramips-mt7621
index 01b9b94cd..79ae7a707 100644
--- a/targets/ramips-mt7621
+++ b/targets/ramips-mt7621
@@ -120,6 +120,10 @@ device('xiaomi-mi-router-4a-gigabit-edition', 'xiaomi_mi-router-4a-gigabit', {
 	factory = false,
 })
 
+device('xiaomi-mi-router-4a-gigabit-edition-v2', 'xiaomi_mi-router-4a-gigabit-v2', {
+	factory = false,
+})
+
 device('xiaomi-mi-router-3g', 'xiaomi_mi-router-3g', {
 	factory = false,
 })
-- 
GitLab