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 = "glinet,gl-mt1300", "mediatek,mt7621-soc";
10 model = "GL.iNet GL-MT1300";
14 led-failsafe = &led_run;
15 led-running = &led_run;
16 led-upgrade = &led_run;
17 label-mac-device = &wan;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-keys";
29 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
35 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
37 linux,input-type = <EV_SW>;
42 compatible = "gpio-leds";
46 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
50 label = "white:system";
51 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
68 compatible = "mx25l25635f", "jedec,spi-nor";
70 spi-max-frequency = <80000000>;
74 compatible = "fixed-partitions";
86 reg = <0x30000 0x10000>;
90 factory: partition@40000 {
92 reg = <0x40000 0x10000>;
97 compatible = "denx,uimage";
99 reg = <0x50000 0x1fb0000>;
111 compatible = "mediatek,mt76";
112 reg = <0x0000 0 0 0 0>;
113 mediatek,mtd-eeprom = <&factory 0x0>;
118 mtd-mac-address = <&factory 0x4000>;
119 mtd-mac-address-increment = <1>;
137 mtd-mac-address = <&factory 0x4000>;
148 group = "wdt", "jtag";