5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dcs-930l-b1", "ralink,rt5350-soc";
10 model = "D-Link DCS-930L B1";
13 led-status = &led_power;
17 compatible = "gpio-leds";
20 label = "dcs-930l-b1:red:power";
21 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
25 label = "dcs-930l-b1:blue:wps";
26 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys-polled";
36 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_WPS_BUTTON>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
66 reg = <0x30000 0x10000>;
70 factory: partition@40000 {
72 reg = <0x40000 0x10000>;
78 reg = <0x50000 0x3b0000>;
84 state_default: pinctrl0 {
86 ralink,group = "i2c", "jtag", "uartf", "led";
87 ralink,function = "gpio";
93 mtd-mac-address = <&factory 0x4>;
97 mediatek,portmap = <0x2f>;
101 ralink,mtd-eeprom = <&factory 0>;