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