1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include "mt7628an_tplink_8m-split-uboot.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "tplink,archer-c50-v4", "mediatek,mt7628an-soc";
11 model = "TP-Link Archer C50 v4";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-keys";
25 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_RESTART>;
31 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RFKILL>;
37 compatible = "gpio-leds";
40 label = "archer-c50-v4:green:power";
41 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
45 label = "archer-c50-v4:green:wlan2g";
46 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
50 label = "archer-c50-v4:green:wlan5g";
51 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
55 label = "archer-c50-v4:green:lan";
56 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
60 label = "archer-c50-v4:green:wan";
61 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
65 label = "archer-c50-v4:orange:wan";
66 gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
70 label = "archer-c50-v4:green:wps";
71 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
78 ralink,group = "i2c", "p0led_an", "p1led_an", "p2led_an",
79 "p3led_an", "p4led_an", "wdt", "wled_an";
80 ralink,function = "gpio";
90 reg = <0x0000 0 0 0 0>;
91 mediatek,mtd-eeprom = <&radio 0x8000>;
92 ieee80211-freq-limit = <5000000 6000000>;
93 mtd-mac-address = <&rom 0xf100>;
94 mtd-mac-address-increment = <(-1)>;