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 compatible = "gpio-keys-polled";
20 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_WPS_BUTTON>;
26 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_RESTART>;
32 compatible = "gpio-leds";
35 label = "dwr-921-c1:green:sms";
36 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
40 label = "dwr-921-c1:green:lan";
41 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
45 label = "dwr-921-c1:green:sigstrength";
46 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
50 label = "dwr-921-c1:red:sigstrength";
51 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
55 label = "dwr-921-c1:green:4g";
56 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
60 label = "dwr-921-c1:green:3g";
61 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
65 label = "dwr-921-c1:green:wifi";
66 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
71 compatible = "gpio-export";
75 gpio-export,name = "lte_modem_enable";
76 gpio-export,output = <1>;
77 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
100 compatible = "jedec,spi-nor";
102 spi-max-frequency = <10000000>;
112 reg = <0x10000 0xfe0000>;
115 config: partition@ff0000 {
117 reg = <0xff0000 0x10000>;
138 state_default: pinctrl0 {
140 ralink,group = "spi refclk", "i2c", "ephy", "wled";
141 ralink,function = "gpio";