1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dwr-922-e2", "ralink,mt7620n-soc";
10 model = "D-Link DWR-922 E2";
13 led-boot = &sstrengthg;
14 led-failsafe = &sstrengthg;
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";
35 led-boot = &sstrengthg;
39 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
44 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
47 sstrengthg: sstrengthg {
48 label = "green:sigstrength";
49 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
53 label = "red:sigstrength";
54 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
64 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
69 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
74 compatible = "gpio-export";
78 gpio-export,name = "lte_modem_enable";
79 gpio-export,output = <1>;
80 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
101 compatible = "jedec,spi-nor";
103 spi-max-frequency = <10000000>;
106 compatible = "fixed-partitions";
107 #address-cells = <1>;
117 compatible = "amit,jimage";
119 reg = <0x10000 0xfe0000>;
122 config: partition@ff0000 {
124 reg = <0xff0000 0x10000>;
147 groups = "spi refclk", "i2c", "ephy", "wled";