3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "dlink,dcs-930", "ralink,rt3050-soc";
9 model = "D-Link DCS-930";
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
19 compatible = "cfi-flash";
20 reg = <0x1f000000 0x400000>;
25 compatible = "fixed-partitions";
37 reg = <0x30000 0x10000>;
43 reg = <0x40000 0x10000>;
47 compatible = "fixed-layout";
51 eeprom_factory_0: eeprom@0 {
55 macaddr_factory_4: macaddr@4 {
62 compatible = "denx,uimage";
64 reg = <0x50000 0x3b0000>;
70 compatible = "gpio-leds";
74 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
78 function = LED_FUNCTION_STATUS;
79 color = <LED_COLOR_ID_GREEN>;
80 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
84 function = LED_FUNCTION_WPS;
85 color = <LED_COLOR_ID_BLUE>;
86 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
91 compatible = "gpio-keys-polled";
96 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
102 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
103 linux,code = <KEY_RESTART>;
110 groups = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
116 nvmem-cells = <&macaddr_factory_4>;
117 nvmem-cell-names = "mac-address";
121 mediatek,portmap = <0x2f>;
125 nvmem-cells = <&eeprom_factory_0>;
126 nvmem-cell-names = "eeprom";