1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
6 #include <dt-bindings/mtd/partitions/uimage.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 function = LED_FUNCTION_STATUS;
40 color = <LED_COLOR_ID_GREEN>;
41 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
46 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
59 compatible = "jedec,spi-nor";
61 spi-max-frequency = <50000000>;
64 compatible = "fixed-partitions";
75 compatible = "openwrt,uimage", "denx,uimage";
76 openwrt,ih-magic = <IH_MAGIC_OKLI>;
77 openwrt,offset = <0x10000>;
79 reg = <0x10000 0x7e0000>;
82 config: partition@7f0000 {
84 reg = <0x7f0000 0x10000>;
101 groups = "i2c", "wled";
107 pinctrl-names = "default";
108 pinctrl-0 = <&ephy_pins>;
110 mediatek,portmap = "llllw";