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-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
20 compatible = "cfi-flash";
21 reg = <0x1f000000 0x400000>;
26 compatible = "fixed-partitions";
38 reg = <0x30000 0x10000>;
42 factory: partition@40000 {
44 reg = <0x40000 0x10000>;
49 compatible = "denx,uimage";
51 reg = <0x50000 0x3b0000>;
57 compatible = "gpio-leds";
60 label = "dcs-930:red:alert";
61 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
65 label = "dcs-930:green:status";
66 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
70 label = "dcs-930:blue:wps";
71 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
76 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>;