3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
8 bootargs = "console=ttyS0,57600";
12 compatible = "gpio-keys-polled";
19 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
20 linux,code = <KEY_RESTART>;
25 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_WPS_BUTTON>;
31 compatible = "gpio-leds";
33 // Only USB LED is connected to GPIO.
34 // All of other LEDs are connected directly to
35 // switch, WiFi chip, Vcc, so they are not controllable
39 label = "w2914nsv2:green:usb";
40 gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
55 compatible = "jedec,spi-nor";
57 spi-max-frequency = <10000000>;
58 m25p,chunked-io = <32>;
68 reg = <0x30000 0x10000>;
72 factory: partition@40000 {
74 reg = <0x40000 0x10000>;
80 reg = <0x50000 0xfb0000>;
90 compatible = "pci14c3,7662";
91 reg = <0x0000 0 0 0 0>;
92 mediatek,mtd-eeprom = <&factory 0x0000>;
99 compatible = "pci14c3,7603";
100 reg = <0x0000 0 0 0 0>;
101 mediatek,mtd-eeprom = <&factory 0x8000>;
108 mtd-mac-address = <&factory 0xe000>;
112 state_default: pinctrl0 {
114 ralink,group = "wdt", "rgmii2", "jtag", "mdio";
115 ralink,function = "gpio";