3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "buffalo,wmr-300", "ralink,mt7620n-soc";
10 model = "Buffalo WMR-300";
13 compatible = "gpio-leds";
16 label = "wmr-300:red:aoss";
17 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
21 label = "wmr-300:green:aoss";
22 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
26 label = "wmr-300:green:status";
27 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
45 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
73 reg = <0x30000 0x10000>;
77 factory: partition@40000 {
79 reg = <0x40000 0x10000>;
85 reg = <0x50000 0x7b0000>;
91 mtd-mac-address = <&factory 0x4>;
92 mediatek,portmap = "wllll";
96 ralink,mtd-eeprom = <&factory 0>;
100 state_default: pinctrl0 {
102 ralink,group = "i2c", "ephy";
103 ralink,function = "gpio";