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";
24 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_WPS_BUTTON>;
30 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RESTART>;
36 compatible = "gpio-leds";
39 label = "dwr-116-a1:green:status";
40 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
44 label = "dwr-116-a1:green:wifi";
45 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <50000000>;
67 compatible = "fixed-partitions";
78 compatible = "amit,jimage";
80 reg = <0x10000 0x7e0000>;
83 config: partition@7f0000 {
85 reg = <0x7f0000 0x10000>;
102 groups = "i2c", "wled";
108 pinctrl-names = "default";
109 pinctrl-0 = <&ephy_pins>;
111 mediatek,portmap = "llllw";