ramips: fix MAC address assignment for ASUS RT-AC51U
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_asus_rt-ac51u.dts
1 /dts-v1/;
2
3 #include "mt7620a_asus_rt-ac5x.dtsi"
4
5 / {
6 compatible = "asus,rt-ac51u", "ralink,mt7620a-soc";
7 model = "Asus RT-AC51U";
8
9 aliases {
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18
19 led_power: power {
20 label = "rt-ac51u:blue:power";
21 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
22 };
23
24 usb {
25 label = "rt-ac51u:blue:usb";
26 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
27 trigger-sources = <&ohci_port1>, <&ehci_port1>;
28 linux,default-trigger = "usbport";
29 };
30
31 wifi {
32 label = "rt-ac51u:blue:wifi";
33 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
34 };
35 };
36 };
37
38 &ethernet {
39 mtd-mac-address = <&factory 0x22>;
40 };
41
42 &state_default {
43 gpio {
44 groups = "i2c", "wled", "uartf";
45 function = "gpio";
46 };
47 };
48
49 &pcie0 {
50 wifi@0,0 {
51 reg = <0x0000 0 0 0 0>;
52 mediatek,mtd-eeprom = <&factory 0x8000>;
53 };
54 };