fa080a24039f53a0c3c57bf4163403c11617c209
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7620a_dlink_dir-810l.dts
1 #include "mt7620a_cameo_810.dtsi"
2
3 / {
4 compatible = "dlink,dir-810l", "ralink,mt7620a-soc";
5 model = "D-Link DIR-810L";
6
7 aliases {
8 led-boot = &led_power_green;
9 led-failsafe = &led_power_green;
10 led-running = &led_power_green;
11 led-upgrade = &led_power_green;
12 label-mac-device = &ethernet;
13 };
14
15 leds {
16 compatible = "gpio-leds";
17
18 led_power_green: power_green {
19 label = "dir-810l:green:power";
20 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
21 };
22
23 wan_orange {
24 label = "dir-810l:orange:wan";
25 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
26 };
27
28 wan_green {
29 label = "dir-810l:green:wan";
30 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
31 };
32
33 power_orange {
34 label = "dir-810l:orange:power";
35 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
36 };
37 };
38 };
39
40 &state_default {
41 gpio {
42 groups = "i2c", "uartf", "ephy";
43 function = "gpio";
44 };
45 };