5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dir-615-h1", "ralink,rt3352-soc";
10 model = "D-Link DIR-615 H1";
13 led-boot = &led_status_green;
14 led-failsafe = &led_status_green;
15 led-running = &led_status_green;
16 led-upgrade = &led_status_green;
20 compatible = "gpio-leds";
23 label = "dir-615-h1:amber:status";
24 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
27 led_status_green: status2 {
28 label = "dir-615-h1:green:status";
29 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
34 label = "dir-615-h1:amber:wan";
35 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
39 label = "dir-615-h1:green:wan";
40 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
44 label = "dir-615-h1:blue:wps";
45 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
50 compatible = "gpio-keys-polled";
55 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_RESTART>;
61 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_WPS_BUTTON>;
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <10000000>;
76 compatible = "fixed-partitions";
88 reg = <0x30000 0x10000>;
92 factory: partition@40000 {
94 reg = <0x40000 0x10000>;
99 compatible = "denx,uimage";
101 reg = <0x50000 0x3b0000>;
108 state_default: pinctrl0 {
110 ralink,group = "i2c", "jtag", "uartf";
111 ralink,function = "gpio";
117 mtd-mac-address = <&factory 0x28>;
118 pinctrl-names = "default";
119 pinctrl-0 = <&rgmii_pins &mdio_pins>;
123 mediatek,portmap = <0x2f>;
127 ralink,mtd-eeprom = <&factory 0>;