mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
0225018d8b
These devices seem to have the same board, so let's have a common file. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
57 lines
979 B
Plaintext
57 lines
979 B
Plaintext
//SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
/dts-v1/;
|
|
|
|
#include "mt7620a_cameo_810.dtsi"
|
|
|
|
/ {
|
|
compatible = "trendnet,tew-810dr", "ralink,mt7620a-soc";
|
|
model = "TRENDnet TEW-810DR";
|
|
|
|
aliases {
|
|
led-boot = &led_power_green;
|
|
led-failsafe = &led_power_green;
|
|
led-running = &led_power_green;
|
|
led-upgrade = &led_power_green;
|
|
label-mac-device = ðernet;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
led_power_green: power_green {
|
|
label = "tew-810dr:green:power";
|
|
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
wan_orange {
|
|
label = "tew-810dr:orange:wan";
|
|
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
wan_green {
|
|
label = "tew-810dr:green:wan";
|
|
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
power_orange {
|
|
label = "tew-810dr:orange:power";
|
|
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&state_default {
|
|
gpio {
|
|
groups = "i2c", "uartf", "ephy";
|
|
function = "gpio";
|
|
};
|
|
};
|
|
|
|
&gsw {
|
|
mediatek,port4 = "ephy";
|
|
};
|
|
|
|
&gpio2 {
|
|
status = "okay";
|
|
};
|