5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dwr-512-b", "ralink,rt5350-soc";
10 model = "D-Link DWR-512 B";
13 led-status = &led_status;
17 compatible = "gpio-keys-polled";
22 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_WPS_BUTTON>;
28 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
34 compatible = "gpio-leds";
37 label = "dwr-512-b:green:sms";
38 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
41 label = "dwr-512-b:green:status";
42 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
45 label = "dwr-512-b:green:2g";
46 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
49 label = "dwr-512-b:green:3g";
50 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
53 label = "dwr-512-b:red:sigstrength";
54 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
57 label = "dwr-512-b:green:sigstrength";
58 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
63 compatible = "gpio-export";
67 gpio-export,name = "slic_int";
68 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
71 gpio-export,name = "modem3g_enable";
72 gpio-export,output = <1>;
73 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <30000000>;
97 reg = <0x10000 0x7e0000>;
100 config: partition@7f0000 {
102 reg = <0x7f0000 0x10000>;
111 #address-cells = <1>;
113 compatible = "siliconlabs,si3210";
116 spi-max-frequency = <1000000>;
121 state_default: pinctrl0 {
123 ralink,group = "i2c", "jtag", "uartf";
124 ralink,function = "gpio";
130 mediatek,portmap = <0x2f>;
134 mtd-mac-address = <&config 0xe07e>;
138 ralink,mtd-eeprom = <&config 0xe08a>;
139 ralink,led-polarity = <1>;
140 mtd-mac-address = <&config 0xe07e>;