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";
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";
39 label = "dwr-512-b:green:sms";
40 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
43 label = "dwr-512-b:green:status";
44 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
47 label = "dwr-512-b:green:2g";
48 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
51 label = "dwr-512-b:green:3g";
52 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
55 label = "dwr-512-b:red:sigstrength";
56 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
59 label = "dwr-512-b:green:sigstrength";
60 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
65 compatible = "gpio-export";
69 gpio-export,name = "slic_int";
70 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
73 gpio-export,name = "modem3g_enable";
74 gpio-export,output = <1>;
75 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
86 compatible = "jedec,spi-nor";
88 spi-max-frequency = <30000000>;
99 reg = <0x10000 0x7e0000>;
102 config: partition@7f0000 {
104 reg = <0x7f0000 0x10000>;
113 #address-cells = <1>;
115 compatible = "siliconlabs,si3210";
118 spi-max-frequency = <1000000>;
123 state_default: pinctrl0 {
125 ralink,group = "i2c", "jtag", "uartf";
126 ralink,function = "gpio";
132 mediatek,portmap = <0x2f>;
136 mtd-mac-address = <&config 0xe07e>;
140 ralink,mtd-eeprom = <&config 0xe08a>;
141 ralink,led-polarity = <1>;
142 mtd-mac-address = <&config 0xe07e>;