ramips: correct NVMEM MAC address node name and label for Bolt Arion
[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 &ehci {
73 status = "disabled";
74 };
75
76 &ohci {
77 status = "disabled";
78 };
79
80 &state_default {
81 gpio {
82 groups = "i2c", "p0led_an", "p1led_an", "p2led_an",
83 "p3led_an", "p4led_an", "wdt", "wled_an";
84 function = "gpio";
85 };
86 };
87
88 &pcie {
89 status = "okay";
90 };
91
92 &pcie0 {
93 wifi@0,0 {
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)>;
100 };
101 };