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