3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "alfa-network,w502u", "ralink,rt3052-soc";
8 model = "ALFA Network W502U";
12 led-failsafe = &led_wps;
13 led-running = &led_wps;
14 led-upgrade = &led_wps;
18 bootargs = "console=ttyS0,115200";
22 compatible = "cfi-flash";
23 reg = <0x1f000000 0x800000>;
28 compatible = "fixed-partitions";
40 reg = <0x30000 0x10000>;
44 factory: partition@40000 {
46 reg = <0x40000 0x10000>;
51 compatible = "denx,uimage";
53 reg = <0x50000 0x7b0000>;
59 compatible = "gpio-leds";
63 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
64 trigger-sources = <&otg_port1>;
65 linux,default-trigger = "usbport";
70 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
75 compatible = "gpio-keys-polled";
80 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
81 linux,code = <KEY_RESTART>;
86 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
87 linux,code = <KEY_WPS_BUTTON>;
94 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
100 nvmem-cells = <&macaddr_factory_28>;
101 nvmem-cell-names = "mac-address";
105 mediatek,portmap = <0x3e>;
109 ralink,mtd-eeprom = <&factory 0x0>;
117 compatible = "nvmem-cells";
118 #address-cells = <1>;
121 macaddr_factory_28: macaddr@28 {