5 #include <dt-bindings/input/input.h>
8 compatible = "DIR-620-A1", "ralink,rt3050-soc";
9 model = "D-Link DIR-620 A1";
12 compatible = "cfi-flash";
13 reg = <0x1f000000 0x800000>;
27 reg = <0x30000 0x10000>;
31 factory: partition@40000 {
33 reg = <0x40000 0x10000>;
39 reg = <0x50000 0x7b0000>;
44 compatible = "gpio-keys-polled";
51 gpios = <&gpio0 10 1>;
52 linux,code = <KEY_RESTART>;
58 linux,code = <KEY_WPS_BUTTON>;
63 compatible = "gpio-leds";
66 label = "dir-620-a1:amber:status";
71 label = "dir-620-a1:green:status";
76 label = "dir-620-a1:amber:wan";
77 gpios = <&gpio0 14 1>;
81 label = "dir-620-a1:green:wan";
82 gpios = <&gpio0 12 1>;
86 label = "dir-620-a1:blue:wps";
87 gpios = <&gpio0 13 0>;
91 label = "dir-620-a1:amber:wps";
92 gpios = <&gpio0 11 0>;
98 state_default: pinctrl0 {
100 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
101 ralink,function = "gpio";
107 mtd-mac-address = <&factory 0x4>;
111 mediatek,portmap = <0x2f>;
115 ralink,mtd-eeprom = <&factory 0>;