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 compatible = "cfi-flash";
14 reg = <0x1f000000 0x400000>;
28 reg = <0x30000 0x10000>;
32 factory: partition@40000 {
34 reg = <0x40000 0x10000>;
40 reg = <0x50000 0x150000>;
45 reg = <0x150000 0x2b0000>;
50 reg = <0x50000 0x3b0000>;
55 compatible = "gpio-leds";
58 label = "dcs-930:red:alert";
59 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
63 label = "dcs-930:green:status";
64 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
68 label = "dcs-930:blue:wps";
69 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
74 compatible = "gpio-keys-polled";
81 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
87 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
88 linux,code = <KEY_RESTART>;
94 state_default: pinctrl0 {
96 ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
97 ralink,function = "gpio";
103 mtd-mac-address = <&factory 0x4>;
107 mediatek,portmap = <0x2f>;
111 ralink,mtd-eeprom = <&factory 0>;