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>;
110 compatible = "fixed-layout";
111 #address-cells = <1>;
114 macaddr_config_e07e: macaddr@e07e {
118 eeprom_config_e08a: eeprom@e08a {
119 reg = <0xe08a 0x200>;
131 #address-cells = <1>;
133 compatible = "silabs,si3210";
136 spi-max-frequency = <1000000>;
142 groups = "i2c", "jtag", "uartf";
148 mediatek,portmap = <0x2f>;
152 nvmem-cells = <&macaddr_config_e07e>;
153 nvmem-cell-names = "mac-address";
157 ralink,led-polarity = <1>;
158 nvmem-cells = <&eeprom_config_e08a>, <&macaddr_config_e07e>;
159 nvmem-cell-names = "eeprom", "mac-address";