3 #include "mt7628an_tplink_8m.dtsi"
6 compatible = "tplink,tl-mr3420-v5", "mediatek,mt7628an-soc";
7 model = "TP-Link TL-MR3420 v5";
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
17 compatible = "gpio-keys";
21 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RFKILL>;
33 compatible = "gpio-leds";
36 label = "tl-mr3420-v5:green:lan";
37 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
41 label = "tl-mr3420-v5:green:power";
42 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
46 label = "tl-mr3420-v5:green:usb";
47 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
48 trigger-sources = <&ohci_port1>, <&ehci_port1>;
49 linux,default-trigger = "usbport";
53 label = "tl-mr3420-v5:green:wan";
54 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
58 label = "tl-mr3420-v5:amber:wan";
59 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
63 label = "tl-mr3420-v5:green:wlan";
64 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
68 label = "tl-mr3420-v5:green:wps";
69 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
84 groups = "i2c", "i2s", "p2led_an", "refclk", "uart1", "wdt", "wled_an";
90 mediatek,portmap = <0x3e>;