1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 compatible = "dlink,covr-x1860-a1", "mediatek,mt7621-soc";
11 model = "D-Link COVR-X1860 A1";
14 led-boot = &status_orange;
15 led-failsafe = &status_red;
16 led-running = &status_white;
17 led-upgrade = &status_red;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-keys";
29 linux,code = <KEY_RESTART>;
30 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_WPS_BUTTON>;
36 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-leds";
44 function = LED_FUNCTION_STATUS;
45 color = <LED_COLOR_ID_WHITE>;
46 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
49 status_orange: status_orange {
50 function = LED_FUNCTION_STATUS;
51 color = <LED_COLOR_ID_ORANGE>;
52 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
56 status_red: status_red {
57 function = LED_FUNCTION_STATUS;
58 color = <LED_COLOR_ID_RED>;
59 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
64 compatible = "mtd-concat";
66 devices = <&fwconcat0 &fwconcat1>;
69 compatible = "fixed-partitions";
85 compatible = "fixed-partitions";
97 reg = <0x80000 0x80000>;
103 reg = <0x100000 0x80000>;
107 compatible = "fixed-layout";
108 #address-cells = <1>;
111 eeprom_factory_0: eeprom@0 {
115 precal_factory_e10: precal@e10 {
116 reg = <0xe10 0x19c10>;
123 reg = <0x180000 0x40000>;
129 reg = <0x1c0000 0x800000>;
132 fwconcat0: partition@9c0000 {
134 reg = <0x9c0000 0x2000000>;
139 reg = <0x29c0000 0x800000>;
143 fwconcat1: partition@31c0000 {
145 reg = <0x31c0000 0x2a00000>;
150 reg = <0x5bc0000 0x1400000>;
156 reg = <0x6fc0000 0x600000>;
162 reg = <0x75c0000 0xa00000>;
174 compatible = "mediatek,mt76";
175 reg = <0x0000 0 0 0 0>;
176 nvmem-cells = <&eeprom_factory_0>, <&precal_factory_e10>;
177 nvmem-cell-names = "eeprom", "precal";
178 mediatek,disable-radar-background;
184 phy-handle = <ðphy4>;
188 ethphy4: ethernet-phy@4 {