3 #include "mt7628an_tplink_8m.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tplink,archer-c50-v3", "mediatek,mt7628an-soc";
10 model = "TP-Link Archer C50 v3";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-keys";
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 = "archer-c50-v3:green:lan";
40 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
44 label = "archer-c50-v3:green:power";
45 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
49 label = "archer-c50-v3:green:wan";
50 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
54 label = "archer-c50-v3:orange:wan";
55 gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
59 label = "archer-c50-v3:green:wlan2g";
60 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
64 label = "archer-c50-v3:green:wlan5g";
65 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
69 label = "archer-c50-v3:green:wps";
70 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
77 ralink,group = "i2c", "gpio", "p0led_an", "p1led_an", "p2led_an",
78 "p3led_an", "p4led_an", "wdt", "wled_an";
79 ralink,function = "gpio";
89 reg = <0x0000 0 0 0 0>;
90 mediatek,mtd-eeprom = <&factory 0x28000>;
91 ieee80211-freq-limit = <5000000 6000000>;
92 mtd-mac-address = <&factory 0xf100>;
93 mtd-mac-address-increment = <(-1)>;