ramips: move dts-v1 statement to top-level DTSI files
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_asus_rt-ac51u.dts
1 #include "mt7620a_asus_rt-ac5x.dtsi"
2
3 / {
4 compatible = "asus,rt-ac51u", "ralink,mt7620a-soc";
5 model = "Asus RT-AC51U";
6
7 aliases {
8 label-mac-device = &ethernet;
9 led-boot = &led_power;
10 led-failsafe = &led_power;
11 led-running = &led_power;
12 led-upgrade = &led_power;
13 };
14
15 leds {
16 compatible = "gpio-leds";
17
18 led_power: power {
19 label = "rt-ac51u:blue:power";
20 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
21 };
22
23 usb {
24 label = "rt-ac51u:blue:usb";
25 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
26 trigger-sources = <&ohci_port1>, <&ehci_port1>;
27 linux,default-trigger = "usbport";
28 };
29
30 wifi2g {
31 label = "rt-ac51u:blue:wifi2g";
32 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy1tpt";
34 };
35 };
36 };
37
38 &ethernet {
39 mtd-mac-address = <&factory 0x28>;
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 };