5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "ralink,rt5350-soc";
10 model = "D-Link DWR-512 B";
13 compatible = "gpio-keys-polled";
20 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_WPS_BUTTON>;
26 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_RESTART>;
32 compatible = "gpio-leds";
35 label = "dwr-512-b:green:sms";
36 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
39 label = "dwr-512-b:green:status";
40 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
43 label = "dwr-512-b:green:2g";
44 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
47 label = "dwr-512-b:green:3g";
48 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
51 label = "dwr-512-b:red:sigstrength";
52 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
55 label = "dwr-512-b:green:sigstrength";
56 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
61 compatible = "gpio-export";
65 gpio-export,name = "slic_int";
66 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
69 gpio-export,name = "modem3g_enable";
70 gpio-export,output = <1>;
71 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
82 compatible = "jedec,spi-nor";
84 spi-max-frequency = <30000000>;
95 reg = <0x30000 0x20000>;
101 reg = <0x50000 0x7a0000>;
104 config: partition@7f0000 {
106 reg = <0x7f0000 0x10000>;
115 #address-cells = <1>;
117 compatible = "siliconlabs,si3210";
120 spi-max-frequency = <1000000>;
125 state_default: pinctrl0 {
127 ralink,group = "i2c", "jtag", "uartf";
128 ralink,function = "gpio";
134 mediatek,portmap = <0x2f>;
138 mtd-mac-address = <&config 0xe07e>;
142 ralink,mtd-eeprom = <&config 0xe08a>;
143 ralink,led-polarity = <1>;
144 mtd-mac-address = <&config 0xe07e>;