15a342955a7a2e795c799392575cf003b581f839
[openwrt/staging/mkresin.git] / target / linux / lantiq / files-5.4 / arch / mips / boot / dts / lantiq / vr9_tplink_vr200.dts
1 #include "vr9_tplink_vr200.dtsi"
2
3 / {
4 compatible = "tplink,vr200", "lantiq,xway", "lantiq,vr9";
5 model = "TP-LINK Archer VR200";
6
7 chosen {
8 bootargs = "console=ttyLTQ0,115200";
9 };
10
11 aliases {
12 led-boot = &power;
13 led-failsafe = &power;
14 led-running = &power;
15 led-upgrade = &power;
16
17 led-dsl = &dsl;
18 led-internet = &internet;
19 led-wifi = &wlan5g;
20
21 led-usb = &led_usb;
22 led-usb2 = &led_usb;
23 };
24
25 keys {
26 compatible = "gpio-keys-polled";
27 poll-interval = <100>;
28 reset {
29 label = "reset";
30 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RESTART>;
32 };
33
34 wifi {
35 label = "wifi";
36 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
37 linux,code = <KEY_RFKILL>;
38 linux,input-type = <EV_SW>;
39 };
40
41 wps {
42 label = "wps";
43 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_WPS_BUTTON>;
45 };
46
47 led {
48 label = "led";
49 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_LIGHTS_TOGGLE>;
51 };
52 };
53
54 leds {
55 compatible = "gpio-leds";
56 power: power {
57 label = "vr200:blue:power";
58 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
59 default-state = "keep";
60 };
61 dsl: dsl {
62 label = "vr200:blue:dsl";
63 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
64 };
65 internet: internet {
66 label = "vr200:blue:internet";
67 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
68 };
69 led_usb: usb {
70 label = "vr200:blue:usb";
71 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
72 };
73 eth {
74 label = "vr200:blue:lan";
75 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
76 };
77 wlan {
78 label = "vr200:blue:wlan";
79 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
80 };
81 wlan5g: wifi {
82 label = "vr200:blue:wlan5g";
83 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
84 };
85 led_wps {
86 label = "vr200:blue:wps";
87 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
88 };
89 };
90 };