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-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
20 compatible = "gpio-keys-polled";
25 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_WPS_BUTTON>;
31 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RESTART>;
37 compatible = "gpio-leds";
40 label = "dwr-512-b:green:sms";
41 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
44 label = "dwr-512-b:green:status";
45 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
48 label = "dwr-512-b:green:2g";
49 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
52 label = "dwr-512-b:green:3g";
53 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
56 label = "dwr-512-b:red:sigstrength";
57 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
60 label = "dwr-512-b: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";
103 reg = <0x10000 0x7e0000>;
106 config: partition@7f0000 {
108 reg = <0x7f0000 0x10000>;
118 #address-cells = <1>;
120 compatible = "siliconlabs,si3210";
123 spi-max-frequency = <1000000>;
128 state_default: pinctrl0 {
130 ralink,group = "i2c", "jtag", "uartf";
131 ralink,function = "gpio";
137 mediatek,portmap = <0x2f>;
141 mtd-mac-address = <&config 0xe07e>;
145 ralink,mtd-eeprom = <&config 0xe08a>;
146 ralink,led-polarity = <1>;
147 mtd-mac-address = <&config 0xe07e>;