--- /dev/null
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "mt7628an_hiwifi_hc5x61a.dtsi"
+
+/ {
+ compatible = "hiwifi,hc5611", "mediatek,mt7628an-soc";
+ model = "HiWiFi HC5611";
+
+ leds {
+ compatible = "gpio-leds";
+
+ led_system: system {
+ label = "green:system";
+ gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };
+
+ internet {
+ label = "red:internet";
+ gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
+ };
+ };
+};
+
+&state_default {
+ gpio {
+ groups = "gpio", "spi cs1", "wdt";
+ function = "gpio";
+ };
+};
endef
TARGET_DEVICES += hilink_hlk-7688a
+define Device/hiwifi_hc5611
+ IMAGE_SIZE := 15808k
+ DEVICE_VENDOR := HiWiFi
+ DEVICE_MODEL := HC5611
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
+endef
+TARGET_DEVICES += hiwifi_hc5611
+
define Device/hiwifi_hc5661a
IMAGE_SIZE := 15808k
DEVICE_VENDOR := HiWiFi
glinet,microuter-n300|\
glinet,vixmini|\
hak5,wifi-pineapple-mk7|\
+ hiwifi,hc5611|\
mediatek,linkit-smart-7688|\
minew,g1-c|\
onion,omega2p|\
zyxel,keenetic-extra-ii)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x4)" 1)
;;
+ hiwifi,hc5611|\
hiwifi,hc5661a|\
hiwifi,hc5761a|\
hiwifi,hc5861b)