2f626f1adf7031dbd27cf1c0ba94a3d39eed5b42
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_iptime_a604m.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7628an_iptime.dtsi"
4
5 / {
6 compatible = "iptime,a604m", "mediatek,mt7628an-soc";
7 model = "ipTIME A604M";
8
9 aliases {
10 led-boot = &led_cpu;
11 led-failsafe = &led_cpu;
12 led-running = &led_cpu;
13 led-upgrade = &led_cpu;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18
19 wlan5g {
20 label = "blue:wlan5g";
21 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
22 linux,default-trigger = "phy1tpt";
23 };
24
25 led_cpu: cpu {
26 label = "blue:cpu";
27 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
28 };
29
30 wlan2g {
31 label = "blue:wlan2g";
32 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy0tpt";
34 };
35 };
36 };
37
38 &state_default {
39 gpio {
40 groups = "i2c", "uart1", "wdt";
41 function = "gpio";
42 };
43 };