1 #include <dt-bindings/gpio/gpio.h>
2 #include <dt-bindings/input/input.h>
4 #include "mt7620a.dtsi"
8 bootargs = "console=ttyS0,57600";
12 compatible = "gpio-keys";
16 gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
17 linux,code = <KEY_RESTART>;
22 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_WPS_BUTTON>;
40 compatible = "jedec,spi-nor";
42 spi-max-frequency = <50000000>;
45 compatible = "fixed-partitions";
57 reg = <0x30000 0x10000>;
61 factory: partition@40000 {
63 reg = <0x40000 0x10000>;
68 compatible = "denx,uimage";
70 reg = <0x50000 0x790000>;
75 reg = <0x7e0000 0x10000>;
81 reg = <0x7f0000 0x10000>;
94 reg = <0x0000 0 0 0 0>;
95 mediatek,mtd-eeprom = <&factory 0x8000>;
96 ieee80211-freq-limit = <5000000 6000000>;
101 mtd-mac-address = <&factory 0x28>;
105 ralink,mtd-eeprom = <&factory 0x0>;
110 ralink,group = "i2c", "rgmii2", "spi refclk";
111 ralink,function = "gpio";