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 compatible = "cfi-flash";
14 reg = <0x1f000000 0x800000>;
26 devdata: partition@30000 {
28 reg = <0x30000 0x10000>;
34 reg = <0x40000 0x10000>;
40 reg = <0x50000 0x3b0000>;
45 compatible = "gpio-keys-polled";
52 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RESTART>;
58 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_WPS_BUTTON>;
64 compatible = "gpio-leds";
67 label = "dir-615-d:amber:status";
68 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
72 label = "dir-615-d:green:status";
73 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
77 label = "dir-615-d:amber:wan";
78 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
82 label = "dir-615-d:green:wan";
83 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
87 label = "dir-615-d:blue:wps";
88 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
94 mediatek,portmap = <0x2f>;
98 ralink,mtd-eeprom = <&devdata 0x4000>;
102 state_default: pinctrl0 {
104 ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
105 ralink,function = "gpio";