2018-12-18 08:00:52 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
|
2019-07-03 23:22:31 +02:00
|
|
|
#include "mt7628an_tplink_8m.dtsi"
|
2018-12-18 08:00:52 +01:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "tplink,tl-wr802n-v4", "mediatek,mt7628an-soc";
|
|
|
|
model = "TP-Link TL-WR802N v4";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
led-boot = &led_power;
|
|
|
|
led-failsafe = &led_power;
|
|
|
|
led-running = &led_power;
|
|
|
|
led-upgrade = &led_power;
|
|
|
|
};
|
|
|
|
|
|
|
|
keys {
|
2019-09-20 14:03:02 +02:00
|
|
|
compatible = "gpio-keys";
|
2018-12-18 08:00:52 +01:00
|
|
|
|
|
|
|
reset {
|
|
|
|
label = "reset";
|
2020-04-09 17:10:03 +08:00
|
|
|
gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
|
2018-12-18 08:00:52 +01:00
|
|
|
linux,code = <KEY_RESTART>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
led_power: power {
|
2020-09-27 19:40:51 +02:00
|
|
|
label = "green:power";
|
2020-04-09 17:10:03 +08:00
|
|
|
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
|
2018-12-18 08:00:52 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-12-01 14:48:41 +01:00
|
|
|
&ehci {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&ohci {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2019-12-22 21:26:01 +01:00
|
|
|
&state_default {
|
|
|
|
gpio {
|
2020-04-12 20:58:29 +08:00
|
|
|
groups = "refclk", "wdt";
|
|
|
|
function = "gpio";
|
2018-12-18 08:00:52 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ðernet {
|
|
|
|
mtd-mac-address = <&factory 0xf100>;
|
|
|
|
};
|