/dts-v1/;
-/include/ "vr9.dtsi"
+#include "vr9.dtsi"
/ {
model = "VR200v - TP-LINK Archer VR200v";
ifxhcd@E101000 {
status = "okay";
- gpios = <&gpio 33 0>;
+ gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
lantiq,portmask = <0x3>;
};
ifxhcd@E106000 {
status = "okay";
- gpios = <&gpio 33 0>;
+ gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
};
};
poll-interval = <100>;
reset {
label = "reset";
- gpios = <&gpio 22 1>;
- linux,code = <0x198>;
+ gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_RESTART>;
};
wifi {
label = "wifi";
- gpios = <&gpio 0 0>;
- linux,code = <0xf7>;
- linux,input-type = <5>; /* EV_SW */
+ gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
+ linux,code = <KEY_RFKILL>;
+ linux,input-type = <EV_SW>;
};
wps {
label = "wps";
- gpios = <&gpio 2 1>;
- linux,code = <0x211>;
+ gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_WPS_BUTTON>;
};
dect_paging {
label = "dect_paging";
- gpios = <&gpio 39 1>;
- linux,code = <0x211>;
+ gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};
compatible = "gpio-leds";
power: power {
label = "vr200v:blue:power";
- gpios = <&gpio 46 1>;
+ gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
};
dsl: dsl {
label = "vr200v:blue:dsl";
- gpios = <&gpio 4 1>;
+ gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
internet: internet {
label = "vr200v:blue:internet";
- gpios = <&gpio 5 1>;
+ gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
usb: usb {
label = "vr200v:blue:usb";
- gpios = <&gpio 25 1>;
+ gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
};
eth {
label = "vr200v:blue:lan";
- gpios = <&gpio 40 1>;
+ gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
};
wlan {
label = "vr200v:blue:wlan";
- gpios = <&gpio 24 1>;
+ gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
wlan5g {
label = "vr200v:blue:wlan5g";
- gpios = <&gpio 20 1>;
+ gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
phone {
label = "vr200v:blue:phone";
- gpios = <&gpio 44 1>;
+ gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
};
reg = <0>;
phy-mode = "rgmii";
phy-handle = <&phy0>;
- // gpios = <&gpio 42 1>;
+ // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
ethernet@5 {
compatible = "lantiq,xrx200-pdi-port";