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>;
105 reg = <0x180000 0x40000>;
111 reg = <0x1c0000 0x800000>;
114 fwconcat0: partition@9c0000 {
116 reg = <0x9c0000 0x2000000>;
121 reg = <0x29c0000 0x800000>;
125 fwconcat1: partition@31c0000 {
127 reg = <0x31c0000 0x2a00000>;
132 reg = <0x5bc0000 0x1400000>;
138 reg = <0x6fc0000 0x600000>;
144 reg = <0x75c0000 0xa00000>;
156 compatible = "mediatek,mt76";
157 reg = <0x0000 0 0 0 0>;
158 mediatek,mtd-eeprom = <&factory 0x0>;
159 mediatek,disable-radar-background;
165 phy-handle = <ðphy4>;
169 ethphy4: ethernet-phy@4 {