3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "dlink,dwr-512-b", "ralink,rt5350-soc";
8 model = "D-Link DWR-512 B";
11 led-boot = &led_status;
12 led-failsafe = &led_status;
13 led-running = &led_status;
14 led-upgrade = &led_status;
18 compatible = "gpio-keys-polled";
23 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_WPS_BUTTON>;
29 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
35 compatible = "gpio-leds";
39 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
42 label = "green:status";
43 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
47 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
54 label = "red:sigstrength";
55 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
58 label = "green:sigstrength";
59 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
64 compatible = "gpio-export";
68 gpio-export,name = "slic_int";
69 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
72 gpio-export,name = "modem3g_enable";
73 gpio-export,output = <1>;
74 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <30000000>;
89 compatible = "fixed-partitions";
100 compatible = "amit,jimage";
102 reg = <0x10000 0x7e0000>;
105 config: partition@7f0000 {
107 reg = <0x7f0000 0x10000>;
117 #address-cells = <1>;
119 compatible = "siliconlabs,si3210";
122 spi-max-frequency = <1000000>;
128 groups = "i2c", "jtag", "uartf";
134 mediatek,portmap = <0x2f>;
138 nvmem-cells = <&macaddr_config_e07e>;
139 nvmem-cell-names = "mac-address";
143 ralink,mtd-eeprom = <&config 0xe08a>;
144 ralink,led-polarity = <1>;
145 nvmem-cells = <&macaddr_config_e07e>;
146 nvmem-cell-names = "mac-address";
150 compatible = "nvmem-cells";
151 #address-cells = <1>;
154 macaddr_config_e07e: macaddr@e07e {