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";
51 compatible = "fixed-layout";
55 macaddr_uboot_1fc20: macaddr@1fc20 {
63 reg = <0x20000 0x10000>;
67 factory: partition@30000 {
69 reg = <0x30000 0x10000>;
73 compatible = "fixed-layout";
77 eeprom_factory_0: eeprom@0 {
81 eeprom_factory_8000: eeprom@8000 {
88 compatible = "denx,uimage";
90 reg = <0x40000 0x7c0000>;
98 groups = "uart1", "wdt";
112 nvmem-cells = <&macaddr_uboot_1fc20>;
113 nvmem-cell-names = "mac-address";
122 compatible = "mediatek,mt76";
123 reg = <0x0000 0 0 0 0>;
124 nvmem-cells = <&eeprom_factory_8000>;
125 nvmem-cell-names = "eeprom";
126 ieee80211-freq-limit = <5000000 6000000>;
133 nvmem-cells = <&eeprom_factory_0>;
134 nvmem-cell-names = "eeprom";