1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "dlink,dwr-116-a1", "ralink,mt7620n-soc";
8 model = "D-Link DWR-116 A1/A2";
11 led-boot = &led_status;
12 led-failsafe = &led_status;
13 led-running = &led_status;
14 led-upgrade = &led_status;
18 compatible = "gpio-keys";
22 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_WPS_BUTTON>;
28 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
34 compatible = "gpio-leds";
37 label = "green:status";
38 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
43 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <50000000>;
61 compatible = "fixed-partitions";
72 compatible = "amit,jimage";
74 reg = <0x10000 0x7e0000>;
77 config: partition@7f0000 {
79 reg = <0x7f0000 0x10000>;
96 groups = "i2c", "wled";
102 pinctrl-names = "default";
103 pinctrl-0 = <&ephy_pins>;
105 mediatek,portmap = "llllw";