3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dwr-116-a1", "ralink,mt7620n-soc";
10 model = "D-Link DWR-116 A1/A2";
13 led-status = &led_status;
17 compatible = "gpio-keys-polled";
22 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_WPS_BUTTON>;
28 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
34 compatible = "gpio-leds";
37 label = "dwr-116-a1:green:status";
38 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
42 label = "dwr-116-a1:green:wifi";
43 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <50000000>;
74 reg = <0x10000 0x7e0000>;
77 config: partition@7f0000 {
79 reg = <0x7f0000 0x10000>;
94 state_default: pinctrl0 {
96 ralink,group = "i2c", "wled";
97 ralink,function = "gpio";
103 mediatek,portmap = "llllw";
104 pinctrl-names = "default";
105 pinctrl-0 = <&ephy_pins>;