eccbdee717a98e7384cd90e413e83f7197bf14f4
[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 label-mac-device = &ethernet;
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
15 };
16
17 leds {
18 compatible = "gpio-leds";
19
20 led_power: power {
21 label = "rt-ac51u:blue:power";
22 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
23 };
24
25 usb {
26 label = "rt-ac51u:blue:usb";
27 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
28 trigger-sources = <&ohci_port1>, <&ehci_port1>;
29 linux,default-trigger = "usbport";
30 };
31
32 wifi2g {
33 label = "rt-ac51u:blue:wifi2g";
34 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
35 linux,default-trigger = "phy1tpt";
36 };
37 };
38 };
39
40 &ethernet {
41 mtd-mac-address = <&factory 0x28>;
42 };
43
44 &state_default {
45 gpio {
46 groups = "i2c", "wled", "uartf";
47 function = "gpio";
48 };
49 };
50
51 &pcie0 {
52 wifi@0,0 {
53 reg = <0x0000 0 0 0 0>;
54 mediatek,mtd-eeprom = <&factory 0x8000>;
55 };
56 };