1 //SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 compatible = "gpio-keys";
14 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
15 linux,code = <KEY_RESTART>;
20 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_WPS_BUTTON>;
30 compatible = "jedec,spi-nor";
32 spi-max-frequency = <50000000>;
35 compatible = "fixed-partitions";
47 reg = <0x30000 0x10000>;
51 factory: partition@40000 {
53 reg = <0x40000 0x10000>;
57 factory5g: partition@50000 {
59 reg = <0x50000 0x10000>;
64 label = "Wolf_Config";
65 reg = <0x60000 0x10000>;
71 reg = <0x70000 0x80000>;
77 reg = <0xf0000 0x80000>;
82 compatible = "denx,uimage";
84 reg = <0x170000 0x690000>;
91 mtd-mac-address = <&factory 0x28>;
93 mediatek,portmap = "llllw";
97 mediatek,port4 = "ephy";
105 pinctrl-names = "default";
106 pinctrl-0 = <&pa_pins>;
108 ralink,mtd-eeprom = <&factory 0x0>;
109 mtd-mac-address = <&factory 0x28>;
118 reg = <0x0000 0 0 0 0>;
119 mediatek,mtd-eeprom = <&factory 0x8000>;
120 ieee80211-freq-limit = <5000000 6000000>;
121 mtd-mac-address = <&factory 0x28>;
122 mtd-mac-address-increment = <2>;