5 #include <dt-bindings/input/input.h>
8 compatible = "DIR-610-A1", "ralink,rt5350-soc";
9 model = "D-Link DIR-610 A1";
12 compatible = "gpio-leds";
15 label = "dir-610-a1:green:status";
20 label = "dir-610-a1:green:wps";
21 gpios = <&gpio0 13 1>;
26 compatible = "gpio-keys-polled";
33 gpios = <&gpio0 10 1>;
34 linux,code = <KEY_RESTART>;
40 linux,code = <KEY_WPS_BUTTON>;
51 compatible = "jedec,spi-nor";
53 linux,modalias = "m25p80";
54 spi-max-frequency = <10000000>;
62 devdata: partition@30000 {
64 reg = <0x30000 0x10000>;
68 factory: partition@40000 {
70 reg = <0x40000 0x10000>;
76 reg = <0x50000 0x3b0000>;
82 state_default: pinctrl0 {
84 ralink,group = "i2c", "jtag", "uartf";
85 ralink,function = "gpio";
91 mtd-mac-address = <&devdata 0x4004>;
96 mediatek,portmap = <0x2f>;
97 mediatek,led_polarity = <0x17>;
102 ralink,led-polarity = <1>;
103 ralink,mtd-eeprom = <&devdata 0x4000>;