1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 label-mac-device = ðernet;
14 compatible = "gpio-keys";
18 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
19 linux,code = <KEY_RESTART>;
20 debounce-interval = <60>;
25 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_WPS_BUTTON>;
27 debounce-interval = <60>;
36 compatible = "jedec,spi-nor";
38 spi-max-frequency = <40000000>;
41 compatible = "fixed-partitions";
53 reg = <0x20000 0x10000>;
57 factory: partition@30000 {
59 reg = <0x30000 0x10000>;
64 compatible = "denx,uimage";
66 reg = <0x40000 0x7c0000>;
74 groups = "uart1", "wdt";
88 nvmem-cells = <&macaddr_uboot_1fc20>;
89 nvmem-cell-names = "mac-address";
98 compatible = "mediatek,mt76";
99 reg = <0x0000 0 0 0 0>;
100 mediatek,mtd-eeprom = <&factory 0x8000>;
101 ieee80211-freq-limit = <5000000 6000000>;
108 mediatek,mtd-eeprom = <&factory 0x0>;
112 compatible = "nvmem-cells";
113 #address-cells = <1>;
116 macaddr_uboot_1fc20: macaddr@1fc20 {