lantiq: remove model name from LED labels
[openwrt/openwrt.git] / target / linux / lantiq / files-4.19 / arch / mips / boot / dts / lantiq / vr9_tplink_vr200v.dts
1 /dts-v1/;
2
3 #include "vr9_tplink_vr200.dtsi"
4
5 / {
6 compatible = "tplink,vr200v", "lantiq,xway", "lantiq,vr9";
7 model = "TP-LINK Archer VR200v";
8
9 chosen {
10 bootargs = "console=ttyLTQ0,115200 mem=126M vpe1_load_addr=0x87e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp";
11 };
12
13 aliases {
14 led-boot = &power;
15 led-failsafe = &power;
16 led-running = &power;
17 led-upgrade = &power;
18
19 led-dsl = &dsl;
20 led-internet = &internet;
21 led-wifi = &wlan5g;
22
23 led-usb = &led_usb;
24 led-usb2 = &led_usb;
25 };
26
27 keys {
28 compatible = "gpio-keys-polled";
29 poll-interval = <100>;
30 reset {
31 label = "reset";
32 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
34 };
35
36 wifi {
37 label = "wifi";
38 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
39 linux,code = <KEY_RFKILL>;
40 linux,input-type = <EV_SW>;
41 };
42
43 wps {
44 label = "wps";
45 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
47 };
48
49 dect_paging {
50 label = "dect_paging";
51 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_PHONE>;
53 };
54 };
55
56 leds {
57 compatible = "gpio-leds";
58 power: power {
59 label = "blue:power";
60 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
61 default-state = "keep";
62 };
63 dsl: dsl {
64 label = "blue:dsl";
65 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
66 };
67 internet: internet {
68 label = "blue:internet";
69 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
70 };
71 led_usb: usb {
72 label = "blue:usb";
73 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
74 };
75 eth {
76 label = "blue:lan";
77 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
78 };
79 wlan {
80 label = "blue:wlan";
81 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
82 };
83 wlan5g: wifi {
84 label = "blue:wlan5g";
85 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
86 };
87 phone {
88 label = "blue:phone";
89 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
90 };
91 };
92 };
93
94 &vmmc {
95 status = "okay";
96 gpios = <&gpio 30 GPIO_ACTIVE_HIGH //fxs relay
97 &gpio 31 GPIO_ACTIVE_HIGH //still unknown
98 &gpio 3 GPIO_ACTIVE_HIGH>; //reset_slic?
99 };