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 compatible = "gpio-keys-polled";
20 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_WPS_BUTTON>;
26 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_RESTART>;
32 compatible = "gpio-leds";
35 label = "dwr-116-a1:green:status";
36 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
40 label = "dwr-116-a1:green:wifi";
41 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <50000000>;
72 reg = <0x10000 0x7e0000>;
75 config: partition@7f0000 {
77 reg = <0x7f0000 0x10000>;
92 state_default: pinctrl0 {
94 ralink,group = "i2c", "wled";
95 ralink,function = "gpio";
101 mediatek,portmap = "llllw";
102 pinctrl-names = "default";
103 pinctrl-0 = <&ephy_pins>;