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 = &gmac1;
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 = "jedec,spi-nor";
70 spi-max-frequency = <50000000>;
74 compatible = "fixed-partitions";
86 reg = <0x30000 0x10000>;
90 factory: partition@40000 {
91 compatible = "nvmem-cells";
93 reg = <0x40000 0x10000>;
98 eeprom_factory_0: eeprom@0 {
102 macaddr_factory_4000: macaddr@4000 {
108 compatible = "denx,uimage";
110 reg = <0x50000 0x1fb0000>;
122 compatible = "mediatek,mt76";
123 reg = <0x0000 0 0 0 0>;
124 nvmem-cells = <&eeprom_factory_0>;
125 nvmem-cell-names = "eeprom";
130 nvmem-cells = <&macaddr_factory_4000>;
131 nvmem-cell-names = "mac-address";
132 mac-address-increment = <1>;
138 phy-handle = <ðphy4>;
140 nvmem-cells = <&macaddr_factory_4000>;
141 nvmem-cell-names = "mac-address";
145 ethphy4: ethernet-phy@4 {
170 group = "wdt", "jtag";