5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "dlink,dir-615-d1", "ralink,rt3050-soc";
10 model = "D-Link DIR-615 D";
13 led-status = &led_status_green;
17 compatible = "cfi-flash";
18 reg = <0x1f000000 0x800000>;
23 compatible = "fixed-partitions";
33 devdata: partition@30000 {
35 reg = <0x30000 0x10000>;
41 reg = <0x40000 0x10000>;
47 reg = <0x50000 0x3b0000>;
53 compatible = "gpio-keys-polled";
58 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
64 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_WPS_BUTTON>;
70 compatible = "gpio-leds";
73 label = "dir-615-d:amber:status";
74 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
75 default-state = "off";
78 led_status_green: status2 {
79 label = "dir-615-d:green:status";
80 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
85 label = "dir-615-d:amber:wan";
86 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
90 label = "dir-615-d:green:wan";
91 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
95 label = "dir-615-d:blue:wps";
96 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
102 mediatek,portmap = <0x2f>;
106 ralink,mtd-eeprom = <&devdata 0x4000>;
110 state_default: pinctrl0 {
112 ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
113 ralink,function = "gpio";