5 #include <dt-bindings/input/input.h>
8 compatible = "V22RW-2X2", "ralink,rt3052-soc";
9 model = "Ralink AP-RT3052-V22RW-2X2";
12 compatible = "cfi-flash";
13 reg = <0x1f000000 0x800000>;
27 reg = <0x30000 0x10000>;
31 factory: partition@40000 {
33 reg = <0x40000 0x10000>;
39 reg = <0x50000 0x3b0000>;
44 compatible = "gpio-leds";
47 label = "v22rw-2x2:green:security";
48 gpios = <&gpio0 13 1>;
52 label = "v22rw-2x2:red:wps";
53 gpios = <&gpio0 14 1>;
58 compatible = "gpio-keys-polled";
65 gpios = <&gpio0 10 1>;
66 linux,code = <KEY_RESTART>;
72 linux,code = <KEY_WPS_BUTTON>;
78 state_default: pinctrl0 {
80 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
81 ralink,function = "gpio";
87 mediatek,portmap = <0x2f>;
91 ralink,mtd-eeprom = <&factory 0>;