1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/mtd/partitions/uimage.h>
8 compatible = "dlink,dwr-116-a1", "ralink,mt7620n-soc";
9 model = "D-Link DWR-116 A1/A2";
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
19 compatible = "gpio-keys";
23 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_WPS_BUTTON>;
29 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
35 compatible = "gpio-leds";
38 label = "green:status";
39 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
44 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <50000000>;
62 compatible = "fixed-partitions";
73 compatible = "openwrt,uimage", "denx,uimage";
74 openwrt,ih-magic = <IH_MAGIC_OKLI>;
75 openwrt,offset = <0x10000>;
77 reg = <0x10000 0x7e0000>;
80 config: partition@7f0000 {
82 reg = <0x7f0000 0x10000>;
99 groups = "i2c", "wled";
105 pinctrl-names = "default";
106 pinctrl-0 = <&ephy_pins>;
108 mediatek,portmap = "llllw";