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 compatible = "gpio-keys";
14 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
15 linux,code = <KEY_RESTART>;
24 compatible = "jedec,spi-nor";
26 spi-max-frequency = <86000000>;
29 partitions: partitions {
30 compatible = "fixed-partitions";
40 factory: partition@40000 {
42 reg = <0x40000 0x20000>;
48 reg = <0x60000 0x30000>;
60 mtd-mac-address = <&factory 0x4>;
69 reg = <0x0000 0 0 0 0>;
70 mediatek,mtd-eeprom = <&factory 0x8000>;
71 ieee80211-freq-limit = <5000000 6000000>;