[PATCH 1/3] ramips: hlk-7621a-evb: remove WiFi support

Reinhard Max reinhard at m4x.de
Wed Apr 13 05:05:52 PDT 2022


The HiLink HLK-7621A evaluation board[1] contains no on-board WiFi
hardware and its Mini PCIe slot can be used for arbitrary extension
cards. So it makes no sense for a default build to assume that any
particular type of WiFi chip is present.

[1] http://hlktech.net/index.php?id=436

Signed-off-by: Reinhard Max <reinhard at m4x.de>
---
 target/linux/ramips/dts/mt7621_hilink_hlk-7621a-evb.dts | 8 --------
 target/linux/ramips/image/mt7621.mk                     | 2 +-
 2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621_hilink_hlk-7621a-evb.dts b/target/linux/ramips/dts/mt7621_hilink_hlk-7621a-evb.dts
index 9776f43e02..b96436e03d 100644
--- a/target/linux/ramips/dts/mt7621_hilink_hlk-7621a-evb.dts
+++ b/target/linux/ramips/dts/mt7621_hilink_hlk-7621a-evb.dts
@@ -94,14 +94,6 @@
 	status = "okay";
 };
 
-&pcie2 {
-	wifi at 0,0 {
-		compatible = "mediatek,mt76";
-		reg = <0x0000 0 0 0 0>;
-		mediatek,mtd-eeprom = <&factory 0x8000>;
-	};
-};
-
 &state_default {
 	gpio {
 		groups = "wdt";
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index cd28e36917..b90851c323 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -680,7 +680,7 @@ define Device/hilink_hlk-7621a-evb
   $(Device/uimage-lzma-loader)
   DEVICE_VENDOR := HiLink
   DEVICE_MODEL := HLK-7621A evaluation board
-  DEVICE_PACKAGES += kmod-mt76x2 kmod-usb3
+  DEVICE_PACKAGES += kmod-usb3
   IMAGE_SIZE := 32448k
 endef
 TARGET_DEVICES += hilink_hlk-7621a-evb
-- 
2.34.1




More information about the openwrt-devel mailing list