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-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
20 compatible = "gpio-keys-polled";
25 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_WPS_BUTTON>;
31 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RESTART>;
37 compatible = "gpio-leds";
40 label = "dwr-116-a1:green:status";
41 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
45 label = "dwr-116-a1:green:wifi";
46 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <50000000>;
68 compatible = "fixed-partitions";
79 compatible = "amit,jimage";
81 reg = <0x10000 0x7e0000>;
84 config: partition@7f0000 {
86 reg = <0x7f0000 0x10000>;
102 state_default: pinctrl0 {
104 ralink,group = "i2c", "wled";
105 ralink,function = "gpio";
111 mediatek,portmap = "llllw";
112 pinctrl-names = "default";
113 pinctrl-0 = <&ephy_pins>;