1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "dlink,dwr-921-c1", "ralink,mt7620n-soc";
8 model = "D-Link DWR-921 C1";
11 led-boot = &led_sstrenghg;
12 led-failsafe = &led_sstrenghg;
16 compatible = "gpio-keys";
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";
36 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
41 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
44 led_sstrenghg: sstrengthg {
45 label = "green:sigstrength";
46 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
50 label = "red:sigstrength";
51 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
56 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
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>;
98 compatible = "jedec,spi-nor";
100 spi-max-frequency = <10000000>;
103 compatible = "fixed-partitions";
104 #address-cells = <1>;
114 compatible = "amit,jimage";
116 reg = <0x10000 0xfe0000>;
119 config: partition@ff0000 {
121 reg = <0xff0000 0x10000>;
144 groups = "spi refclk", "i2c", "ephy", "wled";