mediatek: fix wps button for nokia ea0326gmp
[openwrt/staging/pepe2k.git] / target / linux / ramips / dts / mt7621_xiaomi_mi-router-4a-3g-v2.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "mt7621_xiaomi_mi-router-4a-common.dtsi"
6
7 / {
8 aliases {
9 label-mac-device = &gmac1;
10 };
11
12 leds {
13 compatible = "gpio-leds";
14
15 led_status_blue: status_blue {
16 function = LED_FUNCTION_STATUS;
17 color = <LED_COLOR_ID_BLUE>;
18 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
19 };
20
21 led_status_yellow: status_yellow {
22 function = LED_FUNCTION_STATUS;
23 color = <LED_COLOR_ID_YELLOW>;
24 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
25 };
26 };
27 };
28
29 &wifi0 {
30 nvmem-cells = <&eeprom_factory_8000>;
31 nvmem-cell-names = "eeprom";
32 ieee80211-freq-limit = <5000000 6000000>;
33 };
34
35 &wifi1 {
36 nvmem-cells = <&eeprom_factory_0>;
37 nvmem-cell-names = "eeprom";
38 ieee80211-freq-limit = <2400000 2500000>;
39 };
40
41 &gmac1 {
42 status = "okay";
43 label = "wan";
44 phy-handle = <&ethphy4>;
45
46 nvmem-cells = <&macaddr_factory_e006>;
47 nvmem-cell-names = "mac-address";
48 };
49
50 &ethphy4 {
51 /delete-property/ interrupts;
52 };
53
54 &switch0 {
55 ports {
56 port@2 {
57 status = "okay";
58 label = "lan2";
59 };
60
61 port@3 {
62 status = "okay";
63 label = "lan1";
64 };
65 };
66 };