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-h1", "ralink,rt3352-soc";
9 model = "D-Link DIR-615 H1";
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 = "gpio-leds";
23 function = LED_FUNCTION_STATUS;
24 color = <LED_COLOR_ID_AMBER>;
25 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
28 led_status_green: status2 {
29 function = LED_FUNCTION_STATUS;
30 color = <LED_COLOR_ID_GREEN>;
31 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
36 function = LED_FUNCTION_WAN;
37 color = <LED_COLOR_ID_AMBER>;
38 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
42 function = LED_FUNCTION_WAN;
43 color = <LED_COLOR_ID_GREEN>;
44 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
48 function = LED_FUNCTION_WPS;
49 color = <LED_COLOR_ID_BLUE>;
50 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
55 compatible = "gpio-keys-polled";
60 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_RESTART>;
66 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
67 linux,code = <KEY_WPS_BUTTON>;
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <10000000>;
81 compatible = "fixed-partitions";
93 reg = <0x30000 0x10000>;
99 reg = <0x40000 0x10000>;
103 compatible = "fixed-layout";
104 #address-cells = <1>;
107 eeprom_factory_0: eeprom@0 {
111 macaddr_factory_28: macaddr@28 {
118 compatible = "denx,uimage";
120 reg = <0x50000 0x3b0000>;
128 groups = "i2c", "jtag", "uartf";
134 nvmem-cells = <&macaddr_factory_28>;
135 nvmem-cell-names = "mac-address";
136 pinctrl-names = "default";
137 pinctrl-0 = <&rgmii_pins &mdio_pins>;
141 mediatek,portmap = <0x2f>;
145 nvmem-cells = <&eeprom_factory_0>;
146 nvmem-cell-names = "eeprom";