ramips: remove model name from LED labels
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_tplink_archer-c50-v4.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7628an_tplink_8m-split-uboot.dtsi"
4
5 / {
6 compatible = "tplink,archer-c50-v4", "mediatek,mt7628an-soc";
7 model = "TP-Link Archer C50 v4";
8
9 aliases {
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
14 };
15
16 keys {
17 compatible = "gpio-keys";
18
19 reset {
20 label = "reset";
21 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RESTART>;
23 };
24
25 rfkill {
26 label = "rfkill";
27 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RFKILL>;
29 };
30 };
31
32 leds {
33 compatible = "gpio-leds";
34
35 led_power: power {
36 label = "green:power";
37 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
38 };
39
40 wlan2 {
41 label = "green:wlan2g";
42 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
43 };
44
45 wlan5 {
46 label = "green:wlan5g";
47 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
48 };
49
50 lan {
51 label = "green:lan";
52 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
53 };
54
55 wan {
56 label = "green:wan";
57 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
58 };
59
60 wan_orange {
61 label = "orange:wan";
62 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
63 };
64
65 wps {
66 label = "green:wps";
67 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
68 };
69 };
70 };
71
72 &state_default {
73 gpio {
74 groups = "i2c", "p0led_an", "p1led_an", "p2led_an",
75 "p3led_an", "p4led_an", "wdt", "wled_an";
76 function = "gpio";
77 };
78 };
79
80 &pcie {
81 status = "okay";
82 };
83
84 &pcie0 {
85 wifi@0,0 {
86 reg = <0x0000 0 0 0 0>;
87 mediatek,mtd-eeprom = <&radio 0x8000>;
88 ieee80211-freq-limit = <5000000 6000000>;
89 mtd-mac-address = <&rom 0xf100>;
90 mtd-mac-address-increment = <(-1)>;
91 };
92 };