2020-03-12 19:19:32 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#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 {
|
|
|
|
label = "a3: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 {
|
|
|
|
label = "a3: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>;
|
|
|
|
};
|