3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "dlink,dir-615-h1", "ralink,rt3352-soc";
8 model = "D-Link DIR-615 H1";
11 led-boot = &led_status_green;
12 led-failsafe = &led_status_green;
13 led-running = &led_status_green;
14 led-upgrade = &led_status_green;
15 label-mac-device = &wmac;
19 compatible = "gpio-leds";
22 label = "dir-615-h1:amber:status";
23 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
26 led_status_green: status2 {
27 label = "dir-615-h1:green:status";
28 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
33 label = "dir-615-h1:amber:wan";
34 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
38 label = "dir-615-h1:green:wan";
39 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
43 label = "dir-615-h1:blue:wps";
44 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
49 compatible = "gpio-keys-polled";
54 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
60 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_WPS_BUTTON>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <10000000>;
75 compatible = "fixed-partitions";
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
98 compatible = "denx,uimage";
100 reg = <0x50000 0x3b0000>;
108 groups = "i2c", "jtag", "uartf";
114 mtd-mac-address = <&factory 0x28>;
115 pinctrl-names = "default";
116 pinctrl-0 = <&rgmii_pins &mdio_pins>;
120 mediatek,portmap = <0x2f>;
124 ralink,mtd-eeprom = <&factory 0x0>;