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;
22 stdout-path = "serial0:115200n8";
23 bootargs = "console=ttyS0,115200n8";
27 compatible = "gpio-leds";
31 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys";
40 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
41 debounce-interval = <60>;
42 linux,code = <KEY_RESTART>;
51 compatible = "jedec,spi-nor";
53 spi-max-frequency = <50000000>;
57 compatible = "fixed-partitions";
69 reg = <0x30000 0x10000>;
73 factory: partition@40000 {
75 reg = <0x40000 0x10000>;
80 compatible = "denx,uimage";
82 reg = <0x50000 0xfb0000>;
94 compatible = "mediatek,mt76";
95 reg = <0x0000 0 0 0 0>;
96 mediatek,mtd-eeprom = <&factory 0x0000>;
101 mtd-mac-address = <&factory 0xe000>;
129 mtd-mac-address = <&factory 0xe006>;
136 groups = "i2c", "wdt";