ramips: fix MAC address setup for Xiaomi MiWiFi Nano
[oweals/openwrt.git] / target / linux / ramips / dts / mt7628an_wrtnode_wrtnode2r.dts
1 /dts-v1/;
2
3 #include "mt7628an_wrtnode_wrtnode2.dtsi"
4
5 / {
6         compatible = "wrtnode,wrtnode2r", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
7         model = "WRTnode2R";
8
9         aliases {
10                 led-boot = &led_indicator;
11                 led-failsafe = &led_indicator;
12                 led-running = &led_indicator;
13                 led-upgrade = &led_indicator;
14         };
15
16         leds {
17                 compatible = "gpio-leds";
18
19                 pinctrl-names = "default";
20                 pinctrl-0 = <&led_pins>;
21
22                 led_indicator: indicator {
23                         label = "wrtnode:blue:indicator";
24                         gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
25                 };
26         };
27 };
28
29 &pinctrl {
30         state_default: pinctrl0 {
31                 gpio {
32                         ralink,group = "gpio";
33                         ralink,function = "gpio";
34                 };
35         };
36
37         led_pins: led {
38                 gpio {
39                         ralink,group = "wled_an";
40                         ralink,function = "gpio";
41                 };
42         };
43 };
44
45 &spi0 {
46         spidev@1 {
47                 #address-cells = <1>;
48                 #size-cells = <1>;
49                 compatible = "linux,spidev";
50                 reg = <1>;
51                 spi-max-frequency = <10000000>;
52         };
53 };