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 led-status = &led_status;
17 compatible = "gpio-leds";
20 label = "wmr-300:red:aoss";
21 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
25 label = "wmr-300:green:aoss";
26 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
30 label = "wmr-300:green:status";
31 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_WPS_BUTTON>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <10000000>;
77 reg = <0x30000 0x10000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
89 reg = <0x50000 0x7b0000>;
95 mtd-mac-address = <&factory 0x4>;
96 mediatek,portmap = "wllll";
100 ralink,mtd-eeprom = <&factory 0>;
104 state_default: pinctrl0 {
106 ralink,group = "i2c", "ephy";
107 ralink,function = "gpio";