3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "dlink,dwr-512-b", "ralink,rt5350-soc";
9 model = "D-Link DWR-512 B";
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
19 compatible = "gpio-keys-polled";
24 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_WPS_BUTTON>;
30 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RESTART>;
36 compatible = "gpio-leds";
40 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
43 function = LED_FUNCTION_STATUS;
44 color = <LED_COLOR_ID_GREEN>;
45 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
53 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
56 label = "red:sigstrength";
57 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
60 label = "green:sigstrength";
61 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
66 compatible = "gpio-export";
70 gpio-export,name = "slic_int";
71 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
74 gpio-export,name = "modem3g_enable";
75 gpio-export,output = <1>;
76 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
85 compatible = "jedec,spi-nor";
87 spi-max-frequency = <30000000>;
91 compatible = "fixed-partitions";
102 compatible = "amit,jimage";
104 reg = <0x10000 0x7e0000>;
107 config: partition@7f0000 {
109 reg = <0x7f0000 0x10000>;
112 compatible = "fixed-layout";
113 #address-cells = <1>;
116 macaddr_config_e07e: macaddr@e07e {
120 eeprom_config_e08a: eeprom@e08a {
121 reg = <0xe08a 0x200>;
133 #address-cells = <1>;
135 compatible = "silabs,si3210";
138 spi-max-frequency = <1000000>;
144 groups = "i2c", "jtag", "uartf";
150 mediatek,portmap = <0x2f>;
154 nvmem-cells = <&macaddr_config_e07e>;
155 nvmem-cell-names = "mac-address";
159 ralink,led-polarity = <1>;
160 nvmem-cells = <&eeprom_config_e08a>, <&macaddr_config_e07e>;
161 nvmem-cell-names = "eeprom", "mac-address";