1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include "mt7628an.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
11 label-mac-device = ðernet;
15 compatible = "gpio-keys";
19 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
20 linux,code = <KEY_RESTART>;
21 debounce-interval = <60>;
26 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_WPS_BUTTON>;
28 debounce-interval = <60>;
37 compatible = "jedec,spi-nor";
39 spi-max-frequency = <40000000>;
42 compatible = "fixed-partitions";
54 reg = <0x20000 0x10000>;
58 factory: partition@30000 {
60 reg = <0x30000 0x10000>;
65 compatible = "denx,uimage";
67 reg = <0x40000 0x7c0000>;
74 state_default: pinctrl0 {
76 ralink,group = "uart1", "wdt";
77 ralink,function = "gpio";
91 mtd-mac-address = <&uboot 0x1fc20>;
100 compatible = "mediatek,mt76";
101 reg = <0x0000 0 0 0 0>;
102 mediatek,mtd-eeprom = <&factory 0x8000>;
103 ieee80211-freq-limit = <5000000 6000000>;