3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "ralink,v22rw-2x2", "ralink,rt3052-soc";
8 model = "Ralink AP-RT3052-V22RW-2X2";
11 led-boot = &led_security;
12 led-failsafe = &led_security;
13 led-running = &led_security;
14 led-upgrade = &led_security;
18 compatible = "cfi-flash";
19 reg = <0x1f000000 0x800000>;
24 compatible = "fixed-partitions";
36 reg = <0x30000 0x10000>;
40 factory: partition@40000 {
42 reg = <0x40000 0x10000>;
46 compatible = "fixed-layout";
50 eeprom_factory_0: eeprom@0 {
57 compatible = "denx,uimage";
59 reg = <0x50000 0x3b0000>;
65 compatible = "gpio-leds";
67 led_security: security {
68 label = "green:security";
69 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
74 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
79 compatible = "gpio-keys-polled";
84 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
85 linux,code = <KEY_RESTART>;
90 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
91 linux,code = <KEY_WPS_BUTTON>;
98 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
104 mediatek,portmap = <0x2f>;
108 nvmem-cells = <&eeprom_factory_0>;
109 nvmem-cell-names = "eeprom";