From 236528ffaff7a3090351a8c0c870832d5c8e7951 Mon Sep 17 00:00:00 2001
From: David Bauer <mail@david-bauer.net>
Date: Mon, 31 Oct 2022 09:59:06 +0100
Subject: [PATCH] ramips-mt7621: add support for ZyXEL NWA55AXE

---
 package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua | 5 +++++
 targets/ramips-mt7621                                    | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua
index b9b90789e..dcd736f11 100644
--- a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua
+++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua
@@ -60,6 +60,11 @@ function M.is_outdoor_device()
 		'mikrotik,sxtsq-5-ac',
 	}) then
 		return true
+
+	elseif M.match('ramips', 'mt7621', {
+		'zyxel,nwa55axe',
+	}) then
+		return true
 	end
 
 	return false
diff --git a/targets/ramips-mt7621 b/targets/ramips-mt7621
index 2338ffa55..0ca89fed2 100644
--- a/targets/ramips-mt7621
+++ b/targets/ramips-mt7621
@@ -118,6 +118,9 @@ device('zbtlink-zbt-wg3526-32m', 'zbtlink_zbt-wg3526-32m', {
 -- ZyXEL
 
 device('zyxel-nwa50ax', 'zyxel_nwa50ax')
+device('zyxel-nwa55axe', 'zyxel_nwa55axe', {
+	broken = true, -- Missing LED / Reset button
+})
 
 
 -- Devices without WLAN
-- 
GitLab