5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dcs-930", "ralink,rt3050-soc";
10 model = "D-Link DCS-930";
13 led-status = &led_status;
17 compatible = "cfi-flash";
18 reg = <0x1f000000 0x400000>;
32 reg = <0x30000 0x10000>;
36 factory: partition@40000 {
38 reg = <0x40000 0x10000>;
44 reg = <0x50000 0x150000>;
49 reg = <0x150000 0x2b0000>;
54 reg = <0x50000 0x3b0000>;
59 compatible = "gpio-leds";
62 label = "dcs-930:red:alert";
63 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
67 label = "dcs-930:green:status";
68 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
72 label = "dcs-930:blue:wps";
73 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
78 compatible = "gpio-keys-polled";
85 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
91 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
92 linux,code = <KEY_RESTART>;
98 state_default: pinctrl0 {
100 ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
101 ralink,function = "gpio";
107 mtd-mac-address = <&factory 0x4>;
111 mediatek,portmap = <0x2f>;
115 ralink,mtd-eeprom = <&factory 0>;