1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an_tplink_8m-split-uboot.dtsi"
6 compatible = "tplink,archer-c50-v4", "mediatek,mt7628an-soc";
7 model = "TP-Link Archer C50 v4";
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 5 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RFKILL>;
33 compatible = "gpio-leds";
36 label = "green:power";
37 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
41 label = "green:wlan2g";
42 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
46 label = "green:wlan5g";
47 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
57 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
62 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
82 groups = "i2c", "p0led_an", "p1led_an", "p2led_an",
83 "p3led_an", "p4led_an", "wdt", "wled_an";
94 reg = <0x0000 0 0 0 0>;
95 mediatek,mtd-eeprom = <&radio 0x8000>;
96 ieee80211-freq-limit = <5000000 6000000>;
97 nvmem-cells = <&macaddr_rom_f100>;
98 nvmem-cell-names = "mac-address";
99 mac-address-increment = <(-1)>;