aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7628an_hiwifi_hc5611.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_hiwifi_hc5611.dts')
-rw-r--r--target/linux/ramips/dts/mt7628an_hiwifi_hc5611.dts30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7628an_hiwifi_hc5611.dts b/target/linux/ramips/dts/mt7628an_hiwifi_hc5611.dts
new file mode 100644
index 0000000000..17de299b3c
--- /dev/null
+++ b/target/linux/ramips/dts/mt7628an_hiwifi_hc5611.dts
@@ -0,0 +1,30 @@
+// 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";
+ };
+};