1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/mtd/partitions/uimage.h>
8 compatible = "dlink,dwr-921-c1", "ralink,mt7620n-soc";
9 model = "D-Link DWR-921 C1";
12 led-boot = &led_sstrenghg;
13 led-failsafe = &led_sstrenghg;
17 compatible = "gpio-keys";
21 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_WPS_BUTTON>;
27 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RESTART>;
33 compatible = "gpio-leds";
37 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
45 led_sstrenghg: sstrengthg {
46 label = "green:sigstrength";
47 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
51 label = "red:sigstrength";
52 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
57 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
62 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
72 compatible = "gpio-export";
76 gpio-export,name = "lte_modem_enable";
77 gpio-export,output = <1>;
78 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
99 compatible = "jedec,spi-nor";
101 spi-max-frequency = <10000000>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
115 compatible = "openwrt,uimage", "denx,uimage";
116 openwrt,ih-magic = <IH_MAGIC_OKLI>;
117 openwrt,offset = <0x10000>;
119 reg = <0x10000 0xfe0000>;
122 config: partition@ff0000 {
124 reg = <0xff0000 0x10000>;
141 groups = "spi refclk", "i2c", "ephy", "wled";