3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dwr-921-c1", "ralink,mt7620n-soc";
10 model = "D-Link DWR-921 C1";
13 led-status = &led_sstrenghg;
17 compatible = "gpio-keys-polled";
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-921-c1:green:sms";
40 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
44 label = "dwr-921-c1:green:lan";
45 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
48 led_sstrenghg: sstrengthg {
49 label = "dwr-921-c1:green:sigstrength";
50 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
54 label = "dwr-921-c1:red:sigstrength";
55 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
59 label = "dwr-921-c1:green:4g";
60 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
64 label = "dwr-921-c1:green:3g";
65 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
69 label = "dwr-921-c1:green:wifi";
70 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
75 compatible = "gpio-export";
79 gpio-export,name = "lte_modem_enable";
80 gpio-export,output = <1>;
81 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
102 #address-cells = <1>;
104 compatible = "jedec,spi-nor";
106 spi-max-frequency = <10000000>;
116 reg = <0x10000 0xfe0000>;
119 config: partition@ff0000 {
121 reg = <0xff0000 0x10000>;
142 state_default: pinctrl0 {
144 ralink,group = "spi refclk", "i2c", "ephy", "wled";
145 ralink,function = "gpio";