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-boot = &led_sstrenghg;
14 led-failsafe = &led_sstrenghg;
18 compatible = "gpio-keys-polled";
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 = "dwr-921-c1:green:sms";
39 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
43 label = "dwr-921-c1:green:lan";
44 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
47 led_sstrenghg: sstrengthg {
48 label = "dwr-921-c1:green:sigstrength";
49 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
53 label = "dwr-921-c1:red:sigstrength";
54 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
58 label = "dwr-921-c1:green:4g";
59 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
63 label = "dwr-921-c1:green:3g";
64 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
68 label = "dwr-921-c1:green:wifi";
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>;
118 reg = <0x10000 0xfe0000>;
121 config: partition@ff0000 {
123 reg = <0xff0000 0x10000>;
145 state_default: pinctrl0 {
147 ralink,group = "spi refclk", "i2c", "ephy", "wled";
148 ralink,function = "gpio";