From 11f757c54ef255104867eb14d4de1b2f37af777c Mon Sep 17 00:00:00 2001
From: Jani Juvan <jani.juvan@iopsys.eu>
Date: Thu, 16 Dec 2021 11:23:36 +0100
Subject: [PATCH] iopsys-ramips: uplift to openwrt v21.02.1

---
 iopsys-ramips/image/mt76x8.mk                          | 9 +++++++++
 iopsys-ramips/mt76x8/base-files/etc/board.d/02_network | 1 +
 2 files changed, 10 insertions(+)

diff --git a/iopsys-ramips/image/mt76x8.mk b/iopsys-ramips/image/mt76x8.mk
index c5a0baa1c..1a75bab37 100644
--- a/iopsys-ramips/image/mt76x8.mk
+++ b/iopsys-ramips/image/mt76x8.mk
@@ -269,6 +269,15 @@ define Device/mercury_mac1200r-v2
 endef
 TARGET_DEVICES += mercury_mac1200r-v2
 
+define Device/minew_g1-c
+  IMAGE_SIZE := 15744k
+  DEVICE_VENDOR := Minew
+  DEVICE_MODEL := G1-C
+  DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport kmod-usb-serial-cp210x
+  SUPPORTED_DEVICES += minew-g1c
+endef
+TARGET_DEVICES += minew_g1-c
+
 define Device/netgear_r6020
   $(Device/netgear_sercomm_nor)
   IMAGE_SIZE := 7104k
diff --git a/iopsys-ramips/mt76x8/base-files/etc/board.d/02_network b/iopsys-ramips/mt76x8/base-files/etc/board.d/02_network
index c55733ad5..82794be60 100755
--- a/iopsys-ramips/mt76x8/base-files/etc/board.d/02_network
+++ b/iopsys-ramips/mt76x8/base-files/etc/board.d/02_network
@@ -15,6 +15,7 @@ ramips_setup_interfaces()
 	glinet,vixmini|\
 	hak5,wifi-pineapple-mk7|\
 	mediatek,linkit-smart-7688|\
+	minew,g1-c|\
 	onion,omega2p|\
 	onion,omega2|\
 	ravpower,rp-wd009|\
-- 
GitLab