ramips: move dts-v1 statement to top-level DTSI files
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_trendnet_tew-810dr.dts
1 //SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7620a_cameo_810.dtsi"
4
5 / {
6 compatible = "trendnet,tew-810dr", "ralink,mt7620a-soc";
7 model = "TRENDnet TEW-810DR";
8
9 aliases {
10 led-boot = &led_power_green;
11 led-failsafe = &led_power_green;
12 led-running = &led_power_green;
13 led-upgrade = &led_power_green;
14 label-mac-device = &ethernet;
15 };
16
17 leds {
18 compatible = "gpio-leds";
19
20 led_power_green: power_green {
21 label = "tew-810dr:green:power";
22 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
23 };
24
25 wan_orange {
26 label = "tew-810dr:orange:wan";
27 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
28 };
29
30 wan_green {
31 label = "tew-810dr:green:wan";
32 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
33 };
34
35 power_orange {
36 label = "tew-810dr:orange:power";
37 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
38 };
39 };
40 };
41
42 &state_default {
43 gpio {
44 groups = "i2c", "uartf", "ephy";
45 function = "gpio";
46 };
47 };