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";
46 compatible = "nvmem-cells";
53 macaddr_uboot_1fc20: macaddr@1fc20 {
60 reg = <0x20000 0x10000>;
64 factory: partition@30000 {
65 compatible = "nvmem-cells";
67 reg = <0x30000 0x10000>;
72 eeprom_factory_0: eeprom@0 {
76 eeprom_factory_8000: eeprom@8000 {
82 compatible = "denx,uimage";
84 reg = <0x40000 0x7c0000>;
92 groups = "uart1", "wdt";
106 nvmem-cells = <&macaddr_uboot_1fc20>;
107 nvmem-cell-names = "mac-address";
116 compatible = "mediatek,mt76";
117 reg = <0x0000 0 0 0 0>;
118 nvmem-cells = <&eeprom_factory_8000>;
119 nvmem-cell-names = "eeprom";
120 ieee80211-freq-limit = <5000000 6000000>;
127 nvmem-cells = <&eeprom_factory_0>;
128 nvmem-cell-names = "eeprom";