5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "asiarf,awapn2403", "ralink,rt3052-soc";
10 model = "AsiaRF AWAPN2403";
14 led-failsafe = &led_wps;
15 led-running = &led_wps;
16 led-upgrade = &led_wps;
21 compatible = "gpio-leds";
24 label = "awapn2403:green:wps";
25 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
30 compatible = "gpio-keys-polled";
35 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
45 compatible = "jedec,spi-nor";
47 spi-max-frequency = <10000000>;
50 compatible = "fixed-partitions";
62 reg = <0x30000 0x10000>;
66 factory: partition@40000 {
68 reg = <0x40000 0x10000>;
73 compatible = "denx,uimage";
75 reg = <0x50000 0x3b0000>;
82 state_default: pinctrl0 {
84 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
85 ralink,function = "gpio";
91 mediatek,portmap = <0x3e>;
95 ralink,mtd-eeprom = <&factory 0>;