3 #include "TPLINK-8M.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tplink,tl-mr3420-v5", "mediatek,mt7628an-soc";
10 model = "TP-Link TL-MR3420 v5";
13 led-status = &led_power;
17 compatible = "gpio-keys-polled";
22 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RFKILL>;
34 compatible = "gpio-leds";
37 label = "tl-mr3420-v5:green:lan";
38 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
42 label = "tl-mr3420-v5:green:power";
43 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
47 label = "tl-mr3420-v5:green:usb";
48 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
52 label = "tl-mr3420-v5:green:wan";
53 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
57 label = "tl-mr3420-v5:amber:wan";
58 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
62 label = "tl-mr3420-v5:green:wlan";
63 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
67 label = "tl-mr3420-v5:green:wps";
68 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
82 state_default: pinctrl0 {
84 ralink,group = "i2c", "i2s", "p2led_an", "refclk", "uart1", "wdt", "wled_an";
85 ralink,function = "gpio";