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";
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 = "dwr-921-c1:green:sms";
38 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
42 label = "dwr-921-c1:green:lan";
43 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
46 led_sstrenghg: sstrengthg {
47 label = "dwr-921-c1:green:sigstrength";
48 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
52 label = "dwr-921-c1:red:sigstrength";
53 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
57 label = "dwr-921-c1:green:4g";
58 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
62 label = "dwr-921-c1:green:3g";
63 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
67 label = "dwr-921-c1:green:wifi";
68 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
73 compatible = "gpio-export";
77 gpio-export,name = "lte_modem_enable";
78 gpio-export,output = <1>;
79 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
100 compatible = "jedec,spi-nor";
102 spi-max-frequency = <10000000>;
105 compatible = "fixed-partitions";
106 #address-cells = <1>;
116 compatible = "amit,jimage";
118 reg = <0x10000 0xfe0000>;
121 config: partition@ff0000 {
123 reg = <0xff0000 0x10000>;
146 groups = "spi refclk", "i2c", "ephy", "wled";