5 #include <dt-bindings/input/input.h>
8 compatible = "W502U", "ralink,rt3052-soc";
9 model = "ALFA Networks W502U";
12 bootargs = "console=ttyS0,115200";
16 compatible = "cfi-flash";
17 reg = <0x1f000000 0x800000>;
31 reg = <0x30000 0x10000>;
35 factory: partition@40000 {
37 reg = <0x40000 0x10000>;
43 reg = <0x50000 0x7b0000>;
48 compatible = "gpio-leds";
51 label = "w502u:blue:usb";
52 gpios = <&gpio0 13 1>;
56 label = "w502u:blue:wps";
57 gpios = <&gpio0 14 1>;
62 compatible = "gpio-keys-polled";
69 gpios = <&gpio0 10 1>;
70 linux,code = <KEY_RESTART>;
76 linux,code = <KEY_WPS_BUTTON>;
82 state_default: pinctrl0 {
84 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
85 ralink,function = "gpio";
91 mtd-mac-address = <&factory 0x28>;
95 mediatek,portmap = <0x3e>;
99 ralink,mtd-eeprom = <&factory 0>;