3 #include "TPLINK-8M.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tplink,c50-v3", "mediatek,mt7628an-soc";
10 model = "TP-Link Archer C50 v3";
13 led-status = &led_power;
17 compatible = "gpio-keys-polled";
24 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
30 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RFKILL>;
36 compatible = "gpio-leds";
39 label = "c50-v3:green:lan";
40 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
44 label = "c50-v3:green:power";
45 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
49 label = "c50-v3:green:wan";
50 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
54 label = "c50-v3:orange:wan";
55 gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
59 label = "c50-v3:green:wlan2g";
60 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
64 label = "c50-v3:green:wlan5g";
65 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
69 label = "c50-v3:green:wps";
70 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
76 state_default: pinctrl0 {
78 ralink,group = "i2c", "gpio", "p0led_an", "p1led_an", "p2led_an",
79 "p3led_an", "p4led_an", "wdt", "wled_an";
80 ralink,function = "gpio";
91 reg = <0x0000 0 0 0 0>;
92 mediatek,mtd-eeprom = <&factory 0x28000>;
93 ieee80211-freq-limit = <5000000 6000000>;
94 mtd-mac-address = <&factory 0xf100>;
95 mtd-mac-address-increment = <(-1)>;