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";
41 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
47 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_WPS_BUTTON>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
66 compatible = "fixed-partitions";
78 reg = <0x30000 0x10000>;
82 factory: partition@40000 {
84 reg = <0x40000 0x10000>;
90 reg = <0x50000 0x7b0000>;
97 mtd-mac-address = <&factory 0x4>;
98 mediatek,portmap = "wllll";
102 ralink,mtd-eeprom = <&factory 0>;
106 state_default: pinctrl0 {
108 ralink,group = "i2c", "ephy";
109 ralink,function = "gpio";