3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "unbranded,wr512-3gn", "ralink,rt3052-soc";
12 led-failsafe = &led_wps;
13 led-running = &led_wps;
14 led-upgrade = &led_wps;
18 compatible = "gpio-leds";
22 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
26 label = "green:gateway";
27 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
36 function = LED_FUNCTION_WPS;
37 color = <LED_COLOR_ID_GREEN>;
38 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
42 label = "green:station";
43 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
48 compatible = "gpio-keys-polled";
53 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
59 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
67 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
73 mediatek,portmap = <0x2f>;
77 nvmem-cells = <&eeprom_factory_0>;
78 nvmem-cell-names = "eeprom";