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>;
67 reg = <0x30000 0x10000>;
71 factory: partition@40000 {
73 reg = <0x40000 0x10000>;
79 reg = <0x50000 0xfb0000>;
89 compatible = "pci14c3,7662";
90 reg = <0x0000 0 0 0 0>;
91 mediatek,mtd-eeprom = <&factory 0x0000>;
98 compatible = "pci14c3,7603";
99 reg = <0x0000 0 0 0 0>;
100 mediatek,mtd-eeprom = <&factory 0x8000>;
107 mtd-mac-address = <&factory 0xe000>;
111 state_default: pinctrl0 {
113 ralink,group = "wdt", "rgmii2", "jtag", "mdio";
114 ralink,function = "gpio";