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-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
20 compatible = "gpio-leds";
23 label = "wmr-300:red:aoss";
24 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
28 label = "wmr-300:green:aoss";
29 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
33 label = "wmr-300:green:status";
34 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys";
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>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
68 compatible = "fixed-partitions";
80 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
91 compatible = "denx,uimage";
93 reg = <0x50000 0x7b0000>;
100 mtd-mac-address = <&factory 0x4>;
101 mediatek,portmap = "wllll";
105 ralink,mtd-eeprom = <&factory 0>;
109 state_default: pinctrl0 {
111 ralink,group = "i2c", "ephy";
112 ralink,function = "gpio";