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 = "totolink,x5000r", "mediatek,mt7621-soc";
10 model = "TOTOLINK X5000R";
14 led-failsafe = &led_sys;
15 led-running = &led_sys;
16 led-upgrade = &led_sys;
17 label-mac-device = &gmac0;
21 stdout-path = "serial0:115200n8";
22 bootargs = "console=ttyS0,115200n8";
26 compatible = "gpio-leds";
30 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys";
39 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
40 debounce-interval = <60>;
41 linux,code = <KEY_RESTART>;
50 compatible = "jedec,spi-nor";
52 spi-max-frequency = <50000000>;
56 compatible = "fixed-partitions";
68 reg = <0x30000 0x10000>;
72 factory: partition@40000 {
73 compatible = "nvmem-cells";
75 reg = <0x40000 0x10000>;
80 eeprom_factory_0: eeprom@0 {
84 macaddr_factory_e000: macaddr@e000 {
88 macaddr_factory_e006: macaddr@e006 {
94 compatible = "denx,uimage";
96 reg = <0x50000 0xfb0000>;
108 compatible = "mediatek,mt76";
109 reg = <0x0000 0 0 0 0>;
110 nvmem-cells = <&eeprom_factory_0>;
111 nvmem-cell-names = "eeprom";
112 mediatek,disable-radar-background;
117 nvmem-cells = <&macaddr_factory_e000>;
118 nvmem-cell-names = "mac-address";
124 phy-handle = <ðphy4>;
126 nvmem-cells = <&macaddr_factory_e006>;
127 nvmem-cell-names = "mac-address";
131 ethphy4: ethernet-phy@4 {
162 groups = "i2c", "wdt";