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>
9 compatible = "dlink,covr-x1860-a1", "mediatek,mt7621-soc";
10 model = "D-Link COVR-X1860 A1";
13 led-boot = &status_orange;
14 led-failsafe = &status_red;
15 led-running = &status_white;
16 led-upgrade = &status_red;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-keys";
28 linux,code = <KEY_RESTART>;
29 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_WPS_BUTTON>;
35 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
40 compatible = "gpio-leds";
43 label = "white:status";
44 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
47 status_orange: status_orange {
48 label = "orange:status";
49 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
53 status_red: status_red {
55 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
60 compatible = "mtd-concat";
62 devices = <&fwconcat0 &fwconcat1>;
65 compatible = "fixed-partitions";
81 compatible = "fixed-partitions";
93 reg = <0x80000 0x80000>;
97 factory: partition@100000 {
99 reg = <0x100000 0x80000>;
103 compatible = "fixed-layout";
104 #address-cells = <1>;
107 eeprom_factory_0: eeprom@0 {
111 precal_factory_e10: precal@e10 {
112 reg = <0xe10 0x19c10>;
119 reg = <0x180000 0x40000>;
125 reg = <0x1c0000 0x800000>;
128 fwconcat0: partition@9c0000 {
130 reg = <0x9c0000 0x2000000>;
135 reg = <0x29c0000 0x800000>;
139 fwconcat1: partition@31c0000 {
141 reg = <0x31c0000 0x2a00000>;
146 reg = <0x5bc0000 0x1400000>;
152 reg = <0x6fc0000 0x600000>;
158 reg = <0x75c0000 0xa00000>;
170 compatible = "mediatek,mt76";
171 reg = <0x0000 0 0 0 0>;
172 nvmem-cells = <&eeprom_factory_0>, <&precal_factory_e10>;
173 nvmem-cell-names = "eeprom", "precal";
174 mediatek,disable-radar-background;
180 phy-handle = <ðphy4>;
184 ethphy4: ethernet-phy@4 {