2017-05-05 15:54:26 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2020-05-14 13:04:24 +00:00
|
|
|
#include "mt7620a_asus_rt-ac5x.dtsi"
|
2017-05-05 15:54:26 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "asus,rt-ac51u", "ralink,mt7620a-soc";
|
|
|
|
model = "Asus RT-AC51U";
|
|
|
|
|
2018-07-16 08:27:22 +00:00
|
|
|
aliases {
|
2018-08-28 04:54:27 +00:00
|
|
|
led-boot = &led_power;
|
|
|
|
led-failsafe = &led_power;
|
|
|
|
led-running = &led_power;
|
|
|
|
led-upgrade = &led_power;
|
2018-07-16 08:27:22 +00:00
|
|
|
};
|
|
|
|
|
2018-12-30 11:42:53 +00:00
|
|
|
leds {
|
2017-05-05 15:54:26 +00:00
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
2018-07-16 08:27:22 +00:00
|
|
|
led_power: power {
|
2017-05-05 15:54:26 +00:00
|
|
|
label = "rt-ac51u:blue:power";
|
|
|
|
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb {
|
|
|
|
label = "rt-ac51u:blue:usb";
|
|
|
|
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
|
2018-08-13 15:14:08 +00:00
|
|
|
trigger-sources = <&ohci_port1>, <&ehci_port1>;
|
|
|
|
linux,default-trigger = "usbport";
|
2017-05-05 15:54:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
wifi {
|
|
|
|
label = "rt-ac51u:blue:wifi";
|
|
|
|
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ðernet {
|
|
|
|
mtd-mac-address = <&factory 0x4>;
|
|
|
|
};
|
|
|
|
|
2019-12-22 20:26:01 +00:00
|
|
|
&state_default {
|
|
|
|
gpio {
|
2020-04-12 12:58:29 +00:00
|
|
|
groups = "i2c", "wled", "uartf";
|
|
|
|
function = "gpio";
|
2017-05-05 15:54:26 +00:00
|
|
|
};
|
|
|
|
};
|
2018-10-30 22:28:03 +00:00
|
|
|
|
|
|
|
&pcie0 {
|
|
|
|
wifi@0,0 {
|
|
|
|
reg = <0x0000 0 0 0 0>;
|
|
|
|
mediatek,mtd-eeprom = <&factory 0x8000>;
|
|
|
|
};
|
|
|
|
};
|