2020-03-12 19:19:32 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
|
|
|
|
#include "mt7628an_iptime.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "totolink,a3", "mediatek,mt7628an-soc";
|
|
|
|
model = "TOTOLINK A3";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
led-boot = &led_cpu;
|
|
|
|
led-failsafe = &led_cpu;
|
|
|
|
led-running = &led_cpu;
|
|
|
|
led-upgrade = &led_cpu;
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
led_cpu: cpu {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "blue:cpu";
|
2020-04-09 09:10:03 +00:00
|
|
|
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
|
2020-03-12 19:19:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
wlan {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "blue:wlan";
|
2020-04-09 09:10:03 +00:00
|
|
|
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
|
2020-03-12 19:19:32 +00:00
|
|
|
linux,default-trigger = "phy0tpt";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&esw {
|
|
|
|
mediatek,portmap = <0x3e>;
|
|
|
|
mediatek,portdisable = <0x32>;
|
|
|
|
};
|