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-polled";
44 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
50 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_WPS_BUTTON>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <10000000>;
69 compatible = "fixed-partitions";
81 reg = <0x30000 0x10000>;
85 factory: partition@40000 {
87 reg = <0x40000 0x10000>;
92 compatible = "denx,uimage";
94 reg = <0x50000 0x7b0000>;
101 mtd-mac-address = <&factory 0x4>;
102 mediatek,portmap = "wllll";
106 ralink,mtd-eeprom = <&factory 0>;
110 state_default: pinctrl0 {
112 ralink,group = "i2c", "ephy";
113 ralink,function = "gpio";