3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "dlink,dir-615-d", "ralink,rt3050-soc";
9 model = "D-Link DIR-615 D";
12 led-boot = &led_status_green;
13 led-failsafe = &led_status_green;
14 led-running = &led_status_green;
15 led-upgrade = &led_status_green;
16 label-mac-device = &wmac;
20 compatible = "cfi-flash";
21 reg = <0x1f000000 0x800000>;
26 compatible = "fixed-partitions";
38 reg = <0x30000 0x10000>;
42 compatible = "fixed-layout";
46 eeprom_devdata_4000: eeprom@4000 {
54 reg = <0x40000 0x10000>;
59 compatible = "denx,uimage";
61 reg = <0x50000 0x3b0000>;
67 compatible = "gpio-keys-polled";
72 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
73 linux,code = <KEY_RESTART>;
78 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
79 linux,code = <KEY_WPS_BUTTON>;
84 compatible = "gpio-leds";
87 function = LED_FUNCTION_STATUS;
88 color = <LED_COLOR_ID_AMBER>;
89 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
92 led_status_green: status_green {
93 function = LED_FUNCTION_STATUS;
94 color = <LED_COLOR_ID_GREEN>;
95 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
100 function = LED_FUNCTION_WAN;
101 color = <LED_COLOR_ID_AMBER>;
102 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
106 function = LED_FUNCTION_WAN;
107 color = <LED_COLOR_ID_GREEN>;
108 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
112 function = LED_FUNCTION_WPS;
113 color = <LED_COLOR_ID_BLUE>;
114 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
120 mediatek,portmap = <0x2f>;
124 nvmem-cells = <&eeprom_devdata_4000>;
125 nvmem-cell-names = "eeprom";
130 groups = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";